@oxygen-agent/cli 1.836.0 → 1.836.2
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/index.js
CHANGED
|
@@ -2929,6 +2929,22 @@ export function createProgram() {
|
|
|
2929
2929
|
method: "POST",
|
|
2930
2930
|
body: { action: "claim", as_machine_user: options.agent === true },
|
|
2931
2931
|
}));
|
|
2932
|
+
}))
|
|
2933
|
+
.addCommand(new Command("start")
|
|
2934
|
+
.description("Return a live Plain Thread to Todo / In progress when OXYGEN work remains after a reply, preserving its assignee (staff only).")
|
|
2935
|
+
.argument("<ticketId>", "Plain Thread ID (th_...).")
|
|
2936
|
+
.requiredOption("--agent", "Required safety declaration: reconcile this Thread's status as the Oxygen Support machine user.")
|
|
2937
|
+
.requiredOption("--confirm-message <messageId>", "Apply only while this is still the exact latest customer-visible conversation-head message ID.")
|
|
2938
|
+
.option("--json", "Print a JSON envelope.")
|
|
2939
|
+
.action(async (ticketId, options) => {
|
|
2940
|
+
await handleAsyncAction("support admin start", options, () => requestOxygen(`/api/cli/admin/support/tickets/${encodeURIComponent(ticketId)}/update`, {
|
|
2941
|
+
method: "POST",
|
|
2942
|
+
body: {
|
|
2943
|
+
action: "start",
|
|
2944
|
+
as_agent: true,
|
|
2945
|
+
confirm_message_id: readOption(options.confirmMessage),
|
|
2946
|
+
},
|
|
2947
|
+
}));
|
|
2932
2948
|
}))
|
|
2933
2949
|
.addCommand(new Command("priority")
|
|
2934
2950
|
.description("Set the native Plain priority for a live Thread (staff only).")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const OXYGEN_VERSION = "1.836.
|
|
1
|
+
export declare const OXYGEN_VERSION = "1.836.2";
|
|
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.836.
|
|
1
|
+
export const OXYGEN_VERSION = "1.836.2";
|
|
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:
|