@oxygen-agent/cli 1.310.2 → 1.334.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.
- package/README.md +1 -1
- package/dist/command-manifest.js +26 -10
- package/dist/help.js +7 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2077 -134
- package/dist/runtime.js +13 -3
- package/dist/skills.js +192 -32
- package/node_modules/@oxygen/recipe-sdk/dist/index.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/billing.d.ts +52 -29
- package/node_modules/@oxygen/shared/dist/billing.js +77 -55
- package/node_modules/@oxygen/shared/dist/index.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/index.js +4 -0
- package/node_modules/@oxygen/shared/dist/pricing-sheet.d.ts +84 -0
- package/node_modules/@oxygen/shared/dist/pricing-sheet.js +82 -0
- package/node_modules/@oxygen/shared/dist/recipes.d.ts +19 -0
- package/node_modules/@oxygen/shared/dist/recipes.js +90 -0
- package/node_modules/@oxygen/shared/dist/sequences.d.ts +61 -15
- package/node_modules/@oxygen/shared/dist/sequences.js +134 -23
- package/node_modules/@oxygen/shared/dist/sql-error.d.ts +25 -0
- package/node_modules/@oxygen/shared/dist/sql-error.js +46 -0
- package/node_modules/@oxygen/shared/dist/version.d.ts +2 -2
- package/node_modules/@oxygen/shared/dist/version.js +13 -11
- package/node_modules/@oxygen/shared/dist/workflow-mcp-tools.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/workflow-mcp-tools.js +18 -0
- package/node_modules/@oxygen/shared/dist/workflow-status-change.d.ts +61 -0
- package/node_modules/@oxygen/shared/dist/workflow-status-change.js +124 -0
- package/node_modules/@oxygen/shared/dist/workspace-agents.d.ts +65 -0
- package/node_modules/@oxygen/shared/dist/workspace-agents.js +67 -0
- package/node_modules/@oxygen/workflows/dist/index.js +86 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/command-manifest.js
CHANGED
|
@@ -1,15 +1,31 @@
|
|
|
1
1
|
import { CLI_EXIT_CODE_TABLE, OXYGEN_VERSION } from "@oxygen/shared";
|
|
2
|
+
// Leaf verbs (or their hyphen-prefix) that name a state mutation, external
|
|
3
|
+
// write, or paid side effect. `mutates` is derived from this set (see
|
|
4
|
+
// toManifestEntry). It is hand-curated and cross-checked against the real leaf
|
|
5
|
+
// commands in `oxygen commands --json`: a verb belongs here only if every leaf
|
|
6
|
+
// command it matches is a genuine write. Verbs that also front a read are
|
|
7
|
+
// deliberately excluded so a read is never mislabeled — e.g. `repair`
|
|
8
|
+
// (→ `db repair-preview`) and `request` (→ `egress dedicated request`, a
|
|
9
|
+
// PREVIEW). Object nouns that front paid *reads* (`find company`, `find email`)
|
|
10
|
+
// stay out too: those are flagged by spends_credits, not mutates. When you add
|
|
11
|
+
// a leaf command, verify its verb here against the self-index before trusting
|
|
12
|
+
// the default.
|
|
2
13
|
const MUTATING_VERBS = new Set([
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
14
|
+
"accept", "ack", "add", "adopt", "apply", "approve", "archive",
|
|
15
|
+
"assign", "attach", "backfill", "buy", "call", "cancel", "clear",
|
|
16
|
+
"comment", "configure", "connect", "create", "delete", "delist", "disable",
|
|
17
|
+
"disconnect", "dispatch", "draft", "edit", "emit", "enable", "enroll",
|
|
18
|
+
"file", "grant", "harvest", "import", "insert", "invite", "launch",
|
|
19
|
+
"log", "login", "logout", "mark-read", "materialize", "merge", "migrate",
|
|
20
|
+
"move", "note", "onboard", "order", "pause", "pin", "provision",
|
|
21
|
+
"publish", "purchase", "purge", "push", "react", "record", "recover-pending",
|
|
22
|
+
"register", "reject", "relink", "remove", "rename", "reorder", "reply",
|
|
23
|
+
"rerun", "rescan", "resend", "reset", "resolve", "restore", "resume",
|
|
24
|
+
"retry", "retype", "revoke", "rotate", "run", "save", "schedule",
|
|
25
|
+
"seed", "select", "send", "set", "setup", "share", "solve",
|
|
26
|
+
"start", "stop", "subscribe", "sync", "synthesize", "unpublish", "unshare",
|
|
27
|
+
"unsubscribe", "update", "upload", "upsert", "use", "warm-send", "warmup",
|
|
28
|
+
"withdraw", "write",
|
|
13
29
|
]);
|
|
14
30
|
export function buildCommandManifest(program, binaryName) {
|
|
15
31
|
const commands = [];
|
package/dist/help.js
CHANGED
|
@@ -40,6 +40,13 @@ const HELP_GROUPS = [
|
|
|
40
40
|
"reviews",
|
|
41
41
|
],
|
|
42
42
|
},
|
|
43
|
+
{
|
|
44
|
+
// The built-in specialist agents (Control-layer Workspace Agent), grouped on
|
|
45
|
+
// their own so a fresh agent finds the roster surface next to the runs/approvals
|
|
46
|
+
// lenses it governs.
|
|
47
|
+
heading: "Workspace Agent:",
|
|
48
|
+
commands: ["agent"],
|
|
49
|
+
},
|
|
43
50
|
{
|
|
44
51
|
heading: "Automation, billing & admin:",
|
|
45
52
|
commands: [
|
package/dist/index.d.ts
CHANGED