@squidcloud/cli 1.0.419 → 1.0.421
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
|
@@ -3018,7 +3018,7 @@ class TsoaUtils {
|
|
|
3018
3018
|
}
|
|
3019
3019
|
if (localBackendModule) {
|
|
3020
3020
|
// Check if the file is from the local-backend package (it would contain node_modules/@squidcloud/local-backend)
|
|
3021
|
-
if (file.
|
|
3021
|
+
if (file.match(/@squidcloud[/\\]local-backend/) && file.includes('tsoa.json')) {
|
|
3022
3022
|
// Find package root (the module path points to index.js)
|
|
3023
3023
|
// Example module path: .../node_modules/@squidcloud/local-backend/dist/local-backend/src/index.js
|
|
3024
3024
|
// Next, we need to go up 4 levels (dist/local-backend/src/index.js) to reach: 'local-backend' root dir.
|
|
@@ -6562,7 +6562,7 @@ async function validateSquidProject() {
|
|
|
6562
6562
|
const packageJson = await promises_1.default.readFile('package.json', 'utf8');
|
|
6563
6563
|
const parsedJson = JSON.parse(packageJson);
|
|
6564
6564
|
const { scripts } = parsedJson;
|
|
6565
|
-
if (!scripts?.['start-squid'] && !scripts?.['start']
|
|
6565
|
+
if (!scripts?.['start-squid'] && !scripts?.['start']) {
|
|
6566
6566
|
(0, process_utils_1.exitWithError)(exports.INVALID_PROJECT_ERROR);
|
|
6567
6567
|
}
|
|
6568
6568
|
return parsedJson;
|
|
@@ -25145,6 +25145,8 @@ exports.GROK_CHAT_MODEL_NAMES = [
|
|
|
25145
25145
|
'grok-4',
|
|
25146
25146
|
'grok-4-fast-reasoning',
|
|
25147
25147
|
'grok-4-fast-non-reasoning',
|
|
25148
|
+
'grok-4-1-fast-reasoning',
|
|
25149
|
+
'grok-4-1-fast-non-reasoning',
|
|
25148
25150
|
];
|
|
25149
25151
|
/**
|
|
25150
25152
|
* @category AI
|
|
@@ -25154,6 +25156,7 @@ exports.ANTHROPIC_CHAT_MODEL_NAMES = [
|
|
|
25154
25156
|
'claude-haiku-4-5-20251001',
|
|
25155
25157
|
'claude-opus-4-20250514',
|
|
25156
25158
|
'claude-opus-4-1-20250805',
|
|
25159
|
+
'claude-opus-4-5-20251101',
|
|
25157
25160
|
'claude-sonnet-4-20250514',
|
|
25158
25161
|
'claude-sonnet-4-5-20250929',
|
|
25159
25162
|
];
|
|
@@ -30602,7 +30605,7 @@ function exitWithError(...messages) {
|
|
|
30602
30605
|
/***/ ((module) => {
|
|
30603
30606
|
|
|
30604
30607
|
"use strict";
|
|
30605
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.
|
|
30608
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.421","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.421","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"}}');
|
|
30606
30609
|
|
|
30607
30610
|
/***/ }),
|
|
30608
30611
|
|
|
@@ -955,7 +955,7 @@ Squid supports multiple AI providers and models for different use cases:
|
|
|
955
955
|
*Anthropic (Claude):*
|
|
956
956
|
- `claude-3-7-sonnet-latest`
|
|
957
957
|
- `claude-haiku-4-5-20251001`
|
|
958
|
-
- `claude-opus-4-20250514`, `claude-opus-4-1-20250805`
|
|
958
|
+
- `claude-opus-4-20250514`, `claude-opus-4-1-20250805`, `claude-opus-4-5-20251101`
|
|
959
959
|
- `claude-sonnet-4-20250514`, `claude-sonnet-4-5-20250929`
|
|
960
960
|
|
|
961
961
|
*Google (Gemini):*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidcloud/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.421",
|
|
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.421",
|
|
32
32
|
"adm-zip": "^0.5.16",
|
|
33
33
|
"copy-webpack-plugin": "^12.0.2",
|
|
34
34
|
"decompress": "^4.2.1",
|