agentbox-sdk 0.1.518 → 0.1.519

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/README.md CHANGED
@@ -711,7 +711,9 @@ events with `kind: "question"`. Respond with `decision: "allow"` and an `answers
711
711
  array containing each `questionId` and its selected or custom `values`, or use
712
712
  `decision: "deny"` to skip. Invalid answers leave the request pending for correction.
713
713
  Question answers cannot modify unrelated tool arguments. Ordinary tool requests
714
- use the same API without `answers`.
714
+ use the same API without `answers`. Denying a Codex command or file change sends
715
+ `decline`, so the agent can continue without that action. Stopping the whole run
716
+ is a separate operation (`run.abort()`).
715
717
 
716
718
  Codex can also ask without pausing (`request_user_input_async`): the app-server
717
719
  accepts the call itself and the turn keeps working. That ask is not a permission
@@ -15,7 +15,7 @@ import {
15
15
  parseHarnessCommandInvocation,
16
16
  resolveHarnessCommand,
17
17
  skillDirective
18
- } from "../chunk-YV3DQS6Z.js";
18
+ } from "../chunk-REVRD4IY.js";
19
19
  import "../chunk-V4M4LPPT.js";
20
20
  import {
21
21
  AGENT_RESERVED_PORTS,
@@ -4931,7 +4931,7 @@ function toCodexApprovalDecision(notification, response) {
4931
4931
  (part) => typeof part === "string"
4932
4932
  ) : [];
4933
4933
  if (response.decision === "deny") {
4934
- return availableDecisions.includes("decline") ? "decline" : "cancel";
4934
+ return "decline";
4935
4935
  }
4936
4936
  if (response.remember && availableDecisions.includes("acceptForSession")) {
4937
4937
  return "acceptForSession";
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  parseHarnessCommandInvocation,
16
16
  resolveHarnessCommand,
17
17
  skillDirective
18
- } from "./chunk-YV3DQS6Z.js";
18
+ } from "./chunk-REVRD4IY.js";
19
19
  import {
20
20
  ProviderLogAssembler,
21
21
  createNormalizedEvent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentbox-sdk",
3
- "version": "0.1.518",
3
+ "version": "0.1.519",
4
4
  "description": "Swappable coding agents and sandbox providers for Bun and TypeScript.",
5
5
  "license": "MIT",
6
6
  "repository": {