sinapse-ai 7.5.0 → 7.5.1
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/.sinapse-ai/install-manifest.yaml +2 -2
- package/bin/cli.js +40 -0
- package/package.json +1 -1
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
# - SHA256 hashes for change detection
|
|
8
8
|
# - File types for categorization
|
|
9
9
|
#
|
|
10
|
-
version: 7.5.
|
|
11
|
-
generated_at: "2026-03-
|
|
10
|
+
version: 7.5.1
|
|
11
|
+
generated_at: "2026-03-30T22:35:57.460Z"
|
|
12
12
|
generator: scripts/generate-install-manifest.js
|
|
13
13
|
file_count: 1104
|
|
14
14
|
files:
|
package/bin/cli.js
CHANGED
|
@@ -370,6 +370,26 @@ async function cmdInstallGlobal() {
|
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
+
// Phase 8: Install project-local files (.sinapse-ai/, .claude/, .env)
|
|
374
|
+
console.log(`\n${CYAN}Phase 8:${NC} Installing project files in current directory`);
|
|
375
|
+
try {
|
|
376
|
+
const wizardPath = path.join(ROOT, 'packages', 'installer', 'src', 'wizard', 'index.js');
|
|
377
|
+
if (fs.existsSync(wizardPath)) {
|
|
378
|
+
const { runWizard: executeWizard } = require(wizardPath);
|
|
379
|
+
await executeWizard({
|
|
380
|
+
quiet: true,
|
|
381
|
+
language: language,
|
|
382
|
+
selectedLLM: llmChoice,
|
|
383
|
+
});
|
|
384
|
+
console.log(` ${GREEN}OK${NC} Project files installed (.sinapse-ai/, .claude/)`);
|
|
385
|
+
} else {
|
|
386
|
+
console.log(` ${YELLOW}SKIP${NC} Project installer not available`);
|
|
387
|
+
}
|
|
388
|
+
} catch (error) {
|
|
389
|
+
console.log(` ${YELLOW}WARN${NC} Project files: ${error.message}`);
|
|
390
|
+
console.log(` ${DIM}Run 'sinapse install' in your project later to complete setup${NC}`);
|
|
391
|
+
}
|
|
392
|
+
|
|
373
393
|
// Verify
|
|
374
394
|
console.log(`\n${CYAN}Verification:${NC}`);
|
|
375
395
|
verifyInstall();
|
|
@@ -790,6 +810,26 @@ async function cmdUpdateGlobal() {
|
|
|
790
810
|
meta.commands = writtenAgents.size;
|
|
791
811
|
fs.writeFileSync(metaPath, JSON.stringify(meta, null, 2));
|
|
792
812
|
|
|
813
|
+
// Phase 4: Update project-local files (.sinapse-ai/, .claude/)
|
|
814
|
+
console.log(`\n${CYAN}Phase 4:${NC} Updating project files in current directory`);
|
|
815
|
+
try {
|
|
816
|
+
const wizardPath = path.join(ROOT, 'packages', 'installer', 'src', 'wizard', 'index.js');
|
|
817
|
+
if (fs.existsSync(wizardPath)) {
|
|
818
|
+
const { runWizard: executeWizard } = require(wizardPath);
|
|
819
|
+
await executeWizard({
|
|
820
|
+
quiet: true,
|
|
821
|
+
language: meta.language || 'pt',
|
|
822
|
+
selectedLLM: llmChoice,
|
|
823
|
+
});
|
|
824
|
+
console.log(` ${GREEN}OK${NC} Project files updated (.sinapse-ai/, .claude/)`);
|
|
825
|
+
} else {
|
|
826
|
+
console.log(` ${YELLOW}SKIP${NC} Project installer not available`);
|
|
827
|
+
}
|
|
828
|
+
} catch (error) {
|
|
829
|
+
console.log(` ${YELLOW}WARN${NC} Project files: ${error.message}`);
|
|
830
|
+
console.log(` ${DIM}Run 'sinapse install' in your project later to complete update${NC}`);
|
|
831
|
+
}
|
|
832
|
+
|
|
793
833
|
let startCmd;
|
|
794
834
|
if (llmChoice === 'codex') startCmd = `Digite ${CYAN}codex${NC} para comecar`;
|
|
795
835
|
else if (llmChoice === 'both') startCmd = `Digite ${CYAN}sinapse${NC} ou ${CYAN}codex${NC} para comecar`;
|