@squidcloud/cli 1.0.420 → 1.0.422
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
|
@@ -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;
|
|
@@ -14519,19 +14519,19 @@ async function initSample(consoleRegion, isOnPremConsole, dirPath, appId, apiKey
|
|
|
14519
14519
|
catch {
|
|
14520
14520
|
(0, process_utils_1.exitWithError)(`Unable to download repository: ${templateRepoPath}`);
|
|
14521
14521
|
}
|
|
14522
|
-
// Copy the squid-development
|
|
14523
|
-
const skillSourcePath = path_1.default.join(__dirname, 'resources', 'claude', 'skills', 'squid-development');
|
|
14522
|
+
// Copy the squid-development and squid-react-development skills if they do not already exist.
|
|
14524
14523
|
const projectPath = path_1.default.resolve(dirPath);
|
|
14525
14524
|
const skillsDir = path_1.default.join(projectPath, '.claude', 'skills');
|
|
14526
|
-
const
|
|
14527
|
-
|
|
14525
|
+
const squidSkillSourcePath = path_1.default.join(__dirname, 'resources', 'claude', 'skills', 'squid-development');
|
|
14526
|
+
const squidSkillDestPath = path_1.default.join(skillsDir, 'squid-development');
|
|
14527
|
+
if (await (0, utils_1.checkFileOrDirExists)(squidSkillDestPath)) {
|
|
14528
14528
|
console.debug('Squid development skill already exists, skipping...');
|
|
14529
14529
|
}
|
|
14530
14530
|
else {
|
|
14531
14531
|
// Skill doesn't exist, copy it.
|
|
14532
14532
|
try {
|
|
14533
14533
|
await promises_1.default.mkdir(skillsDir, { recursive: true });
|
|
14534
|
-
await promises_1.default.cp(
|
|
14534
|
+
await promises_1.default.cp(squidSkillSourcePath, squidSkillDestPath, { recursive: true });
|
|
14535
14535
|
console.debug('Squid development skill copied successfully');
|
|
14536
14536
|
}
|
|
14537
14537
|
catch (error) {
|
|
@@ -14539,6 +14539,24 @@ async function initSample(consoleRegion, isOnPremConsole, dirPath, appId, apiKey
|
|
|
14539
14539
|
console.debug(`Warning: Could not copy Squid development skill: ${(0, assertic_1.getMessageFromError)(error)}`);
|
|
14540
14540
|
}
|
|
14541
14541
|
}
|
|
14542
|
+
// Copy the squid-react-development skill if it doesn't already exist.
|
|
14543
|
+
const reactSkillSourcePath = path_1.default.join(__dirname, 'resources', 'claude', 'skills', 'squid-react-development');
|
|
14544
|
+
const reactSkillDestPath = path_1.default.join(skillsDir, 'squid-react-development');
|
|
14545
|
+
if (await (0, utils_1.checkFileOrDirExists)(reactSkillDestPath)) {
|
|
14546
|
+
console.debug('Squid React development skill already exists, skipping...');
|
|
14547
|
+
}
|
|
14548
|
+
else {
|
|
14549
|
+
// Skill doesn't exist, copy it.
|
|
14550
|
+
try {
|
|
14551
|
+
await promises_1.default.mkdir(skillsDir, { recursive: true });
|
|
14552
|
+
await promises_1.default.cp(reactSkillSourcePath, reactSkillDestPath, { recursive: true });
|
|
14553
|
+
console.debug('Squid React development skill copied successfully');
|
|
14554
|
+
}
|
|
14555
|
+
catch (error) {
|
|
14556
|
+
// Non-fatal: log the error but continue with initialization.
|
|
14557
|
+
console.debug(`Warning: Could not copy Squid React development skill: ${(0, assertic_1.getMessageFromError)(error)}`);
|
|
14558
|
+
}
|
|
14559
|
+
}
|
|
14542
14560
|
console.log('Installing dependencies...');
|
|
14543
14561
|
let monorepo = false;
|
|
14544
14562
|
try {
|
|
@@ -25145,6 +25163,8 @@ exports.GROK_CHAT_MODEL_NAMES = [
|
|
|
25145
25163
|
'grok-4',
|
|
25146
25164
|
'grok-4-fast-reasoning',
|
|
25147
25165
|
'grok-4-fast-non-reasoning',
|
|
25166
|
+
'grok-4-1-fast-reasoning',
|
|
25167
|
+
'grok-4-1-fast-non-reasoning',
|
|
25148
25168
|
];
|
|
25149
25169
|
/**
|
|
25150
25170
|
* @category AI
|
|
@@ -25154,6 +25174,7 @@ exports.ANTHROPIC_CHAT_MODEL_NAMES = [
|
|
|
25154
25174
|
'claude-haiku-4-5-20251001',
|
|
25155
25175
|
'claude-opus-4-20250514',
|
|
25156
25176
|
'claude-opus-4-1-20250805',
|
|
25177
|
+
'claude-opus-4-5-20251101',
|
|
25157
25178
|
'claude-sonnet-4-20250514',
|
|
25158
25179
|
'claude-sonnet-4-5-20250929',
|
|
25159
25180
|
];
|
|
@@ -30602,7 +30623,7 @@ function exitWithError(...messages) {
|
|
|
30602
30623
|
/***/ ((module) => {
|
|
30603
30624
|
|
|
30604
30625
|
"use strict";
|
|
30605
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.
|
|
30626
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.422","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.422","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
30627
|
|
|
30607
30628
|
/***/ }),
|
|
30608
30629
|
|
|
@@ -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.422",
|
|
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.422",
|
|
32
32
|
"adm-zip": "^0.5.16",
|
|
33
33
|
"copy-webpack-plugin": "^12.0.2",
|
|
34
34
|
"decompress": "^4.2.1",
|