@squidcloud/cli 1.0.433 → 1.0.435

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 +49 -70
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -414,7 +414,7 @@ function cliui(opts, _mixin) {
414
414
 
415
415
  // Bootstrap cliui with CommonJS dependencies:
416
416
  const stringWidth = __webpack_require__(4813);
417
- const stripAnsi = __webpack_require__(6077);
417
+ const stripAnsi = __webpack_require__(8395);
418
418
  const wrap = __webpack_require__(5365);
419
419
  function ui(opts) {
420
420
  return cliui(opts, {
@@ -14198,24 +14198,6 @@ module.exports = class DescriptionFilePlugin {
14198
14198
  };
14199
14199
 
14200
14200
 
14201
- /***/ },
14202
-
14203
- /***/ 4198
14204
- (module) {
14205
-
14206
- "use strict";
14207
-
14208
-
14209
- module.exports = ({onlyFirst = false} = {}) => {
14210
- const pattern = [
14211
- '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
14212
- '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
14213
- ].join('|');
14214
-
14215
- return new RegExp(pattern, onlyFirst ? undefined : 'g');
14216
- };
14217
-
14218
-
14219
14201
  /***/ },
14220
14202
 
14221
14203
  /***/ 4199
@@ -14896,18 +14878,6 @@ module.exports = function hasSymbols() {
14896
14878
  };
14897
14879
 
14898
14880
 
14899
- /***/ },
14900
-
14901
- /***/ 4383
14902
- (module, __unused_webpack_exports, __webpack_require__) {
14903
-
14904
- "use strict";
14905
-
14906
- const ansiRegex = __webpack_require__(4448);
14907
-
14908
- module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
14909
-
14910
-
14911
14881
  /***/ },
14912
14882
 
14913
14883
  /***/ 4434
@@ -14916,24 +14886,6 @@ module.exports = string => typeof string === 'string' ? string.replace(ansiRegex
14916
14886
  "use strict";
14917
14887
  module.exports = require("events");
14918
14888
 
14919
- /***/ },
14920
-
14921
- /***/ 4448
14922
- (module) {
14923
-
14924
- "use strict";
14925
-
14926
-
14927
- module.exports = ({onlyFirst = false} = {}) => {
14928
- const pattern = [
14929
- '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
14930
- '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
14931
- ].join('|');
14932
-
14933
- return new RegExp(pattern, onlyFirst ? undefined : 'g');
14934
- };
14935
-
14936
-
14937
14889
  /***/ },
14938
14890
 
14939
14891
  /***/ 4464
@@ -16550,6 +16502,24 @@ module.exports = class ImportsFieldPlugin {
16550
16502
  module.exports = Math.min;
16551
16503
 
16552
16504
 
16505
+ /***/ },
16506
+
16507
+ /***/ 4764
16508
+ (module) {
16509
+
16510
+ "use strict";
16511
+
16512
+
16513
+ module.exports = ({onlyFirst = false} = {}) => {
16514
+ const pattern = [
16515
+ '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
16516
+ '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
16517
+ ].join('|');
16518
+
16519
+ return new RegExp(pattern, onlyFirst ? undefined : 'g');
16520
+ };
16521
+
16522
+
16553
16523
  /***/ },
16554
16524
 
16555
16525
  /***/ 4813
@@ -16557,7 +16527,7 @@ module.exports = Math.min;
16557
16527
 
16558
16528
  "use strict";
16559
16529
 
16560
- const stripAnsi = __webpack_require__(4383);
16530
+ const stripAnsi = __webpack_require__(8395);
16561
16531
  const isFullwidthCodePoint = __webpack_require__(7396);
16562
16532
  const emojiRegex = __webpack_require__(5895);
16563
16533
 
@@ -18569,7 +18539,7 @@ module.exports = (obj, opts) => {
18569
18539
  "use strict";
18570
18540
 
18571
18541
  const stringWidth = __webpack_require__(4813);
18572
- const stripAnsi = __webpack_require__(6077);
18542
+ const stripAnsi = __webpack_require__(8395);
18573
18543
  const ansiStyles = __webpack_require__(8341);
18574
18544
 
18575
18545
  const ESCAPES = new Set([
@@ -22115,8 +22085,12 @@ if (hasToStringTag && gOPD && getProto) {
22115
22085
  // @ts-expect-error TS won't narrow inside a closure
22116
22086
  descriptor = gOPD(superProto, Symbol.toStringTag);
22117
22087
  }
22118
- // @ts-expect-error TODO: fix
22119
- cache['$' + typedArray] = callBind(descriptor.get);
22088
+ if (descriptor && descriptor.get) {
22089
+ var bound = callBind(descriptor.get);
22090
+ cache[
22091
+ /** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)
22092
+ ] = bound;
22093
+ }
22120
22094
  }
22121
22095
  });
22122
22096
  } else {
@@ -22124,12 +22098,13 @@ if (hasToStringTag && gOPD && getProto) {
22124
22098
  var arr = new g[typedArray]();
22125
22099
  var fn = arr.slice || arr.set;
22126
22100
  if (fn) {
22127
- cache[
22128
- /** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)
22129
- ] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */ (
22101
+ var bound = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */ (
22130
22102
  // @ts-expect-error TODO FIXME
22131
22103
  callBind(fn)
22132
22104
  );
22105
+ cache[
22106
+ /** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)
22107
+ ] = bound;
22133
22108
  }
22134
22109
  });
22135
22110
  }
@@ -22287,18 +22262,6 @@ AsyncParallelBailHook.prototype = null;
22287
22262
  module.exports = AsyncParallelBailHook;
22288
22263
 
22289
22264
 
22290
- /***/ },
22291
-
22292
- /***/ 6077
22293
- (module, __unused_webpack_exports, __webpack_require__) {
22294
-
22295
- "use strict";
22296
-
22297
- const ansiRegex = __webpack_require__(4198);
22298
-
22299
- module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
22300
-
22301
-
22302
22265
  /***/ },
22303
22266
 
22304
22267
  /***/ 6152
@@ -23681,6 +23644,7 @@ exports.INTEGRATION_TYPES = [
23681
23644
  'alloydb',
23682
23645
  'api',
23683
23646
  'auth0',
23647
+ 'bedrock',
23684
23648
  'azure_cosmosdb',
23685
23649
  'azure_postgresql',
23686
23650
  'azure_sql',
@@ -25213,13 +25177,16 @@ exports.RERANK_PROVIDERS = ['cohere', 'none'];
25213
25177
  /** List of available AI provider types. See AiProviderType. */
25214
25178
  exports.AI_PROVIDER_TYPES = [
25215
25179
  'anthropic',
25180
+ 'bedrock',
25216
25181
  'flux',
25217
25182
  'gemini',
25218
25183
  'openai',
25219
25184
  'grok',
25220
25185
  'stability',
25221
25186
  'voyage',
25222
- 'external',
25187
+ 'mistral',
25188
+ 'textract',
25189
+ 'external', // This is a technicality, referring to user-defined providers.
25223
25190
  ];
25224
25191
  /**
25225
25192
  * Public OpenAI chat model names (active models only).
@@ -30703,7 +30670,7 @@ function exitWithError(...messages) {
30703
30670
  (module) {
30704
30671
 
30705
30672
  "use strict";
30706
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.433","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.433","adm-zip":"^0.5.16","copy-webpack-plugin":"^12.0.2","decompress":"^4.2.1","nodemon":"^3.1.9","terser-webpack-plugin":"^5.3.10","ts-loader":"^9.5.1","ts-node":"^10.9.2","tsconfig-paths":"^4.2.0","tsconfig-paths-webpack-plugin":"^4.1.0","webpack":"^5.101.3","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"}}');
30673
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.435","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.435","adm-zip":"^0.5.16","copy-webpack-plugin":"^12.0.2","decompress":"^4.2.1","nodemon":"^3.1.9","terser-webpack-plugin":"^5.3.10","ts-loader":"^9.5.1","ts-node":"^10.9.2","tsconfig-paths":"^4.2.0","tsconfig-paths-webpack-plugin":"^4.1.0","webpack":"^5.101.3","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"}}');
30707
30674
 
30708
30675
  /***/ },
30709
30676
 
@@ -30877,6 +30844,18 @@ Object.defineProperty(module, 'exports', {
30877
30844
  });
30878
30845
 
30879
30846
 
30847
+ /***/ },
30848
+
30849
+ /***/ 8395
30850
+ (module, __unused_webpack_exports, __webpack_require__) {
30851
+
30852
+ "use strict";
30853
+
30854
+ const ansiRegex = __webpack_require__(4764);
30855
+
30856
+ module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
30857
+
30858
+
30880
30859
  /***/ },
30881
30860
 
30882
30861
  /***/ 8398
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/cli",
3
- "version": "1.0.433",
3
+ "version": "1.0.435",
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.433",
31
+ "@squidcloud/local-backend": "^1.0.435",
32
32
  "adm-zip": "^0.5.16",
33
33
  "copy-webpack-plugin": "^12.0.2",
34
34
  "decompress": "^4.2.1",