@squidcloud/cli 1.0.482 → 1.0.483
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 +13 -11
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -31706,6 +31706,8 @@ exports.AI_PROVIDER_TYPES = [
|
|
|
31706
31706
|
'flux',
|
|
31707
31707
|
'gemini',
|
|
31708
31708
|
'openai',
|
|
31709
|
+
// System-internal provider type; not customer-selectable.
|
|
31710
|
+
'openai-compatible',
|
|
31709
31711
|
'grok',
|
|
31710
31712
|
'stability',
|
|
31711
31713
|
'voyage',
|
|
@@ -31731,7 +31733,7 @@ exports.OPENAI_CHAT_MODEL_NAMES = [
|
|
|
31731
31733
|
* Public Gemini chat model names (active models only).
|
|
31732
31734
|
* @category AI
|
|
31733
31735
|
*/
|
|
31734
|
-
exports.GEMINI_CHAT_MODEL_NAMES = ['gemini-3.1-pro', 'gemini-3.
|
|
31736
|
+
exports.GEMINI_CHAT_MODEL_NAMES = ['gemini-3.1-pro', 'gemini-3.6-flash', 'gemini-3.5-flash-lite'];
|
|
31735
31737
|
/**
|
|
31736
31738
|
* Public Grok chat model names (active models only).
|
|
31737
31739
|
* @category AI
|
|
@@ -31741,7 +31743,7 @@ exports.GROK_CHAT_MODEL_NAMES = ['grok-4.3', 'grok-4-1-fast-reasoning', 'grok-4-
|
|
|
31741
31743
|
* Public Anthropic chat model names (active models only).
|
|
31742
31744
|
* @category AI
|
|
31743
31745
|
*/
|
|
31744
|
-
exports.ANTHROPIC_CHAT_MODEL_NAMES = ['claude-haiku-4-5-20251001', 'claude-opus-
|
|
31746
|
+
exports.ANTHROPIC_CHAT_MODEL_NAMES = ['claude-haiku-4-5-20251001', 'claude-opus-5', 'claude-sonnet-5'];
|
|
31745
31747
|
/**
|
|
31746
31748
|
* The supported AI model names.
|
|
31747
31749
|
* @category AI
|
|
@@ -33973,10 +33975,7 @@ function setupInitCommand(yargs) {
|
|
|
33973
33975
|
attachRegionOption(yargs, false);
|
|
33974
33976
|
attachConsoleRegionOption(yargs);
|
|
33975
33977
|
}, async (argv) => {
|
|
33976
|
-
|
|
33977
|
-
const consoleRegion = geConsoleRegionFromCommandOrEnv(argv.consoleRegion) || getConsoleRegionFromAppRegion(appRegion);
|
|
33978
|
-
await (0, sample_1.initSample)(consoleRegion, !!argv.consoleRegion, // If the console region is specified, we assume it's an on-prem console
|
|
33979
|
-
argv.path, argv.appId, argv.apiKey, argv.environmentId, argv.squidDeveloperId, argv.region, 'backend', !!argv.verbose);
|
|
33978
|
+
await initializeSampleProject(argv, 'backend');
|
|
33980
33979
|
});
|
|
33981
33980
|
}
|
|
33982
33981
|
function setupInitSampleCommand(yargs) {
|
|
@@ -33990,12 +33989,15 @@ function setupInitSampleCommand(yargs) {
|
|
|
33990
33989
|
attachTemplateOption(yargs, true);
|
|
33991
33990
|
attachConsoleRegionOption(yargs);
|
|
33992
33991
|
}, async (argv) => {
|
|
33993
|
-
|
|
33994
|
-
const consoleRegion = geConsoleRegionFromCommandOrEnv(argv.consoleRegion) || getConsoleRegionFromAppRegion(appRegion);
|
|
33995
|
-
await (0, sample_1.initSample)(consoleRegion, !!argv.consoleRegion, // If the console region is specified, we assume it's an on-prem console
|
|
33996
|
-
argv.path, argv.appId, argv.apiKey, argv.environmentId, argv.squidDeveloperId, argv.region, argv.template, !!argv.verbose);
|
|
33992
|
+
await initializeSampleProject(argv, argv.template);
|
|
33997
33993
|
});
|
|
33998
33994
|
}
|
|
33995
|
+
async function initializeSampleProject(argv, template) {
|
|
33996
|
+
const appRegion = geAppRegionFromCommandOrEnv(argv.region);
|
|
33997
|
+
const consoleRegion = geConsoleRegionFromCommandOrEnv(argv.consoleRegion) || getConsoleRegionFromAppRegion(appRegion);
|
|
33998
|
+
await (0, sample_1.initSample)(consoleRegion, !!argv.consoleRegion, // If the console region is specified, we assume it's an on-prem console
|
|
33999
|
+
argv.path, argv.appId, argv.apiKey, argv.environmentId, argv.squidDeveloperId, argv.region, template, !!argv.verbose);
|
|
34000
|
+
}
|
|
33999
34001
|
function setupBuildCommand(yargs) {
|
|
34000
34002
|
yargs.command('build', 'Builds a Squid backend project', yargs => {
|
|
34001
34003
|
yargs.option('dev', {
|
|
@@ -39411,7 +39413,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"name":"seek-bzip","version":"1.0.6",
|
|
|
39411
39413
|
(module) {
|
|
39412
39414
|
|
|
39413
39415
|
"use strict";
|
|
39414
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.
|
|
39416
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.483","description":"The Squid CLI","main":"dist/index.js","scripts":{"start":"node dist/index.js","start-ts":"ts-node -r tsconfig-paths/register src/index.ts","prebuild":"rimraf dist","build":"webpack --mode=production","build:dev":"webpack --mode=development","lint":"eslint","link":"npm run build && chmod 755 dist/index.js && npm link","watch":"webpack --watch","deploy":"npm run build && npm pack --silent | xargs -I {} mv {} package.tgz && npm install -g package.tgz && rm -rf package.tgz","publish:public":"npm run build && npm publish --access public"},"files":["dist/**/*"],"bin":{"squid":"dist/index.js"},"keywords":[],"author":"","license":"ISC","engines":{"node":">=18.0.0"},"dependencies":{"@squidcloud/local-backend":"^1.0.483","adm-zip":"^0.5.16","copy-webpack-plugin":"^14.0.0","decompress":"^4.2.1","logpipes":"^1.11.0","nodemon":"^3.1.9","terser-webpack-plugin":"^5.5.0","ts-loader":"^9.5.1","ts-node":"^10.9.2","tsconfig-paths":"^4.2.0","tsconfig-paths-webpack-plugin":"^4.1.0","webpack":"^5.106.2","zip-webpack-plugin":"^4.0.1"},"devDependencies":{"@types/adm-zip":"^0.5.7","@types/decompress":"^4.2.7","@types/node":"^20.19.9","terminal-link":"^3.0.0"}}');
|
|
39415
39417
|
|
|
39416
39418
|
/***/ }
|
|
39417
39419
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidcloud/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.483",
|
|
4
4
|
"description": "The Squid CLI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"node": ">=18.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@squidcloud/local-backend": "^1.0.
|
|
31
|
+
"@squidcloud/local-backend": "^1.0.483",
|
|
32
32
|
"adm-zip": "^0.5.16",
|
|
33
33
|
"copy-webpack-plugin": "^14.0.0",
|
|
34
34
|
"decompress": "^4.2.1",
|