tsunami-code 2.5.0 → 2.5.2

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/index.js CHANGED
@@ -8,7 +8,7 @@ import { agentLoop } from './lib/loop.js';
8
8
  import { buildSystemPrompt } from './lib/prompt.js';
9
9
  import { runPreflight } from './lib/preflight.js';
10
10
 
11
- const VERSION = '2.5.0';
11
+ const VERSION = '2.5.2';
12
12
  const CONFIG_DIR = join(os.homedir(), '.tsunami-code');
13
13
  const CONFIG_FILE = join(CONFIG_DIR, 'config.json');
14
14
  const DEFAULT_SERVER = 'https://radiometric-reita-amuck.ngrok-free.dev';
@@ -78,7 +78,13 @@ if (argv.includes('--help') || argv.includes('-h')) {
78
78
  ${bold('Environment:')}
79
79
  TSUNAMI_SERVER Model server URL
80
80
 
81
- ${bold('Config:')}
81
+ ${bold('Project config:')}
82
+ Drop a TSUNAMI.md in any repo for project-level instructions.
83
+
84
+ ${bold('Global config:')}
85
+ ~/.tsunami-code/TSUNAMI.md — applies to all projects.
86
+
87
+ ${bold('Settings:')}
82
88
  ${CONFIG_FILE}
83
89
  `);
84
90
  process.exit(0);
package/lib/preflight.js CHANGED
@@ -45,7 +45,7 @@ export async function runPreflight(serverUrl) {
45
45
 
46
46
  // Server connectivity
47
47
  const serverOk = await checkServer(serverUrl);
48
- if (!serverOk) errors.push(`Cannot reach model server at ${serverUrl}\n → Check your KEYSTONE_SERVER env var or set it with: keystonecli --server <url>`);
48
+ if (!serverOk) errors.push(`Cannot reach model server at ${serverUrl}\n → Check your TSUNAMI_SERVER env var or set it with: tsunami --server <url>`);
49
49
 
50
50
  return { errors, warnings, rgPath };
51
51
  }
package/lib/prompt.js CHANGED
@@ -4,14 +4,12 @@ import os from 'os';
4
4
 
5
5
  function loadContextFile() {
6
6
  const locations = [
7
- join(process.cwd(), 'CLAUDE.md'),
8
- join(process.cwd(), 'AGENTS.md'),
9
- join(os.homedir(), '.claude', 'CLAUDE.md'),
10
- join(os.homedir(), 'AGENTS.md'),
7
+ join(process.cwd(), 'TSUNAMI.md'),
8
+ join(os.homedir(), '.tsunami-code', 'TSUNAMI.md'),
11
9
  ];
12
10
  for (const loc of locations) {
13
11
  if (existsSync(loc)) {
14
- return `\n\n<project-context source="${loc}">\n${readFileSync(loc, 'utf8')}\n</project-context>`;
12
+ return `\n\n<tsunami-context source="${loc}">\n${readFileSync(loc, 'utf8')}\n</tsunami-context>`;
15
13
  }
16
14
  }
17
15
  return '';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tsunami-code",
3
- "version": "2.5.0",
4
- "description": "Tsunami Code CLI — AI coding agent powered by open-source models",
3
+ "version": "2.5.2",
4
+ "description": "Tsunami Code CLI — AI coding agent by Keystone World Management Navy Seal Unit XI3",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "tsunami": "index.js"