@nextclaw/nextclaw-ncp-runtime-plugin-codex-sdk 0.1.28 → 0.1.29
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 +3 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ function resolveExternalModelProvider(params) {
|
|
|
20
20
|
return explicitModelProvider;
|
|
21
21
|
}
|
|
22
22
|
const providerName = readOptionalString(params.providerName);
|
|
23
|
-
if (providerName
|
|
23
|
+
if (providerName) {
|
|
24
24
|
return providerName;
|
|
25
25
|
}
|
|
26
26
|
const providerDisplayName = readOptionalString(params.providerDisplayName);
|
|
@@ -108,12 +108,13 @@ function buildCodexInputBuilder(runtimeAgent, workspace) {
|
|
|
108
108
|
return async (input) => {
|
|
109
109
|
const userText = readUserText(input);
|
|
110
110
|
const metadata = input.metadata && typeof input.metadata === "object" && !Array.isArray(input.metadata) ? input.metadata : {};
|
|
111
|
-
|
|
111
|
+
const prompt = runtimeAgent.buildRuntimeUserPrompt({
|
|
112
112
|
workspace,
|
|
113
113
|
sessionKey: input.sessionId,
|
|
114
114
|
metadata,
|
|
115
115
|
userMessage: userText
|
|
116
116
|
});
|
|
117
|
+
return prompt;
|
|
117
118
|
};
|
|
118
119
|
}
|
|
119
120
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/nextclaw-ncp-runtime-plugin-codex-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "NextClaw plugin that registers Codex SDK as an optional NCP runtime.",
|
|
6
6
|
"type": "module",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@nextclaw/ncp-toolkit": "0.4.4",
|
|
25
24
|
"@nextclaw/ncp": "0.4.0",
|
|
26
|
-
"@nextclaw/nextclaw-ncp-runtime-codex-sdk": "0.1.
|
|
25
|
+
"@nextclaw/nextclaw-ncp-runtime-codex-sdk": "0.1.6",
|
|
26
|
+
"@nextclaw/ncp-toolkit": "0.4.4"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^20.17.6",
|