@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.
Files changed (29) hide show
  1. package/README.md +1 -1
  2. package/dist/command-manifest.js +13 -1
  3. package/dist/index.js +337 -40
  4. package/node_modules/@oxygen/formula/dist/expression.d.ts +21 -0
  5. package/node_modules/@oxygen/formula/dist/expression.js +42 -1
  6. package/node_modules/@oxygen/formula/dist/formula-functions.d.ts +1 -1
  7. package/node_modules/@oxygen/formula/dist/formula-functions.js +10 -1
  8. package/node_modules/@oxygen/shared/dist/billing.d.ts +17 -0
  9. package/node_modules/@oxygen/shared/dist/billing.js +20 -0
  10. package/node_modules/@oxygen/shared/dist/capability-discovery.js +12 -7
  11. package/node_modules/@oxygen/shared/dist/copilot-errors.d.ts +1 -0
  12. package/node_modules/@oxygen/shared/dist/copilot-errors.js +9 -0
  13. package/node_modules/@oxygen/shared/dist/copilot-plan.d.ts +39 -0
  14. package/node_modules/@oxygen/shared/dist/copilot-plan.js +76 -7
  15. package/node_modules/@oxygen/shared/dist/langfuse.d.ts +36 -0
  16. package/node_modules/@oxygen/shared/dist/langfuse.js +83 -0
  17. package/node_modules/@oxygen/shared/dist/linkedin-quota-denial.d.ts +1 -1
  18. package/node_modules/@oxygen/shared/dist/linkedin-quota-denial.js +16 -5
  19. package/node_modules/@oxygen/shared/dist/linkedin-url.d.ts +22 -0
  20. package/node_modules/@oxygen/shared/dist/linkedin-url.js +104 -0
  21. package/node_modules/@oxygen/shared/dist/provider-funding-errors.d.ts +16 -2
  22. package/node_modules/@oxygen/shared/dist/provider-funding-errors.js +19 -9
  23. package/node_modules/@oxygen/shared/dist/table-limits.d.ts +18 -0
  24. package/node_modules/@oxygen/shared/dist/table-limits.js +18 -0
  25. package/node_modules/@oxygen/shared/dist/user-capability-routing.js +23 -2
  26. package/node_modules/@oxygen/shared/dist/version.d.ts +1 -1
  27. package/node_modules/@oxygen/shared/dist/version.js +1 -1
  28. package/node_modules/@oxygen/shared/package.json +10 -0
  29. package/package.json +2 -1
package/README.md CHANGED
@@ -34,4 +34,4 @@ oxygen update
34
34
 
35
35
  For product documentation, visit https://oxygen-agent.com/docs. For support, visit https://oxygen-agent.com.
36
36
 
37
- Version: 1.906.0
37
+ Version: 1.922.12
@@ -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
- && (MUTATING_VERBS.has(leafVerb) || MUTATING_VERBS.has(verbPrefix)),
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")),