@oxygen-agent/cli 1.696.2 → 1.717.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.
Files changed (44) hide show
  1. package/README.md +1 -1
  2. package/dist/help.js +2 -0
  3. package/dist/http-client.js +11 -1
  4. package/dist/index.js +524 -86
  5. package/dist/transcript.js +2 -2
  6. package/node_modules/@oxygen/recipe-sdk/dist/index.d.ts +4 -0
  7. package/node_modules/@oxygen/shared/dist/billing.d.ts +1 -1
  8. package/node_modules/@oxygen/shared/dist/billing.js +7 -6
  9. package/node_modules/@oxygen/shared/dist/dnc-identities.d.ts +53 -0
  10. package/node_modules/@oxygen/shared/dist/dnc-identities.js +175 -0
  11. package/node_modules/@oxygen/shared/dist/file-import.d.ts +36 -1
  12. package/node_modules/@oxygen/shared/dist/file-import.js +80 -1
  13. package/node_modules/@oxygen/shared/dist/image-sniff.d.ts +39 -0
  14. package/node_modules/@oxygen/shared/dist/image-sniff.js +75 -0
  15. package/node_modules/@oxygen/shared/dist/import-limits.d.ts +28 -0
  16. package/node_modules/@oxygen/shared/dist/import-limits.js +30 -0
  17. package/node_modules/@oxygen/shared/dist/index.d.ts +2 -0
  18. package/node_modules/@oxygen/shared/dist/index.js +2 -0
  19. package/node_modules/@oxygen/shared/dist/mailbox-import.d.ts +10 -4
  20. package/node_modules/@oxygen/shared/dist/mailbox-import.js +18 -10
  21. package/node_modules/@oxygen/shared/dist/member-columns.d.ts +64 -0
  22. package/node_modules/@oxygen/shared/dist/member-columns.js +111 -0
  23. package/node_modules/@oxygen/shared/dist/microsoft-consent-url.js +1 -1
  24. package/node_modules/@oxygen/shared/dist/object-storage.d.ts +65 -0
  25. package/node_modules/@oxygen/shared/dist/object-storage.js +100 -0
  26. package/node_modules/@oxygen/shared/dist/plan-limits.d.ts +2 -1
  27. package/node_modules/@oxygen/shared/dist/plan-limits.js +12 -2
  28. package/node_modules/@oxygen/shared/dist/spend-safety.d.ts +9 -0
  29. package/node_modules/@oxygen/shared/dist/spend-safety.js +10 -0
  30. package/node_modules/@oxygen/shared/dist/version.d.ts +1 -1
  31. package/node_modules/@oxygen/shared/dist/version.js +1 -1
  32. package/node_modules/@oxygen/shared/package.json +20 -0
  33. package/node_modules/@oxygen/workflows/dist/graph/lint.js +79 -11
  34. package/node_modules/@oxygen/workflows/dist/graph/manifest-schema.d.ts +679 -0
  35. package/node_modules/@oxygen/workflows/dist/graph/manifest-schema.js +80 -1
  36. package/node_modules/@oxygen/workflows/dist/graph/remap.js +8 -1
  37. package/node_modules/@oxygen/workflows/dist/graph/types.d.ts +72 -3
  38. package/node_modules/@oxygen/workflows/dist/graph/types.js +12 -0
  39. package/node_modules/@oxygen/workflows/dist/index.d.ts +16 -0
  40. package/node_modules/@oxygen/workflows/dist/index.js +45 -3
  41. package/node_modules/@oxygen/workflows/dist/portable.d.ts +43 -0
  42. package/node_modules/@oxygen/workflows/dist/portable.js +319 -0
  43. package/node_modules/@oxygen/workflows/dist/usage-estimate.js +18 -4
  44. package/package.json +1 -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.696.2
37
+ Version: 1.717.1
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.",
@@ -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;