@@ -116,6 +116,13 @@ function slugFromRepoUrl(url: string): string {
116116 return sanitizeSlug ( `${ owner } -${ repo } ` ) ;
117117}
118118
119+ function formatDatePrefix ( date : Date ) : string {
120+ const year = String ( date . getFullYear ( ) ) ;
121+ const month = String ( date . getMonth ( ) + 1 ) . padStart ( 2 , "0" ) ;
122+ const day = String ( date . getDate ( ) ) . padStart ( 2 , "0" ) ;
123+ return `${ year } -${ month } -${ day } ` ;
124+ }
125+
119126function normalizeUrlCandidate ( raw : string ) : string | undefined {
120127 const cleaned = raw . trim ( ) . replace ( / [ ) , . ; ] + $ / g, "" ) ;
121128 if ( ! cleaned . startsWith ( "http://" ) && ! cleaned . startsWith ( "https://" ) ) {
@@ -250,7 +257,7 @@ function parseCliOptions(): CliOptions {
250257Examples:
251258 bun run analyze -- --input example.md
252259 bun run analyze -- https://github.com/agenticnotetaking/arscontexta
253- bun run analyze -- --input links.md --out-dir findings --model zai-coding-plan/glm-4.7-flash
260+ bun run analyze -- --input links.md --out-dir findings --model openai/gpt-5.3-codex --variant high
254261 bun run analyze -- --vision
255262
256263Options:
@@ -260,8 +267,8 @@ Options:
260267 --install-timeout-sec <n> OpenCode install timeout (default: 900)
261268 --analyze-timeout-sec <n> Per-repo analysis timeout (default: 2400)
262269 --target <name> Daytona target override
263- --model <provider/model> OpenCode model (default: zai-coding-plan/glm-4.7-flash )
264- --variant <name> Model variant (example: xhigh )
270+ --model <provider/model> OpenCode model (default: openai/gpt-5.3-codex )
271+ --variant <name> Model variant (default: high, when using built-in default model )
265272 --vision Prefer vision-capable default model (zai-coding-plan/glm-4.6v)
266273 --keep-sandbox Keep each sandbox instead of deleting it
267274 -h, --help Show this help
@@ -676,7 +683,8 @@ async function analyzeOneRepo(params: {
676683 const { daytona, options, config, url, index, total } = params ;
677684 const slug = slugFromRepoUrl ( url ) ;
678685 const runPrefix = `${ String ( index + 1 ) . padStart ( 2 , "0" ) } -${ slug } ` ;
679- const localDir = path . join ( options . outDir , runPrefix ) ;
686+ const datedRunPrefix = `${ formatDatePrefix ( new Date ( ) ) } -${ runPrefix } ` ;
687+ const localDir = path . join ( options . outDir , datedRunPrefix ) ;
680688 const findingsPath = path . join ( localDir , "findings.md" ) ;
681689 let readmePath : string | undefined ;
682690
0 commit comments