@indykish/oracle 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -98,7 +98,7 @@ program.hook('preAction', (thisCommand) => {
98
98
  });
99
99
  program
100
100
  .name('oracle')
101
- .description('One-shot GPT-5.2 Pro / GPT-5.2 / GPT-5.1 Codex tool for hard questions that benefit from large file context and server-side search.')
101
+ .description('One-shot Claude-4.6-Sonnet / Claude-4.6-Opus / GPT-5.3-Pro / GPT-5.3 tool for hard questions that benefit from large file context and server-side search.')
102
102
  .version(VERSION)
103
103
  .argument('[prompt]', 'Prompt text (shorthand for --prompt).')
104
104
  .option('-p, --prompt <text>', 'User prompt to send to the model.')
@@ -123,7 +123,7 @@ program
123
123
  .addOption(new Option('--copy-markdown', 'Copy the assembled markdown bundle to the clipboard; pair with --render to print it too.').default(false))
124
124
  .addOption(new Option('--copy').hideHelp().default(false))
125
125
  .option('-s, --slug <words>', 'Custom session slug (3-5 words).')
126
- .option('-m, --model <model>', 'Model to target (gpt-5.2-pro default; also supports gpt-5.1-pro alias). Also gpt-5-pro, gpt-5.1, gpt-5.1-codex API-only, gpt-5.2, gpt-5.2-instant, gpt-5.2-pro, gemini-3-pro, claude-4.5-sonnet, claude-4.1-opus, or ChatGPT labels like "5.2 Thinking" for browser runs).', normalizeModelOption)
126
+ .option('-m, --model <model>', 'Model to target (claude-4.6-sonnet default; also gpt-5.3-pro, gpt-5.2-pro, gpt-5.2, gpt-5.1, gpt-5.1-pro, gpt-5.1-codex, gpt-5-pro, gpt-5.2-instant, gemini-3-pro, gemini-3.5-pro, claude-4.6-opus, claude-4.5-sonnet, claude-4.1-opus, grok-4.2, or ChatGPT labels like "5.2 Thinking" for browser runs).', normalizeModelOption)
127
127
  .addOption(new Option('--models <models>', 'Comma-separated API model list to query in parallel (e.g., "gpt-5.2-pro,gemini-3-pro").')
128
128
  .argParser(collectModelList)
129
129
  .default([]))
@@ -1,5 +1,5 @@
1
1
  export const CHATGPT_URL = 'https://chatgpt.com/';
2
- export const DEFAULT_MODEL_TARGET = 'GPT-5.2 Pro';
2
+ export const DEFAULT_MODEL_TARGET = 'GPT-5.3 Pro';
3
3
  export const DEFAULT_MODEL_STRATEGY = 'select';
4
4
  export const COOKIE_URLS = ['https://chatgpt.com', 'https://chat.openai.com', 'https://atlas.openai.com'];
5
5
  export const INPUT_SELECTORS = [
@@ -38,7 +38,7 @@ export function applyHelpStyling(program, version, isTty) {
38
38
  program.addHelpText('after', () => renderHelpFooter(program, colors));
39
39
  }
40
40
  function renderHelpBanner(version, colors) {
41
- const subtitle = 'Prompt + files required — GPT-5.2 Pro/GPT-5.2 for tough questions with code/file context.';
41
+ const subtitle = 'Prompt + files required — Claude-4.6-Sonnet / GPT-5.3-Pro for tough questions with code/file context.';
42
42
  return `${colors.banner(`Oracle CLI v${version}`)} ${colors.subtitle(`— ${subtitle}`)}\n`;
43
43
  }
44
44
  function renderHelpFooter(program, colors) {
@@ -2,7 +2,7 @@ import { countTokens as countTokensGpt5 } from 'gpt-tokenizer/model/gpt-5';
2
2
  import { countTokens as countTokensGpt5Pro } from 'gpt-tokenizer/model/gpt-5-pro';
3
3
  import { countTokens as countTokensAnthropicRaw } from '@anthropic-ai/tokenizer';
4
4
  import { stringifyTokenizerInput } from './tokenStringifier.js';
5
- export const DEFAULT_MODEL = 'gpt-5.2-pro';
5
+ export const DEFAULT_MODEL = 'claude-4.6-sonnet';
6
6
  export const PRO_MODELS = new Set(['gpt-5.1-pro', 'gpt-5-pro', 'gpt-5.2-pro', 'gpt-5.3-pro', 'claude-4.5-sonnet', 'claude-4.6-sonnet', 'claude-4.1-opus', 'claude-4.6-opus']);
7
7
  const countTokensAnthropic = (input) => countTokensAnthropicRaw(stringifyTokenizerInput(input));
8
8
  export const MODEL_CONFIGS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indykish/oracle",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "CLI wrapper around OpenAI Responses API with GPT-5.3 Pro, GPT-5.3, GPT-5.2, Gemini-3.5-Pro, Claude-4.6-Sonnet/Opus, and Grok-4.2 support.",
5
5
  "type": "module",
6
6
  "main": "dist/bin/oracle-cli.js",
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "repository": {
42
42
  "type": "git",
43
- "url": "git+https://github.com/steipete/oracle.git"
43
+ "url": "git+https://github.com/indykish/oracle.git"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=22"
@@ -57,9 +57,9 @@
57
57
  "author": "",
58
58
  "license": "MIT",
59
59
  "bugs": {
60
- "url": "https://github.com/steipete/oracle/issues"
60
+ "url": "https://github.com/indykish/oracle/issues"
61
61
  },
62
- "homepage": "https://github.com/steipete/oracle#readme",
62
+ "homepage": "https://github.com/indykish/oracle#readme",
63
63
  "dependencies": {
64
64
  "@anthropic-ai/tokenizer": "^0.0.4",
65
65
  "@google/genai": "^1.41.0",