@oxygen-agent/cli 1.894.0 → 1.917.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 +1 -1
- package/dist/command-manifest.js +11 -3
- package/dist/index.js +348 -43
- 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/capability-discovery.js +30 -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 +169 -0
- package/node_modules/@oxygen/shared/dist/copilot-plan.js +476 -0
- package/node_modules/@oxygen/shared/dist/dnc-identities.d.ts +10 -0
- package/node_modules/@oxygen/shared/dist/dnc-identities.js +23 -0
- package/node_modules/@oxygen/shared/dist/egress-transport-readiness.d.ts +60 -0
- package/node_modules/@oxygen/shared/dist/egress-transport-readiness.js +67 -0
- package/node_modules/@oxygen/shared/dist/index.d.ts +3 -0
- package/node_modules/@oxygen/shared/dist/index.js +3 -0
- package/node_modules/@oxygen/shared/dist/langfuse.d.ts +93 -5
- package/node_modules/@oxygen/shared/dist/langfuse.js +326 -42
- 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/product-briefing-rules.d.ts +58 -0
- package/node_modules/@oxygen/shared/dist/product-briefing-rules.js +291 -0
- package/node_modules/@oxygen/shared/dist/product-doctrine.d.ts +11 -0
- package/node_modules/@oxygen/shared/dist/product-doctrine.js +70 -0
- package/node_modules/@oxygen/shared/dist/sequences.d.ts +18 -11
- package/node_modules/@oxygen/shared/dist/sequences.js +47 -13
- 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 +5 -2
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",
|
|
@@ -76,6 +79,10 @@ const MUTATING_VERBS = new Set([
|
|
|
76
79
|
// mode, but a small number of destructive local operations are explicitly
|
|
77
80
|
// zero-credit. Keep those exceptions exact so discovery never invents spend.
|
|
78
81
|
const ZERO_CREDIT_APPROVAL_COMMANDS = new Set([
|
|
82
|
+
// Starting an attended session itself is free. This legacy compatibility
|
|
83
|
+
// flag neither authorizes nor caps later inference; only `copilot send` can
|
|
84
|
+
// trigger the billed model loop.
|
|
85
|
+
"copilot start",
|
|
79
86
|
"mailboxes delete",
|
|
80
87
|
// This approval only reopens exact fingerprint-bound tenant rows. It never
|
|
81
88
|
// calls the provider, dispatches an action, or touches the credit ledger.
|
|
@@ -255,10 +262,11 @@ function toManifestEntry(command, path) {
|
|
|
255
262
|
spends_credits: !ZERO_CREDIT_APPROVAL_COMMANDS.has(commandName) &&
|
|
256
263
|
(flagStrings.some((flags) => flags.includes("--approved") ||
|
|
257
264
|
flags.includes("--max-credits") ||
|
|
258
|
-
// Copilot
|
|
265
|
+
// Legacy Copilot compatibility plus any future explicit budget flag.
|
|
266
|
+
// `copilot start` is excluded above because session creation is free.
|
|
259
267
|
flags.includes("--budget-credits")) ||
|
|
260
|
-
// `copilot send` bills managed inference (5x actual model cost)
|
|
261
|
-
//
|
|
268
|
+
// `copilot send` bills managed inference (5x actual model cost), and
|
|
269
|
+
// `copilot approve`
|
|
262
270
|
// dispatches the gated paid/external capability and requeues the paused
|
|
263
271
|
// turn (waking the worker for more 5x-billed inference) — no per-command
|
|
264
272
|
// cap flag exists for either, so the flag heuristic alone would misreport
|