@squidcloud/cli 1.0.481 → 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 +15 -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
|
|
@@ -31893,6 +31895,7 @@ exports.CONNECTOR_IDS = [
|
|
|
31893
31895
|
'linear',
|
|
31894
31896
|
'mail',
|
|
31895
31897
|
'onedrive',
|
|
31898
|
+
'outlook',
|
|
31896
31899
|
'salesforce',
|
|
31897
31900
|
'servicenow_csm',
|
|
31898
31901
|
'slack',
|
|
@@ -31974,6 +31977,7 @@ exports.INTEGRATION_TYPES = [
|
|
|
31974
31977
|
'newrelic',
|
|
31975
31978
|
'okta',
|
|
31976
31979
|
'onedrive',
|
|
31980
|
+
'outlook',
|
|
31977
31981
|
'oracledb',
|
|
31978
31982
|
'pinecone',
|
|
31979
31983
|
'postgres',
|
|
@@ -33971,10 +33975,7 @@ function setupInitCommand(yargs) {
|
|
|
33971
33975
|
attachRegionOption(yargs, false);
|
|
33972
33976
|
attachConsoleRegionOption(yargs);
|
|
33973
33977
|
}, async (argv) => {
|
|
33974
|
-
|
|
33975
|
-
const consoleRegion = geConsoleRegionFromCommandOrEnv(argv.consoleRegion) || getConsoleRegionFromAppRegion(appRegion);
|
|
33976
|
-
await (0, sample_1.initSample)(consoleRegion, !!argv.consoleRegion, // If the console region is specified, we assume it's an on-prem console
|
|
33977
|
-
argv.path, argv.appId, argv.apiKey, argv.environmentId, argv.squidDeveloperId, argv.region, 'backend', !!argv.verbose);
|
|
33978
|
+
await initializeSampleProject(argv, 'backend');
|
|
33978
33979
|
});
|
|
33979
33980
|
}
|
|
33980
33981
|
function setupInitSampleCommand(yargs) {
|
|
@@ -33988,12 +33989,15 @@ function setupInitSampleCommand(yargs) {
|
|
|
33988
33989
|
attachTemplateOption(yargs, true);
|
|
33989
33990
|
attachConsoleRegionOption(yargs);
|
|
33990
33991
|
}, async (argv) => {
|
|
33991
|
-
|
|
33992
|
-
const consoleRegion = geConsoleRegionFromCommandOrEnv(argv.consoleRegion) || getConsoleRegionFromAppRegion(appRegion);
|
|
33993
|
-
await (0, sample_1.initSample)(consoleRegion, !!argv.consoleRegion, // If the console region is specified, we assume it's an on-prem console
|
|
33994
|
-
argv.path, argv.appId, argv.apiKey, argv.environmentId, argv.squidDeveloperId, argv.region, argv.template, !!argv.verbose);
|
|
33992
|
+
await initializeSampleProject(argv, argv.template);
|
|
33995
33993
|
});
|
|
33996
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
|
+
}
|
|
33997
34001
|
function setupBuildCommand(yargs) {
|
|
33998
34002
|
yargs.command('build', 'Builds a Squid backend project', yargs => {
|
|
33999
34003
|
yargs.option('dev', {
|
|
@@ -39409,7 +39413,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"name":"seek-bzip","version":"1.0.6",
|
|
|
39409
39413
|
(module) {
|
|
39410
39414
|
|
|
39411
39415
|
"use strict";
|
|
39412
|
-
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"}}');
|
|
39413
39417
|
|
|
39414
39418
|
/***/ }
|
|
39415
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",
|