@oxygen-agent/cli 1.906.0 → 1.922.12
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 +13 -1
- package/dist/index.js +337 -40
- package/node_modules/@oxygen/formula/dist/expression.d.ts +21 -0
- package/node_modules/@oxygen/formula/dist/expression.js +42 -1
- package/node_modules/@oxygen/formula/dist/formula-functions.d.ts +1 -1
- package/node_modules/@oxygen/formula/dist/formula-functions.js +10 -1
- package/node_modules/@oxygen/shared/dist/billing.d.ts +17 -0
- package/node_modules/@oxygen/shared/dist/billing.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery.js +12 -7
- package/node_modules/@oxygen/shared/dist/copilot-errors.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/copilot-errors.js +9 -0
- package/node_modules/@oxygen/shared/dist/copilot-plan.d.ts +39 -0
- package/node_modules/@oxygen/shared/dist/copilot-plan.js +76 -7
- package/node_modules/@oxygen/shared/dist/langfuse.d.ts +36 -0
- package/node_modules/@oxygen/shared/dist/langfuse.js +83 -0
- package/node_modules/@oxygen/shared/dist/linkedin-quota-denial.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/linkedin-quota-denial.js +16 -5
- package/node_modules/@oxygen/shared/dist/linkedin-url.d.ts +22 -0
- package/node_modules/@oxygen/shared/dist/linkedin-url.js +104 -0
- package/node_modules/@oxygen/shared/dist/provider-funding-errors.d.ts +16 -2
- package/node_modules/@oxygen/shared/dist/provider-funding-errors.js +19 -9
- package/node_modules/@oxygen/shared/dist/table-limits.d.ts +18 -0
- package/node_modules/@oxygen/shared/dist/table-limits.js +18 -0
- package/node_modules/@oxygen/shared/dist/user-capability-routing.js +23 -2
- package/node_modules/@oxygen/shared/dist/version.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/version.js +1 -1
- package/node_modules/@oxygen/shared/package.json +10 -0
- package/package.json +2 -1
package/README.md
CHANGED
package/dist/command-manifest.js
CHANGED
|
@@ -36,6 +36,9 @@ const MUTATING_VERBS = new Set([
|
|
|
36
36
|
// recurring write, and --run can connect newly eligible mailboxes immediately.
|
|
37
37
|
"auto-enroll",
|
|
38
38
|
"backfill",
|
|
39
|
+
// A noun leaf, so the default would advertise `projects color` — a tenant
|
|
40
|
+
// write — to every agent as a read. `decide` is the same case.
|
|
41
|
+
"color",
|
|
39
42
|
// Exact leaves, not the `billing` prefix — `orgs billing-owners` is a read.
|
|
40
43
|
// Both move a workspace's billing owner, so an agent must treat them as writes.
|
|
41
44
|
"billing-link", "billing-unlink",
|
|
@@ -72,6 +75,13 @@ const MUTATING_VERBS = new Set([
|
|
|
72
75
|
"unbind", "unsubscribe", "update", "upload", "upsert", "use", "warm-send", "warmup",
|
|
73
76
|
"withdraw", "write",
|
|
74
77
|
]);
|
|
78
|
+
// Exact commands that must not inherit a read-only discovery label. Warmup
|
|
79
|
+
// status persists state and can pause the provider; reconnect replaces its
|
|
80
|
+
// connection and can restart provider history. Other status commands are reads.
|
|
81
|
+
const MUTATING_COMMANDS = new Set([
|
|
82
|
+
"mailboxes warmup status",
|
|
83
|
+
"mailboxes warmup reconnect",
|
|
84
|
+
]);
|
|
75
85
|
// `--approved` usually identifies a paid or externally mutating execution
|
|
76
86
|
// mode, but a small number of destructive local operations are explicitly
|
|
77
87
|
// zero-credit. Keep those exceptions exact so discovery never invents spend.
|
|
@@ -271,7 +281,9 @@ function toManifestEntry(command, path) {
|
|
|
271
281
|
(path[0] === "copilot" &&
|
|
272
282
|
(leafVerb === "send" || leafVerb === "approve"))),
|
|
273
283
|
mutates: !READ_ONLY_COMMANDS.has(commandName)
|
|
274
|
-
&& (
|
|
284
|
+
&& (MUTATING_COMMANDS.has(commandName)
|
|
285
|
+
|| MUTATING_VERBS.has(leafVerb)
|
|
286
|
+
|| MUTATING_VERBS.has(verbPrefix)),
|
|
275
287
|
preview_by_default: flagStrings.some((flags) => flags.includes("--live")) ||
|
|
276
288
|
PREVIEW_BY_DEFAULT_COMMANDS.has(commandName),
|
|
277
289
|
json_supported: flagStrings.some((flags) => flags.includes("--json")),
|