@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.
- package/README.md +1 -1
- package/dist/command-families/tables/automation.js +1 -1
- package/dist/command-families/tables/import-batches.js +1 -1
- package/dist/command-families/tables/import-values.js +1 -1
- package/dist/command-families/tables/register-reads.js +2 -2
- package/dist/command-manifest.js +9 -0
- package/dist/command-support.js +2 -2
- package/dist/commands/agent.js +2 -2
- package/dist/commands/billing.js +1 -1
- package/dist/commands/budget.js +1 -1
- package/dist/commands/columns.js +2 -2
- package/dist/commands/copilot.js +9 -3
- package/dist/commands/knowledge.js +3 -3
- package/dist/commands/table-runs.js +1 -1
- package/dist/commands/verify.js +1 -1
- package/dist/customer-operation-commands.js +1 -0
- package/dist/knowledge-mirror.js +1 -1
- package/dist/visual-commands.js +57 -8
- package/dist/workspace-skill-commands.d.ts +1 -1
- package/dist/workspace-skill-commands.js +1 -1
- package/node_modules/@oxygen/formula/dist/expression.d.ts +7 -0
- package/node_modules/@oxygen/formula/dist/expression.js +29 -1
- package/node_modules/@oxygen/formula/dist/formula-functions.d.ts +2 -0
- package/node_modules/@oxygen/formula/dist/formula-functions.js +6 -2
- package/node_modules/@oxygen/shared/dist/agents/reply-oxygent.js +1 -1
- package/node_modules/@oxygen/shared/dist/agents/sessions.js +2 -2
- package/node_modules/@oxygen/shared/dist/{billing.js → billing/billing.js} +4 -4
- package/node_modules/@oxygen/shared/dist/{credit-guidance.js → billing/credit-guidance.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{billing-money.js → billing/money.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{plan-band.d.ts → billing/plan-band.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{plan-band.js → billing/plan-band.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{plan-limits.d.ts → billing/plan-limits.d.ts} +2 -2
- package/node_modules/@oxygen/shared/dist/{plan-limits.js → billing/plan-limits.js} +5 -5
- package/node_modules/@oxygen/shared/dist/{pricing-sheet.d.ts → billing/pricing-sheet.d.ts} +9 -9
- package/node_modules/@oxygen/shared/dist/{pricing-sheet.js → billing/pricing-sheet.js} +10 -10
- package/node_modules/@oxygen/shared/dist/{repricing.js → billing/repricing.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{sending-seats.d.ts → billing/sending-seats.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{sending-seats.js → billing/sending-seats.js} +1 -1
- package/node_modules/@oxygen/shared/dist/capability-discovery.d.ts +2 -2
- package/node_modules/@oxygen/shared/dist/capability-discovery.js +3 -3
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/capability-intents/visual-rendering.rules.js +3 -2
- package/node_modules/@oxygen/shared/dist/capability-routes/visual-rendering.js +6 -6
- package/node_modules/@oxygen/shared/dist/contracts/browser-operations.js +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/connectors.js +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/copilot-sessions.d.ts +27 -0
- package/node_modules/@oxygen/shared/dist/contracts/copilot-sessions.js +13 -0
- package/node_modules/@oxygen/shared/dist/contracts/customer-operations.js +2 -1
- package/node_modules/@oxygen/shared/dist/contracts/knowledge-content-reads.js +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/knowledge-proposal-reads.js +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/limits-read.js +2 -2
- package/node_modules/@oxygen/shared/dist/contracts/table-query-raw.d.ts +10 -0
- package/node_modules/@oxygen/shared/dist/contracts/table-query-raw.js +15 -0
- package/node_modules/@oxygen/shared/dist/contracts/teammates.js +2 -2
- package/node_modules/@oxygen/shared/dist/{copilot-access.js → copilot/access.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{copilot-journeys.js → copilot/journeys.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{copilot-playbooks.d.ts → copilot/playbooks.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{copilot-playbooks.js → copilot/playbooks.js} +1 -1
- package/node_modules/@oxygen/shared/dist/copilot-journeys.generated.js +1 -1
- package/node_modules/@oxygen/shared/dist/copilot-playbooks.generated.js +1 -1
- package/node_modules/@oxygen/shared/dist/diagnostic-spool.js +10 -1
- package/node_modules/@oxygen/shared/dist/feature-gates.d.ts +2 -2
- package/node_modules/@oxygen/shared/dist/feature-gates.js +2 -2
- package/node_modules/@oxygen/shared/dist/hosted-ai.js +1 -1
- package/node_modules/@oxygen/shared/dist/index.d.ts +24 -24
- package/node_modules/@oxygen/shared/dist/index.js +24 -24
- package/node_modules/@oxygen/shared/dist/{knowledge-bases.js → knowledge/bases.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{knowledge-bootstrap.d.ts → knowledge/bootstrap.d.ts} +8 -2
- package/node_modules/@oxygen/shared/dist/{knowledge-bootstrap.js → knowledge/bootstrap.js} +9 -3
- package/node_modules/@oxygen/shared/dist/{knowledge-links.js → knowledge/links.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{knowledge-markdown.js → knowledge/markdown.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{knowledge-repository.js → knowledge/repository.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{knowledge-seed-content.d.ts → knowledge/seed-content.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{knowledge-vault-markdown.js → knowledge/vault-markdown.js} +1 -1
- package/node_modules/@oxygen/shared/dist/log-collapse.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/log-collapse.js +1 -1
- package/node_modules/@oxygen/shared/dist/mailboxes/freemail-domains.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/mailboxes/freemail-domains.js +1 -1
- package/node_modules/@oxygen/shared/dist/media-project.d.ts +34 -0
- package/node_modules/@oxygen/shared/dist/media-project.js +58 -0
- package/node_modules/@oxygen/shared/dist/onboarding/research.d.ts +25 -1
- package/node_modules/@oxygen/shared/dist/onboarding/research.js +27 -1
- package/node_modules/@oxygen/shared/dist/pricing-snapshot.generated.js +1 -1
- package/node_modules/@oxygen/shared/dist/{publishing-approval.js → publishing/approval.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{skill-play-routing.js → recipes/skill-play-routing.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{workspace-skills.js → recipes/workspace-skills.js} +2 -2
- package/node_modules/@oxygen/shared/dist/search-vocab.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/search-vocab.js +15 -2
- package/node_modules/@oxygen/shared/dist/sequences/linkedin-quota-denial.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/sequences/linkedin-quota-denial.js +1 -1
- package/node_modules/@oxygen/shared/dist/sequences/sending-limits.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/sequences/whatsapp-sender-limits.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/sequences/whatsapp-sender-limits.js +1 -1
- package/node_modules/@oxygen/shared/dist/{network-mining-approval.js → signals/network-mining-approval.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{network-mining.js → signals/network-mining.js} +1 -1
- package/node_modules/@oxygen/shared/dist/skill-plays.generated.js +1 -1
- package/node_modules/@oxygen/shared/dist/spend-safety.d.ts +4 -4
- package/node_modules/@oxygen/shared/dist/spend-safety.js +1 -1
- package/node_modules/@oxygen/shared/dist/tables/capacity.d.ts +2 -2
- package/node_modules/@oxygen/shared/dist/tables/capacity.js +1 -1
- package/node_modules/@oxygen/shared/dist/{cell-format.js → tables/cell-format.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{column-autofill.js → tables/column-autofill.js} +1 -1
- package/node_modules/@oxygen/shared/dist/tables/column-output-fields.js +1 -1
- package/node_modules/@oxygen/shared/dist/tables/company-enrichment-fields.js +1 -1
- package/node_modules/@oxygen/shared/dist/tables/enrichment-intents.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/tables/enrichment-intents.js +1 -1
- package/node_modules/@oxygen/shared/dist/{table-field-types.d.ts → tables/field-types.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{table-field-types.js → tables/field-types.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{table-filter-operators.js → tables/filter-operators.js} +1 -1
- package/node_modules/@oxygen/shared/dist/tables/linkedin-payload-fields.d.ts +78 -0
- package/node_modules/@oxygen/shared/dist/tables/linkedin-payload-fields.js +182 -0
- package/node_modules/@oxygen/shared/dist/{research-findings.js → tables/research-findings.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{research-output-contract.js → tables/research-output-contract.js} +1 -1
- package/node_modules/@oxygen/shared/dist/user-capability-routing.js +27 -0
- package/node_modules/@oxygen/shared/dist/version.d.ts +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/version.js +1 -1
- package/node_modules/@oxygen/shared/dist/visual-render.d.ts +14 -3
- package/node_modules/@oxygen/shared/dist/visual-render.js +43 -2
- package/node_modules/@oxygen/shared/dist/workflows/workspace-event-catalog.js +3 -3
- package/node_modules/@oxygen/shared/dist/workspace-file-storage.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/workspace-file-storage.js +3 -2
- package/node_modules/@oxygen/shared/package.json +0 -65
- package/node_modules/@oxygen/workflows/dist/recipe-timestamp.d.ts +1 -1
- package/node_modules/@oxygen/workflows/dist/recipe-timestamp.js +1 -1
- package/package.json +1 -1
- /package/node_modules/@oxygen/shared/dist/{billing-anchors.d.ts → billing/anchors.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{billing-anchors.js → billing/anchors.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{billing.d.ts → billing/billing.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{budget-scopes.d.ts → billing/budget-scopes.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{budget-scopes.js → billing/budget-scopes.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{byok-connect.d.ts → billing/byok-connect.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{byok-connect.js → billing/byok-connect.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{cost-estimate-view.d.ts → billing/cost-estimate-view.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{cost-estimate-view.js → billing/cost-estimate-view.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{cost-estimate.d.ts → billing/cost-estimate.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{cost-estimate.js → billing/cost-estimate.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{credit-gate.d.ts → billing/credit-gate.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{credit-gate.js → billing/credit-gate.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{credit-guidance.d.ts → billing/credit-guidance.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{credit-topup-review.d.ts → billing/credit-topup-review.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{credit-topup-review.js → billing/credit-topup-review.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{first-month-offer-window.d.ts → billing/first-month-offer-window.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{first-month-offer-window.js → billing/first-month-offer-window.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{first-month-offer.d.ts → billing/first-month-offer.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{first-month-offer.js → billing/first-month-offer.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{guided-trial-billing.d.ts → billing/guided-trial-billing.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{guided-trial-billing.js → billing/guided-trial-billing.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{billing-money.d.ts → billing/money.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{partner-coupon-bonus.d.ts → billing/partner-coupon-bonus.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{partner-coupon-bonus.js → billing/partner-coupon-bonus.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{plan-capabilities.d.ts → billing/plan-capabilities.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{plan-capabilities.js → billing/plan-capabilities.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{plan-limits-view.d.ts → billing/plan-limits-view.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{plan-limits-view.js → billing/plan-limits-view.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{repricing.d.ts → billing/repricing.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{sending-seat-capacity.d.ts → billing/sending-seat-capacity.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{sending-seat-capacity.js → billing/sending-seat-capacity.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{stripe-price-catalog.d.ts → billing/stripe-price-catalog.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{stripe-price-catalog.js → billing/stripe-price-catalog.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{stripe-subscription-kind.d.ts → billing/stripe-subscription-kind.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{stripe-subscription-kind.js → billing/stripe-subscription-kind.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{copilot-access.d.ts → copilot/access.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{copilot-errors.d.ts → copilot/errors.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{copilot-errors.js → copilot/errors.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{copilot-journeys.d.ts → copilot/journeys.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{copilot-plan.d.ts → copilot/plan.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{copilot-plan.js → copilot/plan.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{copilot-questions.d.ts → copilot/questions.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{copilot-questions.js → copilot/questions.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{knowledge-bases.d.ts → knowledge/bases.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{knowledge-brain-draft.d.ts → knowledge/brain-draft.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{knowledge-brain-draft.js → knowledge/brain-draft.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{knowledge-constants.d.ts → knowledge/constants.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{knowledge-constants.js → knowledge/constants.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{knowledge-links.d.ts → knowledge/links.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{knowledge-markdown.d.ts → knowledge/markdown.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{knowledge-repository.d.ts → knowledge/repository.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{knowledge-seed-content.js → knowledge/seed-content.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{knowledge-vault-markdown.d.ts → knowledge/vault-markdown.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{publishing-approval.d.ts → publishing/approval.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{publishing-limits.d.ts → publishing/limits.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{publishing-limits.js → publishing/limits.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{skill-play-routing.d.ts → recipes/skill-play-routing.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{workspace-skills.d.ts → recipes/workspace-skills.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{network-mining-approval.d.ts → signals/network-mining-approval.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{network-mining-signals.d.ts → signals/network-mining-signals.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{network-mining-signals.js → signals/network-mining-signals.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{network-mining.d.ts → signals/network-mining.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{cell-format.d.ts → tables/cell-format.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{clay-migration-auth-state.d.ts → tables/clay-migration-auth-state.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{clay-migration-auth-state.js → tables/clay-migration-auth-state.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{column-autofill.d.ts → tables/column-autofill.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{column-operation.d.ts → tables/column-operation.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{column-operation.js → tables/column-operation.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{email-verification-batch.d.ts → tables/email-verification-batch.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{email-verification-batch.js → tables/email-verification-batch.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{table-filter-operators.d.ts → tables/filter-operators.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-countries.d.ts → tables/linkedin-countries.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-countries.js → tables/linkedin-countries.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-country-timezones.d.ts → tables/linkedin-country-timezones.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-country-timezones.js → tables/linkedin-country-timezones.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{research-depth.d.ts → tables/research-depth.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{research-depth.js → tables/research-depth.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{research-findings.d.ts → tables/research-findings.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{research-output-contract.d.ts → tables/research-output-contract.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{table-run-summary.d.ts → tables/run-summary.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{table-run-summary.js → tables/run-summary.js} +0 -0
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* sides and fails when they diverge.
|
|
27
27
|
*
|
|
28
28
|
* Dependency-free on purpose: this module is imported by "use client"
|
|
29
|
-
* marketing components via the `@oxygen/shared/pricing-sheet` subpath, so it
|
|
29
|
+
* marketing components via the `@oxygen/shared/billing/pricing-sheet` subpath, so it
|
|
30
30
|
* must never drag the shared barrel (async_hooks etc.) into a client bundle.
|
|
31
31
|
* The generated snapshot holds that property too — it is literals only.
|
|
32
32
|
*
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
* /admin/costs takes effect without a deploy.
|
|
36
36
|
*/
|
|
37
37
|
import { type RepricingOptions } from "./repricing.js";
|
|
38
|
-
export { creditsToUsd, usdToCredits } from "
|
|
38
|
+
export { creditsToUsd, usdToCredits } from "../pricing-snapshot.generated.js";
|
|
39
39
|
export declare const PRICING_SHEET_VERIFIED = "2026-07";
|
|
40
40
|
export declare const PRICING_CREDITS_PER_USD = 100;
|
|
41
41
|
/**
|
|
@@ -43,7 +43,7 @@ export declare const PRICING_CREDITS_PER_USD = 100;
|
|
|
43
43
|
* $1.00. It rises $1.25 → $1.30 at the 2026-09 repricing's instant (S10), so a
|
|
44
44
|
* page resolves it on the server and passes the number to client components,
|
|
45
45
|
* which cannot read the switch. Same value as `creditTopupUsdCentsPer100() / 100`
|
|
46
|
-
* from `@oxygen/shared/billing`.
|
|
46
|
+
* from `@oxygen/shared/billing/billing`.
|
|
47
47
|
*/
|
|
48
48
|
export declare function topupUsdPer100(options?: RepricingOptions): number;
|
|
49
49
|
/**
|
|
@@ -72,7 +72,7 @@ export declare const SUBSCRIPTION_USD_PER_100 = 1;
|
|
|
72
72
|
* packages/shared/src/hosted-ai.ts.
|
|
73
73
|
*
|
|
74
74
|
* RESOLVER-DERIVED, not seed-derived: the canonical values live in
|
|
75
|
-
* packages/integrations/src/cogs-rates.ts and are served per-workspace from
|
|
75
|
+
* packages/integrations/src/billing/cogs-rates.ts and are served per-workspace from
|
|
76
76
|
* provider_cost_config. pricing-sheet-conformance.test.ts pins these literals
|
|
77
77
|
* against the live estimator, so a tier re-price fails a test rather than
|
|
78
78
|
* quietly mispricing the page.
|
|
@@ -167,7 +167,7 @@ export declare const RESEARCH_DEPTH_TYPICAL_ROW_CREDITS: {
|
|
|
167
167
|
/**
|
|
168
168
|
* Workflow steps are priced through the 2026-09 repricing switch, so this sheet
|
|
169
169
|
* carries no flat number for them: the price in force is
|
|
170
|
-
* `automationStepCredits()` (`@oxygen/shared/billing`), resolved on the server.
|
|
170
|
+
* `automationStepCredits()` (`@oxygen/shared/billing/billing`), resolved on the server.
|
|
171
171
|
* The definition is re-exported for surfaces that show what the step costs
|
|
172
172
|
* before and after the switch. Row writes inside a run are free.
|
|
173
173
|
*/
|
|
@@ -176,7 +176,7 @@ export { AUTOMATION_STEP_CREDITS_REPRICING } from "./repricing.js";
|
|
|
176
176
|
* The flat mailbox line of a managed Google or Microsoft 365 inbox: 300 (founder,
|
|
177
177
|
* 2026-10-07; repricing decision 3.1 had set 400 for Google alone). Its 100-credit
|
|
178
178
|
* mailbox connection, warm-up included, bills beside it: 400 all-in, which
|
|
179
|
-
* `managedInboxAllInCredits()` from `@oxygen/shared/repricing` quotes. The price
|
|
179
|
+
* `managedInboxAllInCredits()` from `@oxygen/shared/billing/repricing` quotes. The price
|
|
180
180
|
* charged is the pricing book's row; this is its committed default. Kept as an
|
|
181
181
|
* object (min/typical/max all equal) so callers that destructure any field need
|
|
182
182
|
* no shape change.
|
|
@@ -225,7 +225,7 @@ export declare const SENDING_DOMAIN_CREDITS_PER_YEAR_TYPICAL = 1250;
|
|
|
225
225
|
* repricing had set 135). The extra test is the RATIFIED 66 (slice S30), whose rise
|
|
226
226
|
* waits for the S07 effective-date switch, so a surface that quotes or bills uses
|
|
227
227
|
* `deliverabilitySeatCredits()` and `placementTestCredits()` from
|
|
228
|
-
* `@oxygen/shared/repricing` (16.6 for the test until the switch's instant).
|
|
228
|
+
* `@oxygen/shared/billing/repricing` (16.6 for the test until the switch's instant).
|
|
229
229
|
*/
|
|
230
230
|
export declare const DELIVERABILITY_SEAT_CREDITS_PER_MONTH = 100;
|
|
231
231
|
export declare const DELIVERABILITY_INCLUDED_TESTS_PER_INBOX = 2;
|
|
@@ -239,7 +239,7 @@ export declare const PLACEMENT_TEST_OVERAGE_CREDITS = 66;
|
|
|
239
239
|
*
|
|
240
240
|
* The value is the seeded price after the 2026-09 repricing (3,400, decision
|
|
241
241
|
* 2.1). The price in force before its effective-date switch is lower: resolve
|
|
242
|
-
* it with repricedChargeCredits from `@oxygen/shared/repricing` on the server.
|
|
242
|
+
* it with repricedChargeCredits from `@oxygen/shared/billing/repricing` on the server.
|
|
243
243
|
*/
|
|
244
244
|
export declare const LINKEDIN_ACCOUNT_CREDITS_PER_MONTH = 3400;
|
|
245
245
|
export declare const LINKEDIN_ACTION_CREDITS: {
|
|
@@ -263,7 +263,7 @@ export declare const WHATSAPP_ACCOUNT_CREDITS_PER_MONTH = 3400;
|
|
|
263
263
|
* X accounts: monthly credit reservation per connected account (2026-09
|
|
264
264
|
* repricing, decision 2.2). Like the LinkedIn and WhatsApp constants above this
|
|
265
265
|
* is the seeded, post-repricing price; show the price in force with
|
|
266
|
-
* repricedChargeCredits from `@oxygen/shared/repricing`.
|
|
266
|
+
* repricedChargeCredits from `@oxygen/shared/billing/repricing`.
|
|
267
267
|
*/
|
|
268
268
|
export declare const X_ACCOUNT_CREDITS_PER_MONTH = 1000;
|
|
269
269
|
/** Dedicated egress IP add-on. */
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* sides and fails when they diverge.
|
|
27
27
|
*
|
|
28
28
|
* Dependency-free on purpose: this module is imported by "use client"
|
|
29
|
-
* marketing components via the `@oxygen/shared/pricing-sheet` subpath, so it
|
|
29
|
+
* marketing components via the `@oxygen/shared/billing/pricing-sheet` subpath, so it
|
|
30
30
|
* must never drag the shared barrel (async_hooks etc.) into a client bundle.
|
|
31
31
|
* The generated snapshot holds that property too — it is literals only.
|
|
32
32
|
*
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
* loadPricingBook() instead of importing this file, so a staff re-price at
|
|
35
35
|
* /admin/costs takes effect without a deploy.
|
|
36
36
|
*/
|
|
37
|
-
import { CREDITS_PER_USD as SNAPSHOT_CREDITS_PER_USD, DELIVERABILITY_INCLUDED_TESTS_PER_INBOX as SNAPSHOT_DELIVERABILITY_INCLUDED_TESTS_PER_INBOX, DELIVERABILITY_SEAT_CREDITS_PER_MONTH as SNAPSHOT_DELIVERABILITY_SEAT_CREDITS_PER_MONTH, EGRESS_IP_CREDITS_PER_MONTH as SNAPSHOT_EGRESS_IP_CREDITS_PER_MONTH, SENDING_SEAT_USD_CENTS as SNAPSHOT_SENDING_SEAT_USD_CENTS, ENRICHMENT_CREDITS_PER_ROW_TYPICAL as SNAPSHOT_ENRICHMENT_CREDITS_PER_ROW_TYPICAL, LINKEDIN_ACCOUNT_CREDITS_PER_MONTH as SNAPSHOT_LINKEDIN_ACCOUNT_CREDITS_PER_MONTH, LINKEDIN_ACTION_CREDITS as SNAPSHOT_LINKEDIN_ACTION_CREDITS, LINKEDIN_TYPICAL_ACTIONS_CREDITS_PER_MONTH as SNAPSHOT_LINKEDIN_TYPICAL_ACTIONS_CREDITS_PER_MONTH, MANAGED_INBOX_CREDITS_PER_MONTH as SNAPSHOT_MANAGED_INBOX_CREDITS_PER_MONTH, PLACEMENT_TEST_OVERAGE_CREDITS as SNAPSHOT_PLACEMENT_TEST_OVERAGE_CREDITS, PRICE_SHEET_VERIFIED as SNAPSHOT_PRICE_SHEET_VERIFIED, SEND_CREDITS as SNAPSHOT_SEND_CREDITS, SENDING_DOMAIN_CREDITS_PER_YEAR_TYPICAL as SNAPSHOT_SENDING_DOMAIN_CREDITS_PER_YEAR_TYPICAL, SUBSCRIPTION_USD_PER_100 as SNAPSHOT_SUBSCRIPTION_USD_PER_100, VOICE_CREDITS_PER_MINUTE as SNAPSHOT_VOICE_CREDITS_PER_MINUTE, VOICE_NUMBER_CREDITS_PER_MONTH as SNAPSHOT_VOICE_NUMBER_CREDITS_PER_MONTH, WHATSAPP_ACCOUNT_CREDITS_PER_MONTH as SNAPSHOT_WHATSAPP_ACCOUNT_CREDITS_PER_MONTH, X_ACCOUNT_CREDITS_PER_MONTH as SNAPSHOT_X_ACCOUNT_CREDITS_PER_MONTH, } from "
|
|
37
|
+
import { CREDITS_PER_USD as SNAPSHOT_CREDITS_PER_USD, DELIVERABILITY_INCLUDED_TESTS_PER_INBOX as SNAPSHOT_DELIVERABILITY_INCLUDED_TESTS_PER_INBOX, DELIVERABILITY_SEAT_CREDITS_PER_MONTH as SNAPSHOT_DELIVERABILITY_SEAT_CREDITS_PER_MONTH, EGRESS_IP_CREDITS_PER_MONTH as SNAPSHOT_EGRESS_IP_CREDITS_PER_MONTH, SENDING_SEAT_USD_CENTS as SNAPSHOT_SENDING_SEAT_USD_CENTS, ENRICHMENT_CREDITS_PER_ROW_TYPICAL as SNAPSHOT_ENRICHMENT_CREDITS_PER_ROW_TYPICAL, LINKEDIN_ACCOUNT_CREDITS_PER_MONTH as SNAPSHOT_LINKEDIN_ACCOUNT_CREDITS_PER_MONTH, LINKEDIN_ACTION_CREDITS as SNAPSHOT_LINKEDIN_ACTION_CREDITS, LINKEDIN_TYPICAL_ACTIONS_CREDITS_PER_MONTH as SNAPSHOT_LINKEDIN_TYPICAL_ACTIONS_CREDITS_PER_MONTH, MANAGED_INBOX_CREDITS_PER_MONTH as SNAPSHOT_MANAGED_INBOX_CREDITS_PER_MONTH, PLACEMENT_TEST_OVERAGE_CREDITS as SNAPSHOT_PLACEMENT_TEST_OVERAGE_CREDITS, PRICE_SHEET_VERIFIED as SNAPSHOT_PRICE_SHEET_VERIFIED, SEND_CREDITS as SNAPSHOT_SEND_CREDITS, SENDING_DOMAIN_CREDITS_PER_YEAR_TYPICAL as SNAPSHOT_SENDING_DOMAIN_CREDITS_PER_YEAR_TYPICAL, SUBSCRIPTION_USD_PER_100 as SNAPSHOT_SUBSCRIPTION_USD_PER_100, VOICE_CREDITS_PER_MINUTE as SNAPSHOT_VOICE_CREDITS_PER_MINUTE, VOICE_NUMBER_CREDITS_PER_MONTH as SNAPSHOT_VOICE_NUMBER_CREDITS_PER_MONTH, WHATSAPP_ACCOUNT_CREDITS_PER_MONTH as SNAPSHOT_WHATSAPP_ACCOUNT_CREDITS_PER_MONTH, X_ACCOUNT_CREDITS_PER_MONTH as SNAPSHOT_X_ACCOUNT_CREDITS_PER_MONTH, } from "../pricing-snapshot.generated.js";
|
|
38
38
|
import { formatRepricingDate, repricedValue, scheduledRepricedValue, TOPUP_RATE_REPRICING, } from "./repricing.js";
|
|
39
|
-
export { creditsToUsd, usdToCredits } from "
|
|
39
|
+
export { creditsToUsd, usdToCredits } from "../pricing-snapshot.generated.js";
|
|
40
40
|
export const PRICING_SHEET_VERIFIED = SNAPSHOT_PRICE_SHEET_VERIFIED;
|
|
41
41
|
export const PRICING_CREDITS_PER_USD = SNAPSHOT_CREDITS_PER_USD;
|
|
42
42
|
/**
|
|
@@ -44,7 +44,7 @@ export const PRICING_CREDITS_PER_USD = SNAPSHOT_CREDITS_PER_USD;
|
|
|
44
44
|
* $1.00. It rises $1.25 → $1.30 at the 2026-09 repricing's instant (S10), so a
|
|
45
45
|
* page resolves it on the server and passes the number to client components,
|
|
46
46
|
* which cannot read the switch. Same value as `creditTopupUsdCentsPer100() / 100`
|
|
47
|
-
* from `@oxygen/shared/billing`.
|
|
47
|
+
* from `@oxygen/shared/billing/billing`.
|
|
48
48
|
*/
|
|
49
49
|
export function topupUsdPer100(options = {}) {
|
|
50
50
|
return repricedValue(TOPUP_RATE_REPRICING, options) / 100;
|
|
@@ -76,7 +76,7 @@ export const SUBSCRIPTION_USD_PER_100 = SNAPSHOT_SUBSCRIPTION_USD_PER_100;
|
|
|
76
76
|
* packages/shared/src/hosted-ai.ts.
|
|
77
77
|
*
|
|
78
78
|
* RESOLVER-DERIVED, not seed-derived: the canonical values live in
|
|
79
|
-
* packages/integrations/src/cogs-rates.ts and are served per-workspace from
|
|
79
|
+
* packages/integrations/src/billing/cogs-rates.ts and are served per-workspace from
|
|
80
80
|
* provider_cost_config. pricing-sheet-conformance.test.ts pins these literals
|
|
81
81
|
* against the live estimator, so a tier re-price fails a test rather than
|
|
82
82
|
* quietly mispricing the page.
|
|
@@ -156,7 +156,7 @@ export const RESEARCH_DEPTH_TYPICAL_ROW_CREDITS = { quick: 2.1, standard: 5.5, d
|
|
|
156
156
|
/**
|
|
157
157
|
* Workflow steps are priced through the 2026-09 repricing switch, so this sheet
|
|
158
158
|
* carries no flat number for them: the price in force is
|
|
159
|
-
* `automationStepCredits()` (`@oxygen/shared/billing`), resolved on the server.
|
|
159
|
+
* `automationStepCredits()` (`@oxygen/shared/billing/billing`), resolved on the server.
|
|
160
160
|
* The definition is re-exported for surfaces that show what the step costs
|
|
161
161
|
* before and after the switch. Row writes inside a run are free.
|
|
162
162
|
*/
|
|
@@ -165,7 +165,7 @@ export { AUTOMATION_STEP_CREDITS_REPRICING } from "./repricing.js";
|
|
|
165
165
|
* The flat mailbox line of a managed Google or Microsoft 365 inbox: 300 (founder,
|
|
166
166
|
* 2026-10-07; repricing decision 3.1 had set 400 for Google alone). Its 100-credit
|
|
167
167
|
* mailbox connection, warm-up included, bills beside it: 400 all-in, which
|
|
168
|
-
* `managedInboxAllInCredits()` from `@oxygen/shared/repricing` quotes. The price
|
|
168
|
+
* `managedInboxAllInCredits()` from `@oxygen/shared/billing/repricing` quotes. The price
|
|
169
169
|
* charged is the pricing book's row; this is its committed default. Kept as an
|
|
170
170
|
* object (min/typical/max all equal) so callers that destructure any field need
|
|
171
171
|
* no shape change.
|
|
@@ -214,7 +214,7 @@ export const SENDING_DOMAIN_CREDITS_PER_YEAR_TYPICAL = SNAPSHOT_SENDING_DOMAIN_C
|
|
|
214
214
|
* repricing had set 135). The extra test is the RATIFIED 66 (slice S30), whose rise
|
|
215
215
|
* waits for the S07 effective-date switch, so a surface that quotes or bills uses
|
|
216
216
|
* `deliverabilitySeatCredits()` and `placementTestCredits()` from
|
|
217
|
-
* `@oxygen/shared/repricing` (16.6 for the test until the switch's instant).
|
|
217
|
+
* `@oxygen/shared/billing/repricing` (16.6 for the test until the switch's instant).
|
|
218
218
|
*/
|
|
219
219
|
export const DELIVERABILITY_SEAT_CREDITS_PER_MONTH = SNAPSHOT_DELIVERABILITY_SEAT_CREDITS_PER_MONTH;
|
|
220
220
|
export const DELIVERABILITY_INCLUDED_TESTS_PER_INBOX = SNAPSHOT_DELIVERABILITY_INCLUDED_TESTS_PER_INBOX;
|
|
@@ -228,7 +228,7 @@ export const PLACEMENT_TEST_OVERAGE_CREDITS = SNAPSHOT_PLACEMENT_TEST_OVERAGE_CR
|
|
|
228
228
|
*
|
|
229
229
|
* The value is the seeded price after the 2026-09 repricing (3,400, decision
|
|
230
230
|
* 2.1). The price in force before its effective-date switch is lower: resolve
|
|
231
|
-
* it with repricedChargeCredits from `@oxygen/shared/repricing` on the server.
|
|
231
|
+
* it with repricedChargeCredits from `@oxygen/shared/billing/repricing` on the server.
|
|
232
232
|
*/
|
|
233
233
|
export const LINKEDIN_ACCOUNT_CREDITS_PER_MONTH = SNAPSHOT_LINKEDIN_ACCOUNT_CREDITS_PER_MONTH;
|
|
234
234
|
export const LINKEDIN_ACTION_CREDITS = SNAPSHOT_LINKEDIN_ACTION_CREDITS;
|
|
@@ -244,7 +244,7 @@ export const WHATSAPP_ACCOUNT_CREDITS_PER_MONTH = SNAPSHOT_WHATSAPP_ACCOUNT_CRED
|
|
|
244
244
|
* X accounts: monthly credit reservation per connected account (2026-09
|
|
245
245
|
* repricing, decision 2.2). Like the LinkedIn and WhatsApp constants above this
|
|
246
246
|
* is the seeded, post-repricing price; show the price in force with
|
|
247
|
-
* repricedChargeCredits from `@oxygen/shared/repricing`.
|
|
247
|
+
* repricedChargeCredits from `@oxygen/shared/billing/repricing`.
|
|
248
248
|
*/
|
|
249
249
|
export const X_ACCOUNT_CREDITS_PER_MONTH = SNAPSHOT_X_ACCOUNT_CREDITS_PER_MONTH;
|
|
250
250
|
/** Dedicated egress IP add-on. */
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
// may import the schedule. A client component cannot read the server's
|
|
47
47
|
// environment, though, so a page that shows a price in force must resolve it on
|
|
48
48
|
// the server and pass it down.
|
|
49
|
-
import { AUTOMATION_ACTION_CREDITS as SNAPSHOT_AUTOMATION_STEP_CREDITS, DELIVERABILITY_SEAT_CREDITS_PER_MONTH as SNAPSHOT_DELIVERABILITY_SEAT_CREDITS, PLACEMENT_TEST_OVERAGE_CREDITS as SNAPSHOT_PLACEMENT_TEST_CREDITS, BYOK_PLATFORM_FEE_CREDITS as SNAPSHOT_BYOK_PLATFORM_FEE_CREDITS, LINKEDIN_URL_FOUND_CREDITS as SNAPSHOT_LINKEDIN_URL_FOUND_CREDITS, MANAGED_INBOX_CREDITS_PER_MONTH as SNAPSHOT_MANAGED_MAILBOX_CREDITS, PRICING_PLAN_SNAPSHOT, SENDING_MAILBOX_CREDITS_PER_MONTH as SNAPSHOT_SENDING_MAILBOX_CREDITS, TOPUP_USD_CENTS_PER_100_CREDITS as SNAPSHOT_TOPUP_USD_CENTS_PER_100_CREDITS, } from "
|
|
49
|
+
import { AUTOMATION_ACTION_CREDITS as SNAPSHOT_AUTOMATION_STEP_CREDITS, DELIVERABILITY_SEAT_CREDITS_PER_MONTH as SNAPSHOT_DELIVERABILITY_SEAT_CREDITS, PLACEMENT_TEST_OVERAGE_CREDITS as SNAPSHOT_PLACEMENT_TEST_CREDITS, BYOK_PLATFORM_FEE_CREDITS as SNAPSHOT_BYOK_PLATFORM_FEE_CREDITS, LINKEDIN_URL_FOUND_CREDITS as SNAPSHOT_LINKEDIN_URL_FOUND_CREDITS, MANAGED_INBOX_CREDITS_PER_MONTH as SNAPSHOT_MANAGED_MAILBOX_CREDITS, PRICING_PLAN_SNAPSHOT, SENDING_MAILBOX_CREDITS_PER_MONTH as SNAPSHOT_SENDING_MAILBOX_CREDITS, TOPUP_USD_CENTS_PER_100_CREDITS as SNAPSHOT_TOPUP_USD_CENTS_PER_100_CREDITS, } from "../pricing-snapshot.generated.js";
|
|
50
50
|
export const REPRICING_2026_09_EFFECTIVE_AT_ENV_VAR = "OXYGEN_REPRICING_2026_09_EFFECTIVE_AT";
|
|
51
51
|
/** Stable machine name of this price change, as reported on customer surfaces. */
|
|
52
52
|
export const REPRICING_2026_09_NAME = "repricing_2026_09";
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* "skips the seat check", it is one that holds a legacy entitlement which
|
|
26
26
|
* SATISFIES the seat check. The gate always runs.
|
|
27
27
|
*/
|
|
28
|
-
import { SENDING_SEAT_USD_CENTS, type SendingSeatKey } from "
|
|
28
|
+
import { SENDING_SEAT_USD_CENTS, type SendingSeatKey } from "../pricing-snapshot.generated.js";
|
|
29
29
|
import type { CreditGateKind } from "./credit-gate.js";
|
|
30
30
|
export { SENDING_SEAT_USD_CENTS };
|
|
31
31
|
/**
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* "skips the seat check", it is one that holds a legacy entitlement which
|
|
26
26
|
* SATISFIES the seat check. The gate always runs.
|
|
27
27
|
*/
|
|
28
|
-
import { SENDING_SEAT_USD_CENTS, } from "
|
|
28
|
+
import { SENDING_SEAT_USD_CENTS, } from "../pricing-snapshot.generated.js";
|
|
29
29
|
export { SENDING_SEAT_USD_CENTS };
|
|
30
30
|
export const SENDING_SEAT_KEYS = [
|
|
31
31
|
"linkedin",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { CapabilityMcpCall, CapabilityRouteCard } from "./capability-discovery-types.js";
|
|
2
2
|
import { type EnrichmentIntentTaxonomyEntry } from "./tables/enrichment-intents.js";
|
|
3
3
|
import { type RecipePrimitive } from "./recipes.js";
|
|
4
|
-
import { type SkillPlayMatch } from "./skill-play-routing.js";
|
|
5
|
-
export { matchSkillPlay, SKILL_PLAY_TRIGGERS, type SkillPlayMatch } from "./skill-play-routing.js";
|
|
4
|
+
import { type SkillPlayMatch } from "./recipes/skill-play-routing.js";
|
|
5
|
+
export { matchSkillPlay, SKILL_PLAY_TRIGGERS, type SkillPlayMatch } from "./recipes/skill-play-routing.js";
|
|
6
6
|
export type { CapabilityLayer, CapabilityMcpCall, CapabilityPosture, CapabilityRouteCard } from "./capability-discovery-types.js";
|
|
7
7
|
export { OXYGEN_PRODUCT_SKILL_AUDIENCES, PRODUCT_SKILL_READ_INLINE_CHARS, RETIRED_PRODUCT_SKILLS, canReadProductSkillInstructions, isPublicCapabilitySkill, readProductSkillInstructionResult, } from "./capability-discovery-skills.js";
|
|
8
8
|
export { CAPABILITY_ROUTE_MCP_CALLS } from "./capability-intents/index.generated.js";
|
|
@@ -5,11 +5,11 @@ import { withRecordBrief } from "./capability-intents/records.js";
|
|
|
5
5
|
import { isCompanySourcingIntent, sourcingPlaybookFor } from "./capability-intents/sourcing-and-provider-tools.js";
|
|
6
6
|
import { CAPABILITY_ROUTE_DEFINITIONS } from "./capability-routes/index.js";
|
|
7
7
|
import { findEnrichmentIntentByAlias } from "./tables/enrichment-intents.js";
|
|
8
|
-
import { networkMiningEnabled } from "./network-mining.js";
|
|
8
|
+
import { networkMiningEnabled } from "./signals/network-mining.js";
|
|
9
9
|
import { nativeChatEnabled, withNativeChatDiscovery } from "./support/native-chat-discovery.js";
|
|
10
10
|
import { RECIPE_PRIMITIVES } from "./recipes.js";
|
|
11
|
-
import { matchSkillPlay } from "./skill-play-routing.js";
|
|
12
|
-
export { matchSkillPlay, SKILL_PLAY_TRIGGERS } from "./skill-play-routing.js";
|
|
11
|
+
import { matchSkillPlay } from "./recipes/skill-play-routing.js";
|
|
12
|
+
export { matchSkillPlay, SKILL_PLAY_TRIGGERS } from "./recipes/skill-play-routing.js";
|
|
13
13
|
export { OXYGEN_PRODUCT_SKILL_AUDIENCES, PRODUCT_SKILL_READ_INLINE_CHARS, RETIRED_PRODUCT_SKILLS, canReadProductSkillInstructions, isPublicCapabilitySkill, readProductSkillInstructionResult, } from "./capability-discovery-skills.js";
|
|
14
14
|
// Each card's MCP call factories live beside its intent rules (see the
|
|
15
15
|
// generated index for the contract).
|
package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SkillPlayMatch } from "../skill-play-routing.js";
|
|
1
|
+
import type { SkillPlayMatch } from "../recipes/skill-play-routing.js";
|
|
2
2
|
/** This card's exact commands as MCP calls (see CAPABILITY_ROUTE_MCP_CALLS). */
|
|
3
3
|
export declare const mcpCalls: {
|
|
4
4
|
companyUrlRecovery: () => {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export const rules = {
|
|
2
2
|
explicit: [
|
|
3
3
|
{
|
|
4
|
-
order:
|
|
5
|
-
route: (query) => /\b(infographic|graphic designer|render html|carousel pages|visual design|gtm flow image)\b/.test(query)
|
|
4
|
+
order: 309,
|
|
5
|
+
route: (query) => /\b(infographic|graphic designer|render html|carousel pages|visual design|gtm flow image|hyperframes|media workspace|custom font|visual source components)\b|\b(make|create|render|produce|compose)\b.{0,60}\b(video|mp4)\b|\b(video|mp4)\b.{0,30}\b(composition|render)\b|\b(upload(?:ed|ing)?|attach(?:ed|ing)?)\b.{0,35}\b(fonts?|media assets?)\b/.test(query)
|
|
6
|
+
|| (/\b(inspect|view|review)\b.{0,30}\b(frames?|rendered images?)\b/.test(query) && !/\b(cover|thumbnail)\b/.test(query)) ? "visual-rendering" : null,
|
|
6
7
|
},
|
|
7
8
|
],
|
|
8
9
|
};
|
|
@@ -4,14 +4,14 @@ export const route = {
|
|
|
4
4
|
id: "visual-rendering",
|
|
5
5
|
layer: "Action",
|
|
6
6
|
primitive: null,
|
|
7
|
-
owns: "Agent-authored GTM
|
|
8
|
-
notFor: "A separate
|
|
9
|
-
execution: "
|
|
7
|
+
owns: "Agent-authored GTM graphics and short Hyperframes videos: editable sources, reusable components, workspace media/fonts, isolated PNG/PDF/MP4 rendering, frame inspection, revisions and downloads.",
|
|
8
|
+
notFor: "A separate primitive, arbitrary package installation, generative image/video providers, GPU/Blender execution, or publishing.",
|
|
9
|
+
execution: "Upload assets, bind file IDs to relative project paths, save editable HTML and preview the exact scope. Start the free bounded render, poll, inspect PNGs or video frames, revise and download. Preview verifies the selected renderer is available.",
|
|
10
10
|
posture: "workspace_write",
|
|
11
|
-
gatewayTools: ["
|
|
12
|
-
gatewayCommands: ["visuals source-create", "visuals render-preview", "visuals render-get", "visuals download"],
|
|
11
|
+
gatewayTools: ["oxygen_agent_files_list", "oxygen_visual_asset_upload", "oxygen_visual_source_create", "oxygen_visual_render_preview", "oxygen_visual_image_view"],
|
|
12
|
+
gatewayCommands: ["agent files", "visuals asset-upload", "visuals source-create", "visuals render-preview", "visuals render-get", "visuals download"],
|
|
13
13
|
skills: ["oxygen-linkedin-content", "oxygen-knowledge"],
|
|
14
14
|
endpointSections: ["visuals"],
|
|
15
|
-
intentTerms: ["infographic", "gtm flow image", "render html", "visual design", "carousel pages", "svg", "png", "pdf export", "graphic designer"],
|
|
15
|
+
intentTerms: ["infographic", "gtm flow image", "render html", "visual design", "carousel pages", "svg", "png", "pdf export", "graphic designer", "hyperframes", "render video", "mp4 composition", "media workspace", "custom font"],
|
|
16
16
|
},
|
|
17
17
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Browser resource operations, using the same scoped handlers on every surface. */
|
|
2
|
-
import { TABLE_FIELD_TYPES } from "../
|
|
2
|
+
import { TABLE_FIELD_TYPES } from "../tables/field-types.js";
|
|
3
3
|
import { arr, bool, enumOf, int, jsonValue, nullable, num, obj, str } from "./schema.js";
|
|
4
4
|
import { TABLE_ROW_READ_WINDOW_FIELDS } from "./table-row-read.js";
|
|
5
5
|
import { TABLE_ROW_REMOVAL_FIELDS } from "./table-row-removal.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AGENT_RUN_APPROVED_CEILING_MAX_CREDITS } from "../plan-limits.js";
|
|
1
|
+
import { AGENT_RUN_APPROVED_CEILING_MAX_CREDITS } from "../billing/plan-limits.js";
|
|
2
2
|
import { bool, int, nullable, obj, str } from "./schema.js";
|
|
3
3
|
export const CONNECTOR_UPDATE_CONTRACT = obj({
|
|
4
4
|
default_workspace: nullable(str({
|
|
@@ -9,3 +9,30 @@ export declare const COPILOT_SESSIONS_LIST_CONTRACT: import("./schema.js").Contr
|
|
|
9
9
|
"x-clamp"?: true;
|
|
10
10
|
};
|
|
11
11
|
}, never>;
|
|
12
|
+
export type CopilotApprovalReview = {
|
|
13
|
+
kind: "email";
|
|
14
|
+
to: string;
|
|
15
|
+
from: string | null;
|
|
16
|
+
cc: string[];
|
|
17
|
+
bcc: string[];
|
|
18
|
+
subject: string;
|
|
19
|
+
body: string;
|
|
20
|
+
html: string | null;
|
|
21
|
+
attachments?: string[];
|
|
22
|
+
} | {
|
|
23
|
+
kind: "record";
|
|
24
|
+
label: string;
|
|
25
|
+
checked_at: string;
|
|
26
|
+
fields: Array<{
|
|
27
|
+
key: string;
|
|
28
|
+
label: string;
|
|
29
|
+
before: unknown;
|
|
30
|
+
after: unknown;
|
|
31
|
+
}>;
|
|
32
|
+
};
|
|
33
|
+
export type CopilotApprovalEdits = {
|
|
34
|
+
body?: string;
|
|
35
|
+
html?: string;
|
|
36
|
+
};
|
|
37
|
+
/** Only message content can change at review. Recipients, spend and tool scope stay pinned. */
|
|
38
|
+
export declare function reviewedCopilotArgs(name: string, args: Record<string, unknown>, edits: CopilotApprovalEdits): Record<string, unknown> | null;
|
|
@@ -5,3 +5,16 @@ export const COPILOT_SESSIONS_LIST_CONTRACT = obj({
|
|
|
5
5
|
status: str({ description: `Session status: ${COPILOT_SESSION_STATUSES.join(", ")}. Separate from latest turn status; omit for all.` }),
|
|
6
6
|
limit: int({ minimum: 1, description: "Newest sessions first. Default 50; native maximum 200 (larger values clamp)." }),
|
|
7
7
|
});
|
|
8
|
+
/** Only message content can change at review. Recipients, spend and tool scope stay pinned. */
|
|
9
|
+
export function reviewedCopilotArgs(name, args, edits) {
|
|
10
|
+
const allowed = name === "oxygen_email_send" ? ["body", "html"] : name === "oxygen_inbox_send" ? ["body"] : [];
|
|
11
|
+
if (!Object.keys(edits).length || Object.keys(edits).some(key => !allowed.includes(key)))
|
|
12
|
+
return null;
|
|
13
|
+
if (Object.values(edits).some(value => typeof value !== "string" || !value.trim() || value.length > 100_000))
|
|
14
|
+
return null;
|
|
15
|
+
// A rich email must carry both representations; a text edit cannot silently leave stale HTML live.
|
|
16
|
+
if (name === "oxygen_email_send" && (typeof args.html === "string" && args.html.trim() || edits.html !== undefined)
|
|
17
|
+
&& (edits.body === undefined || edits.html === undefined))
|
|
18
|
+
return null;
|
|
19
|
+
return { ...args, ...(edits.body !== undefined ? { [name === "oxygen_inbox_send" ? "text" : "body"]: edits.body } : {}), ...(edits.html !== undefined ? { html: edits.html } : {}) };
|
|
20
|
+
}
|
|
@@ -58,6 +58,7 @@ export const CUSTOMER_OPERATIONS = [
|
|
|
58
58
|
operation("members.client_role", "/api/cli/collab/members/role", "POST", "approvals client grant", "oxygen_members_client_role_set", "collaboration", "Set or clear the restricted client overlay; admin only. May read pending Clerk invitations; sends no invitation. Free.", { email: text(), role: nullable(enumOf(["client"])) }, ["email", "role"], { ...mcpOnly, annotations: { openWorldHint: true } }),
|
|
59
59
|
operation("members.workspace_role", "/api/cli/collab/members/workspace-role", "POST", "orgs member-role", "oxygen_members_workspace_role_set", "collaboration", "Change a member's workspace role in Clerk; admin only, with self-role and last-administrator protection. Free.", { email: text(), role: enumOf(["admin", "member"]) }, ["email", "role"], { ...mcpOnly, annotations: { openWorldHint: true } }),
|
|
60
60
|
operation("copilot.sessions.list", "/api/cli/copilot/sessions", "GET", "copilot list", "oxygen_copilot_sessions_list", "agents", "List attended Copilot sessions in this workspace.", COPILOT_SESSIONS_LIST_CONTRACT.properties, [], mcpOnly),
|
|
61
|
+
operation("copilot.history", "/api/cli/copilot/sessions/{session_id}/history", "GET", "copilot history", "oxygen_copilot_history", "agents", "Search past Oxygent chat messages and recorded app links, with source-turn URLs. Use chat.session_id from oxygents get/list. Results index recorded links, not Markdown-only links; their source turn may be a later update, not creation. Markdown remains searchable as message text.", { query: str({ maxLength: 200, description: "Literal substring in user and assistant messages; also filters recorded links. Omit to list recorded links only." }), offset: int({ minimum: 0, description: "Page offset, initially 0; continue with next_offset from the previous response." }), limit: int({ minimum: 1, maximum: 100, description: "Items per page (default 30)." }) }, []),
|
|
61
62
|
operation("copilot.sessions.update", "/api/cli/copilot/sessions/{session_id}", "PATCH", "copilot policy set", "oxygen_copilot_session_update", "agents", "Set an attended Copilot session's approval policy. `paid` (Auto-approve) is standing authorization for every action, paid and external ones included.", { auto_approve_policy: enumOf(["off", "paid"]) }, ["auto_approve_policy"], { spends: true }),
|
|
62
63
|
operation("copilot.attachments.list", "/api/cli/copilot/sessions/{session_id}/attachments", "GET", "copilot attachments list", "oxygen_copilot_attachments_list", "agents", "List sent and unsent attachments in one Copilot session.", {}, []),
|
|
63
64
|
operation("copilot.attachments.prepare", "/api/cli/copilot/sessions/{session_id}/attachments", "POST", "copilot attachments prepare", "oxygen_copilot_attachment_prepare", "agents", "Reserve a Copilot attachment and return its scoped upload URL; complete only after uploading the exact bytes.", { file_name: text(), content_type: text(), content_length: int({ minimum: 1 }) }, ["file_name", "content_length"]),
|
|
@@ -158,7 +159,7 @@ export const CUSTOMER_OPERATIONS = [
|
|
|
158
159
|
operation("linkedin.inbox.backfill_status", "/api/cli/linkedin/inbox/backfill", "GET", "linkedin inbox backfill-status", "oxygen_linkedin_inbox_backfill_status", "inbox", "Read the durable LinkedIn inbox backfill status.", { account: text() }),
|
|
159
160
|
operation("linkedin.viewers.list", "/api/cli/linkedin/viewers", "GET", "linkedin viewers list", "oxygen_profile_viewers", "publishing", "Read named LinkedIn profile viewers, respecting the connected account's privacy ceiling.", { account: text(), start: int({ minimum: 0 }), include_raw: bool() }, [], cliOnly),
|
|
160
161
|
operation("signals.search.filters", "/api/cli/signals/search/preview", "GET", "signals search filters", "oxygen_signals_search_preview", "signals", "Read the LinkedIn post-search filter catalog and credential status; runs no search.", { source: enumOf(["linkedin_posts"]) }, [], cliOnly),
|
|
161
|
-
operation("visuals.download", "/api/cli/visuals/files/{file_id}/download", "GET", "visuals download", "oxygen_visual_file_download", "publishing", "Download a tenant-owned visual
|
|
162
|
+
operation("visuals.download", "/api/cli/visuals/files/{file_id}/download", "GET", "visuals download", "oxygen_visual_file_download", "publishing", "Download a tenant-owned visual file as an MCP resource with base64 bytes (max 50 MiB). Use web or CLI for larger originals.", {}, [], { ...mcpOnly, binary: { maxBytes: 50 * 1024 * 1024 } }),
|
|
162
163
|
operation("workflows.mcp_callable", "/api/cli/workflows/mcp-callable", "GET", "workflows mcp list", "oxygen_workflows_mcp_callable", "workflows", "List this workspace's published MCP-callable Workflow definitions and interfaces.", {}, [], mcpOnly),
|
|
163
164
|
operation("skills.get", "/api/cli/skills/get", "GET", "skills get", "oxygen_skills_get", "workspace", "Read one authenticated, entitled product-skill entrypoint or manifest-listed supporting file.", { name: text(), file: text("Relative supporting-file path from the manifest; omit for SKILL.md.") }, ["name"], mcpOnly),
|
|
164
165
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KNOWLEDGE_SLUG_MAX_LENGTH } from "../knowledge
|
|
1
|
+
import { KNOWLEDGE_SLUG_MAX_LENGTH } from "../knowledge/constants.js";
|
|
2
2
|
import { bool, enumOf, int, obj, str } from "./schema.js";
|
|
3
3
|
// Optional native windows: unqualified HTTP/CLI reads retain their legacy shape.
|
|
4
4
|
const window = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KNOWLEDGE_SLUG_MAX_LENGTH } from "../knowledge
|
|
1
|
+
import { KNOWLEDGE_SLUG_MAX_LENGTH } from "../knowledge/constants.js";
|
|
2
2
|
import { enumOf, int, obj, str } from "./schema.js";
|
|
3
3
|
import { STORED_READ_WINDOW_FIELDS } from "./stored-read-window.js";
|
|
4
4
|
/** Optional representation only; omitted controls keep the legacy list. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PLAN_BAND_LIMITS_TIER, PLAN_BAND_ORDER } from "../plan-band.js";
|
|
2
|
-
import { planLimitsStoragePendingLine } from "../plan-limits-view.js";
|
|
1
|
+
import { PLAN_BAND_LIMITS_TIER, PLAN_BAND_ORDER } from "../billing/plan-band.js";
|
|
2
|
+
import { planLimitsStoragePendingLine } from "../billing/plan-limits-view.js";
|
|
3
3
|
import { enumOf, int, obj } from "./schema.js";
|
|
4
4
|
export const LIMITS_READ_SECTIONS = ["summary", "capacity", "plan", "pricing", "api", "webhooks", "spend", "sending", "workflow", "all"];
|
|
5
5
|
export const LIMITS_READ_QUERY_CONTRACT = obj({
|
|
@@ -13,6 +13,16 @@ export declare const TABLE_QUERY_CLI_DEFAULT_MAX_CHARS = 12000;
|
|
|
13
13
|
export declare function tableQueryRawResultFits(data: Record<string, unknown>, maxChars: number | undefined): boolean;
|
|
14
14
|
/** What a page shortened to fit its result window says to do next (CLI, MCP and API alike). */
|
|
15
15
|
export declare const TABLE_QUERY_RESULT_WINDOW_NEXT_STEP: string;
|
|
16
|
+
/**
|
|
17
|
+
* What a page says when its cell run outputs were left out so a row fits (CLI, MCP and
|
|
18
|
+
* API alike). Each output repeats the cell's value plus the run's model usage and context.
|
|
19
|
+
*/
|
|
20
|
+
export declare const TABLE_QUERY_CELL_OUTPUTS_OMITTED_NEXT_STEP: string;
|
|
21
|
+
/** Combine the shortened-page and omitted-outputs next steps into one. */
|
|
22
|
+
export declare function tableQueryWindowNextStep(input: {
|
|
23
|
+
trimmed: boolean;
|
|
24
|
+
cellOutputsOmitted: boolean;
|
|
25
|
+
}): string | undefined;
|
|
16
26
|
/** The field whose value is longest in a row (system fields excluded): the one to drop or inspect. */
|
|
17
27
|
export declare function tableRowWidestField(row: unknown): string | undefined;
|
|
18
28
|
/** Leads a refusal's next step with the exact field to drop or inspect, when the row is known. */
|
|
@@ -12,6 +12,21 @@ export function tableQueryRawResultFits(data, maxChars) {
|
|
|
12
12
|
/** What a page shortened to fit its result window says to do next (CLI, MCP and API alike). */
|
|
13
13
|
export const TABLE_QUERY_RESULT_WINDOW_NEXT_STEP = "This page holds fewer rows than the limit so it fits the result window; every value is complete. "
|
|
14
14
|
+ "Continue with nextCursor (same table, filters, sorts and fields), or select fewer fields for more rows per page.";
|
|
15
|
+
/**
|
|
16
|
+
* What a page says when its cell run outputs were left out so a row fits (CLI, MCP and
|
|
17
|
+
* API alike). Each output repeats the cell's value plus the run's model usage and context.
|
|
18
|
+
*/
|
|
19
|
+
export const TABLE_QUERY_CELL_OUTPUTS_OMITTED_NEXT_STEP = "Cell run outputs were left out so a row fits the result window; row values and each cell's status, "
|
|
20
|
+
+ "error and billing are complete. For the run outputs, rerun with --full or --output <path> "
|
|
21
|
+
+ "(MCP: max_chars up to 100000).";
|
|
22
|
+
/** Combine the shortened-page and omitted-outputs next steps into one. */
|
|
23
|
+
export function tableQueryWindowNextStep(input) {
|
|
24
|
+
const steps = [
|
|
25
|
+
...(input.trimmed ? [TABLE_QUERY_RESULT_WINDOW_NEXT_STEP] : []),
|
|
26
|
+
...(input.cellOutputsOmitted ? [TABLE_QUERY_CELL_OUTPUTS_OMITTED_NEXT_STEP] : []),
|
|
27
|
+
];
|
|
28
|
+
return steps.length ? steps.join(" ") : undefined;
|
|
29
|
+
}
|
|
15
30
|
/** The field whose value is longest in a row (system fields excluded): the one to drop or inspect. */
|
|
16
31
|
export function tableRowWidestField(row) {
|
|
17
32
|
if (!row || typeof row !== "object" || Array.isArray(row))
|
|
@@ -50,7 +50,7 @@ export const TEAMMATE_PROFILE_FIELDS = {
|
|
|
50
50
|
avatar_color: enumOf([...TEAMMATE_AVATAR_COLORS], { description: "The colour of its face." }),
|
|
51
51
|
};
|
|
52
52
|
export const TEAMMATE_OPERATIONS = [
|
|
53
|
-
teammateOperation("teammates.list", "list", "GET", "", "List the Oxygents you can use, the first one (is_default) on top: name, what each does, its look, what you are to it (access: owner, manager or collaborator) and your chat with each (working or waiting for you, unread, its latest words). Pinned ones follow the first; hidden ones are marked."),
|
|
53
|
+
teammateOperation("teammates.list", "list", "GET", "", "List the Oxygents you can use, the first one (is_default) on top: name, what each does, its look, what you are to it (access: owner, manager or collaborator) and your chat with each (working or waiting for you, unread, its latest words). Pinned ones follow the first; hidden ones are marked. Use chat.session_id with copilot history (oxygen_copilot_history) to search past messages and recorded links."),
|
|
54
54
|
// Adding a teammate (phase 7): a custom Agent that can chat at once and run
|
|
55
55
|
// on its own, under a policy that asks before any write, send or spend. As in
|
|
56
56
|
// Grok Bot, it can start as just "New Bot" and learn its job in the chat.
|
|
@@ -60,7 +60,7 @@ export const TEAMMATE_OPERATIONS = [
|
|
|
60
60
|
template: enumOf(["reply"], { description: "Dev Reply Oxygent: learn sender voice and prepare approval-required batches." }),
|
|
61
61
|
slug: str({ minLength: 2, maxLength: 49, pattern: TEAMMATE_SLUG_PATTERN, description: "Its permanent handle in commands and links; made from the name when omitted." }),
|
|
62
62
|
}),
|
|
63
|
-
teammateOperation("teammates.get", "get", "GET", "/{slug}", "Read one Oxygent's profile and
|
|
63
|
+
teammateOperation("teammates.get", "get", "GET", "/{slug}", "Read one Oxygent's profile, chat metadata and visibility. Use chat.session_id with copilot history (oxygen_copilot_history) to search past messages and recorded links."),
|
|
64
64
|
teammateOperation("teammates.update", "update", "PATCH", "/{slug}", "Edit an Oxygent's profile, or change visibility as its owner with confirm_visibility. Owners, managers and workspace admins can edit profiles. History is kept in both directions: Workspace shares it all; Personal removes others' future access but cannot retract what they saw. Home (the first Oxygent) stays Workspace. Free.", { ...TEAMMATE_PROFILE_FIELDS, visibility: enumOf(["workspace", "personal"], { description: "Only the owner can change visibility. Workspace grants everyone collaborator access and shares the complete history; Personal retains all messages, removes additional grants and everyone else's future access. Explicitly saving to team memory publishes that entry to the workspace. Home (the first Oxygent) stays Workspace." }), confirm_visibility: bool({ description: "Required when changing visibility: publishing shares all history; making personal removes everyone else's future access but cannot retract what they saw." }) }),
|
|
65
65
|
// Sharing (Tim, 2026-10-14: "make agents accessible to your team mates"), the
|
|
66
66
|
// way Grok Bot shares a Bot: everyone in the workspace, or people by email,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { guidedActivationEnabled } from "
|
|
2
|
-
import { isStaffEmail } from "
|
|
1
|
+
import { guidedActivationEnabled } from "../onboarding/guided-activation.js";
|
|
2
|
+
import { isStaffEmail } from "../staff.js";
|
|
3
3
|
export function copilotAudience(env = process.env) {
|
|
4
4
|
const deployment = env.OXYGEN_DEPLOY_ENV?.trim().toLowerCase();
|
|
5
5
|
if (deployment !== "selfhost-dev" && deployment !== "selfhost-prod")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COPILOT_JOURNEYS_GENERATED } from "
|
|
1
|
+
import { COPILOT_JOURNEYS_GENERATED } from "../copilot-journeys.generated.js";
|
|
2
2
|
// Stable slug for sessions deliberately launched from the matching Recipe.
|
|
3
3
|
// It is never a default: first-touch surfaces stay outcome-neutral.
|
|
4
4
|
export const LINKEDIN_NETWORK_COPILOT_JOURNEY_SLUG = "inbound-led-outbound";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COPILOT_PLAYBOOKS_GENERATED } from "
|
|
1
|
+
import { COPILOT_PLAYBOOKS_GENERATED } from "../copilot-playbooks.generated.js";
|
|
2
2
|
export type CopilotPlaybookSlug = (typeof COPILOT_PLAYBOOKS_GENERATED)[number]["slug"];
|
|
3
3
|
export type CopilotPlaybook = {
|
|
4
4
|
/** The featured play's catalog slug: the play the Copilot reads before it works. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COPILOT_PLAYBOOKS_GENERATED } from "
|
|
1
|
+
import { COPILOT_PLAYBOOKS_GENERATED } from "../copilot-playbooks.generated.js";
|
|
2
2
|
export const COPILOT_PLAYBOOKS = COPILOT_PLAYBOOKS_GENERATED;
|
|
3
3
|
/**
|
|
4
4
|
* What a chip writes into the composer: the play's own request, the same words
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// GENERATED by apps/web/scripts/generate-copilot-journeys.ts from the recipe
|
|
2
|
-
// catalog (`journey:` blocks in apps/web/src/lib/agent-skill-plays.ts).
|
|
2
|
+
// catalog (`journey:` blocks in apps/web/src/lib/recipes/agent-skill-plays.ts).
|
|
3
3
|
// Do not edit by hand — run `npm run skills:metadata -w @oxygen/web`.
|
|
4
4
|
export const COPILOT_JOURNEYS_GENERATED = [
|
|
5
5
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// GENERATED by apps/web/scripts/generate-copilot-playbooks.ts from the play
|
|
2
2
|
// catalog (featured plays: `featured_order`, `label`, `prompt` in
|
|
3
|
-
// apps/web/src/lib/agent-skill-plays.ts).
|
|
3
|
+
// apps/web/src/lib/recipes/agent-skill-plays.ts).
|
|
4
4
|
// Do not edit by hand — run `npm run skills:metadata -w @oxygen/web`.
|
|
5
5
|
export const COPILOT_PLAYBOOKS_GENERATED = [
|
|
6
6
|
{
|
|
@@ -434,7 +434,16 @@ export async function retryDiagnosticSpool(directory, upload) {
|
|
|
434
434
|
for (const name of files) {
|
|
435
435
|
const path = join(directory, name);
|
|
436
436
|
try {
|
|
437
|
-
|
|
437
|
+
// A held stripe is another owner or replica sweep uploading (every such
|
|
438
|
+
// dev record was stored within seconds, 2026-10-28): not a deferral. The
|
|
439
|
+
// record stays spooled for the next sweep, and expiry still counts loss.
|
|
440
|
+
const release = await lockDiagnosticUpload(directory, name.slice(0, -8)).catch(error => {
|
|
441
|
+
if (error instanceof StorageFailure && error.failure?.code === "lock_timeout")
|
|
442
|
+
return null;
|
|
443
|
+
throw error;
|
|
444
|
+
});
|
|
445
|
+
if (!release)
|
|
446
|
+
continue;
|
|
438
447
|
try {
|
|
439
448
|
const compressed = await storageStage("read", () => readFile(path));
|
|
440
449
|
await upload(compressed, reservation);
|
|
@@ -76,7 +76,7 @@ export type FeatureGateResolution = {
|
|
|
76
76
|
* production also requires its reviewed PRODUCTION_AGENT_WORKSPACE_IDS.
|
|
77
77
|
* - OXYGEN_REPRICING_2026_09_EFFECTIVE_AT — (b). The instant every held price
|
|
78
78
|
* rise and limit cut of the 2026-09 repricing takes effect
|
|
79
|
-
* (`packages/shared/src/repricing.ts`). A remotely flippable value would let
|
|
79
|
+
* (`packages/shared/src/billing/repricing.ts`). A remotely flippable value would let
|
|
80
80
|
* a mis-click move every customer's prices; it changes only through Doppler,
|
|
81
81
|
* with explicit human approval.
|
|
82
82
|
* - OXYGEN_FIRST_MONTH_OFFER_COUPON — (b). Names the Stripe coupon that takes
|
|
@@ -85,7 +85,7 @@ export type FeatureGateResolution = {
|
|
|
85
85
|
* value would let a mis-click discount every eligible checkout or withdraw an
|
|
86
86
|
* offer a visitor is counting down to; it changes only through Doppler.
|
|
87
87
|
* - OXYGEN_CREDIT_GATE_ENABLED — (b). Lets a connect through on the balance
|
|
88
|
-
* instead of a sending seat (`packages/shared/src/credit-gate.ts`). A wrong
|
|
88
|
+
* instead of a sending seat (`packages/shared/src/billing/credit-gate.ts`). A wrong
|
|
89
89
|
* "on" while commitments do not bill every connectable kind would admit
|
|
90
90
|
* accounts nothing ever charges.
|
|
91
91
|
* - OXYGEN_MCP_EVENTS_ENABLED — (b). Lets workspace events leave OXYGEN as
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
* production also requires its reviewed PRODUCTION_AGENT_WORKSPACE_IDS.
|
|
68
68
|
* - OXYGEN_REPRICING_2026_09_EFFECTIVE_AT — (b). The instant every held price
|
|
69
69
|
* rise and limit cut of the 2026-09 repricing takes effect
|
|
70
|
-
* (`packages/shared/src/repricing.ts`). A remotely flippable value would let
|
|
70
|
+
* (`packages/shared/src/billing/repricing.ts`). A remotely flippable value would let
|
|
71
71
|
* a mis-click move every customer's prices; it changes only through Doppler,
|
|
72
72
|
* with explicit human approval.
|
|
73
73
|
* - OXYGEN_FIRST_MONTH_OFFER_COUPON — (b). Names the Stripe coupon that takes
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
* value would let a mis-click discount every eligible checkout or withdraw an
|
|
77
77
|
* offer a visitor is counting down to; it changes only through Doppler.
|
|
78
78
|
* - OXYGEN_CREDIT_GATE_ENABLED — (b). Lets a connect through on the balance
|
|
79
|
-
* instead of a sending seat (`packages/shared/src/credit-gate.ts`). A wrong
|
|
79
|
+
* instead of a sending seat (`packages/shared/src/billing/credit-gate.ts`). A wrong
|
|
80
80
|
* "on" while commitments do not bill every connectable kind would admit
|
|
81
81
|
* accounts nothing ever charges.
|
|
82
82
|
* - OXYGEN_MCP_EVENTS_ENABLED — (b). Lets workspace events leave OXYGEN as
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* dependency-free Copilot access leaf, never the shared barrel, so any package
|
|
22
22
|
* can re-source the catalog without dragging the barrel in.
|
|
23
23
|
*/
|
|
24
|
-
import { copilotAudience, isCopilotFlagOn } from "./copilot
|
|
24
|
+
import { copilotAudience, isCopilotFlagOn } from "./copilot/access.js";
|
|
25
25
|
/**
|
|
26
26
|
* The Copilot's tiers, which an Oxygent's own chat runs at. Hoisted out of the
|
|
27
27
|
* registry so the Agent use case can share the same spec objects.
|