@holon-run/agentinbox 1.3.2 → 1.3.3

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/src/cli.js +4 -4
  2. package/package.json +1 -1
package/dist/src/cli.js CHANGED
@@ -794,12 +794,12 @@ async function main() {
794
794
  }
795
795
  if (command === "inbox" && normalized[1] === "ack") {
796
796
  const args = normalized.slice(2);
797
- const itemId = takeFlagValue(normalized, "--entry");
797
+ const itemId = takeFlagValue(normalized, "--entry-id") ?? takeFlagValue(normalized, "--entry");
798
798
  const throughEntryId = takeFlagValue(normalized, "--through");
799
799
  const ackAll = hasFlag(normalized, "--all");
800
800
  const modeCount = Number(Boolean(itemId)) + Number(Boolean(throughEntryId)) + Number(ackAll);
801
- if (positionalArgs(args, ["--agent-id", "--entry", "--through"]).length > 0 || modeCount !== 1) {
802
- throw new Error("usage: agentinbox inbox ack [--agent-id ID] (--through <entryId> | --entry <entryId> | --all)");
801
+ if (positionalArgs(args, ["--agent-id", "--entry", "--entry-id", "--through"]).length > 0 || modeCount !== 1) {
802
+ throw new Error("usage: agentinbox inbox ack [--agent-id ID] (--through <entryId> | --entry <entryId> | --entry-id <entryId> | --all)");
803
803
  }
804
804
  const selection = await selectAgentForCommand(client, {
805
805
  explicitAgentId: takeFlagValue(normalized, "--agent-id"),
@@ -1571,7 +1571,7 @@ Usage:
1571
1571
  agentinbox inbox read [--agent-id ID] [--after-entry ID] [--include-acked] [--limit N]
1572
1572
  agentinbox inbox send --agent-id ID --message TEXT [--sender SENDER]
1573
1573
  agentinbox inbox watch [--agent-id ID] [--after-entry ID] [--include-acked] [--heartbeat-ms N]
1574
- agentinbox inbox ack [--agent-id ID] (--through <entryId> | --entry <entryId> | --all)
1574
+ agentinbox inbox ack [--agent-id ID] (--through <entryId> | --entry <entryId> | --entry-id <entryId> | --all)
1575
1575
  agentinbox inbox policy show [--agent-id ID]
1576
1576
  agentinbox inbox policy set [--agent-id ID] [--enabled|--disabled] [--window-ms N] [--max-items N] [--max-thread-age-ms N]
1577
1577
  agentinbox inbox compact <agentId>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holon-run/agentinbox",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Local event subscription and delivery service for agents.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {