@livx.cc/agentx 0.99.167 → 0.99.168

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.
@@ -763,6 +763,10 @@ declare class Agent {
763
763
  /** Time a human-blocking await (a permission/plan prompt) and bank it in `parkedMs` so idle prompt
764
764
  * time never trips the wall-clock kill-switch. The agent did no work while parked on the user. */
765
765
  private park;
766
+ /** codex/*: Codex runs its own tools, so its approval requests (a command, a file change) go through the SAME hooks an
767
+ * agentx tool call does: permission policy (allow/deny/ask resolver -> live `waiting`/`denied`), plan mode. The wait
768
+ * holds the stall watchdog (a human may take minutes; Codex is silent meanwhile) and is parked out of the timeout. */
769
+ private codexApprove;
766
770
  /** Force the next `send()`/`run()` to rebuild the system prompt, tools, plan-mode and permission hooks
767
771
  * from `options` — apply mid-conversation changes to `planMode`/`permissions`/`model` etc. (prepare()
768
772
  * is otherwise memoized per conversation). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livx.cc/agentx",
3
- "version": "0.99.167",
3
+ "version": "0.99.168",
4
4
  "description": "Edge-native AI agent runtime — drives a virtual filesystem via any LLM (ai.libx.js). Same bytes run in node, browser, or edge.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -82,7 +82,7 @@
82
82
  "@bod.ee/db": "~2.14.3",
83
83
  "@livx.cc/mcp-jev": "^0.1.0",
84
84
  "@livx.cc/wcli": "^2.2.5",
85
- "ai.libx.js": "0.18.92",
85
+ "ai.libx.js": "0.18.94",
86
86
  "libx.js": "^6.3.0"
87
87
  },
88
88
  "devDependencies": {