MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / printHelp

Function printHelp

scripts/export-deepseek-session-traces.ts:80–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78const OUTPUT_DATASET_NAME = 'freebuff_data'
79
80function printHelp() {
81 console.log(`Export reconstructed multi-turn DeepSeek V4 free-mode sessions.
82
83Usage:
84 bun scripts/export-deepseek-session-traces.ts [options]
85
86Options:
87 --prod Use codebuff_data instead of codebuff_data_dev.
88 --sessions-per-agent n Sessions to export per target agent. Default: 1.
89 --total-sessions n Export n sessions total across DeepSeek Pro and Flash, newest first.
90 --sample-mode mode With --total-sessions: newest, random, or even. Default: newest.
91 --lookback-days n Days to scan before the before-days cutoff. Default: 60.
92 --before-days n Exclude rows newer than this many days. Default: 3.
93 --start-date date Inclusive UTC date/time lower bound, e.g. 2026-05-12.
94 --end-date date Exclusive UTC date/time upper bound, e.g. 2026-05-16.
95 --min-messages n Minimum messages in representative request. Default: 10.
96 --client-id id Export one known client session id.
97 --out path Output JSON path. Default: .context/deepseek-session-traces.json.
98 --trace-dir path Directory for separate trace files. Default: <out-dir>/deepseek-session-traces.
99 --skip-aggregate Only write separate trace files, not the combined JSON.
100 --help Show this message.
101`)
102}
103
104function readNumberFlag(
105 argv: string[],

Callers 1

parseArgsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected