@lifeaitools/clauth 1.5.68 → 1.5.69
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/cli/commands/serve.js +3 -1
- package/package.json +1 -1
package/cli/commands/serve.js
CHANGED
|
@@ -5405,7 +5405,7 @@ function startTerminalSession(name, knowledge_tier, context_md, cwd) {
|
|
|
5405
5405
|
const preamble = context_md
|
|
5406
5406
|
? `${context_md}\n\n---\n`
|
|
5407
5407
|
: '';
|
|
5408
|
-
const initialContext = `${preamble}Session: ${name}
|
|
5408
|
+
const initialContext = `${preamble}Session: ${name}, Tier: ${knowledge_tier}\nReady. Await instructions.`;
|
|
5409
5409
|
const session = {
|
|
5410
5410
|
session_id,
|
|
5411
5411
|
name,
|
|
@@ -5559,6 +5559,8 @@ async function startChitchatSession(name) {
|
|
|
5559
5559
|
};
|
|
5560
5560
|
terminalSessions.set(session_id, session);
|
|
5561
5561
|
|
|
5562
|
+
const binary = findClaudeBinary();
|
|
5563
|
+
|
|
5562
5564
|
// Spawn a Windows Terminal tab running `npx clauth chitchat --session <id>`
|
|
5563
5565
|
// Uses LOCALAPPDATA WindowsApps path (App Execution Alias — not visible to fs.existsSync but spawnable)
|
|
5564
5566
|
try {
|