@ycodium-ai/agent-codex 0.2.3766 → 0.2.3799
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/dist/index.js +8 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2351,9 +2351,12 @@ function codexExecLaunchArgs(launchArgs) {
|
|
|
2351
2351
|
function codexMcpThreadConfig(servers) {
|
|
2352
2352
|
return {
|
|
2353
2353
|
mcp_servers: Object.fromEntries(
|
|
2354
|
-
servers.map(({ name, transport }) => [
|
|
2354
|
+
servers.map(({ name, transport, toolTimeoutSeconds }) => [
|
|
2355
2355
|
name,
|
|
2356
|
-
|
|
2356
|
+
{
|
|
2357
|
+
...transport.type === "stdio" ? { command: transport.command, args: transport.args ?? [], env: transport.env ?? {} } : { url: transport.url, http_headers: transport.headers ?? {} },
|
|
2358
|
+
...toolTimeoutSeconds === void 0 ? {} : { tool_timeout_sec: toolTimeoutSeconds }
|
|
2359
|
+
}
|
|
2357
2360
|
])
|
|
2358
2361
|
)
|
|
2359
2362
|
};
|
|
@@ -4137,6 +4140,8 @@ function mapNotificationToEvents(input) {
|
|
|
4137
4140
|
type: "user-input.requested",
|
|
4138
4141
|
threadId,
|
|
4139
4142
|
turnId,
|
|
4143
|
+
// 带上回复条目:宿主据此不再把这条回复和提问卡重复画一遍。
|
|
4144
|
+
itemId,
|
|
4140
4145
|
requestId: `codex-async:${itemId}`,
|
|
4141
4146
|
payload: { questions: asyncQuestions, responseMode: "message" },
|
|
4142
4147
|
method,
|
|
@@ -7903,7 +7908,7 @@ var executors = [
|
|
|
7903
7908
|
];
|
|
7904
7909
|
var index_default = definePlugin({
|
|
7905
7910
|
id: "agent-codex",
|
|
7906
|
-
apiVersion:
|
|
7911
|
+
apiVersion: 60,
|
|
7907
7912
|
executors,
|
|
7908
7913
|
activate(ctx) {
|
|
7909
7914
|
ctx.command({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/agent-codex",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3799",
|
|
4
4
|
"description": "Codex executor: Codex CLI over the app-server JSON-RPC protocol.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ycodium",
|
|
@@ -29,8 +29,8 @@
|
|
|
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.3799",
|
|
32
33
|
"ycodium-executor-testing": "0.0.0",
|
|
33
|
-
"@ycodium-ai/plugin-api": "0.2.3766",
|
|
34
34
|
"ycodium-jsonl-stream": "0.0.0"
|
|
35
35
|
},
|
|
36
36
|
"ycodium": {
|