@squidcloud/cli 1.0.476 → 1.0.478

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 CHANGED
@@ -31718,7 +31718,15 @@ exports.AI_PROVIDER_TYPES = [
31718
31718
  * Public OpenAI chat model names (active models only).
31719
31719
  * @category AI
31720
31720
  */
31721
- exports.OPENAI_CHAT_MODEL_NAMES = ['gpt-5.4-mini', 'gpt-5.4-nano', 'gpt-5.5', 'gpt-5.5-pro'];
31721
+ exports.OPENAI_CHAT_MODEL_NAMES = [
31722
+ 'gpt-5.4-mini',
31723
+ 'gpt-5.4-nano',
31724
+ 'gpt-5.5',
31725
+ 'gpt-5.5-pro',
31726
+ 'gpt-5.6-sol',
31727
+ 'gpt-5.6-terra',
31728
+ 'gpt-5.6-luna',
31729
+ ];
31722
31730
  /**
31723
31731
  * Public Gemini chat model names (active models only).
31724
31732
  * @category AI
@@ -32006,7 +32014,6 @@ exports.DATA_INTEGRATION_TYPES = [
32006
32014
  'mysql',
32007
32015
  'oracledb',
32008
32016
  'postgres',
32009
- 'sap_hana',
32010
32017
  'snowflake',
32011
32018
  'elasticsearch',
32012
32019
  'legend',
@@ -32430,7 +32437,7 @@ function isTimestampsEnabled() {
32430
32437
  * because @squidcloud/client code is run in user environment.
32431
32438
  * Therefore, when we want to log anything from the client code, we use this logger.
32432
32439
  *
32433
- * @internal.
32440
+ * @internal
32434
32441
  */
32435
32442
  class DebugLogger {
32436
32443
  static debug(...args) {
@@ -32464,7 +32471,6 @@ exports.isKotlinPath = isKotlinPath;
32464
32471
  exports.getEnvironmentPrefix = getEnvironmentPrefix;
32465
32472
  exports.getApplicationUrl = getApplicationUrl;
32466
32473
  exports.KOTLIN_CONTROLLERS = [
32467
- 'api',
32468
32474
  'application',
32469
32475
  'auth',
32470
32476
  'mutation',
@@ -32472,22 +32478,15 @@ exports.KOTLIN_CONTROLLERS = [
32472
32478
  'query',
32473
32479
  'queue',
32474
32480
  'notification',
32475
- // Note: WebSocket routing is path-specific and handled separately in `isKotlinPath` below.
32476
- // /ws/general, /ws/localdev → TypeScript core (port 8000)
32477
- // /ws/squidlet → Kotlin core (port 8001) — internal RPC for SquidletService
32481
+ // Note: every `/ws/*` WebSocket path is served by the TypeScript core (port 8000), never Kotlin.
32478
32482
  ];
32479
32483
  /**
32480
- * Returns true if the given path is served by Kotlin core in local dev (port 8001).
32481
- * Encodes the WebSocket split: `/ws/squidlet` stays on Kotlin while other `/ws/*` paths
32482
- * (general, localdev) are owned by the TypeScript core after the migration.
32484
+ * Returns true if the given path is served by Kotlin core in local dev (port 8001). All `/ws/*`
32485
+ * WebSocket paths are served by the TypeScript core (port 8000).
32483
32486
  */
32484
32487
  function isKotlinPath(path) {
32485
32488
  const cleaned = path.replace(/^\/+/, '');
32486
- const segments = cleaned.split('/');
32487
- const first = segments[0] || '';
32488
- if (first === 'ws') {
32489
- return segments[1] === 'squidlet';
32490
- }
32489
+ const first = cleaned.split('/')[0] || '';
32491
32490
  return exports.KOTLIN_CONTROLLERS.includes(first);
32492
32491
  }
32493
32492
  function getEnvironmentPrefix(shard, region, cloudId, stage) {
@@ -32514,16 +32513,6 @@ function getApplicationUrl(environmentPrefix, appId, path, appIdPlaceholder, env
32514
32513
  if (isLocal(environmentPrefix)) {
32515
32514
  protocol = 'http';
32516
32515
  port = forceKotlin || isKotlinPath(path) ? '8001' : '8000';
32517
- // Test-only override for `/ws/general` during the WS migration. Lets e2e specs run the same
32518
- // test body against both the Kotlin (8001) and TS (8000) WS servers via describe.each (see
32519
- // squid-e2e WS_TARGETS pattern). Scoped to `/ws/general` so it cannot accidentally reroute
32520
- // `/ws/squidlet` (Kotlin-only) or `/ws/localdev` (TS-only) during a test run.
32521
- if (typeof process !== 'undefined') {
32522
- const wsForcePort = forceKotlin ? undefined : process.env['SQUID_LOCAL_WS_FORCE_PORT'];
32523
- if (wsForcePort && path.replace(/^\/+/, '').startsWith('ws/general')) {
32524
- port = wsForcePort;
32525
- }
32526
- }
32527
32516
  if (isAndroid(environmentPrefix)) {
32528
32517
  host = '10.0.2.2';
32529
32518
  }
@@ -34086,7 +34075,7 @@ function getEnvVarOrFail(missingEnvVar, cliArgumentToSpecifyItem) {
34086
34075
  if (cliArgumentToSpecifyItem) {
34087
34076
  message += ` You can also specify it using ${cliArgumentToSpecifyItem}`;
34088
34077
  }
34089
- message += `\nTo learn more about deployment environment variables, visit https://docs.getsquid.ai/docs/squid-console/environments#key-environment-variables`;
34078
+ message += `\nTo learn more about deployment environment variables, visit https://docs.getsquid.ai/docs/squid-console/applications/environments/#key-environment-variables`;
34090
34079
  (0, process_utils_1.exitWithError)(message);
34091
34080
  }
34092
34081
  function getAppIdFromCommandOrEnv(appId) {
@@ -39420,7 +39409,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"name":"seek-bzip","version":"1.0.6",
39420
39409
  (module) {
39421
39410
 
39422
39411
  "use strict";
39423
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.476","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.476","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"}}');
39412
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.478","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.478","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"}}');
39424
39413
 
39425
39414
  /***/ }
39426
39415
 
@@ -136,7 +136,6 @@ See [integration-setup.md](reference/integration-setup.md) for programmatic setu
136
136
  | Connect to ClickHouse | `clickhouse` | Database |
137
137
  | Connect to Oracle | `oracledb` | Database |
138
138
  | Connect to CockroachDB | `cockroach` | Database |
139
- | Connect to SAP HANA | `sap_hana` | Database |
140
139
  | Connect to Databricks | `databricks` | Database |
141
140
  | Use built-in database | `built_in_db` | Database |
142
141
  | Store files in S3 | `s3` | Storage |
@@ -21,7 +21,6 @@ import { IntegrationType, INTEGRATION_TYPES } from '@squidcloud/client';
21
21
  | `clickhouse` | ClickHouse | host, port, database, user, password |
22
22
  | `oracledb` | Oracle Database | host, port, database, user, password |
23
23
  | `cockroach` | CockroachDB | host, port, database, user, password |
24
- | `sap_hana` | SAP HANA | host, port, user, password |
25
24
  | `databricks` | Databricks | host, catalog, schemas, warehousePath |
26
25
  | `legend` | Legend metadata | GitLab PAT |
27
26
  | `built_in_db` | Built-in database (included free) | None |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/cli",
3
- "version": "1.0.476",
3
+ "version": "1.0.478",
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.476",
31
+ "@squidcloud/local-backend": "^1.0.478",
32
32
  "adm-zip": "^0.5.16",
33
33
  "copy-webpack-plugin": "^14.0.0",
34
34
  "decompress": "^4.2.1",