@squidcloud/cli 1.0.482 → 1.0.484

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.
Files changed (2) hide show
  1. package/dist/index.js +19 -14
  2. 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.5-flash', 'gemini-3.1-flash-lite'];
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-4-8', 'claude-sonnet-5'];
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
@@ -31879,6 +31881,7 @@ exports.CONNECTOR_IDS = void 0;
31879
31881
  * @category Platform
31880
31882
  */
31881
31883
  exports.CONNECTOR_IDS = [
31884
+ 'bitbucket',
31882
31885
  'confluence',
31883
31886
  'cotomi',
31884
31887
  'essentials',
@@ -31930,6 +31933,7 @@ exports.INTEGRATION_TYPES = [
31930
31933
  'azure_postgresql',
31931
31934
  'azure_sql',
31932
31935
  'bigquery',
31936
+ 'bitbucket',
31933
31937
  'built_in_azure_blob',
31934
31938
  'built_in_db',
31935
31939
  'built_in_gcs',
@@ -33496,9 +33500,10 @@ async function build({ verbose, dev, skipVersionCheck }) {
33496
33500
  }
33497
33501
  }
33498
33502
  /**
33499
- * These connectors do not have associated integration types.
33503
+ * These connectors are selected by matching their connector ID to an integration type.
33504
+ * They do not need AI-function attributes solely to declare that match.
33500
33505
  */
33501
- const INTEGRATIONLESS_CONNECTORS = ['cotomi', 'ticketmind_companion'];
33506
+ const CONNECTORS_MATCHED_BY_ID = ['bitbucket', 'cotomi', 'ticketmind_companion'];
33502
33507
  /** Generates connector metadata JSON file in the dist directory. */
33503
33508
  async function generateConnectorMetadata(distPath) {
33504
33509
  const packageJsonPath = path_1.default.resolve(process.cwd(), 'package.json');
@@ -33524,7 +33529,7 @@ async function generateConnectorMetadata(distPath) {
33524
33529
  // Populate openApiControllersMap from openapi-spec-and-controllers.json.
33525
33530
  await (0, openapi_utils_1.populateOpenApiControllersMap)(bundleData, distPath, 'connector');
33526
33531
  console.debug('Populated openApiControllersMap in bundle metadata');
33527
- const integrationTypes = INTEGRATIONLESS_CONNECTORS.includes(connectorId)
33532
+ const integrationTypes = CONNECTORS_MATCHED_BY_ID.includes(connectorId)
33528
33533
  ? []
33529
33534
  : buildSupportedIntegrationTypesFromBundleData(bundleData);
33530
33535
  const packageMetadata = {
@@ -33973,10 +33978,7 @@ function setupInitCommand(yargs) {
33973
33978
  attachRegionOption(yargs, false);
33974
33979
  attachConsoleRegionOption(yargs);
33975
33980
  }, async (argv) => {
33976
- const appRegion = geAppRegionFromCommandOrEnv(argv.region);
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);
33981
+ await initializeSampleProject(argv, 'backend');
33980
33982
  });
33981
33983
  }
33982
33984
  function setupInitSampleCommand(yargs) {
@@ -33990,12 +33992,15 @@ function setupInitSampleCommand(yargs) {
33990
33992
  attachTemplateOption(yargs, true);
33991
33993
  attachConsoleRegionOption(yargs);
33992
33994
  }, async (argv) => {
33993
- const appRegion = geAppRegionFromCommandOrEnv(argv.region);
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);
33995
+ await initializeSampleProject(argv, argv.template);
33997
33996
  });
33998
33997
  }
33998
+ async function initializeSampleProject(argv, template) {
33999
+ const appRegion = geAppRegionFromCommandOrEnv(argv.region);
34000
+ const consoleRegion = geConsoleRegionFromCommandOrEnv(argv.consoleRegion) || getConsoleRegionFromAppRegion(appRegion);
34001
+ await (0, sample_1.initSample)(consoleRegion, !!argv.consoleRegion, // If the console region is specified, we assume it's an on-prem console
34002
+ argv.path, argv.appId, argv.apiKey, argv.environmentId, argv.squidDeveloperId, argv.region, template, !!argv.verbose);
34003
+ }
33999
34004
  function setupBuildCommand(yargs) {
34000
34005
  yargs.command('build', 'Builds a Squid backend project', yargs => {
34001
34006
  yargs.option('dev', {
@@ -39411,7 +39416,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"name":"seek-bzip","version":"1.0.6",
39411
39416
  (module) {
39412
39417
 
39413
39418
  "use strict";
39414
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.482","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.482","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"}}');
39419
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.484","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.484","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
39420
 
39416
39421
  /***/ }
39417
39422
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/cli",
3
- "version": "1.0.482",
3
+ "version": "1.0.484",
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.482",
31
+ "@squidcloud/local-backend": "^1.0.484",
32
32
  "adm-zip": "^0.5.16",
33
33
  "copy-webpack-plugin": "^14.0.0",
34
34
  "decompress": "^4.2.1",