@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 +5 -2
- package/dist/bin/oracle-cli.js +6 -0
- package/package.json +1 -1
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
|
-
|
|
126
|
-
|
|
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
|
package/dist/bin/oracle-cli.js
CHANGED
|
@@ -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