@oxygen-agent/cli 1.886.3 → 1.887.5
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
package/dist/command-manifest.js
CHANGED
|
@@ -50,7 +50,7 @@ const MUTATING_VERBS = new Set([
|
|
|
50
50
|
"migrate",
|
|
51
51
|
"move", "note", "off", "onboard", "order", "pause", "pin", "priority", "provision",
|
|
52
52
|
"publish", "purchase", "purge", "push", "react", "reconcile", "record", "recover-pending",
|
|
53
|
-
"register", "reject", "relink", "remove", "rename", "reorder", "reply", "request",
|
|
53
|
+
"recover-capacity", "register", "reject", "relink", "remove", "rename", "reorder", "reply", "request",
|
|
54
54
|
"replay", "rerun", "rescan", "resend", "reset", "resolve", "restore", "resume",
|
|
55
55
|
"retry", "retype", "revoke", "rotate", "run", "save", "schedule",
|
|
56
56
|
"seed", "select", "send", "set", "setup", "share", "snooze", "solve",
|
|
@@ -67,6 +67,9 @@ const MUTATING_VERBS = new Set([
|
|
|
67
67
|
// zero-credit. Keep those exceptions exact so discovery never invents spend.
|
|
68
68
|
const ZERO_CREDIT_APPROVAL_COMMANDS = new Set([
|
|
69
69
|
"mailboxes delete",
|
|
70
|
+
// This approval only reopens exact fingerprint-bound tenant rows. It never
|
|
71
|
+
// calls the provider, dispatches an action, or touches the credit ledger.
|
|
72
|
+
"sequences recover-capacity",
|
|
70
73
|
// Credential replacement is destructive but does not execute the graph,
|
|
71
74
|
// call a provider, or spend Oxygen credits.
|
|
72
75
|
"workflows webhooks rotate",
|
|
@@ -89,6 +92,7 @@ const PREVIEW_BY_DEFAULT_COMMANDS = new Set([
|
|
|
89
92
|
"linkedin intent autoenroll",
|
|
90
93
|
"mailboxes emailguard auto-enroll",
|
|
91
94
|
"mailboxes delete",
|
|
95
|
+
"sequences recover-capacity",
|
|
92
96
|
"support admin done",
|
|
93
97
|
"support admin reply",
|
|
94
98
|
// A bare call reads the Plain workspace and prints the plan; --apply writes.
|
package/dist/index.js
CHANGED
|
@@ -12683,7 +12683,7 @@ fixed scan; watermark_cursor starts a later bounded replay. Consumers must retai
|
|
|
12683
12683
|
}));
|
|
12684
12684
|
}))
|
|
12685
12685
|
.addCommand(new Command("delete")
|
|
12686
|
-
.description("Permanently delete a sequence and everything it owns (enrollments, actions, sender links, schedules).
|
|
12686
|
+
.description("Permanently delete a sequence and everything it owns (enrollments, actions, sender links, schedules). To stop dispatch without deleting, use `sequences pause`; active sequences must be paused first. Runs without --approved to preview the blast radius; pass --approved to purge. The current CLI does not create new archived sequences; legacy archived sequences remain readable and taggable.")
|
|
12687
12687
|
.argument("<sequence>", "Sequence id or slug.")
|
|
12688
12688
|
.option("--approved", "Confirm the previewed permanent deletion.")
|
|
12689
12689
|
.option("--json", "Print a JSON envelope.")
|
|
@@ -12787,6 +12787,38 @@ fixed scan; watermark_cursor starts a later bounded replay. Consumers must retai
|
|
|
12787
12787
|
: {}),
|
|
12788
12788
|
},
|
|
12789
12789
|
}));
|
|
12790
|
+
}))
|
|
12791
|
+
.addCommand(new Command("recover-capacity")
|
|
12792
|
+
.description("Preview definitive no-effect terminal provider-capacity failures, or recover the exact signed scope on a PAUSED Sequence. Recovery only restores local action/enrollment state; it never sends, calls a provider, spends credits, or resumes dispatch.")
|
|
12793
|
+
.argument("<sequence>", "Sequence id or slug. Preview may run while active; apply requires paused.")
|
|
12794
|
+
.option("--limit <n>", "Maximum capacity-failure rows to inspect (1-5000, default 500). A truncated preview cannot be approved.")
|
|
12795
|
+
.option("--approval-token <token>", "Exact unexpired token returned by the preview.")
|
|
12796
|
+
.option("--approved", "Apply the exact signed scope. Requires --approval-token; the Sequence remains paused.")
|
|
12797
|
+
.option("--json", "Print a JSON envelope.")
|
|
12798
|
+
.action(async (sequence, options) => {
|
|
12799
|
+
await handleAsyncAction("sequences recover-capacity", options, () => {
|
|
12800
|
+
const approvalToken = readOption(options.approvalToken);
|
|
12801
|
+
if (options.approved === true && !approvalToken) {
|
|
12802
|
+
throw new Error("--approval-token is required with --approved.");
|
|
12803
|
+
}
|
|
12804
|
+
if (options.approved !== true && approvalToken) {
|
|
12805
|
+
throw new Error("--approval-token may only be used with --approved.");
|
|
12806
|
+
}
|
|
12807
|
+
const limit = readOption(options.limit)
|
|
12808
|
+
? readPositiveInt(options.limit)
|
|
12809
|
+
: undefined;
|
|
12810
|
+
if (limit !== undefined && limit > 5_000) {
|
|
12811
|
+
throw new Error("--limit must be between 1 and 5000.");
|
|
12812
|
+
}
|
|
12813
|
+
return requestOxygen(`/api/cli/sequences/${encodeURIComponent(sequence)}/recover-capacity`, {
|
|
12814
|
+
method: "POST",
|
|
12815
|
+
body: {
|
|
12816
|
+
approved: options.approved === true,
|
|
12817
|
+
...(approvalToken ? { approval_token: approvalToken } : {}),
|
|
12818
|
+
...(limit === undefined ? {} : { limit }),
|
|
12819
|
+
},
|
|
12820
|
+
});
|
|
12821
|
+
});
|
|
12790
12822
|
}))
|
|
12791
12823
|
.addCommand(new Command("stats")
|
|
12792
12824
|
.description("Show the sequence funnel: enrolled, invites sent, connected, replied, with acceptance and reply rates.")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const OXYGEN_VERSION = "1.
|
|
1
|
+
export declare const OXYGEN_VERSION = "1.887.5";
|
|
2
2
|
export declare const OXYGEN_MINIMUM_CLI_VERSION = "1.181.0";
|
|
3
3
|
export declare const MANAGED_INBOX_MINIMUM_CLI_VERSION = "1.326.2";
|
|
4
4
|
export declare const SUPPORT_AGENT_REPLY_MINIMUM_CLI_VERSION = "1.747.0";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const OXYGEN_VERSION = "1.
|
|
1
|
+
export const OXYGEN_VERSION = "1.887.5";
|
|
2
2
|
// The GLOBAL CLI compatibility floor: the oldest CLI allowed to call any
|
|
3
3
|
// operational route. Raising it hard-rejects every older CLI from the entire
|
|
4
4
|
// product, so it obeys one law, enforced by scripts/ci/cli-min-version-gate.mjs:
|