@oxygen-agent/cli 1.1015.29 → 1.1017.21

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 (209) hide show
  1. package/README.md +1 -1
  2. package/dist/command-families/tables/automation.js +1 -1
  3. package/dist/command-families/tables/import-batches.js +1 -1
  4. package/dist/command-families/tables/import-values.js +1 -1
  5. package/dist/command-families/tables/register-reads.js +2 -2
  6. package/dist/command-manifest.js +9 -0
  7. package/dist/command-support.js +2 -2
  8. package/dist/commands/agent.js +2 -2
  9. package/dist/commands/billing.js +1 -1
  10. package/dist/commands/budget.js +1 -1
  11. package/dist/commands/columns.js +2 -2
  12. package/dist/commands/copilot.js +9 -3
  13. package/dist/commands/knowledge.js +3 -3
  14. package/dist/commands/table-runs.js +1 -1
  15. package/dist/commands/verify.js +1 -1
  16. package/dist/customer-operation-commands.js +1 -0
  17. package/dist/knowledge-mirror.js +1 -1
  18. package/dist/visual-commands.js +57 -8
  19. package/dist/workspace-skill-commands.d.ts +1 -1
  20. package/dist/workspace-skill-commands.js +1 -1
  21. package/node_modules/@oxygen/formula/dist/expression.d.ts +7 -0
  22. package/node_modules/@oxygen/formula/dist/expression.js +29 -1
  23. package/node_modules/@oxygen/formula/dist/formula-functions.d.ts +2 -0
  24. package/node_modules/@oxygen/formula/dist/formula-functions.js +6 -2
  25. package/node_modules/@oxygen/shared/dist/agents/reply-oxygent.js +1 -1
  26. package/node_modules/@oxygen/shared/dist/agents/sessions.js +2 -2
  27. package/node_modules/@oxygen/shared/dist/{billing.js → billing/billing.js} +4 -4
  28. package/node_modules/@oxygen/shared/dist/{credit-guidance.js → billing/credit-guidance.js} +1 -1
  29. package/node_modules/@oxygen/shared/dist/{billing-money.js → billing/money.js} +1 -1
  30. package/node_modules/@oxygen/shared/dist/{plan-band.d.ts → billing/plan-band.d.ts} +1 -1
  31. package/node_modules/@oxygen/shared/dist/{plan-band.js → billing/plan-band.js} +2 -2
  32. package/node_modules/@oxygen/shared/dist/{plan-limits.d.ts → billing/plan-limits.d.ts} +2 -2
  33. package/node_modules/@oxygen/shared/dist/{plan-limits.js → billing/plan-limits.js} +5 -5
  34. package/node_modules/@oxygen/shared/dist/{pricing-sheet.d.ts → billing/pricing-sheet.d.ts} +9 -9
  35. package/node_modules/@oxygen/shared/dist/{pricing-sheet.js → billing/pricing-sheet.js} +10 -10
  36. package/node_modules/@oxygen/shared/dist/{repricing.js → billing/repricing.js} +1 -1
  37. package/node_modules/@oxygen/shared/dist/{sending-seats.d.ts → billing/sending-seats.d.ts} +1 -1
  38. package/node_modules/@oxygen/shared/dist/{sending-seats.js → billing/sending-seats.js} +1 -1
  39. package/node_modules/@oxygen/shared/dist/capability-discovery.d.ts +2 -2
  40. package/node_modules/@oxygen/shared/dist/capability-discovery.js +3 -3
  41. package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.d.ts +1 -1
  42. package/node_modules/@oxygen/shared/dist/capability-intents/visual-rendering.rules.js +3 -2
  43. package/node_modules/@oxygen/shared/dist/capability-routes/visual-rendering.js +6 -6
  44. package/node_modules/@oxygen/shared/dist/contracts/browser-operations.js +1 -1
  45. package/node_modules/@oxygen/shared/dist/contracts/connectors.js +1 -1
  46. package/node_modules/@oxygen/shared/dist/contracts/copilot-sessions.d.ts +27 -0
  47. package/node_modules/@oxygen/shared/dist/contracts/copilot-sessions.js +13 -0
  48. package/node_modules/@oxygen/shared/dist/contracts/customer-operations.js +2 -1
  49. package/node_modules/@oxygen/shared/dist/contracts/knowledge-content-reads.js +1 -1
  50. package/node_modules/@oxygen/shared/dist/contracts/knowledge-proposal-reads.js +1 -1
  51. package/node_modules/@oxygen/shared/dist/contracts/limits-read.js +2 -2
  52. package/node_modules/@oxygen/shared/dist/contracts/table-query-raw.d.ts +10 -0
  53. package/node_modules/@oxygen/shared/dist/contracts/table-query-raw.js +15 -0
  54. package/node_modules/@oxygen/shared/dist/contracts/teammates.js +2 -2
  55. package/node_modules/@oxygen/shared/dist/{copilot-access.js → copilot/access.js} +2 -2
  56. package/node_modules/@oxygen/shared/dist/{copilot-journeys.js → copilot/journeys.js} +1 -1
  57. package/node_modules/@oxygen/shared/dist/{copilot-playbooks.d.ts → copilot/playbooks.d.ts} +1 -1
  58. package/node_modules/@oxygen/shared/dist/{copilot-playbooks.js → copilot/playbooks.js} +1 -1
  59. package/node_modules/@oxygen/shared/dist/copilot-journeys.generated.js +1 -1
  60. package/node_modules/@oxygen/shared/dist/copilot-playbooks.generated.js +1 -1
  61. package/node_modules/@oxygen/shared/dist/diagnostic-spool.js +10 -1
  62. package/node_modules/@oxygen/shared/dist/feature-gates.d.ts +2 -2
  63. package/node_modules/@oxygen/shared/dist/feature-gates.js +2 -2
  64. package/node_modules/@oxygen/shared/dist/hosted-ai.js +1 -1
  65. package/node_modules/@oxygen/shared/dist/index.d.ts +24 -24
  66. package/node_modules/@oxygen/shared/dist/index.js +24 -24
  67. package/node_modules/@oxygen/shared/dist/{knowledge-bases.js → knowledge/bases.js} +1 -1
  68. package/node_modules/@oxygen/shared/dist/{knowledge-bootstrap.d.ts → knowledge/bootstrap.d.ts} +8 -2
  69. package/node_modules/@oxygen/shared/dist/{knowledge-bootstrap.js → knowledge/bootstrap.js} +9 -3
  70. package/node_modules/@oxygen/shared/dist/{knowledge-links.js → knowledge/links.js} +1 -1
  71. package/node_modules/@oxygen/shared/dist/{knowledge-markdown.js → knowledge/markdown.js} +1 -1
  72. package/node_modules/@oxygen/shared/dist/{knowledge-repository.js → knowledge/repository.js} +1 -1
  73. package/node_modules/@oxygen/shared/dist/{knowledge-seed-content.d.ts → knowledge/seed-content.d.ts} +1 -1
  74. package/node_modules/@oxygen/shared/dist/{knowledge-vault-markdown.js → knowledge/vault-markdown.js} +1 -1
  75. package/node_modules/@oxygen/shared/dist/log-collapse.d.ts +1 -1
  76. package/node_modules/@oxygen/shared/dist/log-collapse.js +1 -1
  77. package/node_modules/@oxygen/shared/dist/mailboxes/freemail-domains.d.ts +1 -1
  78. package/node_modules/@oxygen/shared/dist/mailboxes/freemail-domains.js +1 -1
  79. package/node_modules/@oxygen/shared/dist/media-project.d.ts +34 -0
  80. package/node_modules/@oxygen/shared/dist/media-project.js +58 -0
  81. package/node_modules/@oxygen/shared/dist/onboarding/research.d.ts +25 -1
  82. package/node_modules/@oxygen/shared/dist/onboarding/research.js +27 -1
  83. package/node_modules/@oxygen/shared/dist/pricing-snapshot.generated.js +1 -1
  84. package/node_modules/@oxygen/shared/dist/{publishing-approval.js → publishing/approval.js} +1 -1
  85. package/node_modules/@oxygen/shared/dist/{skill-play-routing.js → recipes/skill-play-routing.js} +1 -1
  86. package/node_modules/@oxygen/shared/dist/{workspace-skills.js → recipes/workspace-skills.js} +2 -2
  87. package/node_modules/@oxygen/shared/dist/search-vocab.d.ts +1 -0
  88. package/node_modules/@oxygen/shared/dist/search-vocab.js +15 -2
  89. package/node_modules/@oxygen/shared/dist/sequences/linkedin-quota-denial.d.ts +1 -1
  90. package/node_modules/@oxygen/shared/dist/sequences/linkedin-quota-denial.js +1 -1
  91. package/node_modules/@oxygen/shared/dist/sequences/sending-limits.d.ts +1 -1
  92. package/node_modules/@oxygen/shared/dist/sequences/whatsapp-sender-limits.d.ts +1 -1
  93. package/node_modules/@oxygen/shared/dist/sequences/whatsapp-sender-limits.js +1 -1
  94. package/node_modules/@oxygen/shared/dist/{network-mining-approval.js → signals/network-mining-approval.js} +1 -1
  95. package/node_modules/@oxygen/shared/dist/{network-mining.js → signals/network-mining.js} +1 -1
  96. package/node_modules/@oxygen/shared/dist/skill-plays.generated.js +1 -1
  97. package/node_modules/@oxygen/shared/dist/spend-safety.d.ts +4 -4
  98. package/node_modules/@oxygen/shared/dist/spend-safety.js +1 -1
  99. package/node_modules/@oxygen/shared/dist/tables/capacity.d.ts +2 -2
  100. package/node_modules/@oxygen/shared/dist/tables/capacity.js +1 -1
  101. package/node_modules/@oxygen/shared/dist/{cell-format.js → tables/cell-format.js} +2 -2
  102. package/node_modules/@oxygen/shared/dist/{column-autofill.js → tables/column-autofill.js} +1 -1
  103. package/node_modules/@oxygen/shared/dist/tables/column-output-fields.js +1 -1
  104. package/node_modules/@oxygen/shared/dist/tables/company-enrichment-fields.js +1 -1
  105. package/node_modules/@oxygen/shared/dist/tables/enrichment-intents.d.ts +1 -1
  106. package/node_modules/@oxygen/shared/dist/tables/enrichment-intents.js +1 -1
  107. package/node_modules/@oxygen/shared/dist/{table-field-types.d.ts → tables/field-types.d.ts} +1 -1
  108. package/node_modules/@oxygen/shared/dist/{table-field-types.js → tables/field-types.js} +1 -1
  109. package/node_modules/@oxygen/shared/dist/{table-filter-operators.js → tables/filter-operators.js} +1 -1
  110. package/node_modules/@oxygen/shared/dist/tables/linkedin-payload-fields.d.ts +78 -0
  111. package/node_modules/@oxygen/shared/dist/tables/linkedin-payload-fields.js +182 -0
  112. package/node_modules/@oxygen/shared/dist/{research-findings.js → tables/research-findings.js} +1 -1
  113. package/node_modules/@oxygen/shared/dist/{research-output-contract.js → tables/research-output-contract.js} +1 -1
  114. package/node_modules/@oxygen/shared/dist/user-capability-routing.js +27 -0
  115. package/node_modules/@oxygen/shared/dist/version.d.ts +1 -1
  116. package/node_modules/@oxygen/shared/dist/version.generated.d.ts +1 -1
  117. package/node_modules/@oxygen/shared/dist/version.generated.js +1 -1
  118. package/node_modules/@oxygen/shared/dist/version.js +1 -1
  119. package/node_modules/@oxygen/shared/dist/visual-render.d.ts +14 -3
  120. package/node_modules/@oxygen/shared/dist/visual-render.js +43 -2
  121. package/node_modules/@oxygen/shared/dist/workflows/workspace-event-catalog.js +3 -3
  122. package/node_modules/@oxygen/shared/dist/workspace-file-storage.d.ts +1 -1
  123. package/node_modules/@oxygen/shared/dist/workspace-file-storage.js +3 -2
  124. package/node_modules/@oxygen/shared/package.json +0 -65
  125. package/node_modules/@oxygen/workflows/dist/recipe-timestamp.d.ts +1 -1
  126. package/node_modules/@oxygen/workflows/dist/recipe-timestamp.js +1 -1
  127. package/package.json +1 -1
  128. /package/node_modules/@oxygen/shared/dist/{billing-anchors.d.ts → billing/anchors.d.ts} +0 -0
  129. /package/node_modules/@oxygen/shared/dist/{billing-anchors.js → billing/anchors.js} +0 -0
  130. /package/node_modules/@oxygen/shared/dist/{billing.d.ts → billing/billing.d.ts} +0 -0
  131. /package/node_modules/@oxygen/shared/dist/{budget-scopes.d.ts → billing/budget-scopes.d.ts} +0 -0
  132. /package/node_modules/@oxygen/shared/dist/{budget-scopes.js → billing/budget-scopes.js} +0 -0
  133. /package/node_modules/@oxygen/shared/dist/{byok-connect.d.ts → billing/byok-connect.d.ts} +0 -0
  134. /package/node_modules/@oxygen/shared/dist/{byok-connect.js → billing/byok-connect.js} +0 -0
  135. /package/node_modules/@oxygen/shared/dist/{cost-estimate-view.d.ts → billing/cost-estimate-view.d.ts} +0 -0
  136. /package/node_modules/@oxygen/shared/dist/{cost-estimate-view.js → billing/cost-estimate-view.js} +0 -0
  137. /package/node_modules/@oxygen/shared/dist/{cost-estimate.d.ts → billing/cost-estimate.d.ts} +0 -0
  138. /package/node_modules/@oxygen/shared/dist/{cost-estimate.js → billing/cost-estimate.js} +0 -0
  139. /package/node_modules/@oxygen/shared/dist/{credit-gate.d.ts → billing/credit-gate.d.ts} +0 -0
  140. /package/node_modules/@oxygen/shared/dist/{credit-gate.js → billing/credit-gate.js} +0 -0
  141. /package/node_modules/@oxygen/shared/dist/{credit-guidance.d.ts → billing/credit-guidance.d.ts} +0 -0
  142. /package/node_modules/@oxygen/shared/dist/{credit-topup-review.d.ts → billing/credit-topup-review.d.ts} +0 -0
  143. /package/node_modules/@oxygen/shared/dist/{credit-topup-review.js → billing/credit-topup-review.js} +0 -0
  144. /package/node_modules/@oxygen/shared/dist/{first-month-offer-window.d.ts → billing/first-month-offer-window.d.ts} +0 -0
  145. /package/node_modules/@oxygen/shared/dist/{first-month-offer-window.js → billing/first-month-offer-window.js} +0 -0
  146. /package/node_modules/@oxygen/shared/dist/{first-month-offer.d.ts → billing/first-month-offer.d.ts} +0 -0
  147. /package/node_modules/@oxygen/shared/dist/{first-month-offer.js → billing/first-month-offer.js} +0 -0
  148. /package/node_modules/@oxygen/shared/dist/{guided-trial-billing.d.ts → billing/guided-trial-billing.d.ts} +0 -0
  149. /package/node_modules/@oxygen/shared/dist/{guided-trial-billing.js → billing/guided-trial-billing.js} +0 -0
  150. /package/node_modules/@oxygen/shared/dist/{billing-money.d.ts → billing/money.d.ts} +0 -0
  151. /package/node_modules/@oxygen/shared/dist/{partner-coupon-bonus.d.ts → billing/partner-coupon-bonus.d.ts} +0 -0
  152. /package/node_modules/@oxygen/shared/dist/{partner-coupon-bonus.js → billing/partner-coupon-bonus.js} +0 -0
  153. /package/node_modules/@oxygen/shared/dist/{plan-capabilities.d.ts → billing/plan-capabilities.d.ts} +0 -0
  154. /package/node_modules/@oxygen/shared/dist/{plan-capabilities.js → billing/plan-capabilities.js} +0 -0
  155. /package/node_modules/@oxygen/shared/dist/{plan-limits-view.d.ts → billing/plan-limits-view.d.ts} +0 -0
  156. /package/node_modules/@oxygen/shared/dist/{plan-limits-view.js → billing/plan-limits-view.js} +0 -0
  157. /package/node_modules/@oxygen/shared/dist/{repricing.d.ts → billing/repricing.d.ts} +0 -0
  158. /package/node_modules/@oxygen/shared/dist/{sending-seat-capacity.d.ts → billing/sending-seat-capacity.d.ts} +0 -0
  159. /package/node_modules/@oxygen/shared/dist/{sending-seat-capacity.js → billing/sending-seat-capacity.js} +0 -0
  160. /package/node_modules/@oxygen/shared/dist/{stripe-price-catalog.d.ts → billing/stripe-price-catalog.d.ts} +0 -0
  161. /package/node_modules/@oxygen/shared/dist/{stripe-price-catalog.js → billing/stripe-price-catalog.js} +0 -0
  162. /package/node_modules/@oxygen/shared/dist/{stripe-subscription-kind.d.ts → billing/stripe-subscription-kind.d.ts} +0 -0
  163. /package/node_modules/@oxygen/shared/dist/{stripe-subscription-kind.js → billing/stripe-subscription-kind.js} +0 -0
  164. /package/node_modules/@oxygen/shared/dist/{copilot-access.d.ts → copilot/access.d.ts} +0 -0
  165. /package/node_modules/@oxygen/shared/dist/{copilot-errors.d.ts → copilot/errors.d.ts} +0 -0
  166. /package/node_modules/@oxygen/shared/dist/{copilot-errors.js → copilot/errors.js} +0 -0
  167. /package/node_modules/@oxygen/shared/dist/{copilot-journeys.d.ts → copilot/journeys.d.ts} +0 -0
  168. /package/node_modules/@oxygen/shared/dist/{copilot-plan.d.ts → copilot/plan.d.ts} +0 -0
  169. /package/node_modules/@oxygen/shared/dist/{copilot-plan.js → copilot/plan.js} +0 -0
  170. /package/node_modules/@oxygen/shared/dist/{copilot-questions.d.ts → copilot/questions.d.ts} +0 -0
  171. /package/node_modules/@oxygen/shared/dist/{copilot-questions.js → copilot/questions.js} +0 -0
  172. /package/node_modules/@oxygen/shared/dist/{knowledge-bases.d.ts → knowledge/bases.d.ts} +0 -0
  173. /package/node_modules/@oxygen/shared/dist/{knowledge-brain-draft.d.ts → knowledge/brain-draft.d.ts} +0 -0
  174. /package/node_modules/@oxygen/shared/dist/{knowledge-brain-draft.js → knowledge/brain-draft.js} +0 -0
  175. /package/node_modules/@oxygen/shared/dist/{knowledge-constants.d.ts → knowledge/constants.d.ts} +0 -0
  176. /package/node_modules/@oxygen/shared/dist/{knowledge-constants.js → knowledge/constants.js} +0 -0
  177. /package/node_modules/@oxygen/shared/dist/{knowledge-links.d.ts → knowledge/links.d.ts} +0 -0
  178. /package/node_modules/@oxygen/shared/dist/{knowledge-markdown.d.ts → knowledge/markdown.d.ts} +0 -0
  179. /package/node_modules/@oxygen/shared/dist/{knowledge-repository.d.ts → knowledge/repository.d.ts} +0 -0
  180. /package/node_modules/@oxygen/shared/dist/{knowledge-seed-content.js → knowledge/seed-content.js} +0 -0
  181. /package/node_modules/@oxygen/shared/dist/{knowledge-vault-markdown.d.ts → knowledge/vault-markdown.d.ts} +0 -0
  182. /package/node_modules/@oxygen/shared/dist/{publishing-approval.d.ts → publishing/approval.d.ts} +0 -0
  183. /package/node_modules/@oxygen/shared/dist/{publishing-limits.d.ts → publishing/limits.d.ts} +0 -0
  184. /package/node_modules/@oxygen/shared/dist/{publishing-limits.js → publishing/limits.js} +0 -0
  185. /package/node_modules/@oxygen/shared/dist/{skill-play-routing.d.ts → recipes/skill-play-routing.d.ts} +0 -0
  186. /package/node_modules/@oxygen/shared/dist/{workspace-skills.d.ts → recipes/workspace-skills.d.ts} +0 -0
  187. /package/node_modules/@oxygen/shared/dist/{network-mining-approval.d.ts → signals/network-mining-approval.d.ts} +0 -0
  188. /package/node_modules/@oxygen/shared/dist/{network-mining-signals.d.ts → signals/network-mining-signals.d.ts} +0 -0
  189. /package/node_modules/@oxygen/shared/dist/{network-mining-signals.js → signals/network-mining-signals.js} +0 -0
  190. /package/node_modules/@oxygen/shared/dist/{network-mining.d.ts → signals/network-mining.d.ts} +0 -0
  191. /package/node_modules/@oxygen/shared/dist/{cell-format.d.ts → tables/cell-format.d.ts} +0 -0
  192. /package/node_modules/@oxygen/shared/dist/{clay-migration-auth-state.d.ts → tables/clay-migration-auth-state.d.ts} +0 -0
  193. /package/node_modules/@oxygen/shared/dist/{clay-migration-auth-state.js → tables/clay-migration-auth-state.js} +0 -0
  194. /package/node_modules/@oxygen/shared/dist/{column-autofill.d.ts → tables/column-autofill.d.ts} +0 -0
  195. /package/node_modules/@oxygen/shared/dist/{column-operation.d.ts → tables/column-operation.d.ts} +0 -0
  196. /package/node_modules/@oxygen/shared/dist/{column-operation.js → tables/column-operation.js} +0 -0
  197. /package/node_modules/@oxygen/shared/dist/{email-verification-batch.d.ts → tables/email-verification-batch.d.ts} +0 -0
  198. /package/node_modules/@oxygen/shared/dist/{email-verification-batch.js → tables/email-verification-batch.js} +0 -0
  199. /package/node_modules/@oxygen/shared/dist/{table-filter-operators.d.ts → tables/filter-operators.d.ts} +0 -0
  200. /package/node_modules/@oxygen/shared/dist/{linkedin-countries.d.ts → tables/linkedin-countries.d.ts} +0 -0
  201. /package/node_modules/@oxygen/shared/dist/{linkedin-countries.js → tables/linkedin-countries.js} +0 -0
  202. /package/node_modules/@oxygen/shared/dist/{linkedin-country-timezones.d.ts → tables/linkedin-country-timezones.d.ts} +0 -0
  203. /package/node_modules/@oxygen/shared/dist/{linkedin-country-timezones.js → tables/linkedin-country-timezones.js} +0 -0
  204. /package/node_modules/@oxygen/shared/dist/{research-depth.d.ts → tables/research-depth.d.ts} +0 -0
  205. /package/node_modules/@oxygen/shared/dist/{research-depth.js → tables/research-depth.js} +0 -0
  206. /package/node_modules/@oxygen/shared/dist/{research-findings.d.ts → tables/research-findings.d.ts} +0 -0
  207. /package/node_modules/@oxygen/shared/dist/{research-output-contract.d.ts → tables/research-output-contract.d.ts} +0 -0
  208. /package/node_modules/@oxygen/shared/dist/{table-run-summary.d.ts → tables/run-summary.d.ts} +0 -0
  209. /package/node_modules/@oxygen/shared/dist/{table-run-summary.js → tables/run-summary.js} +0 -0
@@ -1,10 +1,21 @@
1
1
  import { OxygenError } from "./cli-result.js";
2
+ import { parseMediaAssetBindings, validateMotionGeometry } from "./media-project.js";
2
3
  export const VISUAL_RENDER_PROFILE = "oxygen-static-v1";
4
+ export const MOTION_RENDER_PROFILE = "oxygen-hyperframes-v1";
3
5
  export const VISUAL_RENDER_LIMITS = Object.freeze({
4
6
  maxPages: 12, maxSide: 4096, maxPixels: 32_000_000,
5
7
  maxSourceBytes: 2 * 1024 * 1024, maxOutputBytes: 50 * 1024 * 1024,
6
8
  timeoutMs: 120_000,
7
9
  });
10
+ /** Persist layout and immutable asset references beside each editable HTML revision. */
11
+ export function parseVisualComposition(value) {
12
+ if (!value || typeof value !== "object" || Array.isArray(value))
13
+ throw new OxygenError("invalid_input", "Composition settings must be an object.");
14
+ const { source_file_ids: _ids, asset_snapshots: _snapshots, ...composition } = parseVisualRenderRequest({
15
+ ...value, source_file_ids: ["00000000-0000-4000-8000-000000000001"],
16
+ });
17
+ return composition;
18
+ }
8
19
  /**
9
20
  * What a render costs the customer: nothing (Tim, 2026-10-14: "the rendering
10
21
  * shouldn't cost credits that's just stupid"). The platform's own compute stays
@@ -30,6 +41,21 @@ export function parseVisualRenderRequest(value) {
30
41
  throw new OxygenError("invalid_input", "Choose between 1 and 12 HTML source files in page order.");
31
42
  }
32
43
  const source_file_ids = ids.map(validateVisualFileId);
44
+ if (value.profile !== undefined && value.profile !== "static" && value.profile !== "hyperframes") {
45
+ throw new OxygenError("invalid_input", "Choose static or hyperframes rendering.");
46
+ }
47
+ const assets = parseMediaAssetBindings(value.assets);
48
+ if (value.profile === "hyperframes") {
49
+ const width = value.width ?? 720, height = value.height ?? 1280;
50
+ if (typeof width !== "number" || typeof height !== "number" || ids.length !== 1 || (value.scale !== undefined && value.scale !== 1)
51
+ || (value.formats !== undefined && (!Array.isArray(value.formats) || value.formats.length !== 1 || value.formats[0] !== "mp4"))) {
52
+ throw new OxygenError("invalid_input", "A Hyperframes render uses one HTML composition, scale 1 and MP4 output.");
53
+ }
54
+ const timing = validateMotionGeometry({ width, height, fps: value.fps, duration: value.duration });
55
+ return { source_file_ids, width, height, scale: 1, formats: ["mp4"], profile: "hyperframes", assets, ...timing };
56
+ }
57
+ if (value.fps !== undefined || value.duration !== undefined)
58
+ throw new OxygenError("invalid_input", "Timing options require the hyperframes profile.");
33
59
  const width = value.width ?? 1080, height = value.height ?? 1350, scale = value.scale ?? 1;
34
60
  if (typeof width !== "number" || !Number.isInteger(width) || width < 1
35
61
  || typeof height !== "number" || !Number.isInteger(height) || height < 1
@@ -43,10 +69,13 @@ export function parseVisualRenderRequest(value) {
43
69
  || formats.some((f) => f !== "png" && f !== "pdf") || new Set(formats).size !== formats.length) {
44
70
  throw new OxygenError("invalid_input", "Formats must be png, pdf, or both.");
45
71
  }
46
- return { source_file_ids, width, height, scale, formats: formats };
72
+ return { source_file_ids, width, height, scale, formats: formats, ...(assets.length ? { assets } : {}) };
47
73
  }
48
74
  /** No default snapshot or compute bound: enabling this profile is an explicit deployment operation. */
49
- export function resolveVisualRenderProfile(env, now = Date.now()) {
75
+ export function resolveVisualRenderProfile(env, now = Date.now(), mode = "static") {
76
+ if (mode === "hyperframes") {
77
+ return resolveMotionRenderProfile(env, now);
78
+ }
50
79
  const renderSnapshotId = env.OXYGEN_VISUAL_RENDER_SNAPSHOT_ID?.trim();
51
80
  const validatorSnapshotId = env.OXYGEN_VISUAL_VALIDATOR_SNAPSHOT_ID?.trim();
52
81
  const rendererDigest = env.OXYGEN_VISUAL_RENDERER_DIGEST?.trim();
@@ -60,3 +89,15 @@ export function resolveVisualRenderProfile(env, now = Date.now()) {
60
89
  return { version: VISUAL_RENDER_PROFILE, renderSnapshotId, validatorSnapshotId, rendererDigest, expiresAt,
61
90
  credits: VISUAL_RENDER_CREDITS, maxCostMicros };
62
91
  }
92
+ function resolveMotionRenderProfile(env, now) {
93
+ const renderSnapshotId = env.OXYGEN_MOTION_RENDER_SNAPSHOT_ID?.trim();
94
+ const validatorSnapshotId = env.OXYGEN_MOTION_VALIDATOR_SNAPSHOT_ID?.trim();
95
+ const rendererDigest = env.OXYGEN_MOTION_RENDERER_DIGEST?.trim();
96
+ const expiresAt = env.OXYGEN_MOTION_PROFILE_EXPIRES_AT?.trim();
97
+ const maxCostMicros = Number(env.OXYGEN_MOTION_RENDER_MAX_COST_MICROS);
98
+ if (env.OXYGEN_MOTION_RENDER_ENABLED !== "1" || !renderSnapshotId || !validatorSnapshotId || renderSnapshotId === validatorSnapshotId
99
+ || !rendererDigest || !/^[a-f0-9]{64}$/.test(rendererDigest) || !expiresAt || !Number.isFinite(Date.parse(expiresAt))
100
+ || Date.parse(expiresAt) <= now + 180_000 || !Number.isSafeInteger(maxCostMicros) || maxCostMicros < 50_000 || maxCostMicros > 1_000_000)
101
+ return null;
102
+ return { version: MOTION_RENDER_PROFILE, renderSnapshotId, validatorSnapshotId, rendererDigest, expiresAt, credits: 0, maxCostMicros };
103
+ }
@@ -4,9 +4,9 @@ import { SEQUENCE_CONTACT_ACTIVITY_EVENT, SEQUENCE_CRM_EVENT_DEFINITIONS, SEQUEN
4
4
  import { SEQUENCE_ENROLLMENT_TERMINAL_EVENT, SEQUENCE_TERMINAL_EVENT_SOURCE, SEQUENCE_TERMINAL_STATUSES, } from "../sequences/terminal-events.js";
5
5
  import { NOTETAKER_MEETING_COMPLETED_EVENT, NOTETAKER_MEETING_COMPLETED_PAYLOAD_FIELDS, NOTETAKER_WORKFLOW_EVENT_SOURCE, } from "../records/notetaker-events.js";
6
6
  import { BLACKLIST_LISTING_CHANGED_EVENT, BLACKLIST_LISTING_CHANGED_PAYLOAD_FIELDS, DELIVERABILITY_WORKFLOW_EVENT_SOURCE, } from "../mailboxes/deliverability-blacklist.js";
7
- import { networkMiningEnabled } from "../network-mining.js";
8
- import { NETWORK_MINING_SIGNAL_EVENT_DEFINITIONS } from "../network-mining-signals.js";
9
- import { RESEARCH_FINDING_EVENT_DEFINITION } from "../research-findings.js";
7
+ import { networkMiningEnabled } from "../signals/network-mining.js";
8
+ import { NETWORK_MINING_SIGNAL_EVENT_DEFINITIONS } from "../signals/network-mining-signals.js";
9
+ import { RESEARCH_FINDING_EVENT_DEFINITION } from "../tables/research-findings.js";
10
10
  export const WORKSPACE_EVENT_PRODUCER_READINESS_REQUIREMENTS = [
11
11
  "always",
12
12
  "notetaker_enabled",
@@ -8,7 +8,7 @@ export declare const WORKSPACE_VISUAL_BINARY_MAX_BYTES: number;
8
8
  export declare const WORKSPACE_OPAQUE_FILE_MAX_BYTES: number;
9
9
  /** Platform abuse guard shared by every plan, not a storage entitlement. */
10
10
  export declare const WORKSPACE_RETAINED_FILES_MAX_BYTES: number;
11
- export type WorkspaceVisualBinaryMimeType = "image/png" | "application/pdf";
11
+ export type WorkspaceVisualBinaryMimeType = "image/png" | "application/pdf" | "video/mp4";
12
12
  export type WorkspaceStoredFileMimeType = WorkspaceVisualBinaryMimeType | "application/octet-stream";
13
13
  export declare function assertWorkspaceFileId(id: string): void;
14
14
  export declare function normalizeWorkspaceVisualFileName(name: string): string;
@@ -59,9 +59,10 @@ export function assertWorkspaceVisualBinary(bytes, mimeType) {
59
59
  const png = [137, 80, 78, 71, 13, 10, 26, 10];
60
60
  const valid = mimeType === "image/png"
61
61
  ? png.every((byte, index) => bytes[index] === byte)
62
- : mimeType === "application/pdf" && Buffer.from(bytes.subarray(0, 5)).toString("ascii") === "%PDF-";
62
+ : mimeType === "application/pdf" ? Buffer.from(bytes.subarray(0, 5)).toString("ascii") === "%PDF-"
63
+ : mimeType === "video/mp4" && bytes.byteLength >= 12 && Buffer.from(bytes.subarray(4, 8)).toString("ascii") === "ftyp";
63
64
  if (!valid)
64
- throw new OxygenError("workspace_file_invalid_type", "Visual output bytes do not match the declared PNG or PDF format.");
65
+ throw new OxygenError("workspace_file_invalid_type", "Visual output bytes do not match the declared PNG, PDF or MP4 format.");
65
66
  }
66
67
  export function workspaceFileSha256(bytes) {
67
68
  return createHash("sha256").update(bytes).digest("hex");
@@ -11,11 +11,6 @@
11
11
  "import": "./dist/external-write-policy.js",
12
12
  "default": "./dist/external-write-policy.js"
13
13
  },
14
- "./knowledge-vault-markdown": {
15
- "types": "./dist/knowledge-vault-markdown.d.ts",
16
- "import": "./dist/knowledge-vault-markdown.js",
17
- "default": "./dist/knowledge-vault-markdown.js"
18
- },
19
14
  ".": {
20
15
  "types": "./dist/index.d.ts",
21
16
  "import": "./dist/index.js",
@@ -26,21 +21,11 @@
26
21
  "import": "./dist/image-sniff.js",
27
22
  "default": "./dist/image-sniff.js"
28
23
  },
29
- "./cell-format": {
30
- "types": "./dist/cell-format.d.ts",
31
- "import": "./dist/cell-format.js",
32
- "default": "./dist/cell-format.js"
33
- },
34
24
  "./json-path": {
35
25
  "types": "./dist/json-path.d.ts",
36
26
  "import": "./dist/json-path.js",
37
27
  "default": "./dist/json-path.js"
38
28
  },
39
- "./research-output-contract": {
40
- "types": "./dist/research-output-contract.d.ts",
41
- "import": "./dist/research-output-contract.js",
42
- "default": "./dist/research-output-contract.js"
43
- },
44
29
  "./object-storage": {
45
30
  "types": "./dist/object-storage.d.ts",
46
31
  "import": "./dist/object-storage.js",
@@ -51,11 +36,6 @@
51
36
  "import": "./dist/person-name.js",
52
37
  "default": "./dist/person-name.js"
53
38
  },
54
- "./linkedin-countries": {
55
- "types": "./dist/linkedin-countries.d.ts",
56
- "import": "./dist/linkedin-countries.js",
57
- "default": "./dist/linkedin-countries.js"
58
- },
59
39
  "./provider-funding-errors": {
60
40
  "types": "./dist/provider-funding-errors.d.ts",
61
41
  "import": "./dist/provider-funding-errors.js",
@@ -96,46 +76,6 @@
96
76
  "import": "./dist/search-vocab.js",
97
77
  "default": "./dist/search-vocab.js"
98
78
  },
99
- "./knowledge-constants": {
100
- "types": "./dist/knowledge-constants.d.ts",
101
- "import": "./dist/knowledge-constants.js",
102
- "default": "./dist/knowledge-constants.js"
103
- },
104
- "./knowledge-bases": {
105
- "types": "./dist/knowledge-bases.d.ts",
106
- "import": "./dist/knowledge-bases.js",
107
- "default": "./dist/knowledge-bases.js"
108
- },
109
- "./billing": {
110
- "types": "./dist/billing.d.ts",
111
- "import": "./dist/billing.js",
112
- "default": "./dist/billing.js"
113
- },
114
- "./pricing-sheet": {
115
- "types": "./dist/pricing-sheet.d.ts",
116
- "import": "./dist/pricing-sheet.js",
117
- "default": "./dist/pricing-sheet.js"
118
- },
119
- "./research-depth": {
120
- "types": "./dist/research-depth.d.ts",
121
- "import": "./dist/research-depth.js",
122
- "default": "./dist/research-depth.js"
123
- },
124
- "./copilot-plan": {
125
- "types": "./dist/copilot-plan.d.ts",
126
- "import": "./dist/copilot-plan.js",
127
- "default": "./dist/copilot-plan.js"
128
- },
129
- "./copilot-journeys": {
130
- "types": "./dist/copilot-journeys.d.ts",
131
- "import": "./dist/copilot-journeys.js",
132
- "default": "./dist/copilot-journeys.js"
133
- },
134
- "./copilot-playbooks": {
135
- "types": "./dist/copilot-playbooks.d.ts",
136
- "import": "./dist/copilot-playbooks.js",
137
- "default": "./dist/copilot-playbooks.js"
138
- },
139
79
  "./copilot-skills": null,
140
80
  "./hosted-ai": {
141
81
  "types": "./dist/hosted-ai.d.ts",
@@ -157,11 +97,6 @@
157
97
  "import": "./dist/product-briefing-rules.js",
158
98
  "default": "./dist/product-briefing-rules.js"
159
99
  },
160
- "./publishing-limits": {
161
- "types": "./dist/publishing-limits.d.ts",
162
- "import": "./dist/publishing-limits.js",
163
- "default": "./dist/publishing-limits.js"
164
- },
165
100
  "./workspace-file-storage": {
166
101
  "types": "./dist/workspace-file-storage.d.ts",
167
102
  "import": "./dist/workspace-file-storage.js",
@@ -2,7 +2,7 @@
2
2
  * Recipe-source helpers that emitted template bundles embed verbatim.
3
3
  *
4
4
  * The durable recipe runtime removes `Date` from the sandbox's globals
5
- * (`installRecipeGlobalGuards` in apps/worker/src/recipe-sandbox-runtime.ts)
5
+ * (`installRecipeGlobalGuards` in apps/worker/src/recipes/sandbox-runtime.ts)
6
6
  * so a replayed run cannot read a different clock. A bundle that calls
7
7
  * `Date.parse` therefore throws "Cannot read properties of undefined (reading
8
8
  * 'parse')" on every live run: both HubSpot sequencer projection templates
@@ -2,7 +2,7 @@
2
2
  * Recipe-source helpers that emitted template bundles embed verbatim.
3
3
  *
4
4
  * The durable recipe runtime removes `Date` from the sandbox's globals
5
- * (`installRecipeGlobalGuards` in apps/worker/src/recipe-sandbox-runtime.ts)
5
+ * (`installRecipeGlobalGuards` in apps/worker/src/recipes/sandbox-runtime.ts)
6
6
  * so a replayed run cannot read a different clock. A bundle that calls
7
7
  * `Date.parse` therefore throws "Cannot read properties of undefined (reading
8
8
  * 'parse')" on every live run: both HubSpot sequencer projection templates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxygen-agent/cli",
3
- "version": "1.1015.29",
3
+ "version": "1.1017.21",
4
4
  "private": false,
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",