@mindstudio-ai/remy 0.1.322 → 0.1.323

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/headless.js CHANGED
@@ -2334,11 +2334,23 @@ var bashTool = {
2334
2334
  const maxLines = input.maxLines === 0 ? Infinity : input.maxLines || DEFAULT_MAX_LINES2;
2335
2335
  const timeoutMs = input.timeout ? input.timeout * 1e3 : DEFAULT_TIMEOUT_MS;
2336
2336
  return new Promise((resolve4) => {
2337
- const child = spawn2("sh", ["-c", input.command], {
2337
+ const child = spawn2("bash", ["-c", input.command], {
2338
2338
  // Pinned rather than inherited. `undefined` here means "wherever the
2339
2339
  // process happens to be", which is the project root only by luck.
2340
2340
  cwd: input.cwd ? path7.resolve(PROJECT_ROOT, input.cwd) : PROJECT_ROOT,
2341
- env: { ...process.env, FORCE_COLOR: "1" }
2341
+ // Output is rendered in a terminal view in the IDE, so ask tools for
2342
+ // color. The devbox image sets none of these — it declares only
2343
+ // WORKSPACE_DIR, LANG, LC_ALL, PIP_BREAK_SYSTEM_PACKAGES,
2344
+ // NPM_CONFIG_PREFIX and PATH — and a container gets no TERM unless
2345
+ // something sets it, so without TERM anything driving terminfo assumes
2346
+ // a dumb terminal. Same trio the sandbox's pty handler sets, for the
2347
+ // same reason; FORCE_COLOR alone only reaches the Node/chalk ecosystem.
2348
+ env: {
2349
+ ...process.env,
2350
+ TERM: "xterm-256color",
2351
+ CLICOLOR: "1",
2352
+ FORCE_COLOR: "1"
2353
+ }
2342
2354
  });
2343
2355
  let output = "";
2344
2356
  child.stdout.on("data", (chunk) => {
package/dist/index.js CHANGED
@@ -3519,11 +3519,23 @@ var init_bash = __esm({
3519
3519
  const maxLines = input.maxLines === 0 ? Infinity : input.maxLines || DEFAULT_MAX_LINES2;
3520
3520
  const timeoutMs = input.timeout ? input.timeout * 1e3 : DEFAULT_TIMEOUT_MS;
3521
3521
  return new Promise((resolve4) => {
3522
- const child = spawn2("sh", ["-c", input.command], {
3522
+ const child = spawn2("bash", ["-c", input.command], {
3523
3523
  // Pinned rather than inherited. `undefined` here means "wherever the
3524
3524
  // process happens to be", which is the project root only by luck.
3525
3525
  cwd: input.cwd ? path7.resolve(PROJECT_ROOT, input.cwd) : PROJECT_ROOT,
3526
- env: { ...process.env, FORCE_COLOR: "1" }
3526
+ // Output is rendered in a terminal view in the IDE, so ask tools for
3527
+ // color. The devbox image sets none of these — it declares only
3528
+ // WORKSPACE_DIR, LANG, LC_ALL, PIP_BREAK_SYSTEM_PACKAGES,
3529
+ // NPM_CONFIG_PREFIX and PATH — and a container gets no TERM unless
3530
+ // something sets it, so without TERM anything driving terminfo assumes
3531
+ // a dumb terminal. Same trio the sandbox's pty handler sets, for the
3532
+ // same reason; FORCE_COLOR alone only reaches the Node/chalk ecosystem.
3533
+ env: {
3534
+ ...process.env,
3535
+ TERM: "xterm-256color",
3536
+ CLICOLOR: "1",
3537
+ FORCE_COLOR: "1"
3538
+ }
3527
3539
  });
3528
3540
  let output = "";
3529
3541
  child.stdout.on("data", (chunk) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstudio-ai/remy",
3
- "version": "0.1.322",
3
+ "version": "0.1.323",
4
4
  "description": "Remy coding agent",
5
5
  "repository": {
6
6
  "type": "git",