@bunny-agent/runner-cli 0.9.59 → 0.9.60-beta.1

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/bundle.mjs +7 -4
  2. package/package.json +7 -7
package/dist/bundle.mjs CHANGED
@@ -24944,6 +24944,7 @@ function createPiRunner(options = {}) {
24944
24944
  regularTools = [...regularTools, ...builtinTools];
24945
24945
  }
24946
24946
  const gatedTools = gateToolsForApproval(regularTools, bypassApproval, approvalGate);
24947
+ const askUserQuestionEnabled = allowedTools === void 0 || allowedTools.includes(ASK_USER_QUESTION_TOOL_NAME);
24947
24948
  const { session } = await createAgentSession({
24948
24949
  cwd,
24949
24950
  model,
@@ -24954,10 +24955,12 @@ function createPiRunner(options = {}) {
24954
24955
  tools: allowedTools,
24955
24956
  customTools: [
24956
24957
  ...gatedTools,
24957
- buildAskUserQuestionTool({
24958
- ...approvalGate,
24959
- timeoutMs: options.askUserQuestionTimeoutMs ?? DEFAULT_ASK_USER_QUESTION_TIMEOUT_MS2
24960
- })
24958
+ ...askUserQuestionEnabled ? [
24959
+ buildAskUserQuestionTool({
24960
+ ...approvalGate,
24961
+ timeoutMs: options.askUserQuestionTimeoutMs ?? DEFAULT_ASK_USER_QUESTION_TIMEOUT_MS2
24962
+ })
24963
+ ] : []
24961
24964
  ]
24962
24965
  });
24963
24966
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bunny-agent/runner-cli",
3
- "version": "0.9.59",
3
+ "version": "0.9.60-beta.1",
4
4
  "description": "BunnyAgent Runner CLI - Like gemini-cli or claude-code, runs in your local terminal with AI SDK UI streaming",
5
5
  "type": "module",
6
6
  "bin": {
@@ -59,15 +59,15 @@
59
59
  "esbuild": "^0.27.2",
60
60
  "typescript": "^5.3.0",
61
61
  "vitest": "^1.6.1",
62
- "@bunny-agent/manager": "0.9.59",
63
62
  "@bunny-agent/apply-patch": "0.1.0",
64
- "@bunny-agent/runner-codex": "0.6.2",
65
- "@bunny-agent/runner-claude": "0.6.2",
63
+ "@bunny-agent/manager": "0.9.60-beta.1",
66
64
  "@bunny-agent/runner-copilot": "0.1.0",
67
- "@bunny-agent/runner-harness": "0.1.1-beta.0",
68
65
  "@bunny-agent/runner-gemini": "0.6.2",
69
- "@bunny-agent/runner-opencode": "0.6.2",
70
- "@bunny-agent/runner-pi": "0.6.4-beta.0"
66
+ "@bunny-agent/runner-harness": "0.1.1-beta.0",
67
+ "@bunny-agent/runner-claude": "0.6.2",
68
+ "@bunny-agent/runner-codex": "0.6.2",
69
+ "@bunny-agent/runner-pi": "0.6.4-beta.0",
70
+ "@bunny-agent/runner-opencode": "0.6.2"
71
71
  },
72
72
  "scripts": {
73
73
  "build": "tsc && pnpm bundle",