@oxygen-agent/cli 1.936.1 → 1.948.1
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 +24 -2
- package/dist/help.js +1 -0
- package/dist/index.js +342 -54
- package/dist/ugc-commands.js +353 -12
- package/node_modules/@oxygen/shared/dist/byok-connect.d.ts +11 -6
- package/node_modules/@oxygen/shared/dist/byok-connect.js +14 -6
- package/node_modules/@oxygen/shared/dist/capability-discovery.js +53 -5
- package/node_modules/@oxygen/shared/dist/email-dsn.d.ts +60 -0
- package/node_modules/@oxygen/shared/dist/email-dsn.js +120 -0
- package/node_modules/@oxygen/shared/dist/email-warmup-readiness.d.ts +64 -0
- package/node_modules/@oxygen/shared/dist/email-warmup-readiness.js +90 -0
- package/node_modules/@oxygen/shared/dist/index.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/index.js +6 -0
- package/node_modules/@oxygen/shared/dist/knowledge-bootstrap.d.ts +50 -21
- package/node_modules/@oxygen/shared/dist/knowledge-bootstrap.js +47 -21
- package/node_modules/@oxygen/shared/dist/langfuse.d.ts +8 -3
- package/node_modules/@oxygen/shared/dist/langfuse.js +177 -130
- package/node_modules/@oxygen/shared/dist/llm-payload.d.ts +10 -0
- package/node_modules/@oxygen/shared/dist/llm-payload.js +54 -0
- package/node_modules/@oxygen/shared/dist/llm-usage.d.ts +11 -0
- package/node_modules/@oxygen/shared/dist/llm-usage.js +30 -0
- package/node_modules/@oxygen/shared/dist/product-analytics-core.d.ts +98 -0
- package/node_modules/@oxygen/shared/dist/product-analytics-core.js +159 -0
- package/node_modules/@oxygen/shared/dist/product-analytics-environment.d.ts +18 -0
- package/node_modules/@oxygen/shared/dist/product-analytics-environment.js +46 -0
- package/node_modules/@oxygen/shared/dist/product-analytics-events.d.ts +92 -0
- package/node_modules/@oxygen/shared/dist/product-analytics-events.js +96 -0
- package/node_modules/@oxygen/shared/dist/ugc.d.ts +21 -1
- 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/workflows/dist/graph/lint.js +22 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/command-manifest.js
CHANGED
|
@@ -84,9 +84,17 @@ const MUTATING_COMMANDS = new Set([
|
|
|
84
84
|
"mailboxes warmup reconnect",
|
|
85
85
|
]);
|
|
86
86
|
// `--approved` usually identifies a paid or externally mutating execution
|
|
87
|
-
// mode, but a small number of
|
|
87
|
+
// mode, but a small number of approved operations are explicitly
|
|
88
88
|
// zero-credit. Keep those exceptions exact so discovery never invents spend.
|
|
89
89
|
const ZERO_CREDIT_APPROVAL_COMMANDS = new Set([
|
|
90
|
+
"tables watcher preview",
|
|
91
|
+
// Creator invitation emails need exact send authorization but cost 0 credits.
|
|
92
|
+
"ugc creators invite",
|
|
93
|
+
"ugc creators send-invite",
|
|
94
|
+
// These approvals record an observed outcome or stop future renewal;
|
|
95
|
+
// neither operation buys a service or consumes Oxygen credits.
|
|
96
|
+
"ugc amplification reconcile",
|
|
97
|
+
"ugc sponsorship cancel",
|
|
90
98
|
// A Function binding stores a cap for future runs; creating it executes nothing.
|
|
91
99
|
"functions bind",
|
|
92
100
|
// Starting an attended session itself is free. This legacy compatibility
|
|
@@ -94,6 +102,9 @@ const ZERO_CREDIT_APPROVAL_COMMANDS = new Set([
|
|
|
94
102
|
// trigger the billed model loop.
|
|
95
103
|
"copilot start",
|
|
96
104
|
"mailboxes delete",
|
|
105
|
+
// Previews without --approved; with it, removes a program no creator ever
|
|
106
|
+
// joined. No provider call, no credits.
|
|
107
|
+
"ugc programs delete",
|
|
97
108
|
// This approval only reopens exact fingerprint-bound tenant rows. It never
|
|
98
109
|
// calls the provider, dispatches an action, or touches the credit ledger.
|
|
99
110
|
"sequences recover-capacity",
|
|
@@ -108,14 +119,25 @@ const ZERO_CREDIT_APPROVAL_COMMANDS = new Set([
|
|
|
108
119
|
// Exact noun-style reads whose leaf happens to look like a mutating verb.
|
|
109
120
|
// `workflows run <id>` gets an existing Workflow run; `workflows call` creates
|
|
110
121
|
// one. Keep the exception exact so genuine `run` actions remain mutations.
|
|
111
|
-
const READ_ONLY_COMMANDS = new Set([
|
|
122
|
+
const READ_ONLY_COMMANDS = new Set([
|
|
123
|
+
"workflows run",
|
|
124
|
+
// Inspect existing creator receipts; never generate or import again.
|
|
125
|
+
"ugc posts draft-status",
|
|
126
|
+
"ugc posts history",
|
|
127
|
+
]);
|
|
112
128
|
// Exact commands whose execution fence is not named `--live`. A bare
|
|
113
129
|
// invocation still previews, so machine-readable discovery must not imply that
|
|
114
130
|
// calling the command without its confirmation flag writes anything.
|
|
115
131
|
const PREVIEW_BY_DEFAULT_COMMANDS = new Set([
|
|
132
|
+
"tables watcher preview",
|
|
133
|
+
"ugc creators invite",
|
|
134
|
+
"ugc creators send-invite",
|
|
116
135
|
"ugc posts draft",
|
|
136
|
+
"ugc programs delete",
|
|
117
137
|
"ugc voice import",
|
|
118
138
|
"ugc sponsorship preview",
|
|
139
|
+
"ugc sponsorship cancel",
|
|
140
|
+
"ugc amplification reconcile",
|
|
119
141
|
// Fenced by --approved, not --live: a bare call resolves the sender, sequence,
|
|
120
142
|
// audience and caps and writes nothing. Without this entry discovery would tell
|
|
121
143
|
// an agent that previewing the play arms it, and the preview would go unrun.
|
package/dist/help.js
CHANGED
|
@@ -137,6 +137,7 @@ export function applyOxygenHelp(program, binaryName) {
|
|
|
137
137
|
// OXYGEN_API_KEY never runs it — without this step nothing on any
|
|
138
138
|
// first-touch surface names the skill that teaches the GTM loops.
|
|
139
139
|
` 2. ${binaryName} skills install --json load the skills that teach the GTM loops (automatic after login)`,
|
|
140
|
+
" Add --project to keep the skills inside the current project, including confined agent sessions.",
|
|
140
141
|
` 3. ${binaryName} context resolve --json load workspace context before operating primitives`,
|
|
141
142
|
` 4. ${binaryName} capabilities search "<goal>" --json route the goal, then hydrate one exact command`,
|
|
142
143
|
` 5. ${binaryName} recipes list --json choose a play from the Recipe catalog for your goal`,
|