tsunami-code 3.11.6 → 3.11.7

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.
Files changed (3) hide show
  1. package/index.js +4 -4
  2. package/lib/loop.js +1 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  } from './lib/memory.js';
27
27
  import { listMemories, readMemory, saveMemory, deleteMemory, getMemdirPath } from './lib/memdir.js';
28
28
 
29
- const VERSION = '3.11.6';
29
+ const VERSION = '3.11.7';
30
30
  const CONFIG_DIR = join(os.homedir(), '.tsunami-code');
31
31
  const CONFIG_FILE = join(CONFIG_DIR, 'config.json');
32
32
  const DEFAULT_SERVER = 'https://radiometric-reita-amuck.ngrok-free.dev';
@@ -546,7 +546,7 @@ async function run() {
546
546
  ui.setModelLabel(`Tsunami Code CLI v${VERSION}`);
547
547
 
548
548
  // ── Permission mode ───────────────────────────────────────────────────────
549
- const PERM_MODES = ['auto', 'accept-edits', 'confirm-writes', 'confirm-all', 'readonly', 'bypass'];
549
+ const PERM_MODES = ['auto', 'accept-edits', 'confirm-writes', 'confirm-all', 'readonly', 'bypass-permissions'];
550
550
  let permMode = 'auto';
551
551
 
552
552
  // ── Mode label helper ─────────────────────────────────────────────────────
@@ -561,8 +561,8 @@ async function run() {
561
561
  'accept-edits': dim('[accept-edits]'),
562
562
  'confirm-writes': cyan('[confirm-writes]'),
563
563
  'confirm-all': yellow('[confirm-all]'),
564
- 'readonly': chalk.bgBlue.white(' readonly '),
565
- 'bypass': chalk.bgRed.white.bold(' bypass '),
564
+ 'readonly': chalk.blue.bold('[readonly]'),
565
+ 'bypass-permissions': chalk.red.bold('[bypass-permissions]'),
566
566
  }[permMode];
567
567
  if (permBadge) badges.push(permBadge);
568
568
 
package/lib/loop.js CHANGED
@@ -460,7 +460,7 @@ export async function agentLoop(serverUrl, messages, onToken, onToolCall, sessio
460
460
  }
461
461
 
462
462
  // ── Permission gate (skip entirely in bypass mode) ───────────────
463
- if (permMode !== 'bypass' && confirmCallback) {
463
+ if (permMode !== 'bypass-permissions' && confirmCallback) {
464
464
  const needsConfirm =
465
465
  (permMode === 'confirm-all' && ['Write', 'Edit', 'Bash'].includes(tc.name)) ||
466
466
  (permMode === 'confirm-writes' && ['Write', 'Edit'].includes(tc.name)) ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsunami-code",
3
- "version": "3.11.6",
3
+ "version": "3.11.7",
4
4
  "description": "Tsunami Code CLI — AI coding agent by Keystone World Management Navy Seal Unit XI3",
5
5
  "type": "module",
6
6
  "bin": {