@oxygen-agent/cli 1.700.10 → 1.717.9
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/help.js +2 -0
- package/dist/http-client.js +11 -1
- package/dist/index.js +523 -85
- package/dist/transcript.js +2 -2
- package/node_modules/@oxygen/recipe-sdk/dist/index.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/billing.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/billing.js +7 -6
- package/node_modules/@oxygen/shared/dist/dnc-identities.d.ts +53 -0
- package/node_modules/@oxygen/shared/dist/dnc-identities.js +175 -0
- package/node_modules/@oxygen/shared/dist/file-import.d.ts +36 -1
- package/node_modules/@oxygen/shared/dist/file-import.js +80 -1
- package/node_modules/@oxygen/shared/dist/image-sniff.d.ts +39 -0
- package/node_modules/@oxygen/shared/dist/image-sniff.js +75 -0
- package/node_modules/@oxygen/shared/dist/import-limits.d.ts +28 -0
- package/node_modules/@oxygen/shared/dist/import-limits.js +30 -0
- package/node_modules/@oxygen/shared/dist/index.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/index.js +2 -0
- package/node_modules/@oxygen/shared/dist/mailbox-import.d.ts +10 -4
- package/node_modules/@oxygen/shared/dist/mailbox-import.js +18 -10
- package/node_modules/@oxygen/shared/dist/member-columns.d.ts +64 -0
- package/node_modules/@oxygen/shared/dist/member-columns.js +111 -0
- package/node_modules/@oxygen/shared/dist/object-storage.d.ts +65 -0
- package/node_modules/@oxygen/shared/dist/object-storage.js +100 -0
- package/node_modules/@oxygen/shared/dist/plan-limits.d.ts +2 -1
- package/node_modules/@oxygen/shared/dist/plan-limits.js +12 -2
- package/node_modules/@oxygen/shared/dist/spend-safety.d.ts +9 -0
- package/node_modules/@oxygen/shared/dist/spend-safety.js +10 -0
- 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 +20 -0
- package/node_modules/@oxygen/workflows/dist/graph/lint.js +79 -11
- package/node_modules/@oxygen/workflows/dist/graph/manifest-schema.d.ts +679 -0
- package/node_modules/@oxygen/workflows/dist/graph/manifest-schema.js +80 -1
- package/node_modules/@oxygen/workflows/dist/graph/remap.js +8 -1
- package/node_modules/@oxygen/workflows/dist/graph/types.d.ts +72 -3
- package/node_modules/@oxygen/workflows/dist/graph/types.js +12 -0
- package/node_modules/@oxygen/workflows/dist/index.d.ts +16 -0
- package/node_modules/@oxygen/workflows/dist/index.js +45 -3
- package/node_modules/@oxygen/workflows/dist/portable.d.ts +43 -0
- package/node_modules/@oxygen/workflows/dist/portable.js +319 -0
- package/node_modules/@oxygen/workflows/dist/usage-estimate.js +18 -4
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/help.js
CHANGED
|
@@ -138,7 +138,9 @@ export function applyOxygenHelp(program, binaryName) {
|
|
|
138
138
|
` 2. ${binaryName} skills install --json load the skills that teach the GTM loops (automatic after login)`,
|
|
139
139
|
` 3. ${binaryName} context resolve --json load workspace context before operating primitives`,
|
|
140
140
|
` 4. ${binaryName} capabilities search "<goal>" --json route the goal, then hydrate one exact command`,
|
|
141
|
+
` Provider inventory: ${binaryName} tools search <brand> --json, then ${binaryName} tools search --provider <provider-id> --all --json (Blitz uses blitzapi).`,
|
|
141
142
|
` Recurring monitors: use a shareable Blueprint; start with ${binaryName} blueprints list --json.`,
|
|
143
|
+
" Docs: https://oxygen-agent.com/docs",
|
|
142
144
|
"",
|
|
143
145
|
"Conventions:",
|
|
144
146
|
" --json prints a stable envelope {ok, data|error, meta}; errors always print it.",
|
package/dist/http-client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OXYGEN_VERSION, OxygenError, isCliResult, isVersionGreater, readEnvelopeCompatibility, vercelProtectionBypassHeaders, withRetryAfterDetails, } from "@oxygen/shared";
|
|
1
|
+
import { OXYGEN_VERSION, OxygenError, isCliResult, isVersionGreater, parseSemver, readEnvelopeCompatibility, vercelProtectionBypassHeaders, withRetryAfterDetails, } from "@oxygen/shared";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { defaultApiUrl, loadCredentialsWithEndpoint } from "./credentials.js";
|
|
4
4
|
import { assertResolvedApiUrl, cliEndpointDetails, describeCliEndpoint, isProdApiUrl, resolveCliUpdateGuidance, } from "./runtime.js";
|
|
@@ -197,6 +197,8 @@ function warnIfCliIsOlderThanApi(serverVersion, endpoint) {
|
|
|
197
197
|
return;
|
|
198
198
|
if (!isVersionGreater(serverVersion, OXYGEN_VERSION))
|
|
199
199
|
return;
|
|
200
|
+
if (isPatchOnlyVersionSkew(serverVersion, OXYGEN_VERSION))
|
|
201
|
+
return;
|
|
200
202
|
const guidance = resolveCliUpdateGuidance(endpoint);
|
|
201
203
|
const warningKey = `${serverVersion}|${guidance.channel}|${guidance.binaryName}`;
|
|
202
204
|
if (staleCliWarningVersions.has(warningKey))
|
|
@@ -205,6 +207,14 @@ function warnIfCliIsOlderThanApi(serverVersion, endpoint) {
|
|
|
205
207
|
process.stderr.write(`[${guidance.binaryName}] CLI version ${OXYGEN_VERSION} is older than Oxygen API version ${serverVersion}. `
|
|
206
208
|
+ `${guidance.warningInstruction}\n`);
|
|
207
209
|
}
|
|
210
|
+
function isPatchOnlyVersionSkew(serverVersion, clientVersion) {
|
|
211
|
+
const server = parseSemver(serverVersion);
|
|
212
|
+
const client = parseSemver(clientVersion);
|
|
213
|
+
return Boolean(server
|
|
214
|
+
&& client
|
|
215
|
+
&& server.major === client.major
|
|
216
|
+
&& server.minor === client.minor);
|
|
217
|
+
}
|
|
208
218
|
function assertCliMeetsMinimumApiVersion(compatibility, options, endpoint) {
|
|
209
219
|
if (options.enforceMinimumCliVersion === false)
|
|
210
220
|
return;
|