sinapse-ai 1.11.2 → 1.11.3

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.11.2
10
+ version: 1.11.3
11
11
  generator: scripts/generate-install-manifest.js
12
12
  file_count: 1180
13
13
  files:
package/CHANGELOG.md CHANGED
@@ -1,8 +1,8 @@
1
- ## [1.11.2](https://github.com/caioimori/sinapse-ai/compare/1.11.1...1.11.2) (2026-06-18)
1
+ ## [1.11.3](https://github.com/caioimori/sinapse-ai/compare/1.11.2...1.11.3) (2026-06-19)
2
2
 
3
3
  ### Bug Fixes
4
4
 
5
- * **install:** limpa a saida do install (sem dumps, sem duplicacao, branding calmo) ([048c3ae](https://github.com/caioimori/sinapse-ai/commit/048c3aea914642bbbe759927bb3e4fc59568ef84))
5
+ * **chrome-brain:** nao abrir o browser em toda sessao (remove hook SessionStart) ([63824bf](https://github.com/caioimori/sinapse-ai/commit/63824bfcaef491cb4012d966a05f2a3c32d944fe))
6
6
 
7
7
  # Changelog
8
8
 
@@ -377,12 +377,13 @@ function installHooks() {
377
377
  const ensureCmd = path.join(binDir, 'chrome-ensure').replace(/\\/g, '/');
378
378
  const logCmd = path.join(binDir, 'chrome-brain-log').replace(/\\/g, '/');
379
379
  const hookDefs = {
380
- // SessionStart: warm up Chrome before MCP attempts connection. Without this,
381
- // chrome-devtools-mcp (--browser-url=...) fails at boot if Chrome isn't up
382
- // yet and never reconnects tools silently drop until Claude Code restart.
383
- SessionStart: [
384
- { matcher: '', hooks: [{ type: 'command', command: ensureCmd, timeout: 15000 }] },
385
- ],
380
+ // NO SessionStart hook on purpose. Launching Chrome at every session start
381
+ // popped a browser window unprompted on boot (bad UX, esp. for new users).
382
+ // The lazy PreToolUse hook below already runs chrome-ensure right before any
383
+ // browser tool call, so Chrome is guaranteed up exactly when (and only when)
384
+ // it's needed matching the documented design
385
+ // (templates/chrome-brain/rules/chrome-brain-autoload.md:
386
+ // "Chrome connection is guaranteed by PreToolUse hook").
386
387
  PreToolUse: [
387
388
  { matcher: 'mcp__chrome-devtools__*', hooks: [{ type: 'command', command: ensureCmd }] },
388
389
  { matcher: 'mcp__claude-in-chrome__*', hooks: [{ type: 'command', command: ensureCmd }] },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinapse-ai",
3
- "version": "1.11.2",
3
+ "version": "1.11.3",
4
4
  "description": "SINAPSE AI: Framework de orquestracao de IA — 17 squads, 172 agentes especializados",
5
5
  "bin": {
6
6
  "sinapse": "bin/sinapse.js",
@@ -351,9 +351,9 @@ function mergeHooks() {
351
351
  const ensureCmd = path.join(binDir, 'chrome-ensure').replace(/\\/g, '/');
352
352
  const logCmd = path.join(binDir, 'chrome-brain-log').replace(/\\/g, '/');
353
353
  const newHooks = {
354
- SessionStart: [
355
- { matcher: '', hooks: [{ type: 'command', command: ensureCmd, timeout: 15000 }] },
356
- ],
354
+ // NO SessionStart hook on purpose — it popped a Chrome window on every boot.
355
+ // The lazy PreToolUse hook below launches Chrome only when a browser tool is
356
+ // actually called ("Chrome connection is guaranteed by PreToolUse hook").
357
357
  PreToolUse: [
358
358
  { matcher: 'mcp__chrome-devtools__*', hooks: [{ type: 'command', command: ensureCmd }] },
359
359
  { matcher: 'mcp__claude-in-chrome__*', hooks: [{ type: 'command', command: ensureCmd }] },