Oracle bundles your prompt + selected files into one “one-shot” request so another model can answer with real repo context (API or browser automation). Treat outputs as advisory: verify against the codebase + tests.
Default workflow here: --engine browser with GPT‑5.2 Pro in ChatGPT. This is the “human in the loop” path: it can take ~10 minutes to ~1 hour; expect a stored session you can reattach to.
Recommended defaults:
--engine browser)--model gpt-5.2-pro or a ChatGPT picker label like --model "5.2 Pro")--dry-run + --files-report when needed).npx -y @steipete/oracle --helpnpx -y @steipete/oracle --dry-run summary -p "" --file "src/" --file "!/.test." npx -y @steipete/oracle --dry-run full -p "" --file "src/**" npx -y @steipete/oracle --dry-run summary --files-report -p "" --file "src/**" npx -y @steipete/oracle --engine browser --model gpt-5.2-pro -p "" --file "src/**" npx -y @steipete/oracle --render --copy -p "" --file "src/**" --copy is a hidden alias for --copy-markdown.--file)--file accepts files, directories, and globs. You can pass it multiple times; entries can be comma-separated.
--file "src/**" (directory glob)--file src/index.ts (literal file)--file docs --file README.md (literal directory + file)!):--file "src/" --file "!src//.test.ts" --file "!/.snap"node_modules, dist, coverage, .git, .turbo, .next, build, tmp (skipped unless you explicitly pass them as literal dirs/files)..gitignore when expanding globs.followSymbolicLinks: false).--file ".github/**").--files-report (and/or --dry-run json) to spot the token hogs before spending.npx -y @steipete/oracle --help --verbose.api when OPENAI_API_KEY is set, otherwise browser.--engine api for Claude/Grok/Codex or multi-model runs.--browser-attachments auto|never|always (auto pastes inline up to ~60k chars then uploads).oracle serve --host 0.0.0.0 --port 9473 --token oracle --engine browser --remote-host --remote-token -p "" --file "src/**" ~/.oracle/sessions (override with ORACLE_HOME_DIR).oracle status --hours 72oracle session --render --slug "<3-5 words>" to keep session IDs readable.--force only when you truly want a fresh run.Oracle starts with zero project knowledge. Assume the model cannot infer your stack, build tooling, conventions, or “obvious” paths. Include:
When you know this will be a long investigation, write a prompt that can stand alone later:
If you need to reproduce the same context later, re-run with the same prompt + --file … set (Oracle runs are one-shot; the model doesn’t remember prior runs).
.env, key files, auth tokens). Redact aggressively; share only what’s required.共 1 个版本