@dmsdc-ai/aigentry-telepty 0.1.64 → 0.1.65
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 +1 -1
- package/package.json +1 -1
- package/tui.js +1 -1
package/cli.js
CHANGED
|
@@ -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
|
@@ -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
|