@squidcloud/cli 1.0.427 → 1.0.429
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 +10 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -25142,6 +25142,7 @@ __webpack_require__(4291);
|
|
|
25142
25142
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
25143
25143
|
exports.OPEN_AI_CREATE_SPEECH_FORMATS = exports.AI_AUDIO_CREATE_SPEECH_MODEL_NAMES = exports.AI_AUDIO_TRANSCRIPTION_MODEL_NAMES = exports.AI_IMAGE_MODEL_NAMES = exports.FLUX_MODEL_NAMES = exports.STABLE_DIFFUSION_MODEL_NAMES = exports.OPENAI_AUDIO_MODEL_NAMES = exports.OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES = exports.OPENAI_AUDIO_TRANSCRIPTION_MODEL_NAMES = exports.OPENAI_IMAGE_MODEL_NAMES = exports.AI_EMBEDDINGS_MODEL_NAMES = exports.VOYAGE_EMBEDDING_MODEL_NAMES = exports.OPENAI_EMBEDDINGS_MODEL_NAMES = exports.VENDOR_AI_CHAT_MODEL_NAMES = exports.ANTHROPIC_CHAT_MODEL_NAMES = exports.GROK_CHAT_MODEL_NAMES = exports.GEMINI_CHAT_MODEL_NAMES = exports.OPENAI_CHAT_MODEL_NAMES = exports.AI_PROVIDER_TYPES = exports.RERANK_PROVIDERS = void 0;
|
|
25144
25144
|
exports.isVendorAiChatModelName = isVendorAiChatModelName;
|
|
25145
|
+
exports.isAiEmbeddingsModelName = isAiEmbeddingsModelName;
|
|
25145
25146
|
exports.isIntegrationModelSpec = isIntegrationModelSpec;
|
|
25146
25147
|
/**
|
|
25147
25148
|
* @category AI
|
|
@@ -25167,7 +25168,7 @@ exports.OPENAI_CHAT_MODEL_NAMES = ['gpt-5-mini', 'gpt-5-nano', 'gpt-5.2', 'gpt-5
|
|
|
25167
25168
|
* Public Gemini chat model names (active models only).
|
|
25168
25169
|
* @category AI
|
|
25169
25170
|
*/
|
|
25170
|
-
exports.GEMINI_CHAT_MODEL_NAMES = ['gemini-3-pro', 'gemini-3-flash'
|
|
25171
|
+
exports.GEMINI_CHAT_MODEL_NAMES = ['gemini-3-pro', 'gemini-3-flash'];
|
|
25171
25172
|
/**
|
|
25172
25173
|
* Public Grok chat model names (active models only).
|
|
25173
25174
|
* @category AI
|
|
@@ -25208,6 +25209,13 @@ exports.VOYAGE_EMBEDDING_MODEL_NAMES = ['voyage-3-large'];
|
|
|
25208
25209
|
* @category AI
|
|
25209
25210
|
*/
|
|
25210
25211
|
exports.AI_EMBEDDINGS_MODEL_NAMES = [...exports.OPENAI_EMBEDDINGS_MODEL_NAMES, ...exports.VOYAGE_EMBEDDING_MODEL_NAMES];
|
|
25212
|
+
/**
|
|
25213
|
+
* Checks if the given model name is a valid AI embeddings model name.
|
|
25214
|
+
* @category AI
|
|
25215
|
+
*/
|
|
25216
|
+
function isAiEmbeddingsModelName(modelName) {
|
|
25217
|
+
return exports.AI_EMBEDDINGS_MODEL_NAMES.includes(modelName);
|
|
25218
|
+
}
|
|
25211
25219
|
/**
|
|
25212
25220
|
* The supported AI image generation model names.
|
|
25213
25221
|
* @category AI
|
|
@@ -30625,7 +30633,7 @@ function exitWithError(...messages) {
|
|
|
30625
30633
|
/***/ ((module) => {
|
|
30626
30634
|
|
|
30627
30635
|
"use strict";
|
|
30628
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.
|
|
30636
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.429","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.429","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"}}');
|
|
30629
30637
|
|
|
30630
30638
|
/***/ }),
|
|
30631
30639
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidcloud/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.429",
|
|
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.429",
|
|
32
32
|
"adm-zip": "^0.5.16",
|
|
33
33
|
"copy-webpack-plugin": "^12.0.2",
|
|
34
34
|
"decompress": "^4.2.1",
|