@oxygen-agent/cli 1.1014.1895 → 1.1014.2040
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/auto-update.d.ts +1 -1
- package/dist/auto-update.js +3 -3
- package/dist/cli-install.d.ts +65 -0
- package/dist/cli-install.js +165 -0
- package/dist/command-families/tables/options.d.ts +1 -0
- package/dist/command-families/tables/register-automation.js +3 -1
- package/dist/commands/billing.js +1 -1
- package/dist/commands/managed-inboxes.js +6 -2
- package/dist/commands/observability.js +4 -4
- package/dist/commands/sequences.js +1 -1
- package/dist/commands/subscriptions.js +7 -5
- package/dist/commands/table-runs.js +10 -0
- package/dist/commands/tags.js +2 -2
- package/dist/commands/workflows.js +31 -10
- package/dist/http-client.d.ts +1 -1
- package/dist/http-client.js +1 -1
- package/dist/update.d.ts +4 -57
- package/dist/update.js +17 -163
- package/node_modules/@oxygen/formula/dist/cross-row-function.d.ts +13 -0
- package/node_modules/@oxygen/formula/dist/cross-row-function.js +1 -0
- package/node_modules/@oxygen/formula/dist/{refactor-internals → cross-row-functions}/novelty-score.d.ts +2 -0
- package/node_modules/@oxygen/formula/dist/{refactor-internals → cross-row-functions}/novelty-score.js +1 -0
- package/node_modules/@oxygen/formula/dist/cross-row-functions.generated.d.ts +3 -0
- package/node_modules/@oxygen/formula/dist/cross-row-functions.generated.js +3 -0
- package/node_modules/@oxygen/formula/dist/evaluate.d.ts +12 -1
- package/node_modules/@oxygen/formula/dist/evaluate.js +28 -3
- package/node_modules/@oxygen/recipe-sdk/dist/index.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/billing.d.ts +5 -1
- package/node_modules/@oxygen/shared/dist/billing.js +5 -1
- package/node_modules/@oxygen/shared/dist/capability-discovery-skill-audiences.generated.d.ts +30 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-skill-audiences.generated.js +33 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-skills.d.ts +39 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-skills.js +86 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-types.d.ts +93 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-types.js +1 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery.d.ts +12 -270
- package/node_modules/@oxygen/shared/dist/capability-discovery.js +124 -3713
- package/node_modules/@oxygen/shared/dist/capability-intents/agency-directory.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agency-directory.rules.js +5 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agents.d.ts +10 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agents.js +53 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agents.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agents.rules.js +25 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/billing-and-budgets.d.ts +31 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/billing-and-budgets.js +70 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/billing-and-budgets.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/billing-and-budgets.rules.js +85 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/collaboration.d.ts +9 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/collaboration.js +54 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/collaboration.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/collaboration.rules.js +28 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-integrations.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-integrations.rules.js +23 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-linkedin.d.ts +43 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-linkedin.js +90 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-linkedin.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-linkedin.rules.js +58 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-whatsapp.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-whatsapp.rules.js +14 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/geo.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/geo.rules.js +9 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/index.generated.d.ts +365 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/index.generated.js +90 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/knowledge-graph.d.ts +20 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/knowledge-graph.js +37 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/knowledge-graph.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/knowledge-graph.rules.js +43 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/linkedin-public-research.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/linkedin-public-research.js +26 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/linkedin-public-research.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/linkedin-public-research.rules.js +42 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/messages.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/messages.js +16 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/messages.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/messages.rules.js +68 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/normalize.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/normalize.js +4 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/platform-operations.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/platform-operations.js +23 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/platform-operations.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/platform-operations.rules.js +25 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/posts.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/posts.js +12 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/posts.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/posts.rules.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/publishing.d.ts +86 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/publishing.js +135 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/publishing.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/publishing.rules.js +89 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/read-inspection.d.ts +7 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/read-inspection.js +85 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/read-inspection.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/read-inspection.rules.js +28 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/recipes.d.ts +7 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/recipes.js +73 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/recipes.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/recipes.rules.js +36 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/records.d.ts +86 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/records.js +240 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/records.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/records.rules.js +71 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sending-infrastructure.d.ts +27 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sending-infrastructure.js +67 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sending-infrastructure.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sending-infrastructure.rules.js +115 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sequences.d.ts +71 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sequences.js +150 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sequences.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sequences.rules.js +149 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/signals.d.ts +42 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/signals.js +42 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/signals.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/signals.rules.js +47 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.d.ts +60 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.js +94 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.rules.js +94 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.d.ts +196 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.js +394 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.rules.js +384 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tags.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tags.rules.js +5 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/visual-rendering.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/visual-rendering.rules.js +8 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workflows.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workflows.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workflows.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workflows.rules.js +90 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workspace-access.d.ts +59 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workspace-access.js +121 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workspace-access.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workspace-access.rules.js +58 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/ads.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/ads.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/agency-directory.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/agency-directory.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/agents.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/agents.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/billing-and-budgets.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/billing-and-budgets.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/collaboration.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/collaboration.js +39 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-integrations.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-integrations.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-linkedin.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-linkedin.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-whatsapp.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-whatsapp.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/dashboards.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/dashboards.js +28 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/discovery-and-skills.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/discovery-and-skills.js +22 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/geo.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/geo.js +13 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/index.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/index.js +64 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/knowledge-graph.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/knowledge-graph.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/linkedin-public-research.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/linkedin-public-research.js +18 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/messages.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/messages.js +21 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/observability.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/observability.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/onboarding-and-copilot.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/onboarding-and-copilot.js +23 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/platform-operations.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/platform-operations.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/posts.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/posts.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/publishing.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/publishing.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/recipes.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/recipes.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/records.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/records.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sending-infrastructure.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sending-infrastructure.js +42 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sequences.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sequences.js +32 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/signals.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/signals.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sourcing-and-provider-tools.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sourcing-and-provider-tools.js +21 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/support-and-feedback.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/support-and-feedback.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/tables.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/tables.js +34 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/tags.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/tags.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/visual-rendering.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/visual-rendering.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/workflows.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/workflows.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/workspace-access.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/workspace-access.js +26 -0
- package/node_modules/@oxygen/shared/dist/cell-format.js +2 -2
- package/node_modules/@oxygen/shared/dist/collab.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/connectors.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/customer-operations.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/geo.js +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/operations/agent-sessions.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/agent-sessions.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/browser.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/browser.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/clay-migration.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/clay-migration.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/connectors.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/connectors.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/geo.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/geo.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/guided-activation.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/guided-activation.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/index.generated.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/index.generated.js +26 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/reply-oxygent.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/reply-oxygent.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/sender-limits.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/sender-limits.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/table-feed-update.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/table-feed-update.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/teammates.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/teammates.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/workspace-pages.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/workspace-pages.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/workspace-skills.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/workspace-skills.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations.js +7 -15
- package/node_modules/@oxygen/shared/dist/contracts/sender-limits.js +1 -0
- package/node_modules/@oxygen/shared/dist/diagnostic-storage-lock.js +33 -22
- package/node_modules/@oxygen/shared/dist/diagnostics.js +11 -8
- package/node_modules/@oxygen/shared/dist/dnc-identities.js +1 -1
- package/node_modules/@oxygen/shared/dist/error-redaction.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/error-redaction.js +2 -2
- package/node_modules/@oxygen/shared/dist/esp-contract.d.ts +133 -0
- package/node_modules/@oxygen/shared/dist/esp-contract.js +121 -0
- package/node_modules/@oxygen/shared/dist/first-month-offer-window.d.ts +3 -0
- package/node_modules/@oxygen/shared/dist/first-month-offer.d.ts +15 -7
- package/node_modules/@oxygen/shared/dist/first-month-offer.js +23 -9
- package/node_modules/@oxygen/shared/dist/{geo.js → geo/geo.js} +2 -2
- package/node_modules/@oxygen/shared/dist/guided-activation.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/index.d.ts +6 -5
- package/node_modules/@oxygen/shared/dist/index.js +7 -5
- package/node_modules/@oxygen/shared/dist/knowledge-bootstrap.js +1 -1
- package/node_modules/@oxygen/shared/dist/linkedin-connection-identity.js +1 -1
- package/node_modules/@oxygen/shared/dist/listed-website-platforms.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/listed-website-platforms.js +23 -1
- package/node_modules/@oxygen/shared/dist/{sending-domain-rollout.js → mailboxes/sending-domain-rollout.js} +1 -1
- package/node_modules/@oxygen/shared/dist/mcp-event-contract.js +1 -1
- package/node_modules/@oxygen/shared/dist/onboarding-leads.d.ts +67 -0
- package/node_modules/@oxygen/shared/dist/onboarding-leads.js +78 -0
- package/node_modules/@oxygen/shared/dist/otlp-log-sink.js +20 -0
- package/node_modules/@oxygen/shared/dist/plan-capabilities.js +1 -1
- package/node_modules/@oxygen/shared/dist/plan-limits.d.ts +2 -2
- package/node_modules/@oxygen/shared/dist/plan-limits.js +6 -7
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-core.d.ts → posts/metrics-core.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-linkedin.d.ts → posts/metrics-linkedin.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-linkedin.js → posts/metrics-linkedin.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-series.d.ts → posts/metrics-series.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-series.js → posts/metrics-series.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-x.d.ts → posts/metrics-x.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-x.js → posts/metrics-x.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{social-post-metrics.d.ts → posts/metrics.d.ts} +3 -3
- package/node_modules/@oxygen/shared/dist/{social-post-metrics.js → posts/metrics.js} +3 -3
- package/node_modules/@oxygen/shared/dist/recipient-provider.d.ts +2 -10
- package/node_modules/@oxygen/shared/dist/recipient-provider.js +1 -9
- package/node_modules/@oxygen/shared/dist/sending-domain-faults.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/sending-domain-faults.js +1 -1
- package/node_modules/@oxygen/shared/dist/sequence-internals/esp-policy.d.ts +2 -118
- package/node_modules/@oxygen/shared/dist/sequence-internals/esp-policy.js +2 -107
- package/node_modules/@oxygen/shared/dist/sequences.d.ts +0 -1
- package/node_modules/@oxygen/shared/dist/sequences.js +0 -2
- package/node_modules/@oxygen/shared/dist/{native-chat-discovery.d.ts → support/native-chat-discovery.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{native-chat-discovery.js → support/native-chat-discovery.js} +1 -1
- package/node_modules/@oxygen/shared/dist/suppression-entries.js +1 -1
- package/node_modules/@oxygen/shared/dist/table-field-types.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/table-field-types.js +2 -2
- package/node_modules/@oxygen/shared/dist/{column-output-fields.js → tables/column-output-fields.js} +4 -4
- package/node_modules/@oxygen/shared/dist/{tags.d.ts → tags/tags.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{tags.js → tags/tags.js} +1 -1
- package/node_modules/@oxygen/shared/dist/tenant-migration-names.d.ts +5 -0
- package/node_modules/@oxygen/shared/dist/tenant-migration-names.js +8 -0
- package/node_modules/@oxygen/shared/dist/ugc-amplification-identity.js +1 -1
- package/node_modules/@oxygen/shared/dist/version.generated.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/version.generated.js +1 -1
- package/node_modules/@oxygen/shared/dist/workspace-placement-bulk.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement-bulk.js +9 -2
- package/node_modules/@oxygen/shared/dist/workspace-placement-schedule.d.ts +44 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement-schedule.js +90 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement-view.d.ts +24 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement-view.js +5 -4
- package/node_modules/@oxygen/shared/dist/workspace-placement.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement.js +7 -1
- package/node_modules/@oxygen/shared/package.json +0 -25
- package/node_modules/@oxygen/workflows/dist/cron.d.ts +42 -0
- package/node_modules/@oxygen/workflows/dist/cron.js +271 -0
- package/node_modules/@oxygen/workflows/dist/event-dispatch.d.ts +2 -1
- package/node_modules/@oxygen/workflows/dist/graph/condition.d.ts +3 -0
- package/node_modules/@oxygen/workflows/dist/graph/condition.js +19 -0
- package/node_modules/@oxygen/workflows/dist/graph/expression.d.ts +1 -2
- package/node_modules/@oxygen/workflows/dist/graph/expression.js +2 -19
- package/node_modules/@oxygen/workflows/dist/graph/lint.d.ts +1 -1
- package/node_modules/@oxygen/workflows/dist/graph/lint.js +4 -3
- package/node_modules/@oxygen/workflows/dist/graph/types.d.ts +4 -3
- package/node_modules/@oxygen/workflows/dist/index.d.ts +9 -1043
- package/node_modules/@oxygen/workflows/dist/index.js +11 -2124
- package/node_modules/@oxygen/workflows/dist/manifest-builders.d.ts +73 -0
- package/node_modules/@oxygen/workflows/dist/manifest-builders.js +102 -0
- package/node_modules/@oxygen/workflows/dist/manifest-guards.d.ts +16 -0
- package/node_modules/@oxygen/workflows/dist/manifest-guards.js +34 -0
- package/node_modules/@oxygen/workflows/dist/manifest-hash.d.ts +47 -0
- package/node_modules/@oxygen/workflows/dist/manifest-hash.js +102 -0
- package/node_modules/@oxygen/workflows/dist/manifest-lint.d.ts +17 -0
- package/node_modules/@oxygen/workflows/dist/manifest-lint.js +474 -0
- package/node_modules/@oxygen/workflows/dist/manifest-types.d.ts +256 -0
- package/node_modules/@oxygen/workflows/dist/manifest-types.js +9 -0
- package/node_modules/@oxygen/workflows/dist/manifest-validation.d.ts +75 -0
- package/node_modules/@oxygen/workflows/dist/manifest-validation.js +903 -0
- package/node_modules/@oxygen/workflows/dist/pure-function.d.ts +17 -0
- package/node_modules/@oxygen/workflows/dist/pure-function.js +130 -0
- package/node_modules/@oxygen/workflows/dist/refactor-internals/condition-comparison.d.ts +1 -17
- package/node_modules/@oxygen/workflows/dist/refactor-internals/condition-comparison.js +1 -93
- package/node_modules/@oxygen/workflows/dist/refactor-internals/condition-pattern.d.ts +16 -0
- package/node_modules/@oxygen/workflows/dist/refactor-internals/condition-pattern.js +92 -0
- package/node_modules/@oxygen/workflows/dist/workflow-schemas.d.ts +545 -0
- package/node_modules/@oxygen/workflows/dist/workflow-schemas.js +135 -0
- package/node_modules/@oxygen/workflows/package.json +4 -0
- package/package.json +1 -1
- /package/node_modules/@oxygen/shared/dist/{geo.d.ts → geo/geo.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{sending-domain-rollout.d.ts → mailboxes/sending-domain-rollout.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{attempt-provenance.d.ts → observability/attempt-provenance.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{attempt-provenance.js → observability/attempt-provenance.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-mentions.d.ts → posts/linkedin-mentions.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-mentions.js → posts/linkedin-mentions.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-post-keywords.d.ts → posts/linkedin-post-keywords.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-post-keywords.js → posts/linkedin-post-keywords.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-post-url.d.ts → posts/linkedin-post-url.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-post-url.js → posts/linkedin-post-url.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{social-post-metrics-core.js → posts/metrics-core.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{native-chat.d.ts → support/native-chat.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{native-chat.js → support/native-chat.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{plain-support-events.d.ts → support/plain-support-events.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{plain-support-events.js → support/plain-support-events.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{column-output-fields.d.ts → tables/column-output-fields.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-url.d.ts → tables/linkedin-url.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-url.js → tables/linkedin-url.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{select-options.d.ts → tables/select-options.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{select-options.js → tables/select-options.js} +0 -0
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import { DURABLE_RECIPE_COMPILER_VERSION, type JsonSchema, type WorkflowStatus, type WorkflowStepEffect } from "./manifest-validation.js";
|
|
2
|
+
import type { WorkflowGraphManifest } from "./graph/types.js";
|
|
3
|
+
/**
|
|
4
|
+
* v1 workflow, recipe and blueprint manifest shapes and compiler constants.
|
|
5
|
+
* Declarations only; `index.ts` re-exports them.
|
|
6
|
+
*/
|
|
7
|
+
export declare const WORKFLOW_COMPILER_VERSION = "oxygen-workflows-v1";
|
|
8
|
+
export declare const BLUEPRINT_VERSION = 1;
|
|
9
|
+
export declare const BLUEPRINT_COMPILER_VERSION = "oxygen-blueprints-v1";
|
|
10
|
+
export declare const MAX_BLUEPRINT_BYTES = 4000000;
|
|
11
|
+
export declare const DEFAULT_WORKFLOW_CRON_TIMEZONE = "UTC";
|
|
12
|
+
export type WorkflowMode = "dry_run" | "live" | "smoke_test";
|
|
13
|
+
export type WorkflowTriggerType = "api" | "webhook" | "cron" | "event";
|
|
14
|
+
export type RecipeRuntime = "durable";
|
|
15
|
+
export type WorkflowEventFilterOp = "eq" | "neq" | "exists" | "not_exists";
|
|
16
|
+
export type WorkflowEventFilter = {
|
|
17
|
+
path: string;
|
|
18
|
+
op: WorkflowEventFilterOp;
|
|
19
|
+
value?: unknown;
|
|
20
|
+
};
|
|
21
|
+
export type WorkflowTriggerManifest = {
|
|
22
|
+
type: "api";
|
|
23
|
+
status?: WorkflowStatus;
|
|
24
|
+
} | {
|
|
25
|
+
type: "webhook";
|
|
26
|
+
trigger_id: string;
|
|
27
|
+
trigger_name?: string | null;
|
|
28
|
+
secret_required?: boolean;
|
|
29
|
+
idempotency_key_path?: string | null;
|
|
30
|
+
status?: WorkflowStatus;
|
|
31
|
+
} | {
|
|
32
|
+
type: "cron";
|
|
33
|
+
cron: string;
|
|
34
|
+
timezone?: string | null;
|
|
35
|
+
metadata?: Record<string, unknown>;
|
|
36
|
+
status?: WorkflowStatus;
|
|
37
|
+
} | {
|
|
38
|
+
type: "event";
|
|
39
|
+
source: string;
|
|
40
|
+
event: string;
|
|
41
|
+
filters?: WorkflowEventFilter[];
|
|
42
|
+
idempotency_key_path?: string | null;
|
|
43
|
+
status?: WorkflowStatus;
|
|
44
|
+
};
|
|
45
|
+
export type WorkflowTransformStepManifest = {
|
|
46
|
+
kind: "transform";
|
|
47
|
+
id: string;
|
|
48
|
+
description?: string;
|
|
49
|
+
run_source: string;
|
|
50
|
+
};
|
|
51
|
+
export type WorkflowToolStepManifest = {
|
|
52
|
+
kind: "tool";
|
|
53
|
+
id: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
tool: string;
|
|
56
|
+
effect: WorkflowStepEffect;
|
|
57
|
+
mode?: WorkflowMode;
|
|
58
|
+
/** Pin this invocation to one active organization integration connection. */
|
|
59
|
+
connection_id?: string;
|
|
60
|
+
payload_source: string;
|
|
61
|
+
max_credits?: number;
|
|
62
|
+
};
|
|
63
|
+
export type WorkflowBranchStepManifest = {
|
|
64
|
+
kind: "branch";
|
|
65
|
+
id: string;
|
|
66
|
+
description?: string;
|
|
67
|
+
condition_source: string;
|
|
68
|
+
then_id: string;
|
|
69
|
+
else_id?: string;
|
|
70
|
+
join_id?: string;
|
|
71
|
+
};
|
|
72
|
+
export type WorkflowStepManifest = WorkflowTransformStepManifest | WorkflowToolStepManifest | WorkflowBranchStepManifest;
|
|
73
|
+
export type RecipeVisualToolStepManifest = {
|
|
74
|
+
kind: "tool";
|
|
75
|
+
id: string;
|
|
76
|
+
label: string;
|
|
77
|
+
description?: string;
|
|
78
|
+
tool: string;
|
|
79
|
+
effect?: WorkflowStepEffect;
|
|
80
|
+
checkpoint_id?: string;
|
|
81
|
+
};
|
|
82
|
+
export type RecipeVisualCodeStepManifest = {
|
|
83
|
+
kind: "step";
|
|
84
|
+
id: string;
|
|
85
|
+
label: string;
|
|
86
|
+
description?: string;
|
|
87
|
+
checkpoint_id?: string;
|
|
88
|
+
};
|
|
89
|
+
export type RecipeVisualBranchStepManifest = {
|
|
90
|
+
kind: "branch";
|
|
91
|
+
id: string;
|
|
92
|
+
label: string;
|
|
93
|
+
description?: string;
|
|
94
|
+
condition_label?: string;
|
|
95
|
+
then_id: string;
|
|
96
|
+
else_id?: string;
|
|
97
|
+
join_id?: string;
|
|
98
|
+
checkpoint_id?: string;
|
|
99
|
+
};
|
|
100
|
+
export type RecipeVisualStepManifest = RecipeVisualToolStepManifest | RecipeVisualCodeStepManifest | RecipeVisualBranchStepManifest;
|
|
101
|
+
export type RecipeVisualPlanManifest = {
|
|
102
|
+
version: 1;
|
|
103
|
+
steps: RecipeVisualStepManifest[];
|
|
104
|
+
};
|
|
105
|
+
export type WorkflowManifest = {
|
|
106
|
+
manifest_version: 1;
|
|
107
|
+
workflow: {
|
|
108
|
+
id: string;
|
|
109
|
+
name: string;
|
|
110
|
+
status?: WorkflowStatus;
|
|
111
|
+
};
|
|
112
|
+
specification?: string;
|
|
113
|
+
trigger?: WorkflowTriggerManifest;
|
|
114
|
+
input_schema?: JsonSchema;
|
|
115
|
+
steps: WorkflowStepManifest[];
|
|
116
|
+
max_credits?: number;
|
|
117
|
+
source_hash: string;
|
|
118
|
+
compiler_version: string;
|
|
119
|
+
created_at: string;
|
|
120
|
+
};
|
|
121
|
+
export type RecipeManifest = {
|
|
122
|
+
manifest_version: 1;
|
|
123
|
+
workflow: {
|
|
124
|
+
id: string;
|
|
125
|
+
name: string;
|
|
126
|
+
status?: WorkflowStatus;
|
|
127
|
+
};
|
|
128
|
+
trigger?: WorkflowTriggerManifest;
|
|
129
|
+
input_schema?: JsonSchema;
|
|
130
|
+
/**
|
|
131
|
+
* Operator-editable recipe settings, distinct from the per-delivery trigger
|
|
132
|
+
* payload. When present, the canvas renders this schema with the same mapped
|
|
133
|
+
* field controls used by tool/action configuration.
|
|
134
|
+
*/
|
|
135
|
+
configuration_schema?: JsonSchema;
|
|
136
|
+
configuration?: Record<string, unknown>;
|
|
137
|
+
runtime: RecipeRuntime;
|
|
138
|
+
bundle: string;
|
|
139
|
+
bundle_format: "esm";
|
|
140
|
+
tools_used: string[];
|
|
141
|
+
visual_plan?: RecipeVisualPlanManifest;
|
|
142
|
+
max_credits?: number;
|
|
143
|
+
source_hash: string;
|
|
144
|
+
compiler_version: typeof DURABLE_RECIPE_COMPILER_VERSION;
|
|
145
|
+
created_at: string;
|
|
146
|
+
};
|
|
147
|
+
export type AnyWorkflowManifest = WorkflowManifest | RecipeManifest | WorkflowGraphManifest;
|
|
148
|
+
export type BlueprintColumnInput = {
|
|
149
|
+
key?: string;
|
|
150
|
+
label: string;
|
|
151
|
+
dataType?: string;
|
|
152
|
+
kind?: string;
|
|
153
|
+
semanticType?: string | null;
|
|
154
|
+
definition?: Record<string, unknown>;
|
|
155
|
+
};
|
|
156
|
+
export type BlueprintTable = {
|
|
157
|
+
ref: string;
|
|
158
|
+
name: string;
|
|
159
|
+
description?: string;
|
|
160
|
+
columns: BlueprintColumnInput[];
|
|
161
|
+
metadata?: Record<string, unknown>;
|
|
162
|
+
};
|
|
163
|
+
export type BlueprintColumnGraft = {
|
|
164
|
+
table_ref: string;
|
|
165
|
+
column: BlueprintColumnInput;
|
|
166
|
+
};
|
|
167
|
+
export type BlueprintPromptKind = "ai_column_system" | "scoring_rubric" | "other";
|
|
168
|
+
export type BlueprintPromptTemplate = {
|
|
169
|
+
slug: string;
|
|
170
|
+
name: string;
|
|
171
|
+
description?: string | null;
|
|
172
|
+
kind: BlueprintPromptKind;
|
|
173
|
+
body: string;
|
|
174
|
+
};
|
|
175
|
+
export type BlueprintIntegrationRequirement = {
|
|
176
|
+
kind: string;
|
|
177
|
+
purpose?: string;
|
|
178
|
+
required?: boolean;
|
|
179
|
+
};
|
|
180
|
+
export type BlueprintByokRequirement = {
|
|
181
|
+
kind: "openai" | "anthropic" | "google" | "openrouter" | string;
|
|
182
|
+
required?: boolean;
|
|
183
|
+
};
|
|
184
|
+
export type BlueprintRequires = {
|
|
185
|
+
integrations?: BlueprintIntegrationRequirement[];
|
|
186
|
+
context_keys?: string[];
|
|
187
|
+
byok?: BlueprintByokRequirement[];
|
|
188
|
+
};
|
|
189
|
+
export type BlueprintWorkflow = {
|
|
190
|
+
manifest: AnyWorkflowManifest;
|
|
191
|
+
table_refs?: Record<string, string>;
|
|
192
|
+
prompt_template_slugs?: string[];
|
|
193
|
+
};
|
|
194
|
+
export type Blueprint = {
|
|
195
|
+
blueprint_version: typeof BLUEPRINT_VERSION;
|
|
196
|
+
id: string;
|
|
197
|
+
name: string;
|
|
198
|
+
summary: string;
|
|
199
|
+
tags: string[];
|
|
200
|
+
audience?: string[];
|
|
201
|
+
requires: BlueprintRequires;
|
|
202
|
+
input_schema?: JsonSchema;
|
|
203
|
+
tables: BlueprintTable[];
|
|
204
|
+
column_grafts?: BlueprintColumnGraft[];
|
|
205
|
+
prompt_templates: BlueprintPromptTemplate[];
|
|
206
|
+
workflows: BlueprintWorkflow[];
|
|
207
|
+
exported_at: string;
|
|
208
|
+
exported_from?: {
|
|
209
|
+
oxygen_version?: string;
|
|
210
|
+
};
|
|
211
|
+
source_hash: string;
|
|
212
|
+
compiler_version: typeof BLUEPRINT_COMPILER_VERSION;
|
|
213
|
+
};
|
|
214
|
+
export type WorkflowFunction = (context: Record<string, unknown>) => unknown | Promise<unknown>;
|
|
215
|
+
export type WorkflowDefinition = {
|
|
216
|
+
readonly __oxygen_workflow_definition: true;
|
|
217
|
+
id: string;
|
|
218
|
+
name: string;
|
|
219
|
+
status?: WorkflowStatus;
|
|
220
|
+
specification?: string;
|
|
221
|
+
trigger?: WorkflowTriggerDefinition;
|
|
222
|
+
inputSchema?: JsonSchema;
|
|
223
|
+
maxCredits?: number;
|
|
224
|
+
steps: WorkflowStepDefinition[];
|
|
225
|
+
};
|
|
226
|
+
export type WorkflowTriggerDefinition = WorkflowTriggerManifest;
|
|
227
|
+
export type WorkflowTransformStepDefinition = {
|
|
228
|
+
readonly __oxygen_workflow_step: true;
|
|
229
|
+
kind: "transform";
|
|
230
|
+
id: string;
|
|
231
|
+
description?: string;
|
|
232
|
+
run: WorkflowFunction;
|
|
233
|
+
};
|
|
234
|
+
export type WorkflowToolStepDefinition = {
|
|
235
|
+
readonly __oxygen_workflow_step: true;
|
|
236
|
+
kind: "tool";
|
|
237
|
+
id: string;
|
|
238
|
+
description?: string;
|
|
239
|
+
tool: string;
|
|
240
|
+
effect?: WorkflowStepEffect;
|
|
241
|
+
mode?: WorkflowMode;
|
|
242
|
+
connectionId?: string;
|
|
243
|
+
maxCredits?: number;
|
|
244
|
+
payload: WorkflowFunction;
|
|
245
|
+
};
|
|
246
|
+
export type WorkflowBranchStepDefinition = {
|
|
247
|
+
readonly __oxygen_workflow_step: true;
|
|
248
|
+
kind: "branch";
|
|
249
|
+
id: string;
|
|
250
|
+
description?: string;
|
|
251
|
+
condition: WorkflowFunction;
|
|
252
|
+
then: string;
|
|
253
|
+
else?: string;
|
|
254
|
+
join?: string;
|
|
255
|
+
};
|
|
256
|
+
export type WorkflowStepDefinition = WorkflowTransformStepDefinition | WorkflowToolStepDefinition | WorkflowBranchStepDefinition;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* v1 workflow, recipe and blueprint manifest shapes and compiler constants.
|
|
3
|
+
* Declarations only; `index.ts` re-exports them.
|
|
4
|
+
*/
|
|
5
|
+
export const WORKFLOW_COMPILER_VERSION = "oxygen-workflows-v1";
|
|
6
|
+
export const BLUEPRINT_VERSION = 1;
|
|
7
|
+
export const BLUEPRINT_COMPILER_VERSION = "oxygen-blueprints-v1";
|
|
8
|
+
export const MAX_BLUEPRINT_BYTES = 4_000_000;
|
|
9
|
+
export const DEFAULT_WORKFLOW_CRON_TIMEZONE = "UTC";
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { ToolParamFields, ToolParamSpec } from "./graph/params.js";
|
|
2
|
+
export declare const WORKFLOW_MANIFEST_VERSION = 1;
|
|
3
|
+
export declare const DURABLE_RECIPE_COMPILER_VERSION = "oxygen-recipes-v2";
|
|
4
|
+
export declare const MAX_RECIPE_BUNDLE_BYTES = 2000000;
|
|
5
|
+
export type WorkflowStatus = "active" | "disabled";
|
|
6
|
+
export type WorkflowStepEffect = "none" | "external_read" | "external_write";
|
|
7
|
+
/** A valid workflow / recipe / trigger status. Optional everywhere it appears. */
|
|
8
|
+
export declare function isValidWorkflowStatus(value: unknown): value is WorkflowStatus;
|
|
9
|
+
export type JsonSchema = {
|
|
10
|
+
type?: string | string[];
|
|
11
|
+
title?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
properties?: Record<string, JsonSchema>;
|
|
14
|
+
required?: string[];
|
|
15
|
+
items?: JsonSchema;
|
|
16
|
+
enum?: unknown[];
|
|
17
|
+
const?: unknown;
|
|
18
|
+
anyOf?: JsonSchema[];
|
|
19
|
+
additionalProperties?: boolean | JsonSchema;
|
|
20
|
+
[key: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
export type WorkflowLintIssue = {
|
|
23
|
+
path: string;
|
|
24
|
+
code: string;
|
|
25
|
+
message: string;
|
|
26
|
+
};
|
|
27
|
+
export type WorkflowLintResult = {
|
|
28
|
+
ok: boolean;
|
|
29
|
+
issues: WorkflowLintIssue[];
|
|
30
|
+
};
|
|
31
|
+
export type JsonSchemaValidationIssue = WorkflowLintIssue;
|
|
32
|
+
export type WorkflowManifestValidationOptions = {
|
|
33
|
+
isToolAllowed?: (toolId: string) => boolean;
|
|
34
|
+
/**
|
|
35
|
+
* A tool's input fields, so lint can tell whether a node is actually filled in.
|
|
36
|
+
*
|
|
37
|
+
* Injected exactly like resolveToolEffect and for the same reason: the field
|
|
38
|
+
* list lives in @oxygen/tools / @oxygen/mcp-server, which the CLI and the
|
|
39
|
+
* browser bundle cannot carry. Omitting it SKIPS the check rather than
|
|
40
|
+
* refusing — but every SERVER lint path must inject it, because without it the
|
|
41
|
+
* editor blocks a node that `apply` then accepts, which is precisely the
|
|
42
|
+
* GUI-only guarantee this option exists to end.
|
|
43
|
+
*/
|
|
44
|
+
/**
|
|
45
|
+
* Accepts a bare field list or a `{ fields, closed }` pair. The union is
|
|
46
|
+
* deliberate: it widens the contract for callers that can report whether the
|
|
47
|
+
* schema is closed without touching the ones that cannot.
|
|
48
|
+
*/
|
|
49
|
+
resolveToolParamFields?: (toolId: string) => readonly ToolParamSpec[] | ToolParamFields | null;
|
|
50
|
+
resolveToolEffect?: (toolId: string) => WorkflowStepEffect | null;
|
|
51
|
+
};
|
|
52
|
+
export declare function validateOptionalMaxCredits(value: unknown, path: string, add: (path: string, code: string, message: string) => void): void;
|
|
53
|
+
export declare function lintRecipeManifest(// skipcq: JS-R1005
|
|
54
|
+
value: unknown, options?: WorkflowManifestValidationOptions): WorkflowLintResult;
|
|
55
|
+
export declare function validateJsonSchemaValue(value: unknown, schema: JsonSchema | undefined, path?: string, maxIssues?: number, maxVisits?: number): JsonSchemaValidationIssue[];
|
|
56
|
+
/** Comment/string-aware author feedback for the stricter oxygen-js-v1 runtime. */
|
|
57
|
+
export declare function lintWorkflowCodeSourceSafety(source: string, path?: string): WorkflowLintIssue[];
|
|
58
|
+
export declare function validateTrigger(// skipcq: JS-R1005
|
|
59
|
+
value: unknown, path: string, add: (path: string, code: string, message: string) => void): void;
|
|
60
|
+
export declare function validateBranchTarget(target: unknown, path: string, fieldLabel: "then_id" | "else_id" | "join_id", branchIndex: number, idToIndex: ReadonlyMap<string, number>, add: (path: string, code: string, message: string) => void): void;
|
|
61
|
+
export declare function validatePureFunctionSource(source: string, path: string, add: (path: string, code: string, message: string) => void): void;
|
|
62
|
+
export declare function validateRecipeBundleSafety(source: string, path: string, add: (path: string, code: string, message: string) => void): void;
|
|
63
|
+
export declare function isWorkflowToolRejected(toolId: string): boolean;
|
|
64
|
+
export type CronSchedule = {
|
|
65
|
+
minutes: Set<number>;
|
|
66
|
+
hours: Set<number>;
|
|
67
|
+
daysOfMonth: Set<number>;
|
|
68
|
+
months: Set<number>;
|
|
69
|
+
daysOfWeek: Set<number>;
|
|
70
|
+
dayOfMonthRestricted: boolean;
|
|
71
|
+
dayOfWeekRestricted: boolean;
|
|
72
|
+
};
|
|
73
|
+
export declare function parseCronSchedule(value: string): CronSchedule;
|
|
74
|
+
export declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
75
|
+
export declare function isNonEmptyString(value: unknown): value is string;
|