open-agents-ai 0.187.243 → 0.187.245

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1527,7 +1527,7 @@ var init_shell = __esm({
1527
1527
  PERMISSION_ERROR_RE = /Permission denied|Operation not permitted|EACCES|EPERM|PermissionError|sudo:|not permitted|password is required|authentication failure/i;
1528
1528
  ShellTool = class {
1529
1529
  name = "shell";
1530
- description = "Execute a shell command in the project working directory. Commands run non-interactively (CI=true). For commands that need input, use the stdin parameter or pass non-interactive flags (--yes, --no-input).";
1530
+ description = "Execute a shell command in the project working directory. Commands run non-interactively (CI=true). For commands that need input, use the stdin parameter or pass non-interactive flags (--yes, --no-input). Default timeout is 30 seconds. For long-running commands, set the timeout parameter.";
1531
1531
  parameters = {
1532
1532
  type: "object",
1533
1533
  properties: {
@@ -1537,7 +1537,7 @@ var init_shell = __esm({
1537
1537
  },
1538
1538
  timeout: {
1539
1539
  type: "number",
1540
- description: "Timeout in milliseconds (default: 30000)"
1540
+ description: "Timeout in milliseconds (default: 30000). Set higher for long-running commands (e.g. 300000 for 5 min, 600000 for 10 min)."
1541
1541
  },
1542
1542
  stdin: {
1543
1543
  type: "string",
@@ -1679,7 +1679,7 @@ ${elevatedResult.stderr}` : ""),
1679
1679
  if (killed) {
1680
1680
  const combined = stdout + stderr;
1681
1681
  const looksInteractive = /\? .+[›>]|y\/n|yes\/no|\(Y\/n\)|\[y\/N\]/i.test(combined);
1682
- const hint = looksInteractive ? " The command appears to be waiting for interactive input. Use non-interactive flags (e.g., --yes, --no-input) or provide input via the stdin parameter." : "";
1682
+ const hint = looksInteractive ? " The command appears to be waiting for interactive input. Use non-interactive flags (e.g., --yes, --no-input) or provide input via the stdin parameter." : ` To run longer, retry with a higher timeout parameter (e.g. timeout: ${Math.min(timeout2 * 10, 6e5)} for ${Math.min(timeout2 * 10, 6e5) / 1e3}s). Or use background_run to run in the background and check with task_output later.`;
1683
1683
  doResolve({
1684
1684
  success: false,
1685
1685
  output: stdout,
@@ -1704,7 +1704,7 @@ ${stderr}` : ""),
1704
1704
  if (killed) {
1705
1705
  const combined = stdout + stderr;
1706
1706
  const looksInteractive = /\? .+[›>]|y\/n|yes\/no|\(Y\/n\)|\[y\/N\]/i.test(combined);
1707
- const hint = looksInteractive ? " The command appears to be waiting for interactive input. Use non-interactive flags (e.g., --yes, --no-input) or provide input via the stdin parameter." : "";
1707
+ const hint = looksInteractive ? " The command appears to be waiting for interactive input. Use non-interactive flags (e.g., --yes, --no-input) or provide input via the stdin parameter." : ` To run longer, retry with a higher timeout parameter (e.g. timeout: ${Math.min(timeout2 * 10, 6e5)} for ${Math.min(timeout2 * 10, 6e5) / 1e3}s). Or use background_run to run in the background and check with task_output later.`;
1708
1708
  doResolve({
1709
1709
  success: false,
1710
1710
  output: stdout,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.243",
3
+ "version": "0.187.245",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",