@ycodium-ai/agent-codex 0.2.5763 → 0.2.5877

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { definePlugin } from "@ycodium-ai/plugin-api";
3
3
 
4
4
  // ../../packages/plugin-api/src/version.ts
5
- var PLUGIN_API_VERSION = 181;
5
+ var PLUGIN_API_VERSION = 184;
6
6
 
7
7
  // src/index.ts
8
8
  import {
@@ -61,10 +61,14 @@ var CODEX_CARD = {
61
61
  verifiedSkills: true,
62
62
  everydayHarness: true,
63
63
  capabilities: {
64
+ // codex-cli 0.170.0 按 MCP 工具的 readOnlyHint / destructiveHint 触发 mcp-elicitation;
65
+ // compact 会让只读宿主工具经 destructiveHint: true 的 ycodium_call 转发而多出审批,全量下无额外审批。
66
+ hostMcpToolListing: "full",
64
67
  // 每次 sendTurn 之前先 `config/mcpServer/reload`,原进程自己补回 MCP,不必换进程。
65
68
  recoversMcpByRelaunch: false,
66
69
  turnSteering: true,
67
70
  sessionModelSwitch: "in-session",
71
+ sessionOptionSwitch: "in-session",
68
72
  runtimeModeSwitch: "next-turn",
69
73
  // 三字段组合在 openThread 时定,切档要重开会话(与 runtimeModeSwitch 同为 next-turn)。
70
74
  nativeModeSwitch: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-codex",
3
- "version": "0.2.5763",
3
+ "version": "0.2.5877",
4
4
  "description": "Codex executor: Codex CLI over the app-server JSON-RPC protocol.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -29,13 +29,13 @@
29
29
  "tailwindcss": "^4.0.0",
30
30
  "typescript": "~6.0.3",
31
31
  "vite-plus": "0.2.2",
32
- "@ycodium-ai/plugin-api": "0.2.5763",
33
- "ycodium-executor-testing": "0.0.0",
32
+ "@ycodium-ai/plugin-api": "0.2.5877",
34
33
  "ycodium-credential-account": "0.0.0",
35
- "ycodium-instance-config": "0.0.0",
34
+ "ycodium-executor-testing": "0.0.0",
36
35
  "ycodium-jsonl-stream": "0.0.0",
37
- "ycodium-text-generation": "0.0.0",
38
- "ycodium-react-test-harness": "0.0.0"
36
+ "ycodium-instance-config": "0.0.0",
37
+ "ycodium-react-test-harness": "0.0.0",
38
+ "ycodium-text-generation": "0.0.0"
39
39
  },
40
40
  "ycodium": {
41
41
  "plugin": "./dist/index.js",