sinapse-ai 1.2.0 → 1.2.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.
@@ -7,7 +7,7 @@
7
7
  # - SHA256 hashes for change detection
8
8
  # - File types for categorization
9
9
  #
10
- version: 1.2.0
10
+ version: 1.2.1
11
11
  generator: scripts/generate-install-manifest.js
12
12
  file_count: 1162
13
13
  files:
package/bin/cli.js CHANGED
@@ -183,6 +183,18 @@ function runRouter() {
183
183
  case 'help':
184
184
  case '--help':
185
185
  case '-h': cmdHelp(); break;
186
+ case 'version':
187
+ case '--version':
188
+ case '-v': {
189
+ // Story GA-1.2.1 — canonical --version flag. Reads from package.json
190
+ // so the value tracks releases automatically, and prints just the
191
+ // semver (no banner, no decoration) so scripts can capture it cleanly:
192
+ // $ npx sinapse-ai --version
193
+ // 1.2.0
194
+ const pkgVersion = require('../package.json').version;
195
+ process.stdout.write(`${pkgVersion}\n`);
196
+ break;
197
+ }
186
198
  default: {
187
199
  // Story GA-1.3 — fuzzy match suggestion. If the typed command is within
188
200
  // 2 edits of a known command, hint at the closest match (e.g. `insta` →
@@ -24,6 +24,7 @@ function cmdHelp() {
24
24
  logger.always(` ${CYAN}npx sinapse-ai doctor${NC} Roda health checks (--fix --dry-run --json --deep)`);
25
25
  logger.always(` ${CYAN}npx sinapse-ai list${NC} Lista todos squads e agents`);
26
26
  logger.always(` ${CYAN}npx sinapse-ai help${NC} Mostra esta ajuda`);
27
+ logger.always(` ${CYAN}npx sinapse-ai --version${NC} Mostra versão instalada (semver puro)`);
27
28
  logger.always('');
28
29
  logger.always(`${BOLD}Após instalar:${NC}\n`);
29
30
  logger.always(` ${CYAN}sinapse${NC} Inicia Claude Code com todos os agents`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinapse-ai",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "SINAPSE AI: Framework de orquestracao de IA — 19 squads, 200 agentes especializados",
5
5
  "bin": {
6
6
  "sinapse": "bin/sinapse.js",