@staff0rd/assist 0.329.2 → 0.329.3
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/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.329.
|
|
9
|
+
version: "0.329.3",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -20730,7 +20730,7 @@ function ensureSpawnHelperExecutable() {
|
|
|
20730
20730
|
function spawnPty(args, cwd, sessionId) {
|
|
20731
20731
|
ensureSpawnHelperExecutable();
|
|
20732
20732
|
const shell = process.platform === "win32" ? "cmd.exe" : process.env.SHELL ?? "bash";
|
|
20733
|
-
const shellArgs = process.platform === "win32" ? ["/c", ...args] : ["-c", `exec ${args.map(shellEscape).join(" ")}`];
|
|
20733
|
+
const shellArgs = process.platform === "win32" ? ["/c", ...args] : ["-l", "-c", `exec ${args.map(shellEscape).join(" ")}`];
|
|
20734
20734
|
const { CLAUDE_CODE_CHILD_SESSION: _childSession, ...parentEnv } = process.env;
|
|
20735
20735
|
return pty.spawn(shell, shellArgs, {
|
|
20736
20736
|
name: "xterm-256color",
|
|
@@ -20739,6 +20739,7 @@ function spawnPty(args, cwd, sessionId) {
|
|
|
20739
20739
|
cwd: cwd ?? process.cwd(),
|
|
20740
20740
|
env: {
|
|
20741
20741
|
...parentEnv,
|
|
20742
|
+
ASSIST_SESSION: "1",
|
|
20742
20743
|
...sessionId && {
|
|
20743
20744
|
ASSIST_SESSION_ID: sessionId,
|
|
20744
20745
|
ASSIST_ACTIVITY_ID: sessionId
|