@dmsdc-ai/aigentry-telepty 0.1.64 → 0.1.66
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.js +2 -2
- package/package.json +1 -1
- package/tui.js +2 -2
package/cli.js
CHANGED
|
@@ -1186,7 +1186,7 @@ async function main() {
|
|
|
1186
1186
|
const configArg = args.find(a => a.startsWith('--config='));
|
|
1187
1187
|
const configPath = configArg ? configArg.split('=').slice(1).join('=') : null;
|
|
1188
1188
|
const cliArg = args.find(a => a.startsWith('--cli='));
|
|
1189
|
-
const cli = cliArg ? cliArg.split('=')[1] : 'claude --dangerously-skip-permissions';
|
|
1189
|
+
const cli = cliArg ? cliArg.split('=')[1] : 'claude --dangerously-skip-permissions --continue';
|
|
1190
1190
|
const projectsDir = args.find(a => a.startsWith('--dir=')) ? args.find(a => a.startsWith('--dir=')).split('=')[1] : process.cwd();
|
|
1191
1191
|
|
|
1192
1192
|
// Discover project folders (subdirectories with .git)
|
|
@@ -1271,7 +1271,7 @@ async function main() {
|
|
|
1271
1271
|
const sessionIdForProject = `${name}-${cli.split(' ')[0]}`;
|
|
1272
1272
|
const shellCmd = `unset TELEPTY_SESSION_ID; ${nodeFullPath} ${teleptyFullPath} allow --id ${sessionIdForProject} ${cliFullPath}${cliFullArgs ? ' ' + cliFullArgs : ''}`;
|
|
1273
1273
|
const launchArgs = ['@', '--to', `unix:${kittySocket}`,
|
|
1274
|
-
'launch', '--type=os-window', '--
|
|
1274
|
+
'launch', '--type=os-window', '--cwd', cwd,
|
|
1275
1275
|
'--env', 'TELEPTY_SESSION_ID=',
|
|
1276
1276
|
'--env', `PATH=${process.env.PATH}`,
|
|
1277
1277
|
'/bin/zsh', '-c', shellCmd];
|
package/package.json
CHANGED
package/tui.js
CHANGED
|
@@ -12,7 +12,7 @@ const DAEMON_URL = `http://localhost:${PORT}`;
|
|
|
12
12
|
const POLL_INTERVAL = 2000;
|
|
13
13
|
const STALE_THRESHOLD = 120; // seconds idle before "stale"
|
|
14
14
|
const PROJECTS_DIR = path.join(os.homedir(), 'projects');
|
|
15
|
-
const DEFAULT_CLI = 'claude --dangerously-skip-permissions';
|
|
15
|
+
const DEFAULT_CLI = 'claude --dangerously-skip-permissions --continue';
|
|
16
16
|
|
|
17
17
|
class TuiDashboard {
|
|
18
18
|
constructor() {
|
|
@@ -139,7 +139,7 @@ class TuiDashboard {
|
|
|
139
139
|
|
|
140
140
|
try {
|
|
141
141
|
execFileSync('kitty', ['@', '--to', `unix:${sock}`,
|
|
142
|
-
'launch', '--type=os-window', '--
|
|
142
|
+
'launch', '--type=os-window', '--cwd', project.cwd,
|
|
143
143
|
'--env', 'TELEPTY_SESSION_ID=',
|
|
144
144
|
'--env', `PATH=${process.env.PATH}`,
|
|
145
145
|
'/bin/zsh', '-c', shellCmd
|