@bitkyc08/opencodex 2.20.0 → 2.22.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/AGENTS_INSTALL.md +32 -0
- package/README.md +1 -1
- package/gui/dist/assets/{index-DSK3S5HY.js → index-ClEcVlFO.js} +43 -17
- package/gui/dist/assets/index-DQsMZzI5.css +1 -0
- package/gui/dist/index.html +2 -2
- package/package.json +1 -1
- package/src/adapters/anthropic.ts +2 -28
- package/src/adapters/google.ts +31 -3
- package/src/adapters/openai-chat.ts +25 -8
- package/src/adapters/responses-tool-schema.ts +67 -0
- package/src/bridge.ts +15 -2
- package/src/claude/agents-inject.ts +2 -2
- package/src/claude/gateway-cache.ts +41 -4
- package/src/cli/claude.ts +1 -1
- package/src/cli/codex-log-guard-doctor.ts +103 -0
- package/src/cli/dispatch.ts +7 -1
- package/src/cli/help.ts +1 -1
- package/src/cli/models.ts +16 -6
- package/src/cli/observe.ts +38 -2
- package/src/cli/registry.ts +2 -1
- package/src/cli/v2.ts +34 -1
- package/src/codex/app-server-processes.ts +46 -26
- package/src/codex/catalog/effort.ts +49 -1
- package/src/codex/catalog/parsing.ts +64 -4
- package/src/codex/catalog/provider-fetch.ts +12 -0
- package/src/codex/catalog/sync.ts +14 -1
- package/src/codex/convergence.ts +2 -0
- package/src/codex/inject.ts +3 -3
- package/src/codex/log-guard/inspect.ts +506 -0
- package/src/codex/log-guard/lock.ts +150 -0
- package/src/codex/log-guard/maintenance.ts +403 -0
- package/src/codex/log-guard/path-safety.ts +39 -0
- package/src/codex/log-guard/policy.ts +44 -0
- package/src/codex/log-guard/processes.ts +205 -0
- package/src/codex/log-guard/protection.ts +489 -0
- package/src/codex/log-guard/sqlite-errors.ts +9 -0
- package/src/codex/paths.ts +5 -0
- package/src/codex/plugins-doctor.ts +1 -1
- package/src/codex/project-config-warnings.ts +2 -2
- package/src/generated/compatibility-version.json +93 -45
- package/src/images/loop.ts +15 -5
- package/src/providers/antigravity-models.ts +11 -1
- package/src/providers/model-discovery.ts +94 -6
- package/src/providers/quota.ts +159 -0
- package/src/providers/registry.ts +20 -1
- package/src/providers/slug-codec.ts +29 -0
- package/src/responses/custom-tool-compat.ts +4 -1
- package/src/responses/parser.ts +7 -1
- package/src/responses/provider-opaque-metadata.ts +73 -0
- package/src/responses/schema.ts +6 -0
- package/src/router.ts +12 -4
- package/src/routing/capability.ts +32 -17
- package/src/server/auth-cors.ts +42 -6
- package/src/server/index.ts +1 -0
- package/src/server/management/agent-settings-routes.ts +20 -2
- package/src/server/management/context.ts +15 -0
- package/src/server/management/model-routes.ts +12 -3
- package/src/server/management/storage-log-guard-routes.ts +186 -0
- package/src/server/management-api.ts +3 -1
- package/src/server/responses/core.ts +13 -0
- package/src/server/system-env.ts +1 -1
- package/src/types.ts +24 -2
- package/src/web-search/loop.ts +21 -5
- package/gui/dist/assets/index-DF_UFrGS.css +0 -1
package/AGENTS_INSTALL.md
CHANGED
|
@@ -75,3 +75,35 @@ Regression coverage: `tests/startup-prompt.test.ts`,
|
|
|
75
75
|
If a future action spends the user's identity, credits, or reputation, gate it
|
|
76
76
|
the same way rather than relying on a prompt an agent can answer, and document
|
|
77
77
|
it here.
|
|
78
|
+
|
|
79
|
+
## Browser and Computer Use plugins: entry point
|
|
80
|
+
|
|
81
|
+
This is not a consent boundary — it is a routing fact that costs agents real
|
|
82
|
+
time when they do not know it, and it belongs here because it applies to an
|
|
83
|
+
agent *operating* opencodex rather than changing it.
|
|
84
|
+
|
|
85
|
+
The Chrome, Browser, and Computer Use plugins run **only** through the
|
|
86
|
+
privileged Node REPL tool (`mcp__node_repl__js`). Call it directly. If it is not
|
|
87
|
+
in the current tool set, search available tools for `node_repl js` before
|
|
88
|
+
concluding anything is unavailable.
|
|
89
|
+
|
|
90
|
+
These do not work and are not worth attempting:
|
|
91
|
+
|
|
92
|
+
- `node` / `node -e` importing the plugin's `scripts/browser-client.mjs`. It
|
|
93
|
+
refuses with `Browser use requires privileged node_repl capabilities` — the
|
|
94
|
+
bundle reads `globalThis.nodeRepl` and ships its own `process` shim, both
|
|
95
|
+
injected by the privileged REPL host and by nothing else.
|
|
96
|
+
- Filesystem searches for `@oai/sky`. Computer Use injects it at runtime; there
|
|
97
|
+
is no package on disk, so `find` and `mdfind` can only ever come back empty.
|
|
98
|
+
- `osascript` / AppleScript / JXA as a substitute for the plugin API.
|
|
99
|
+
|
|
100
|
+
A failed shell attempt is evidence about the shell, not about plugin
|
|
101
|
+
availability.
|
|
102
|
+
|
|
103
|
+
Smaller local models misroute here for a specific reason worth naming: the
|
|
104
|
+
bundled Chrome skill asks an agent not to *mention* the REPL tool in
|
|
105
|
+
user-facing prose while simultaneously requiring it to *use* that tool. Both
|
|
106
|
+
hold at once. The naming restriction governs what you say to the user; it never
|
|
107
|
+
means the tool is off-limits. A model that resolves the tension by avoiding the
|
|
108
|
+
tool will exhaust every shell path and then report the plugins as unavailable,
|
|
109
|
+
which is what prompted writing this down.
|
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ ocx start # proxy + dashboard on localhost:10100
|
|
|
38
38
|
</table>
|
|
39
39
|
|
|
40
40
|
<p align="center">
|
|
41
|
-
<a href="README.md">English</a> · <a href="readme/README.ko.md">한국어</a> · <a href="readme/README.zh-CN.md">简体中文</a> · <a href="readme/README.zh-TW.md">繁體中文</a> · <a href="readme/README.ru.md">Русский</a> · <a href="readme/README.ja.md">日本語</a> · <a href="readme/README.tr.md">Türkçe</a> · 📖 <a href="https://opencodex.me/"><b>Full documentation →</b></a>
|
|
41
|
+
<a href="README.md">English</a> · <a href="readme/README.fr.md">Français</a> · <a href="readme/README.ko.md">한국어</a> · <a href="readme/README.zh-CN.md">简体中文</a> · <a href="readme/README.zh-TW.md">繁體中文</a> · <a href="readme/README.ru.md">Русский</a> · <a href="readme/README.ja.md">日本語</a> · <a href="readme/README.tr.md">Türkçe</a> · 📖 <a href="https://opencodex.me/"><b>Full documentation →</b></a>
|
|
42
42
|
</p>
|
|
43
43
|
|
|
44
44
|
opencodex is a lightweight local proxy that translates Codex's Responses API into whatever your
|