@steipete/oracle 0.4.1 → 0.4.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.
package/README.md CHANGED
@@ -122,8 +122,11 @@ Put defaults in `~/.oracle/config.json` (JSON5). Example:
122
122
  See [docs/configuration.md](docs/configuration.md) for precedence and full schema.
123
123
 
124
124
  Advanced flags
125
- - Browser: `--browser-timeout`, `--browser-input-timeout`, `--browser-inline-cookies[(-file)]`, `--browser-inline-files`, `--browser-bundle-files`, `--browser-keep-browser`, `--browser-headless`, `--browser-hide-window`, `--browser-no-cookie-sync`, `--browser-allow-cookie-errors`, `--browser-chrome-path`, `--browser-cookie-path`, `--chatgpt-url`.
126
- - Azure/OpenAI compatibility: `--azure-endpoint`, `--azure-deployment`, `--azure-api-version`, `--base-url`.
125
+
126
+ | Area | Flags |
127
+ | --- | --- |
128
+ | Browser | `--browser-timeout`, `--browser-input-timeout`, `--browser-inline-cookies[(-file)]`, `--browser-inline-files`, `--browser-bundle-files`, `--browser-keep-browser`, `--browser-headless`, `--browser-hide-window`, `--browser-no-cookie-sync`, `--browser-allow-cookie-errors`, `--browser-chrome-path`, `--browser-cookie-path`, `--chatgpt-url` |
129
+ | Azure/OpenAI | `--azure-endpoint`, `--azure-deployment`, `--azure-api-version`, `--base-url` |
127
130
 
128
131
  Remote browser example
129
132
  ```bash
@@ -4,6 +4,12 @@ import { spawn } from 'node:child_process';
4
4
  import { fileURLToPath } from 'node:url';
5
5
  import { once } from 'node:events';
6
6
  import { Command, Option } from 'commander';
7
+ // Allow `npx @steipete/oracle oracle-mcp` to resolve the MCP server even though npx runs the default binary.
8
+ if (process.argv[2] === 'oracle-mcp') {
9
+ const { startMcpServer } = await import('../src/mcp/server.js');
10
+ await startMcpServer();
11
+ process.exit(0);
12
+ }
7
13
  import { resolveEngine, defaultWaitPreference } from '../src/cli/engine.js';
8
14
  import { shouldRequirePrompt } from '../src/cli/promptRequirement.js';
9
15
  import chalk from 'chalk';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steipete/oracle",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "CLI wrapper around OpenAI Responses API with GPT-5.1 Pro, GPT-5.1, and GPT-5.1 Codex high reasoning modes.",
5
5
  "type": "module",
6
6
  "main": "dist/bin/oracle-cli.js",