-
Notifications
You must be signed in to change notification settings - Fork 363
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 4.36 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 4.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@steipete/oracle",
"version": "0.17.2",
"description": "CLI wrapper around OpenAI Responses API with GPT-5.6 Sol, GPT-5.6, GPT-5.5 Pro, GPT-5.5, GPT-5.4, GPT-5.2, GPT-5.1, and GPT-5.1 Codex high reasoning modes.",
"keywords": [],
"homepage": "https://askoracle.sh",
"bugs": {
"url": "https://github.com/steipete/oracle/issues"
},
"license": "MIT",
"author": "",
"repository": {
"type": "git",
"url": "git+https://github.com/steipete/oracle.git"
},
"bin": {
"oracle": "dist/bin/oracle-cli.js",
"oracle-mcp": "dist/bin/oracle-mcp.js"
},
"files": [
"dist/**/*",
"assets-oracle-icon.png",
"vendor/oracle-notifier/OracleNotifier.swift",
"vendor/oracle-notifier/OracleNotifier.app/**",
"vendor/oracle-notifier/build-notifier.sh",
"README.md",
"LICENSE"
],
"type": "module",
"main": "dist/bin/oracle-cli.js",
"scripts": {
"docs:list": "tsx scripts/docs-list.ts",
"docs:check": "node --no-deprecation --import tsx bin/oracle-cli.ts docs check",
"docs:site": "node scripts/build-docs-site.mjs",
"build": "tsc -p tsconfig.build.json && pnpm run build:vendor",
"build:vendor": "node -e \"const fs=require('fs'); const path=require('path'); const vendorRoot=path.join('dist','vendor'); fs.rmSync(vendorRoot,{recursive:true,force:true}); const vendors=[['oracle-notifier']]; vendors.forEach(([name])=>{const src=path.join('vendor',name); const dest=path.join(vendorRoot,name); fs.mkdirSync(dest,{recursive:true}); if(fs.existsSync(src)){fs.cpSync(src,dest,{recursive:true,force:true});}});\"",
"start": "pnpm run build && node ./dist/scripts/run-cli.js",
"oracle": "pnpm start",
"check": "pnpm run format:check && pnpm run lint",
"typecheck": "tsc --noEmit",
"format": "oxfmt --write .",
"format:check": "oxfmt --check .",
"format:diff": "oxfmt --write . && git --no-pager diff",
"lint": "pnpm run typecheck && oxlint",
"lint:fix": "oxlint --fix && pnpm run format",
"test": "vitest run",
"test:mcp": "pnpm run build && pnpm run test:mcp:unit && pnpm run test:mcp:mcporter",
"test:mcp:unit": "vitest run tests/mcp*.test.ts tests/mcp/**/*.test.ts",
"test:mcp:mcporter": "CHROME_DEVTOOLS_URL=http://127.0.0.1:0 pnpm dlx mcporter list oracle-local --schema --config config/mcporter.json && CHROME_DEVTOOLS_URL=http://127.0.0.1:0 pnpm dlx mcporter call oracle-local.sessions limit:1 --config config/mcporter.json",
"test:browser": "pnpm run build && tsx scripts/test-browser.ts && ./scripts/browser-smoke.sh",
"test:packed-cli": "node scripts/packed-cli-smoke.mjs",
"test:live": "ORACLE_LIVE_TEST=1 vitest run tests/live --exclude tests/live/openai-live.test.ts",
"test:live:fast": "ORACLE_LIVE_TEST=1 ORACLE_LIVE_TEST_FAST=1 vitest run tests/live/browser-fast-live.test.ts",
"test:pro": "ORACLE_LIVE_TEST=1 vitest run tests/live/openai-live.test.ts",
"test:coverage": "vitest run --coverage",
"prepare": "pnpm run build",
"mcp": "pnpm run build && node ./dist/bin/oracle-mcp.js"
},
"dependencies": {
"@anthropic-ai/tokenizer": "^0.0.4",
"@google/genai": "^2.16.0",
"@google/generative-ai": "^0.24.1",
"@modelcontextprotocol/sdk": "^1.30.0",
"@steipete/sweet-cookie": "^0.4.1",
"chalk": "^6.0.0",
"chrome-launcher": "^1.2.1",
"chrome-remote-interface": "^0.34.0",
"clipboardy": "^5.3.2",
"commander": "^15.0.0",
"dotenv": "^17.4.2",
"fast-glob": "^3.3.3",
"gpt-tokenizer": "^3.4.0",
"inquirer": "14.0.2",
"json5": "^2.2.3",
"kleur": "^4.1.5",
"markdansi": "0.3.3",
"openai": "^7.4.0",
"osc-progress": "^0.3.2",
"qs": "^6.15.3",
"shiki": "^4.4.2",
"toasted-notifier": "^10.1.0",
"tokentally": "^0.1.3",
"zod": "^4.4.3"
},
"devDependencies": {
"@anthropic-ai/tokenizer": "^0.0.4",
"@types/chrome-remote-interface": "^0.34.0",
"@types/inquirer": "^9.0.10",
"@types/node": "^26.2.0",
"@vitest/coverage-v8": "4.1.10",
"devtools-protocol": "0.0.1676105",
"es-toolkit": "^1.50.0",
"esbuild": "^0.28.1",
"oxfmt": "0.62.0",
"oxlint": "^1.77.0",
"puppeteer-core": "^25.5.0",
"tsx": "^4.23.11",
"typescript": "^7.0.2",
"vitest": "^4.1.10"
},
"devEngines": {
"runtime": [
{
"name": "node",
"version": ">=24"
}
]
},
"engines": {
"node": ">=24"
},
"packageManager": "pnpm@11.20.0"
}