mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-19 18:04:41 +00:00
Release v0.7.29
- Show offset/limit in read tool display (e.g., read src/main.ts:100-200) - Fix PI_CODING_AGENT_DIR env var name in help and code - Add all API key env vars to help text
This commit is contained in:
parent
d44073b140
commit
ba5bf54af4
12 changed files with 57 additions and 35 deletions
|
|
@ -83,7 +83,7 @@ export class SessionManager {
|
|||
// Replace all path separators and colons (for Windows drive letters) with dashes
|
||||
const safePath = "--" + cwd.replace(/^[/\\]/, "").replace(/[/\\:]/g, "-") + "--";
|
||||
|
||||
const configDir = resolve(process.env.CODING_AGENT_DIR || join(homedir(), ".pi/agent/"));
|
||||
const configDir = resolve(process.env.PI_CODING_AGENT_DIR || join(homedir(), ".pi/agent/"));
|
||||
const sessionDir = join(configDir, "sessions", safePath);
|
||||
if (!existsSync(sessionDir)) {
|
||||
mkdirSync(sessionDir, { recursive: true });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue