@tangle-network/sdk-provider-cli-base 0.13.91 → 0.13.93
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.
|
@@ -133,8 +133,11 @@ function ensureOwnedAgentDir(storageRoot, agentDir, owner) {
|
|
|
133
133
|
* on the host path). `io` writes it as the agent dir's owner instead.
|
|
134
134
|
*/
|
|
135
135
|
function materializePrimeModelsConfig(agentDir, input, io = { write: writePrimeAgentFile }) {
|
|
136
|
+
const config = buildPiModelsConfig(input);
|
|
137
|
+
const provider = config.providers[input.providerName];
|
|
138
|
+
provider.compat = provider.models[0]?.compat;
|
|
136
139
|
const target = join(agentDir, "models.json");
|
|
137
|
-
io.write(target, `${JSON.stringify(
|
|
140
|
+
io.write(target, `${JSON.stringify(config, null, 2)}\n`);
|
|
138
141
|
return target;
|
|
139
142
|
}
|
|
140
143
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sdk-provider-cli-base",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.93",
|
|
4
4
|
"description": "Base adapter for CLI-based AI agent providers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
61
61
|
"@tangle-network/agent-core": "^1.0.3",
|
|
62
62
|
"@tangle-network/agent-interface": "^5.10.23",
|
|
63
|
-
"@tangle-network/agent-profile-materialize": "1.1.
|
|
63
|
+
"@tangle-network/agent-profile-materialize": "1.1.117",
|
|
64
64
|
"@tangle-network/agent-trace-contract": "^2.2.0",
|
|
65
65
|
"@tangle-network/cli-agent-registry": "0.15.92",
|
|
66
66
|
"@tangle-network/sdk-cli-runner": "0.3.12",
|
|
67
|
-
"@tangle-network/sdk-session-persistence": "0.7.
|
|
67
|
+
"@tangle-network/sdk-session-persistence": "0.7.11",
|
|
68
68
|
"zod": "4.6.7"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"registry": "https://registry.npmjs.org"
|
|
80
80
|
},
|
|
81
81
|
"tangleRelease": {
|
|
82
|
-
"sourceSha": "
|
|
83
|
-
"mergedAt": "2026-11-
|
|
82
|
+
"sourceSha": "cbf6799c7824f9a6a201fc241491d92d0005ce43",
|
|
83
|
+
"mergedAt": "2026-11-15T17:18:02-08:00"
|
|
84
84
|
},
|
|
85
85
|
"scripts": {
|
|
86
86
|
"build": "tsdown",
|