@steipete/oracle 1.2.0 → 1.3.0
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 +14 -6
- package/dist/.DS_Store +0 -0
- package/dist/bin/oracle-cli.js +161 -44
- package/dist/src/browser/config.js +6 -0
- package/dist/src/browser/cookies.js +49 -11
- package/dist/src/browser/index.js +18 -5
- package/dist/src/browser/sessionRunner.js +10 -1
- package/dist/src/cli/browserConfig.js +109 -2
- package/dist/src/cli/detach.js +12 -0
- package/dist/src/cli/dryRun.js +19 -3
- package/dist/src/cli/help.js +2 -0
- package/dist/src/cli/options.js +22 -0
- package/dist/src/cli/runOptions.js +16 -2
- package/dist/src/cli/sessionRunner.js +11 -0
- package/dist/src/cli/tui/index.js +68 -47
- package/dist/src/oracle/client.js +24 -6
- package/dist/src/oracle/config.js +10 -0
- package/dist/src/oracle/files.js +8 -2
- package/dist/src/oracle/format.js +2 -7
- package/dist/src/oracle/fsAdapter.js +4 -1
- package/dist/src/oracle/gemini.js +161 -0
- package/dist/src/oracle/logging.js +36 -0
- package/dist/src/oracle/oscProgress.js +7 -1
- package/dist/src/oracle/run.js +111 -48
- package/dist/src/oracle.js +1 -0
- package/dist/src/sessionManager.js +2 -0
- package/dist/vendor/oracle-notifier/OracleNotifier.app/Contents/MacOS/OracleNotifier +0 -0
- package/dist/vendor/oracle-notifier/build-notifier.sh +0 -0
- package/dist/vendor/oracle-notifier/oracle-notifier/OracleNotifier.app/Contents/MacOS/OracleNotifier +0 -0
- package/dist/vendor/oracle-notifier/oracle-notifier/build-notifier.sh +0 -0
- package/package.json +16 -26
- package/vendor/oracle-notifier/OracleNotifier.app/Contents/MacOS/OracleNotifier +0 -0
- package/vendor/oracle-notifier/build-notifier.sh +0 -0
- package/vendor/oracle-notifier/README.md +0 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steipete/oracle",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "CLI wrapper around OpenAI Responses API with GPT-5 Pro and GPT-5.1 high reasoning modes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/bin/oracle-cli.js",
|
|
@@ -8,18 +8,6 @@
|
|
|
8
8
|
"oracle": "dist/bin/oracle-cli.js",
|
|
9
9
|
"oracle-mcp": "dist/bin/oracle-mcp.js"
|
|
10
10
|
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "tsc -p tsconfig.build.json && pnpm run build:vendor",
|
|
13
|
-
"build:vendor": "mkdir -p dist/vendor && cp -R vendor/oracle-notifier dist/vendor/oracle-notifier || true",
|
|
14
|
-
"start": "pnpm run build && node ./dist/scripts/run-cli.js",
|
|
15
|
-
"oracle": "pnpm start",
|
|
16
|
-
"typecheck": "tsc --noEmit",
|
|
17
|
-
"lint": "pnpm run typecheck && biome lint .",
|
|
18
|
-
"test": "vitest run",
|
|
19
|
-
"test:coverage": "vitest run --coverage",
|
|
20
|
-
"prepare": "pnpm run build",
|
|
21
|
-
"mcp": "pnpm run build && node ./dist/bin/oracle-mcp.js"
|
|
22
|
-
},
|
|
23
11
|
"files": [
|
|
24
12
|
"dist/**/*",
|
|
25
13
|
"assets-oracle-icon.png",
|
|
@@ -41,6 +29,7 @@
|
|
|
41
29
|
},
|
|
42
30
|
"homepage": "https://github.com/steipete/oracle#readme",
|
|
43
31
|
"dependencies": {
|
|
32
|
+
"@google/generative-ai": "^0.24.1",
|
|
44
33
|
"@modelcontextprotocol/sdk": "^1.22.0",
|
|
45
34
|
"chalk": "^5.6.2",
|
|
46
35
|
"chrome-cookies-secure": "^3.0.0",
|
|
@@ -48,24 +37,24 @@
|
|
|
48
37
|
"chrome-remote-interface": "^0.33.3",
|
|
49
38
|
"commander": "^14.0.2",
|
|
50
39
|
"dotenv": "^17.2.3",
|
|
51
|
-
"json5": "^2.2.3",
|
|
52
40
|
"fast-glob": "^3.3.3",
|
|
53
41
|
"gpt-tokenizer": "^3.4.0",
|
|
54
42
|
"inquirer": "^9.3.8",
|
|
43
|
+
"json5": "^2.2.3",
|
|
55
44
|
"keytar": "^7.9.0",
|
|
56
45
|
"kleur": "^4.1.5",
|
|
57
46
|
"markdansi": "^0.1.3",
|
|
58
47
|
"openai": "^6.9.0",
|
|
59
48
|
"shiki": "^3.15.0",
|
|
60
|
-
"toasted-notifier": "^10.1.0",
|
|
61
49
|
"sqlite3": "^5.1.7",
|
|
50
|
+
"toasted-notifier": "^10.1.0",
|
|
62
51
|
"zod": "^3.24.1"
|
|
63
52
|
},
|
|
64
53
|
"devDependencies": {
|
|
65
54
|
"@biomejs/biome": "^2.3.5",
|
|
66
|
-
"@types/json5": "^0.0.30",
|
|
67
55
|
"@types/chrome-remote-interface": "^0.31.14",
|
|
68
56
|
"@types/inquirer": "^9.0.9",
|
|
57
|
+
"@types/json5": "^0.0.30",
|
|
69
58
|
"@types/node": "^24.10.1",
|
|
70
59
|
"@vitest/coverage-v8": "4.0.9",
|
|
71
60
|
"devtools-protocol": "^0.0.1545402",
|
|
@@ -74,14 +63,15 @@
|
|
|
74
63
|
"typescript": "^5.9.3",
|
|
75
64
|
"vitest": "^4.0.9"
|
|
76
65
|
},
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
66
|
+
"scripts": {
|
|
67
|
+
"build": "tsc -p tsconfig.build.json && pnpm run build:vendor",
|
|
68
|
+
"build:vendor": "mkdir -p dist/vendor && cp -R vendor/oracle-notifier dist/vendor/oracle-notifier || true",
|
|
69
|
+
"start": "pnpm run build && node ./dist/scripts/run-cli.js",
|
|
70
|
+
"oracle": "pnpm start",
|
|
71
|
+
"typecheck": "tsc --noEmit",
|
|
72
|
+
"lint": "pnpm run typecheck && biome lint .",
|
|
73
|
+
"test": "vitest run",
|
|
74
|
+
"test:coverage": "vitest run --coverage",
|
|
75
|
+
"mcp": "pnpm run build && node ./dist/bin/oracle-mcp.js"
|
|
86
76
|
}
|
|
87
|
-
}
|
|
77
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Oracle Notifier helper (macOS, arm64)
|
|
2
|
-
|
|
3
|
-
Builds a tiny signed helper app for macOS notifications with the Oracle icon.
|
|
4
|
-
|
|
5
|
-
## Build
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
cd vendor/oracle-notifier
|
|
9
|
-
# Optional: notarize by setting App Store Connect key credentials
|
|
10
|
-
export APP_STORE_CONNECT_API_KEY_P8="$(cat AuthKey_XXXXXX.p8)" # with literal newlines or \n escaped
|
|
11
|
-
export APP_STORE_CONNECT_KEY_ID=XXXXXX
|
|
12
|
-
export APP_STORE_CONNECT_ISSUER_ID=YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY
|
|
13
|
-
./build-notifier.sh
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
- Requires Xcode command line tools (swiftc) and a macOS Developer ID certificate. Without a valid cert, the build fails (no ad-hoc fallback).
|
|
17
|
-
- If `APP_STORE_CONNECT_*` vars are set, the script notarizes and staples the ticket.
|
|
18
|
-
- Output: `OracleNotifier.app` (arm64 only), bundled with `OracleIcon.icns`.
|
|
19
|
-
|
|
20
|
-
## Usage
|
|
21
|
-
The CLI prefers this helper on macOS; if it fails or is missing, it falls back to toasted-notifier/terminal-notifier.
|
|
22
|
-
|
|
23
|
-
## Permissions
|
|
24
|
-
After first run, allow notifications for “Oracle Notifier” in System Settings → Notifications.
|