sinapse-ai 7.0.5 → 7.1.0
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/core-config.yaml +2 -26
- package/.sinapse-ai/data/entity-registry.yaml +759 -926
- package/.sinapse-ai/data/registry-update-log.jsonl +22 -0
- package/.sinapse-ai/infrastructure/scripts/ide-sync/index.js +1 -49
- package/.sinapse-ai/infrastructure/scripts/validate-parity.js +0 -7
- package/.sinapse-ai/install-manifest.yaml +11 -43
- package/README.en.md +6 -11
- package/README.md +6 -11
- package/bin/modules/env-config.js +1 -2
- package/bin/sinapse-init.js +23 -188
- package/docs/ide-integration.md +22 -263
- package/docs/installation/README.md +4 -6
- package/docs/installation/faq.md +10 -33
- package/docs/installation/linux.md +0 -23
- package/docs/installation/macos.md +0 -10
- package/docs/installation/troubleshooting.md +5 -9
- package/docs/installation/v4-quick-start.md +1 -1
- package/docs/installation/windows.md +0 -18
- package/package.json +1 -9
- package/packages/installer/src/config/ide-configs.js +3 -49
- package/.sinapse-ai/infrastructure/scripts/ide-sync/transformers/antigravity.js +0 -105
- package/.sinapse-ai/infrastructure/scripts/ide-sync/transformers/cursor.js +0 -94
- package/.sinapse-ai/infrastructure/scripts/ide-sync/transformers/github-copilot.js +0 -184
- package/.sinapse-ai/infrastructure/scripts/validate-gemini-integration.js +0 -151
- package/.sinapse-ai/product/templates/ide-rules/antigravity-rules.md +0 -115
- package/.sinapse-ai/product/templates/ide-rules/copilot-rules.md +0 -92
- package/.sinapse-ai/product/templates/ide-rules/cursor-rules.md +0 -115
- package/.sinapse-ai/product/templates/ide-rules/gemini-rules.md +0 -87
- package/docs/pt/platforms/antigravity.md +0 -508
- package/docs/pt/platforms/cursor.md +0 -633
- package/docs/pt/platforms/gemini-cli.md +0 -481
- package/docs/pt/platforms/github-copilot.md +0 -478
|
@@ -511,3 +511,25 @@
|
|
|
511
511
|
{"timestamp":"2026-03-25T15:07:11.687Z","action":"change","path":".sinapse-ai/product/templates/personalized-task-template-v2.md","trigger":"watcher"}
|
|
512
512
|
{"timestamp":"2026-03-25T18:09:14.490Z","action":"change","path":".sinapse-ai/development/scripts/audit-agent-config.js","trigger":"watcher"}
|
|
513
513
|
{"timestamp":"2026-03-25T18:09:15.578Z","action":"change","path":".sinapse-ai/development/scripts/audit-agent-config.js","trigger":"watcher"}
|
|
514
|
+
{"timestamp":"2026-03-26T01:11:42.117Z","action":"change","path":".sinapse-ai/core-config.yaml","trigger":"watcher"}
|
|
515
|
+
{"timestamp":"2026-03-26T01:11:42.118Z","action":"change","path":".sinapse-ai/infrastructure/scripts/ide-sync/index.js","trigger":"watcher"}
|
|
516
|
+
{"timestamp":"2026-03-26T01:11:42.119Z","action":"unlink","path":".sinapse-ai/infrastructure/scripts/ide-sync/transformers/antigravity.js","trigger":"watcher"}
|
|
517
|
+
{"timestamp":"2026-03-26T01:11:42.120Z","action":"unlink","path":".sinapse-ai/infrastructure/scripts/ide-sync/transformers/cursor.js","trigger":"watcher"}
|
|
518
|
+
{"timestamp":"2026-03-26T01:11:42.120Z","action":"unlink","path":".sinapse-ai/infrastructure/scripts/ide-sync/transformers/github-copilot.js","trigger":"watcher"}
|
|
519
|
+
{"timestamp":"2026-03-26T01:11:42.120Z","action":"unlink","path":".sinapse-ai/infrastructure/scripts/validate-gemini-integration.js","trigger":"watcher"}
|
|
520
|
+
{"timestamp":"2026-03-26T01:11:42.120Z","action":"change","path":".sinapse-ai/infrastructure/scripts/validate-parity.js","trigger":"watcher"}
|
|
521
|
+
{"timestamp":"2026-03-26T01:11:42.121Z","action":"unlink","path":".sinapse-ai/product/templates/ide-rules/antigravity-rules.md","trigger":"watcher"}
|
|
522
|
+
{"timestamp":"2026-03-26T01:11:42.121Z","action":"unlink","path":".sinapse-ai/product/templates/ide-rules/copilot-rules.md","trigger":"watcher"}
|
|
523
|
+
{"timestamp":"2026-03-26T01:11:42.121Z","action":"unlink","path":".sinapse-ai/product/templates/ide-rules/cursor-rules.md","trigger":"watcher"}
|
|
524
|
+
{"timestamp":"2026-03-26T01:11:42.122Z","action":"unlink","path":".sinapse-ai/product/templates/ide-rules/gemini-rules.md","trigger":"watcher"}
|
|
525
|
+
{"timestamp":"2026-03-26T01:16:16.890Z","action":"change","path":".sinapse-ai/core-config.yaml","trigger":"watcher"}
|
|
526
|
+
{"timestamp":"2026-03-26T01:16:16.890Z","action":"change","path":".sinapse-ai/infrastructure/scripts/ide-sync/index.js","trigger":"watcher"}
|
|
527
|
+
{"timestamp":"2026-03-26T01:16:16.891Z","action":"unlink","path":".sinapse-ai/infrastructure/scripts/ide-sync/transformers/antigravity.js","trigger":"watcher"}
|
|
528
|
+
{"timestamp":"2026-03-26T01:16:16.892Z","action":"unlink","path":".sinapse-ai/infrastructure/scripts/ide-sync/transformers/cursor.js","trigger":"watcher"}
|
|
529
|
+
{"timestamp":"2026-03-26T01:16:16.892Z","action":"unlink","path":".sinapse-ai/infrastructure/scripts/ide-sync/transformers/github-copilot.js","trigger":"watcher"}
|
|
530
|
+
{"timestamp":"2026-03-26T01:16:16.892Z","action":"unlink","path":".sinapse-ai/infrastructure/scripts/validate-gemini-integration.js","trigger":"watcher"}
|
|
531
|
+
{"timestamp":"2026-03-26T01:16:16.893Z","action":"change","path":".sinapse-ai/infrastructure/scripts/validate-parity.js","trigger":"watcher"}
|
|
532
|
+
{"timestamp":"2026-03-26T01:16:16.893Z","action":"unlink","path":".sinapse-ai/product/templates/ide-rules/antigravity-rules.md","trigger":"watcher"}
|
|
533
|
+
{"timestamp":"2026-03-26T01:16:16.893Z","action":"unlink","path":".sinapse-ai/product/templates/ide-rules/copilot-rules.md","trigger":"watcher"}
|
|
534
|
+
{"timestamp":"2026-03-26T01:16:16.893Z","action":"unlink","path":".sinapse-ai/product/templates/ide-rules/cursor-rules.md","trigger":"watcher"}
|
|
535
|
+
{"timestamp":"2026-03-26T01:16:16.894Z","action":"unlink","path":".sinapse-ai/product/templates/ide-rules/gemini-rules.md","trigger":"watcher"}
|
|
@@ -24,13 +24,8 @@ const yaml = require('js-yaml');
|
|
|
24
24
|
const { parseAllAgents } = require('./agent-parser');
|
|
25
25
|
const { generateAllRedirects, writeRedirects } = require('./redirect-generator');
|
|
26
26
|
const { validateAllIdes, formatValidationReport } = require('./validator');
|
|
27
|
-
const { syncGeminiCommands, buildGeminiCommandFiles } = require('./gemini-commands');
|
|
28
|
-
|
|
29
27
|
// Transformers
|
|
30
28
|
const claudeCodeTransformer = require('./transformers/claude-code');
|
|
31
|
-
const cursorTransformer = require('./transformers/cursor');
|
|
32
|
-
const antigravityTransformer = require('./transformers/antigravity');
|
|
33
|
-
const githubCopilotTransformer = require('./transformers/github-copilot');
|
|
34
29
|
|
|
35
30
|
// ANSI colors for output
|
|
36
31
|
const colors = {
|
|
@@ -67,26 +62,6 @@ function loadConfig(projectRoot) {
|
|
|
67
62
|
path: '.codex/agents',
|
|
68
63
|
format: 'full-markdown-yaml',
|
|
69
64
|
},
|
|
70
|
-
gemini: {
|
|
71
|
-
enabled: true,
|
|
72
|
-
path: '.gemini/rules/SINAPSE/agents',
|
|
73
|
-
format: 'full-markdown-yaml',
|
|
74
|
-
},
|
|
75
|
-
'github-copilot': {
|
|
76
|
-
enabled: true,
|
|
77
|
-
path: '.github/agents',
|
|
78
|
-
format: 'github-copilot',
|
|
79
|
-
},
|
|
80
|
-
cursor: {
|
|
81
|
-
enabled: true,
|
|
82
|
-
path: '.cursor/rules/agents',
|
|
83
|
-
format: 'condensed-rules',
|
|
84
|
-
},
|
|
85
|
-
antigravity: {
|
|
86
|
-
enabled: true,
|
|
87
|
-
path: '.antigravity/rules/agents',
|
|
88
|
-
format: 'cursor-style',
|
|
89
|
-
},
|
|
90
65
|
},
|
|
91
66
|
redirects: {
|
|
92
67
|
'sinapse-developer': 'sinapse-orqx',
|
|
@@ -125,9 +100,6 @@ function loadConfig(projectRoot) {
|
|
|
125
100
|
function getTransformer(format) {
|
|
126
101
|
const transformers = {
|
|
127
102
|
'full-markdown-yaml': claudeCodeTransformer,
|
|
128
|
-
'condensed-rules': cursorTransformer,
|
|
129
|
-
'cursor-style': antigravityTransformer,
|
|
130
|
-
'github-copilot': githubCopilotTransformer,
|
|
131
103
|
};
|
|
132
104
|
|
|
133
105
|
return transformers[format] || claudeCodeTransformer;
|
|
@@ -265,13 +237,7 @@ async function commandSync(options) {
|
|
|
265
237
|
|
|
266
238
|
const result = syncIde(agents, ideConfig, ideName, projectRoot, options);
|
|
267
239
|
|
|
268
|
-
|
|
269
|
-
if (ideName === 'gemini') {
|
|
270
|
-
const geminiCommands = syncGeminiCommands(agents, projectRoot, options);
|
|
271
|
-
result.commandFiles = geminiCommands.files;
|
|
272
|
-
} else {
|
|
273
|
-
result.commandFiles = [];
|
|
274
|
-
}
|
|
240
|
+
result.commandFiles = [];
|
|
275
241
|
|
|
276
242
|
results.push(result);
|
|
277
243
|
|
|
@@ -400,17 +366,6 @@ async function commandValidate(options) {
|
|
|
400
366
|
targetDir: path.join(projectRoot, ideConfig.path),
|
|
401
367
|
};
|
|
402
368
|
|
|
403
|
-
// Gemini CLI command launcher files are synced under .gemini/commands/*.toml
|
|
404
|
-
if (ideName === 'gemini') {
|
|
405
|
-
const commandFiles = buildGeminiCommandFiles(agents).map((entry) => ({
|
|
406
|
-
filename: entry.filename,
|
|
407
|
-
content: entry.content,
|
|
408
|
-
}));
|
|
409
|
-
ideConfigs['gemini-commands'] = {
|
|
410
|
-
expectedFiles: commandFiles,
|
|
411
|
-
targetDir: path.join(projectRoot, '.gemini', 'commands'),
|
|
412
|
-
};
|
|
413
|
-
}
|
|
414
369
|
}
|
|
415
370
|
|
|
416
371
|
// Validate
|
|
@@ -487,9 +442,6 @@ ${colors.bright}Options:${colors.reset}
|
|
|
487
442
|
${colors.bright}Examples:${colors.reset}
|
|
488
443
|
node ide-sync/index.js sync
|
|
489
444
|
node ide-sync/index.js sync --ide codex
|
|
490
|
-
node ide-sync/index.js sync --ide gemini
|
|
491
|
-
node ide-sync/index.js sync --ide cursor
|
|
492
|
-
node ide-sync/index.js validate --ide gemini --strict
|
|
493
445
|
node ide-sync/index.js validate --strict
|
|
494
446
|
node ide-sync/index.js sync --dry-run --verbose
|
|
495
447
|
`);
|
|
@@ -7,7 +7,6 @@ const yaml = require('js-yaml');
|
|
|
7
7
|
const { spawnSync } = require('child_process');
|
|
8
8
|
const { validateClaudeIntegration } = require('./validate-claude-integration');
|
|
9
9
|
const { validateCodexIntegration } = require('./validate-codex-integration');
|
|
10
|
-
const { validateGeminiIntegration } = require('./validate-gemini-integration');
|
|
11
10
|
const { validateCodexSkills } = require('./codex-skills-sync/validate');
|
|
12
11
|
const { validatePaths } = require('./validate-paths');
|
|
13
12
|
|
|
@@ -221,7 +220,6 @@ function runParityValidation(options = {}, deps = {}) {
|
|
|
221
220
|
const runSync = deps.runSyncValidate || runSyncValidate;
|
|
222
221
|
const runClaudeIntegration = deps.validateClaudeIntegration || validateClaudeIntegration;
|
|
223
222
|
const runCodexIntegration = deps.validateCodexIntegration || validateCodexIntegration;
|
|
224
|
-
const runGeminiIntegration = deps.validateGeminiIntegration || validateGeminiIntegration;
|
|
225
223
|
const runCodexSkills = deps.validateCodexSkills || validateCodexSkills;
|
|
226
224
|
const runPaths = deps.validatePaths || validatePaths;
|
|
227
225
|
const resolvedContractPath = options.contractPath
|
|
@@ -238,11 +236,6 @@ function runParityValidation(options = {}, deps = {}) {
|
|
|
238
236
|
{ id: 'claude-integration', exec: () => runClaudeIntegration({ projectRoot }) },
|
|
239
237
|
{ id: 'codex-sync', exec: () => runSync('codex', projectRoot) },
|
|
240
238
|
{ id: 'codex-integration', exec: () => runCodexIntegration({ projectRoot }) },
|
|
241
|
-
{ id: 'gemini-sync', exec: () => runSync('gemini', projectRoot) },
|
|
242
|
-
{ id: 'gemini-integration', exec: () => runGeminiIntegration({ projectRoot }) },
|
|
243
|
-
{ id: 'cursor-sync', exec: () => runSync('cursor', projectRoot) },
|
|
244
|
-
{ id: 'github-copilot-sync', exec: () => runSync('github-copilot', projectRoot) },
|
|
245
|
-
{ id: 'antigravity-sync', exec: () => runSync('antigravity', projectRoot) },
|
|
246
239
|
{ id: 'codex-skills', exec: () => runCodexSkills({ projectRoot, strict: true, quiet: true }) },
|
|
247
240
|
{ id: 'paths', exec: () => runPaths({ projectRoot }) },
|
|
248
241
|
];
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
# - SHA256 hashes for change detection
|
|
8
8
|
# - File types for categorization
|
|
9
9
|
#
|
|
10
|
-
version: 7.0
|
|
11
|
-
generated_at: "2026-03-
|
|
10
|
+
version: 7.1.0
|
|
11
|
+
generated_at: "2026-03-26T01:21:15.416Z"
|
|
12
12
|
generator: scripts/generate-install-manifest.js
|
|
13
|
-
file_count:
|
|
13
|
+
file_count: 1082
|
|
14
14
|
files:
|
|
15
15
|
- path: cli/commands/config/index.js
|
|
16
16
|
hash: sha256:66f111eceef0f60fa0a8904add783b615d55b01d5fe36408623c3dd828e702f6
|
|
@@ -177,9 +177,9 @@ files:
|
|
|
177
177
|
type: cli
|
|
178
178
|
size: 5907
|
|
179
179
|
- path: core-config.yaml
|
|
180
|
-
hash: sha256:
|
|
180
|
+
hash: sha256:1dfc00cfc993bacb17f683aacdf898b856744a33a76183adab2d1c1896be8b31
|
|
181
181
|
type: config
|
|
182
|
-
size:
|
|
182
|
+
size: 10514
|
|
183
183
|
- path: core/code-intel/code-intel-client.js
|
|
184
184
|
hash: sha256:6c9a08a37775acf90397aa079a4ad2c5edcc47f2cfd592b26ae9f3d154d1deb8
|
|
185
185
|
type: core
|
|
@@ -1217,9 +1217,9 @@ files:
|
|
|
1217
1217
|
type: data
|
|
1218
1218
|
size: 9586
|
|
1219
1219
|
- path: data/entity-registry.yaml
|
|
1220
|
-
hash: sha256:
|
|
1220
|
+
hash: sha256:b5d51b4bdde59ce778d619c8e7e8c2797f277ba95670983a51b81b3b5811cfe9
|
|
1221
1221
|
type: data
|
|
1222
|
-
size:
|
|
1222
|
+
size: 514036
|
|
1223
1223
|
- path: data/learned-patterns.yaml
|
|
1224
1224
|
hash: sha256:24ac0b160615583a0ff783d3da8af80b7f94191575d6db2054ec8e10a3f945dc
|
|
1225
1225
|
type: data
|
|
@@ -3081,9 +3081,9 @@ files:
|
|
|
3081
3081
|
type: script
|
|
3082
3082
|
size: 5566
|
|
3083
3083
|
- path: infrastructure/scripts/ide-sync/index.js
|
|
3084
|
-
hash: sha256:
|
|
3084
|
+
hash: sha256:6898ff5fc8b07e3527a145b6979c201b366587d9274cef938293b10dfecd14c4
|
|
3085
3085
|
type: script
|
|
3086
|
-
size:
|
|
3086
|
+
size: 13160
|
|
3087
3087
|
- path: infrastructure/scripts/ide-sync/README.md
|
|
3088
3088
|
hash: sha256:cd353be0899548032cfba541266a247d706356b5b8631e73a7cdc4f43415ba92
|
|
3089
3089
|
type: script
|
|
@@ -3092,22 +3092,10 @@ files:
|
|
|
3092
3092
|
hash: sha256:38c04dd71e4ed3e703602e26c3df14835e60cd0c6145f9b5efa275b6863e5c84
|
|
3093
3093
|
type: script
|
|
3094
3094
|
size: 4230
|
|
3095
|
-
- path: infrastructure/scripts/ide-sync/transformers/antigravity.js
|
|
3096
|
-
hash: sha256:248d5fc8f6bd607ff9a76bcfb640c9cbc55cf1ba8fc68bbbb6bb9f9ae3e285a0
|
|
3097
|
-
type: script
|
|
3098
|
-
size: 2791
|
|
3099
3095
|
- path: infrastructure/scripts/ide-sync/transformers/claude-code.js
|
|
3100
3096
|
hash: sha256:da8d4ce527b04783e8638eea56841d0a93e788f0076f65d069bdda45033758e1
|
|
3101
3097
|
type: script
|
|
3102
3098
|
size: 2240
|
|
3103
|
-
- path: infrastructure/scripts/ide-sync/transformers/cursor.js
|
|
3104
|
-
hash: sha256:c0650a30485615ba7b05a5e4e91dbb67626efe5531953e343810e815d793b70b
|
|
3105
|
-
type: script
|
|
3106
|
-
size: 2434
|
|
3107
|
-
- path: infrastructure/scripts/ide-sync/transformers/github-copilot.js
|
|
3108
|
-
hash: sha256:66770317b89e104d695a4276791d7ead9e0922bcdde52446b79148675215ea63
|
|
3109
|
-
type: script
|
|
3110
|
-
size: 5700
|
|
3111
3099
|
- path: infrastructure/scripts/ide-sync/validator.js
|
|
3112
3100
|
hash: sha256:356c78125db7f88d14f4e521808e96593d729291c3d7a1c36cb02f78b4aef8fc
|
|
3113
3101
|
type: script
|
|
@@ -3336,18 +3324,14 @@ files:
|
|
|
3336
3324
|
hash: sha256:01065d27f1c9e002b3985f1b5090cf123369fcf528012c2ec8c4a02df9b3645e
|
|
3337
3325
|
type: script
|
|
3338
3326
|
size: 4127
|
|
3339
|
-
- path: infrastructure/scripts/validate-gemini-integration.js
|
|
3340
|
-
hash: sha256:0c99d62b3fd13343ae3a558df92cd52bf641d60c5119c31839c6c7b4bfd59e1e
|
|
3341
|
-
type: script
|
|
3342
|
-
size: 4855
|
|
3343
3327
|
- path: infrastructure/scripts/validate-output-pattern.js
|
|
3344
3328
|
hash: sha256:91111d656e8d7b38a20a1bda753e663b74318f75cdab2025c7e0b84c775fc83d
|
|
3345
3329
|
type: script
|
|
3346
3330
|
size: 6692
|
|
3347
3331
|
- path: infrastructure/scripts/validate-parity.js
|
|
3348
|
-
hash: sha256:
|
|
3332
|
+
hash: sha256:5cbd1c4458fb3e485872635e2210b3d3406c22381185039ef112db8912887201
|
|
3349
3333
|
type: script
|
|
3350
|
-
size:
|
|
3334
|
+
size: 12121
|
|
3351
3335
|
- path: infrastructure/scripts/validate-paths.js
|
|
3352
3336
|
hash: sha256:f657c32be91ed63e0b82d5b134b143d03174622eba60fb4b556adc570b8c7f5a
|
|
3353
3337
|
type: script
|
|
@@ -3844,10 +3828,6 @@ files:
|
|
|
3844
3828
|
hash: sha256:499c5dcad3c1300fd91440d6d5f5351fe488348778d256582edc1d4d3f90e919
|
|
3845
3829
|
type: template
|
|
3846
3830
|
size: 3691
|
|
3847
|
-
- path: product/templates/ide-rules/antigravity-rules.md
|
|
3848
|
-
hash: sha256:ba650cf57af7f895bf90f9793e86a60d6d77cb168db2ab0f196bfa9001fb930e
|
|
3849
|
-
type: template
|
|
3850
|
-
size: 3121
|
|
3851
3831
|
- path: product/templates/ide-rules/claude-rules.md
|
|
3852
3832
|
hash: sha256:161dca71bac7ecf6187232b9964c0889c3728afd2332967640e4eea4631668a2
|
|
3853
3833
|
type: template
|
|
@@ -3856,18 +3836,6 @@ files:
|
|
|
3856
3836
|
hash: sha256:601ffec5e24ff5e247c25e4d61728167503722acc817a1b30fbd695182bed1bc
|
|
3857
3837
|
type: template
|
|
3858
3838
|
size: 2843
|
|
3859
|
-
- path: product/templates/ide-rules/copilot-rules.md
|
|
3860
|
-
hash: sha256:5e22f4d774cfedf927a7ec79b6020fe4023b4eba6733b66cb6edc7e6a85fbfea
|
|
3861
|
-
type: template
|
|
3862
|
-
size: 3104
|
|
3863
|
-
- path: product/templates/ide-rules/cursor-rules.md
|
|
3864
|
-
hash: sha256:f9993331cb2b05e069cb55945a5519b7b838e7019b07b47df76ebf7f3c2209d0
|
|
3865
|
-
type: template
|
|
3866
|
-
size: 3111
|
|
3867
|
-
- path: product/templates/ide-rules/gemini-rules.md
|
|
3868
|
-
hash: sha256:cef296634e98d1aaa55c3dd1c125496b02627d4e38337ea7031d1725228a32ba
|
|
3869
|
-
type: template
|
|
3870
|
-
size: 2535
|
|
3871
3839
|
- path: product/templates/index-strategy-tmpl.yaml
|
|
3872
3840
|
hash: sha256:6db2b40f6eef47f4faa31ce513ee7b0d5f04d9a5e081a72e0cdbad402eb444ae
|
|
3873
3841
|
type: template
|
package/README.en.md
CHANGED
|
@@ -23,7 +23,7 @@ SINAPSE AI is not another chatbot. It is an orchestration system where each agen
|
|
|
23
23
|
- **174 specialized agents** with their own knowledge bases
|
|
24
24
|
- **Complete workflows** for planning, development, QA and deploy
|
|
25
25
|
- **Story-Driven Development** with automatic progress tracking
|
|
26
|
-
- **Multi-IDE support**: Claude Code
|
|
26
|
+
- **Multi-IDE support**: Claude Code and Codex CLI
|
|
27
27
|
|
|
28
28
|
### Architecture: CLI First
|
|
29
29
|
|
|
@@ -194,17 +194,12 @@ Use `@squad-creator` or see the [Squads Guide](docs/guides/squads-guide.md).
|
|
|
194
194
|
|
|
195
195
|
---
|
|
196
196
|
|
|
197
|
-
##
|
|
197
|
+
## Supported IDEs
|
|
198
198
|
|
|
199
|
-
| IDE |
|
|
200
|
-
|
|
201
|
-
| **Claude Code** |
|
|
202
|
-
| **Codex CLI** |
|
|
203
|
-
| **Gemini CLI** | Supported | `/sinapse-menu` > `/sinapse-<agent>` |
|
|
204
|
-
| **Cursor** | Partial | Rules + MCP |
|
|
205
|
-
| **GitHub Copilot** | Partial | Repository instructions + MCP |
|
|
206
|
-
|
|
207
|
-
Details: `docs/ide-integration.md`
|
|
199
|
+
| IDE | How to activate |
|
|
200
|
+
|-----|----------------|
|
|
201
|
+
| **Claude Code** | `@agent-name` or `/sinapse` |
|
|
202
|
+
| **Codex CLI** | `/skills` > `sinapse-<agent>` or `@agent-name` |
|
|
208
203
|
|
|
209
204
|
---
|
|
210
205
|
|
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ O SINAPSE AI nao e mais um chatbot. E um sistema de orquestracao onde cada agent
|
|
|
23
23
|
- **174 agentes especializados** com knowledge bases proprias
|
|
24
24
|
- **Workflows completos** de planejamento, desenvolvimento, QA e deploy
|
|
25
25
|
- **Story-Driven Development** com rastreamento automatico de progresso
|
|
26
|
-
- **Compatibilidade multi-IDE**: Claude Code
|
|
26
|
+
- **Compatibilidade multi-IDE**: Claude Code e Codex CLI
|
|
27
27
|
|
|
28
28
|
### Arquitetura: CLI First
|
|
29
29
|
|
|
@@ -194,17 +194,12 @@ Use `@squad-creator` ou veja o [Guia de Squads](docs/guides/squads-guide.md).
|
|
|
194
194
|
|
|
195
195
|
---
|
|
196
196
|
|
|
197
|
-
##
|
|
197
|
+
## IDEs Suportadas
|
|
198
198
|
|
|
199
|
-
| IDE |
|
|
200
|
-
|
|
201
|
-
| **Claude Code** |
|
|
202
|
-
| **Codex CLI** |
|
|
203
|
-
| **Gemini CLI** | Suportado | `/sinapse-menu` > `/sinapse-<agent>` |
|
|
204
|
-
| **Cursor** | Parcial | Rules + MCP |
|
|
205
|
-
| **GitHub Copilot** | Parcial | Repository instructions + MCP |
|
|
206
|
-
|
|
207
|
-
Detalhes: `docs/ide-integration.md`
|
|
199
|
+
| IDE | Como ativar |
|
|
200
|
+
|-----|------------|
|
|
201
|
+
| **Claude Code** | `@agent-name` ou `/sinapse` |
|
|
202
|
+
| **Codex CLI** | `/skills` > `sinapse-<agent>` ou `@agent-name` |
|
|
208
203
|
|
|
209
204
|
---
|
|
210
205
|
|
|
@@ -352,9 +352,8 @@ async function generateCoreConfigYAML(projectPath, wizardState) {
|
|
|
352
352
|
*/
|
|
353
353
|
function getIDEConfigFile(ideKey) {
|
|
354
354
|
const ideConfigMap = {
|
|
355
|
-
|
|
355
|
+
codex: '.codex/instructions.md',
|
|
356
356
|
zed: '.zed/settings.json',
|
|
357
|
-
antigravity: '.antigravity.yaml',
|
|
358
357
|
continue: '.continue/config.json',
|
|
359
358
|
};
|
|
360
359
|
|
package/bin/sinapse-init.js
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* - Do NOT call this file directly
|
|
18
18
|
*
|
|
19
19
|
* Supported IDEs (4 total):
|
|
20
|
-
* - Claude Code,
|
|
20
|
+
* - Claude Code, Codex CLI
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
const path = require('path');
|
|
@@ -408,12 +408,9 @@ async function main() {
|
|
|
408
408
|
value: 'claude',
|
|
409
409
|
checked: true,
|
|
410
410
|
},
|
|
411
|
-
{ name: ' Cursor ' + chalk.blue('(v4)'), value: 'cursor' },
|
|
412
|
-
{ name: ' Gemini CLI ' + chalk.blue('(v4)'), value: 'gemini' },
|
|
413
|
-
{ name: ' GitHub Copilot ' + chalk.blue('(v4)'), value: 'github-copilot' },
|
|
414
411
|
{
|
|
415
|
-
name: '
|
|
416
|
-
value: '
|
|
412
|
+
name: ' Codex CLI ' + chalk.blue('(v4)') + chalk.gray(' - OpenAI'),
|
|
413
|
+
value: 'codex',
|
|
417
414
|
},
|
|
418
415
|
new inquirer.Separator(chalk.gray('─'.repeat(40))),
|
|
419
416
|
{ name: ' Skip IDE setup', value: 'none' },
|
|
@@ -432,8 +429,8 @@ async function main() {
|
|
|
432
429
|
if (ides.includes('claude')) {
|
|
433
430
|
cliToolsToCheck.push({ ide: 'claude', command: 'claude', name: 'Claude Code', npm: '@anthropic-ai/claude-code' });
|
|
434
431
|
}
|
|
435
|
-
if (ides.includes('
|
|
436
|
-
cliToolsToCheck.push({ ide: '
|
|
432
|
+
if (ides.includes('codex')) {
|
|
433
|
+
cliToolsToCheck.push({ ide: 'codex', command: 'codex', name: 'Codex CLI', npm: '@openai/codex' });
|
|
437
434
|
}
|
|
438
435
|
|
|
439
436
|
if (cliToolsToCheck.length > 0) {
|
|
@@ -486,8 +483,8 @@ async function main() {
|
|
|
486
483
|
// Show post-install instructions
|
|
487
484
|
if (tool.ide === 'claude') {
|
|
488
485
|
console.log(chalk.gray(' Run `claude` to authenticate with your Anthropic account'));
|
|
489
|
-
} else if (tool.ide === '
|
|
490
|
-
console.log(chalk.gray(' Run `
|
|
486
|
+
} else if (tool.ide === 'codex') {
|
|
487
|
+
console.log(chalk.gray(' Run `codex` to authenticate with your OpenAI account'));
|
|
491
488
|
}
|
|
492
489
|
} catch (error) {
|
|
493
490
|
console.log(chalk.red('✗') + ` Failed to install ${tool.name}: ${error.message}`);
|
|
@@ -556,10 +553,7 @@ async function main() {
|
|
|
556
553
|
|
|
557
554
|
const ideRulesMap = {
|
|
558
555
|
claude: { source: 'claude-rules.md', target: '.claude/CLAUDE.md' },
|
|
559
|
-
|
|
560
|
-
gemini: { source: 'gemini-rules.md', target: '.gemini/rules.md' },
|
|
561
|
-
'github-copilot': { source: 'copilot-rules.md', target: '.github/chatmodes/sinapse-agent.md' },
|
|
562
|
-
antigravity: { source: 'antigravity-rules.md', target: '.antigravity/rules.md' },
|
|
556
|
+
codex: { source: 'codex-rules.md', target: '.codex/instructions.md' },
|
|
563
557
|
};
|
|
564
558
|
|
|
565
559
|
// Step 1: Copy basic IDE rules files
|
|
@@ -652,105 +646,18 @@ See .sinapse-ai/user-guide.md for complete documentation.
|
|
|
652
646
|
await setupGlobalStatuslineLegacy(sourceCoreDir);
|
|
653
647
|
}
|
|
654
648
|
|
|
655
|
-
// Step 3: Install SINAPSE CORE agents for
|
|
656
|
-
// v4: Agents are in development/ module
|
|
649
|
+
// Step 3: Install SINAPSE CORE agents for Codex CLI
|
|
657
650
|
// INS-2 Performance: Uses cached agent files list
|
|
658
|
-
if (ides.includes('
|
|
659
|
-
const
|
|
651
|
+
if (ides.includes('codex')) {
|
|
652
|
+
const codexAgentsTarget = path.join(
|
|
660
653
|
context.projectRoot,
|
|
661
|
-
'.
|
|
662
|
-
'rules',
|
|
663
|
-
'SINAPSE',
|
|
654
|
+
'.codex',
|
|
664
655
|
'agents'
|
|
665
656
|
);
|
|
666
657
|
|
|
667
658
|
if (cachedAgentFiles.length > 0) {
|
|
668
|
-
await fse.
|
|
669
|
-
|
|
670
|
-
// Convert .md files to .mdc for Cursor (using cached list)
|
|
671
|
-
for (const agentFile of cachedAgentFiles) {
|
|
672
|
-
const sourcePath = path.join(coreAgentsSource, agentFile);
|
|
673
|
-
const targetFileName = agentFile.replace('.md', '.mdc');
|
|
674
|
-
const targetPath = path.join(cursorRulesTarget, targetFileName);
|
|
675
|
-
await fse.copy(sourcePath, targetPath);
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
console.log(
|
|
679
|
-
chalk.green('✓') + ` Cursor CORE rules installed (${cachedAgentFiles.length} agents)`
|
|
680
|
-
);
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
// Create SINAPSE README for Cursor
|
|
684
|
-
const cursorReadme = path.join(context.projectRoot, '.cursor', 'rules', 'SINAPSE', 'README.md');
|
|
685
|
-
await fse.ensureDir(path.dirname(cursorReadme));
|
|
686
|
-
await fse.writeFile(
|
|
687
|
-
cursorReadme,
|
|
688
|
-
`# SINAPSE Core Rules
|
|
689
|
-
|
|
690
|
-
This directory contains the core SINAPSE-FullStack agent rules for Cursor.
|
|
691
|
-
|
|
692
|
-
## Usage
|
|
693
|
-
These rules are automatically loaded by Cursor to provide agent-specific context.
|
|
694
|
-
|
|
695
|
-
## Documentation
|
|
696
|
-
See .sinapse-ai/user-guide.md for complete documentation.
|
|
697
|
-
`
|
|
698
|
-
);
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
// Step 4: Install SINAPSE CORE agents for other IDEs (Gemini, AntiGravity)
|
|
702
|
-
// v4: Agents are in development/ module
|
|
703
|
-
// INS-2 Performance: Uses cached agent files list
|
|
704
|
-
const otherIdeInstalls = ['gemini', 'antigravity'];
|
|
705
|
-
for (const ide of otherIdeInstalls) {
|
|
706
|
-
if (ides.includes(ide)) {
|
|
707
|
-
const ideRulesDir = ide === 'gemini' ? '.gemini' : `.${ide}`;
|
|
708
|
-
const ideRulesTarget = path.join(
|
|
709
|
-
context.projectRoot,
|
|
710
|
-
ideRulesDir,
|
|
711
|
-
'rules',
|
|
712
|
-
'SINAPSE',
|
|
713
|
-
'agents'
|
|
714
|
-
);
|
|
715
|
-
|
|
716
|
-
if (cachedAgentFiles.length > 0) {
|
|
717
|
-
await fse.ensureDir(ideRulesTarget);
|
|
718
|
-
|
|
719
|
-
// Copy agent files (using cached list)
|
|
720
|
-
for (const agentFile of cachedAgentFiles) {
|
|
721
|
-
const sourcePath = path.join(coreAgentsSource, agentFile);
|
|
722
|
-
const targetPath = path.join(ideRulesTarget, agentFile);
|
|
723
|
-
await fse.copy(sourcePath, targetPath);
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
const ideName = ide.charAt(0).toUpperCase() + ide.slice(1);
|
|
727
|
-
console.log(
|
|
728
|
-
chalk.green('✓') + ` ${ideName} CORE agents installed (${cachedAgentFiles.length} agents)`
|
|
729
|
-
);
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
// Step 5: Install GitHub Copilot chat modes
|
|
735
|
-
// v4: Agents are in development/ module
|
|
736
|
-
// INS-2 Performance: Uses cached agent files list
|
|
737
|
-
if (ides.includes('github-copilot')) {
|
|
738
|
-
const copilotModesDir = path.join(context.projectRoot, '.github', 'chatmodes');
|
|
739
|
-
|
|
740
|
-
if (cachedAgentFiles.length > 0) {
|
|
741
|
-
await fse.ensureDir(copilotModesDir);
|
|
742
|
-
|
|
743
|
-
// Copy agent files (using cached list)
|
|
744
|
-
for (const agentFile of cachedAgentFiles) {
|
|
745
|
-
const sourcePath = path.join(coreAgentsSource, agentFile);
|
|
746
|
-
const agentName = agentFile.replace('.md', '');
|
|
747
|
-
const targetPath = path.join(copilotModesDir, `sinapse-${agentName}.md`);
|
|
748
|
-
await fse.copy(sourcePath, targetPath);
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
console.log(
|
|
752
|
-
chalk.green('✓') + ` GitHub Copilot chat modes installed (${cachedAgentFiles.length} modes)`
|
|
753
|
-
);
|
|
659
|
+
await fse.copy(coreAgentsSource, codexAgentsTarget);
|
|
660
|
+
console.log(chalk.green('✓') + ` Codex CLI CORE agents installed (${cachedAgentFiles.length} agents)`);
|
|
754
661
|
}
|
|
755
662
|
}
|
|
756
663
|
}
|
|
@@ -842,7 +749,7 @@ See .sinapse-ai/user-guide.md for complete documentation.
|
|
|
842
749
|
for (const squad of selectedSquads) {
|
|
843
750
|
const targetSquad = path.join(targetSquadsDir, squad);
|
|
844
751
|
|
|
845
|
-
// INS-2 Performance: Cache squad file lists once per squad
|
|
752
|
+
// INS-2 Performance: Cache squad file lists once per squad
|
|
846
753
|
const squadAgentsSource = path.join(targetSquad, 'agents');
|
|
847
754
|
const squadTasksSource = path.join(targetSquad, 'tasks');
|
|
848
755
|
const squadReadmeSource = path.join(targetSquad, 'README.md');
|
|
@@ -880,35 +787,6 @@ See .sinapse-ai/user-guide.md for complete documentation.
|
|
|
880
787
|
}
|
|
881
788
|
}
|
|
882
789
|
|
|
883
|
-
// Install squad agents for Cursor
|
|
884
|
-
if (ides.includes('cursor') && squadAgentFiles.length > 0) {
|
|
885
|
-
const cursorSquadTarget = path.join(
|
|
886
|
-
context.projectRoot,
|
|
887
|
-
'.cursor',
|
|
888
|
-
'rules',
|
|
889
|
-
squad,
|
|
890
|
-
'agents'
|
|
891
|
-
);
|
|
892
|
-
await fse.ensureDir(cursorSquadTarget);
|
|
893
|
-
|
|
894
|
-
// Convert .md files to .mdc for Cursor (using cached list)
|
|
895
|
-
for (const agentFile of squadAgentFiles) {
|
|
896
|
-
const sourcePath = path.join(squadAgentsSource, agentFile);
|
|
897
|
-
const targetFileName = agentFile.replace('.md', '.mdc');
|
|
898
|
-
const targetPath = path.join(cursorSquadTarget, targetFileName);
|
|
899
|
-
await fse.copy(sourcePath, targetPath);
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
console.log(chalk.green(' ✓') + ` Cursor ${squad} rules (${squadAgentFiles.length} agents)`);
|
|
903
|
-
|
|
904
|
-
// Copy README for Cursor (using cached check)
|
|
905
|
-
if (hasSquadReadme) {
|
|
906
|
-
await fse.copy(
|
|
907
|
-
squadReadmeSource,
|
|
908
|
-
path.join(context.projectRoot, '.cursor', 'rules', squad, 'README.md')
|
|
909
|
-
);
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
790
|
}
|
|
913
791
|
}
|
|
914
792
|
}
|
|
@@ -1000,36 +878,10 @@ See .sinapse-ai/user-guide.md for complete documentation.
|
|
|
1000
878
|
}
|
|
1001
879
|
}
|
|
1002
880
|
|
|
1003
|
-
if (ides.includes('
|
|
1004
|
-
console.log(' ' + chalk.dim('.
|
|
1005
|
-
console.log(' ' + chalk.dim('├─
|
|
1006
|
-
console.log(' ' + chalk.dim('└─
|
|
1007
|
-
console.log(' ' + chalk.dim(' ├─ SINAPSE/') + ' - Core agent rules');
|
|
1008
|
-
if (selectedSquads && selectedSquads.length > 0) {
|
|
1009
|
-
selectedSquads.forEach((squad) => {
|
|
1010
|
-
console.log(' ' + chalk.dim(` └─ ${squad}/`) + ' - Squad rules');
|
|
1011
|
-
});
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
// Show other IDE installations
|
|
1016
|
-
const otherInstalledIdes = ['gemini', 'antigravity'].filter((ide) =>
|
|
1017
|
-
ides.includes(ide)
|
|
1018
|
-
);
|
|
1019
|
-
for (const ide of otherInstalledIdes) {
|
|
1020
|
-
const ideDir = ide === 'gemini' ? '.gemini' : `.${ide}`;
|
|
1021
|
-
console.log(
|
|
1022
|
-
' ' +
|
|
1023
|
-
chalk.dim(`${ideDir}/`) +
|
|
1024
|
-
' - ' +
|
|
1025
|
-
ide.charAt(0).toUpperCase() +
|
|
1026
|
-
ide.slice(1) +
|
|
1027
|
-
' configuration'
|
|
1028
|
-
);
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
if (ides.includes('github-copilot')) {
|
|
1032
|
-
console.log(' ' + chalk.dim('.github/chatmodes/') + ' - GitHub Copilot agent modes');
|
|
881
|
+
if (ides.includes('codex')) {
|
|
882
|
+
console.log(' ' + chalk.dim('.codex/'));
|
|
883
|
+
console.log(' ' + chalk.dim('├─ instructions.md') + ' - Main configuration');
|
|
884
|
+
console.log(' ' + chalk.dim('└─ agents/') + ' - Agent definitions');
|
|
1033
885
|
}
|
|
1034
886
|
|
|
1035
887
|
console.log('');
|
|
@@ -1041,27 +893,10 @@ See .sinapse-ai/user-guide.md for complete documentation.
|
|
|
1041
893
|
console.log(' • Browse: .claude/commands/SINAPSE/agents/ for all available agents');
|
|
1042
894
|
}
|
|
1043
895
|
|
|
1044
|
-
if (ides.includes('
|
|
1045
|
-
console.log(' ' + chalk.yellow('
|
|
1046
|
-
console.log(' •
|
|
1047
|
-
console.log(' •
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
if (ides.includes('gemini')) {
|
|
1051
|
-
console.log(' ' + chalk.yellow('Gemini CLI:'));
|
|
1052
|
-
console.log(' • Include agent context in your prompts');
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
if (ides.includes('github-copilot')) {
|
|
1056
|
-
console.log(' ' + chalk.yellow('GitHub Copilot:'));
|
|
1057
|
-
console.log(' • Open Chat view and select Agent mode');
|
|
1058
|
-
console.log(' • Requires VS Code 1.101+ with chat.agent.enabled: true');
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
if (ides.includes('antigravity')) {
|
|
1062
|
-
console.log(' ' + chalk.yellow('AntiGravity:'));
|
|
1063
|
-
console.log(' • Use Workspace Rules to activate agents');
|
|
1064
|
-
console.log(' • Browse: .antigravity/rules/SINAPSE/agents/ for all available agents');
|
|
896
|
+
if (ides.includes('codex')) {
|
|
897
|
+
console.log(' ' + chalk.yellow('Codex CLI:'));
|
|
898
|
+
console.log(' • Use /skills to list all available agents');
|
|
899
|
+
console.log(' • Activate with sinapse-<agent-name> (e.g. sinapse-dev)');
|
|
1065
900
|
}
|
|
1066
901
|
|
|
1067
902
|
console.log(' ' + chalk.yellow('General:'));
|