@psnext/slingcli 2.4.20260522-3 → 2.4.20260522-4
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/bin/sling.js
CHANGED
|
@@ -172,6 +172,20 @@ async function checkAndInstallPackages() {
|
|
|
172
172
|
for (const u of unsupported) installed.delete(u);
|
|
173
173
|
|
|
174
174
|
const config = JSON.parse(readFileSync(configPath, "utf-8"));
|
|
175
|
+
const updatePackages = (config.packages || []).filter((p) => {
|
|
176
|
+
const source = typeof p === "object" && p !== null ? p.source : p;
|
|
177
|
+
return installed.has(source);
|
|
178
|
+
});
|
|
179
|
+
for (const pkg of updatePackages) {
|
|
180
|
+
console.log(`Updating ${pkg}...`);
|
|
181
|
+
try {
|
|
182
|
+
await runCommand(process.execPath, [__filename, "update", "-g", pkg]);
|
|
183
|
+
console.log(`✓ Updated ${pkg}`);
|
|
184
|
+
} catch (err) {
|
|
185
|
+
console.error(`✗ Failed to update ${pkg}:`, err.message);
|
|
186
|
+
console.error(` You can manually update it later with: sling update ${pkg}`);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
175
189
|
const packages = (config.packages || []).filter((p) => {
|
|
176
190
|
const source = typeof p === "object" && p !== null ? p.source : p;
|
|
177
191
|
return !installed.has(source);
|
|
@@ -13127,10 +13127,10 @@ export const MODELS = {
|
|
|
13127
13127
|
reasoning: true,
|
|
13128
13128
|
input: ["text", "image"],
|
|
13129
13129
|
cost: {
|
|
13130
|
-
input:
|
|
13131
|
-
output:
|
|
13132
|
-
cacheRead: 0.
|
|
13133
|
-
cacheWrite:
|
|
13130
|
+
input: 1.25,
|
|
13131
|
+
output: 3.75,
|
|
13132
|
+
cacheRead: 0.25,
|
|
13133
|
+
cacheWrite: 1.5625,
|
|
13134
13134
|
},
|
|
13135
13135
|
contextWindow: 991000,
|
|
13136
13136
|
maxTokens: 64000,
|
|
@@ -14023,7 +14023,7 @@ export const MODELS = {
|
|
|
14023
14023
|
},
|
|
14024
14024
|
"minimax/minimax-m2.7": {
|
|
14025
14025
|
id: "minimax/minimax-m2.7",
|
|
14026
|
-
name: "
|
|
14026
|
+
name: "MiniMax M2.7",
|
|
14027
14027
|
api: "anthropic-messages",
|
|
14028
14028
|
provider: "vercel-ai-gateway",
|
|
14029
14029
|
baseUrl: "https://ai-gateway.vercel.sh",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@psnext/slingcli",
|
|
3
|
-
"version": "2.4.20260522-
|
|
3
|
+
"version": "2.4.20260522-4",
|
|
4
4
|
"description": "Connects Sling CLI to Publicis Sapient Slingshot enterprise LLM gateway. Bundles the pi coding-agent runtime.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"type": "git",
|
|
30
30
|
"url": "git+https://pscode.lioncloud.net/psaiproducts/slingcli.git"
|
|
31
31
|
},
|
|
32
|
-
"slingVersion": "2.4.20260522-
|
|
32
|
+
"slingVersion": "2.4.20260522-4",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@earendil-works/pi-tui": "file:../.sling-pack/earendil-works-pi-tui-0.75.4.tgz",
|
|
35
35
|
"@earendil-works/pi-ai": "file:../.sling-pack/earendil-works-pi-ai-0.75.4.tgz",
|