@oxygen-agent/cli 1.1016.37 → 1.1017.22
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-manifest.js +9 -0
- 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 +1 -1
- package/dist/commands/knowledge.js +3 -3
- package/dist/knowledge-mirror.js +1 -1
- package/dist/visual-commands.js +57 -8
- package/node_modules/@oxygen/shared/dist/agents/sessions.js +1 -1
- 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-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/connectors.js +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/customer-operations.js +1 -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/feature-gates.d.ts +2 -2
- package/node_modules/@oxygen/shared/dist/feature-gates.js +2 -2
- package/node_modules/@oxygen/shared/dist/index.d.ts +19 -19
- package/node_modules/@oxygen/shared/dist/index.js +19 -19
- 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} +2 -2
- package/node_modules/@oxygen/shared/dist/{knowledge-bootstrap.js → knowledge/bootstrap.js} +3 -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/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/recipes/workspace-skills.js +1 -1
- package/node_modules/@oxygen/shared/dist/search-vocab.js +1 -1
- 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/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/tables/company-enrichment-fields.js +1 -1
- package/node_modules/@oxygen/shared/dist/tables/enrichment-intents.js +1 -1
- package/node_modules/@oxygen/shared/dist/tables/filter-operators.js +1 -1
- package/node_modules/@oxygen/shared/dist/{research-findings.js → tables/research-findings.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/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 +1 -1
- 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 -30
- 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/{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/{research-findings.d.ts → tables/research-findings.d.ts} +0 -0
|
@@ -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({
|
|
@@ -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
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export { OXYGEN_MINIMUM_CLI_VERSION, OXYGEN_VERSION, } from "./version.js";
|
|
2
2
|
export { WORKFLOW_TRIGGER_AUTO_PAUSE_METADATA_KEYS, clearWorkflowTriggerAutoPauseMetadata, } from "./workflows/trigger-metadata.js";
|
|
3
3
|
export { WORKFLOW_STATUS_CHANGE_METADATA_KEY, type WorkflowStatusChange, type WorkflowStatusChangeActor, type WorkflowStatusChangeSource, describeWorkflowStatusChange, formatWorkflowStatusChangeTimestamp, parseWorkflowStatusChange, readWorkflowStatusChange, } from "./workflows/status-change.js";
|
|
4
|
-
export * from "./billing.js";
|
|
4
|
+
export * from "./billing/billing.js";
|
|
5
5
|
export * from "./visual-render.js";
|
|
6
|
-
export * from "./billing
|
|
7
|
-
export * from "./budget-scopes.js";
|
|
8
|
-
export * from "./byok-connect.js";
|
|
6
|
+
export * from "./billing/anchors.js";
|
|
7
|
+
export * from "./billing/budget-scopes.js";
|
|
8
|
+
export * from "./billing/byok-connect.js";
|
|
9
9
|
export * from "./capability-discovery.js";
|
|
10
10
|
export * from "./user-capability-routing.js";
|
|
11
|
-
export * from "./plan-capabilities.js";
|
|
12
|
-
export * from "./plan-limits.js";
|
|
13
|
-
export * from "./plan-band.js";
|
|
14
|
-
export * from "./sending-seats.js";
|
|
15
|
-
export * from "./sending-seat-capacity.js";
|
|
11
|
+
export * from "./billing/plan-capabilities.js";
|
|
12
|
+
export * from "./billing/plan-limits.js";
|
|
13
|
+
export * from "./billing/plan-band.js";
|
|
14
|
+
export * from "./billing/sending-seats.js";
|
|
15
|
+
export * from "./billing/sending-seat-capacity.js";
|
|
16
16
|
export * from "./support/plain-support-events.js";
|
|
17
17
|
export * from "./provider-balance-signal.js";
|
|
18
18
|
export * from "./provider-funding-errors.js";
|
|
19
|
-
export * from "./publishing
|
|
19
|
+
export * from "./publishing/limits.js";
|
|
20
20
|
export * from "./spend-safety.js";
|
|
21
21
|
export * from "./tables/company-enrichment-fields.js";
|
|
22
22
|
export * from "./tables/enrichment-intents.js";
|
|
@@ -34,7 +34,7 @@ export * from "./copilot/errors.js";
|
|
|
34
34
|
export * from "./copilot/journeys.js";
|
|
35
35
|
export * from "./copilot/playbooks.js";
|
|
36
36
|
export * from "./copilot/plan.js";
|
|
37
|
-
export * from "./credit-guidance.js";
|
|
37
|
+
export * from "./billing/credit-guidance.js";
|
|
38
38
|
export * from "./deploy-env.js";
|
|
39
39
|
export * from "./marketing/directory.js";
|
|
40
40
|
export * from "./sequences/email-dsn.js";
|
|
@@ -50,12 +50,12 @@ export * from "./product-analytics-environment.js";
|
|
|
50
50
|
export * from "./product-analytics-events.js";
|
|
51
51
|
export * from "./hosted-ai.js";
|
|
52
52
|
export * from "./identifiers.js";
|
|
53
|
-
export * from "./knowledge
|
|
54
|
-
export * from "./knowledge
|
|
55
|
-
export * from "./knowledge
|
|
56
|
-
export * from "./knowledge
|
|
57
|
-
export * from "./knowledge
|
|
58
|
-
export * from "./knowledge
|
|
53
|
+
export * from "./knowledge/constants.js";
|
|
54
|
+
export * from "./knowledge/bootstrap.js";
|
|
55
|
+
export * from "./knowledge/links.js";
|
|
56
|
+
export * from "./knowledge/markdown.js";
|
|
57
|
+
export * from "./knowledge/vault-markdown.js";
|
|
58
|
+
export * from "./knowledge/seed-content.js";
|
|
59
59
|
export * from "./langfuse.js";
|
|
60
60
|
export * from "./llm-usage.js";
|
|
61
61
|
export * from "./posts/linkedin-mentions.js";
|
|
@@ -114,8 +114,8 @@ export * from "./agents/workspace-agents.js";
|
|
|
114
114
|
export * from "./semver.js";
|
|
115
115
|
export * from "./ugc/ugc.js";
|
|
116
116
|
export * from "./ugc/amplification-identity.js";
|
|
117
|
-
export * from "./knowledge
|
|
118
|
-
export * from "./knowledge
|
|
117
|
+
export * from "./knowledge/repository.js";
|
|
118
|
+
export * from "./knowledge/bases.js";
|
|
119
119
|
export * from "./external-write-policy.js";
|
|
120
120
|
export * from "./cutover-freeze.js";
|
|
121
121
|
export * from "./log-sink-selector.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export { OXYGEN_MINIMUM_CLI_VERSION, OXYGEN_VERSION, } from "./version.js";
|
|
2
2
|
export { WORKFLOW_TRIGGER_AUTO_PAUSE_METADATA_KEYS, clearWorkflowTriggerAutoPauseMetadata, } from "./workflows/trigger-metadata.js";
|
|
3
3
|
export { WORKFLOW_STATUS_CHANGE_METADATA_KEY, describeWorkflowStatusChange, formatWorkflowStatusChangeTimestamp, parseWorkflowStatusChange, readWorkflowStatusChange, } from "./workflows/status-change.js";
|
|
4
|
-
export * from "./billing.js";
|
|
4
|
+
export * from "./billing/billing.js";
|
|
5
5
|
export * from "./visual-render.js";
|
|
6
|
-
export * from "./billing
|
|
7
|
-
export * from "./budget-scopes.js";
|
|
8
|
-
export * from "./byok-connect.js";
|
|
6
|
+
export * from "./billing/anchors.js";
|
|
7
|
+
export * from "./billing/budget-scopes.js";
|
|
8
|
+
export * from "./billing/byok-connect.js";
|
|
9
9
|
export * from "./capability-discovery.js";
|
|
10
10
|
export * from "./user-capability-routing.js";
|
|
11
|
-
export * from "./plan-capabilities.js";
|
|
12
|
-
export * from "./plan-limits.js";
|
|
13
|
-
export * from "./plan-band.js";
|
|
14
|
-
export * from "./sending-seats.js";
|
|
15
|
-
export * from "./sending-seat-capacity.js";
|
|
11
|
+
export * from "./billing/plan-capabilities.js";
|
|
12
|
+
export * from "./billing/plan-limits.js";
|
|
13
|
+
export * from "./billing/plan-band.js";
|
|
14
|
+
export * from "./billing/sending-seats.js";
|
|
15
|
+
export * from "./billing/sending-seat-capacity.js";
|
|
16
16
|
export * from "./support/plain-support-events.js";
|
|
17
17
|
export * from "./provider-balance-signal.js";
|
|
18
18
|
export * from "./provider-funding-errors.js";
|
|
19
|
-
export * from "./publishing
|
|
19
|
+
export * from "./publishing/limits.js";
|
|
20
20
|
export * from "./spend-safety.js";
|
|
21
21
|
export * from "./tables/company-enrichment-fields.js";
|
|
22
22
|
export * from "./tables/enrichment-intents.js";
|
|
@@ -34,7 +34,7 @@ export * from "./copilot/errors.js";
|
|
|
34
34
|
export * from "./copilot/journeys.js";
|
|
35
35
|
export * from "./copilot/playbooks.js";
|
|
36
36
|
export * from "./copilot/plan.js";
|
|
37
|
-
export * from "./credit-guidance.js";
|
|
37
|
+
export * from "./billing/credit-guidance.js";
|
|
38
38
|
export * from "./deploy-env.js";
|
|
39
39
|
export * from "./marketing/directory.js";
|
|
40
40
|
export * from "./sequences/email-dsn.js";
|
|
@@ -50,12 +50,12 @@ export * from "./product-analytics-environment.js";
|
|
|
50
50
|
export * from "./product-analytics-events.js";
|
|
51
51
|
export * from "./hosted-ai.js";
|
|
52
52
|
export * from "./identifiers.js";
|
|
53
|
-
export * from "./knowledge
|
|
54
|
-
export * from "./knowledge
|
|
55
|
-
export * from "./knowledge
|
|
56
|
-
export * from "./knowledge
|
|
57
|
-
export * from "./knowledge
|
|
58
|
-
export * from "./knowledge
|
|
53
|
+
export * from "./knowledge/constants.js";
|
|
54
|
+
export * from "./knowledge/bootstrap.js";
|
|
55
|
+
export * from "./knowledge/links.js";
|
|
56
|
+
export * from "./knowledge/markdown.js";
|
|
57
|
+
export * from "./knowledge/vault-markdown.js";
|
|
58
|
+
export * from "./knowledge/seed-content.js";
|
|
59
59
|
export * from "./langfuse.js";
|
|
60
60
|
export * from "./llm-usage.js";
|
|
61
61
|
export * from "./posts/linkedin-mentions.js";
|
|
@@ -126,8 +126,8 @@ export * from "./agents/workspace-agents.js";
|
|
|
126
126
|
export * from "./semver.js";
|
|
127
127
|
export * from "./ugc/ugc.js";
|
|
128
128
|
export * from "./ugc/amplification-identity.js";
|
|
129
|
-
export * from "./knowledge
|
|
130
|
-
export * from "./knowledge
|
|
129
|
+
export * from "./knowledge/repository.js";
|
|
130
|
+
export * from "./knowledge/bases.js";
|
|
131
131
|
export * from "./external-write-policy.js";
|
|
132
132
|
export * from "./cutover-freeze.js";
|
|
133
133
|
export * from "./log-sink-selector.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parseDocument } from "yaml";
|
|
2
|
-
import { readTrimmedString as stringValue } from "
|
|
2
|
+
import { readTrimmedString as stringValue } from "../type-guards.js";
|
|
3
3
|
function record(value) {
|
|
4
4
|
return value !== null && typeof value === "object" && !Array.isArray(value)
|
|
5
5
|
? value
|
package/node_modules/@oxygen/shared/dist/{knowledge-bootstrap.d.ts → knowledge/bootstrap.d.ts}
RENAMED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
* Professional person evidence remains actor-scoped; ICP/offers are hypotheses.
|
|
55
55
|
* The provider sub-cap covers every external research leg, including fallbacks.
|
|
56
56
|
*/
|
|
57
|
-
import type { HostedAiLevel } from "
|
|
57
|
+
import type { HostedAiLevel } from "../hosted-ai.js";
|
|
58
58
|
/**
|
|
59
59
|
* Hard ceiling on managed credits ONE workspace bootstrap may spend, all phases.
|
|
60
60
|
* 150 since 2026-10-18 (founder, current chat: "increase to at least 100 ... don't
|
|
@@ -282,7 +282,7 @@ export declare function readKnowledgeBootstrapConsent(metadata: unknown): Knowle
|
|
|
282
282
|
* It sits beside the consent key for the same reason: the setup surface writes it and
|
|
283
283
|
* the worker reads it, and two spellings of the key would silently drop a hint the
|
|
284
284
|
* customer took the trouble to give us. The stored value is the canonical form
|
|
285
|
-
* produced by `normalizeLinkedinCompanyUrl` (
|
|
285
|
+
* produced by `normalizeLinkedinCompanyUrl` (../sequences/dnc-identities.js) — normalize on the
|
|
286
286
|
* way in AND on the way out, never trust the raw string, and never let a personal
|
|
287
287
|
* `/in/` profile through: this is the COMPANY page, and researching a founder's
|
|
288
288
|
* personal profile as if it were the company is exactly the confidently-wrong write
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
* Professional person evidence remains actor-scoped; ICP/offers are hypotheses.
|
|
55
55
|
* The provider sub-cap covers every external research leg, including fallbacks.
|
|
56
56
|
*/
|
|
57
|
-
import { normalizeLinkedinCompanyUrl } from "
|
|
58
|
-
import { normalizeLinkedinProfileUrl } from "
|
|
57
|
+
import { normalizeLinkedinCompanyUrl } from "../sequences/dnc-identities.js";
|
|
58
|
+
import { normalizeLinkedinProfileUrl } from "../tables/linkedin-url.js";
|
|
59
59
|
/**
|
|
60
60
|
* Hard ceiling on managed credits ONE workspace bootstrap may spend, all phases.
|
|
61
61
|
* 150 since 2026-10-18 (founder, current chat: "increase to at least 100 ... don't
|
|
@@ -254,7 +254,7 @@ function readGrant(raw) {
|
|
|
254
254
|
* It sits beside the consent key for the same reason: the setup surface writes it and
|
|
255
255
|
* the worker reads it, and two spellings of the key would silently drop a hint the
|
|
256
256
|
* customer took the trouble to give us. The stored value is the canonical form
|
|
257
|
-
* produced by `normalizeLinkedinCompanyUrl` (
|
|
257
|
+
* produced by `normalizeLinkedinCompanyUrl` (../sequences/dnc-identities.js) — normalize on the
|
|
258
258
|
* way in AND on the way out, never trust the raw string, and never let a personal
|
|
259
259
|
* `/in/` profile through: this is the COMPANY page, and researching a founder's
|
|
260
260
|
* personal profile as if it were the company is exactly the confidently-wrong write
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// now delegates here — [[Target|alias]] and [[Target#heading]] both link to
|
|
7
7
|
// Target. Links inside a connected repository resolve by vault path first
|
|
8
8
|
// (resolveKnowledgeVaultLink), for the mounted file view and the graph alike.
|
|
9
|
-
import { knowledgeLinkKey } from "./
|
|
9
|
+
import { knowledgeLinkKey } from "./constants.js";
|
|
10
10
|
const WIKILINK_RE = /\[\[([^\]]+)\]\]/g;
|
|
11
11
|
/**
|
|
12
12
|
* Extract every [[wikilink]] from a markdown body, deduplicated by resolution
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// building (no node imports): safe for web bundles; hashing happens in the API
|
|
6
6
|
// layer. The frontmatter is intentionally parseable by the simple line-based
|
|
7
7
|
// parser in the vault component (key: value lines, tags as [a, b]).
|
|
8
|
-
import { RESERVED_KNOWLEDGE_FRONTMATTER_KEYS } from "./
|
|
8
|
+
import { RESERVED_KNOWLEDGE_FRONTMATTER_KEYS } from "./constants.js";
|
|
9
9
|
const RESERVED_KEYS = new Set(RESERVED_KNOWLEDGE_FRONTMATTER_KEYS);
|
|
10
10
|
// Frontmatter values are single-line by contract: collapse whitespace runs
|
|
11
11
|
// (including newlines) so the line-based parser can never be broken by content.
|
package/node_modules/@oxygen/shared/dist/{knowledge-seed-content.d.ts → knowledge/seed-content.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { KnowledgePageType, KnowledgePageStatus } from "./
|
|
1
|
+
import type { KnowledgePageType, KnowledgePageStatus } from "./constants.js";
|
|
2
2
|
/** Monotonic scaffold cursor stored in knowledge_state.scaffold_version. Bump to ship a
|
|
3
3
|
* new wave of starter pages (tag them with a higher minScaffoldVersion).
|
|
4
4
|
* v1: the 9-page core. v2: twelve GTM stubs (voice/brand/messaging/objections, three
|
package/node_modules/@oxygen/shared/dist/{knowledge-vault-markdown.js → knowledge/vault-markdown.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isMap, parseDocument, stringify } from "yaml";
|
|
2
|
-
import { OxygenError } from "
|
|
2
|
+
import { OxygenError } from "../cli-result.js";
|
|
3
3
|
export const KNOWLEDGE_VAULT_MARKDOWN_MAX_BYTES = 1_500_000;
|
|
4
4
|
export const KNOWLEDGE_VAULT_PATH_MAX_BYTES = 1_024;
|
|
5
5
|
function invalid(message) {
|
|
@@ -134,7 +134,7 @@ export declare function createLogCollapser(options: LogCollapserOptions): LogCol
|
|
|
134
134
|
* IS the point, use the collapser, which keeps `occurrences`/`suppressed`.
|
|
135
135
|
*
|
|
136
136
|
* Modelled on `claimThresholdLogSlot`
|
|
137
|
-
* (packages/integrations/src/budget-policy.ts), including its accepted trade: at
|
|
137
|
+
* (packages/integrations/src/billing/budget-policy.ts), including its accepted trade: at
|
|
138
138
|
* the bound the set is cleared wholesale rather than evicted one by one, so a key
|
|
139
139
|
* that was already claimed can emit a second line in the same window. Bounded
|
|
140
140
|
* memory beats exactly-once for a line that is idempotent to re-read.
|
|
@@ -223,7 +223,7 @@ const claimedSlots = new Set();
|
|
|
223
223
|
* IS the point, use the collapser, which keeps `occurrences`/`suppressed`.
|
|
224
224
|
*
|
|
225
225
|
* Modelled on `claimThresholdLogSlot`
|
|
226
|
-
* (packages/integrations/src/budget-policy.ts), including its accepted trade: at
|
|
226
|
+
* (packages/integrations/src/billing/budget-policy.ts), including its accepted trade: at
|
|
227
227
|
* the bound the set is cleared wholesale rather than evicted one by one, so a key
|
|
228
228
|
* that was already claimed can emit a second line in the same window. Bounded
|
|
229
229
|
* memory beats exactly-once for a line that is idempotent to re-read.
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* tier is harmless here; a host wrongly OUT of it pauses strangers who merely
|
|
23
23
|
* share a mail host — real, customer-visible damage.
|
|
24
24
|
* 2. Company derivation from a person's email domain
|
|
25
|
-
* (`deriveCompanyDomainFromEmail`, `packages/tenant-db/src/
|
|
25
|
+
* (`deriveCompanyDomainFromEmail`, `packages/tenant-db/src/tables/link-plan.ts`)
|
|
26
26
|
* drops freemail before offering a domain as a company join key. Here the
|
|
27
27
|
* polarity REVERSES: a host wrongly OUT of this tier makes OXYGEN mint a company
|
|
28
28
|
* record for a mail provider, so every @<host> person collapses onto one fake
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* tier is harmless here; a host wrongly OUT of it pauses strangers who merely
|
|
23
23
|
* share a mail host — real, customer-visible damage.
|
|
24
24
|
* 2. Company derivation from a person's email domain
|
|
25
|
-
* (`deriveCompanyDomainFromEmail`, `packages/tenant-db/src/
|
|
25
|
+
* (`deriveCompanyDomainFromEmail`, `packages/tenant-db/src/tables/link-plan.ts`)
|
|
26
26
|
* drops freemail before offering a domain as a company join key. Here the
|
|
27
27
|
* polarity REVERSES: a host wrongly OUT of this tier makes OXYGEN mint a company
|
|
28
28
|
* record for a mail provider, so every @<host> person collapses onto one fake
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/** Assets are immutable workspace files; paths belong to this render, never the host. */
|
|
2
|
+
export type MediaAssetBinding = {
|
|
3
|
+
file_id: string;
|
|
4
|
+
path: string;
|
|
5
|
+
};
|
|
6
|
+
export type MediaAssetSnapshot = MediaAssetBinding & {
|
|
7
|
+
sha256: string;
|
|
8
|
+
size_bytes: number;
|
|
9
|
+
mime_type: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const MEDIA_PROJECT_LIMITS: Readonly<{
|
|
12
|
+
files: 64;
|
|
13
|
+
inputBytes: number;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const MOTION_RENDER_LIMITS: Readonly<{
|
|
16
|
+
durationSeconds: 10;
|
|
17
|
+
frames: 300;
|
|
18
|
+
side: 1920;
|
|
19
|
+
framePixels: 2073600;
|
|
20
|
+
aggregatePixels: 622080000;
|
|
21
|
+
timeoutMs: 120000;
|
|
22
|
+
}>;
|
|
23
|
+
export declare function mediaAssetMimeType(path: string): string;
|
|
24
|
+
export declare function validateMediaAssetPath(value: unknown): string;
|
|
25
|
+
export declare function parseMediaAssetBindings(value: unknown): MediaAssetBinding[];
|
|
26
|
+
export declare function validateMotionGeometry(input: {
|
|
27
|
+
width: number;
|
|
28
|
+
height: number;
|
|
29
|
+
fps: unknown;
|
|
30
|
+
duration: unknown;
|
|
31
|
+
}): {
|
|
32
|
+
fps: number;
|
|
33
|
+
duration: number;
|
|
34
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { OxygenError } from "./cli-result.js";
|
|
2
|
+
export const MEDIA_PROJECT_LIMITS = Object.freeze({ files: 64, inputBytes: 100 * 1024 * 1024 });
|
|
3
|
+
export const MOTION_RENDER_LIMITS = Object.freeze({ durationSeconds: 10, frames: 300, side: 1920,
|
|
4
|
+
framePixels: 2_073_600, aggregatePixels: 622_080_000, timeoutMs: 120_000 });
|
|
5
|
+
const UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
6
|
+
const TYPES = {
|
|
7
|
+
png: "image/png", jpg: "image/jpeg", jpeg: "image/jpeg", webp: "image/webp", svg: "image/svg+xml",
|
|
8
|
+
woff: "font/woff", woff2: "font/woff2", ttf: "font/ttf", otf: "font/otf",
|
|
9
|
+
mp4: "video/mp4", webm: "video/webm", mp3: "audio/mpeg", wav: "audio/wav", m4a: "audio/mp4",
|
|
10
|
+
css: "text/css", js: "text/javascript", json: "application/json", html: "text/html",
|
|
11
|
+
};
|
|
12
|
+
export function mediaAssetMimeType(path) {
|
|
13
|
+
const type = TYPES[path.split(".").at(-1)?.toLowerCase() ?? ""];
|
|
14
|
+
if (!type)
|
|
15
|
+
throw new OxygenError("media_asset_type_unsupported", "Use an image, font, audio, video, HTML, CSS, JavaScript or JSON asset.");
|
|
16
|
+
return type;
|
|
17
|
+
}
|
|
18
|
+
export function validateMediaAssetPath(value) {
|
|
19
|
+
if (typeof value !== "string" || value.length > 200 || !/^[A-Za-z0-9][A-Za-z0-9._/-]*$/.test(value)
|
|
20
|
+
|| value.split("/").some((part) => !part || part === "." || part === ".." || part.startsWith("."))
|
|
21
|
+
|| /^(?:index\.html|inter\.woff2|page-[0-9]+\.html|request\.json|node_modules|raw|validated|__oxygen)(?:\/|$)/i.test(value)) {
|
|
22
|
+
throw new OxygenError("media_asset_path_invalid", "Use a relative asset path without traversal, hidden files or reserved project names.");
|
|
23
|
+
}
|
|
24
|
+
mediaAssetMimeType(value);
|
|
25
|
+
return value;
|
|
26
|
+
}
|
|
27
|
+
export function parseMediaAssetBindings(value) {
|
|
28
|
+
if (value === undefined)
|
|
29
|
+
return [];
|
|
30
|
+
if (!Array.isArray(value) || value.length > MEDIA_PROJECT_LIMITS.files) {
|
|
31
|
+
throw new OxygenError("media_project_limit", "A media project supports at most 64 attached assets.");
|
|
32
|
+
}
|
|
33
|
+
const paths = new Set();
|
|
34
|
+
return value.map((item) => {
|
|
35
|
+
if (!item || typeof item !== "object" || Array.isArray(item))
|
|
36
|
+
throw new OxygenError("invalid_input", "Each asset needs file_id and path.");
|
|
37
|
+
const row = item;
|
|
38
|
+
if (typeof row.file_id !== "string" || !UUID.test(row.file_id))
|
|
39
|
+
throw new OxygenError("invalid_input", "Each asset needs a workspace file UUID.");
|
|
40
|
+
const path = validateMediaAssetPath(row.path);
|
|
41
|
+
if (paths.has(path.toLowerCase()))
|
|
42
|
+
throw new OxygenError("media_asset_path_conflict", "Asset paths must be unique, including case variants.");
|
|
43
|
+
paths.add(path.toLowerCase());
|
|
44
|
+
return { file_id: row.file_id, path };
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
export function validateMotionGeometry(input) {
|
|
48
|
+
const { width, height } = input;
|
|
49
|
+
const fps = input.fps ?? 24, duration = input.duration ?? 5;
|
|
50
|
+
if (!Number.isInteger(width) || !Number.isInteger(height) || width < 2 || height < 2 || width % 2 || height % 2
|
|
51
|
+
|| width > MOTION_RENDER_LIMITS.side || height > MOTION_RENDER_LIMITS.side || width * height > MOTION_RENDER_LIMITS.framePixels
|
|
52
|
+
|| (fps !== 24 && fps !== 30) || typeof duration !== "number" || !Number.isFinite(duration) || duration <= 0
|
|
53
|
+
|| duration > MOTION_RENDER_LIMITS.durationSeconds || Math.ceil(duration * fps) > MOTION_RENDER_LIMITS.frames
|
|
54
|
+
|| width * height * Math.ceil(duration * fps) > MOTION_RENDER_LIMITS.aggregatePixels) {
|
|
55
|
+
throw new OxygenError("motion_render_limit", "Use even dimensions up to 1920px and 1080p pixels, 24 or 30 fps, and at most 10 seconds / 300 frames.");
|
|
56
|
+
}
|
|
57
|
+
return { fps, duration };
|
|
58
|
+
}
|
|
@@ -35,7 +35,7 @@ export const COPILOT_CREDIT_MARKUP_MULTIPLIER = 5;
|
|
|
35
35
|
// The connected-account reservations (LinkedIn, WhatsApp, X, phone number) carry
|
|
36
36
|
// the 2026-09 repricing's NEW price. Until its effective-date switch the price in
|
|
37
37
|
// force is lower; a surface that shows or charges one resolves it with
|
|
38
|
-
// repricedChargeCredits (@oxygen/shared/repricing), never from this literal alone.
|
|
38
|
+
// repricedChargeCredits (@oxygen/shared/billing/repricing), never from this literal alone.
|
|
39
39
|
export const LINKEDIN_ACCOUNT_CREDITS_PER_MONTH = 3_400;
|
|
40
40
|
export const WHATSAPP_ACCOUNT_CREDITS_PER_MONTH = 3_400;
|
|
41
41
|
export const X_ACCOUNT_CREDITS_PER_MONTH = 1_000;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OxygenError } from "../cli-result.js";
|
|
2
|
-
import { parseKnowledgeVaultMarkdown } from "../knowledge
|
|
2
|
+
import { parseKnowledgeVaultMarkdown } from "../knowledge/vault-markdown.js";
|
|
3
3
|
export const WORKSPACE_SKILL_MAX_FILES = 50;
|
|
4
4
|
export const WORKSPACE_SKILL_MAX_FILE_BYTES = 120_000;
|
|
5
5
|
export const WORKSPACE_SKILL_MAX_BYTES = 1_000_000;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Shared search-planner vocabulary + stateless text helpers.
|
|
2
2
|
//
|
|
3
3
|
// Single source of truth for the constraint vocabulary and pure text helpers
|
|
4
|
-
// consumed by the web search planners (apps/web/src/lib/company-search-plan.ts,
|
|
4
|
+
// consumed by the web search planners (apps/web/src/lib/tables/company-search-plan.ts,
|
|
5
5
|
// people-search-plan.ts). Any other search classifier or compiler layers its
|
|
6
6
|
// tuning deltas on top of these bases rather than re-listing vocabulary, so the
|
|
7
7
|
// surfaces cannot silently drift (OXY-414).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* How a LinkedIn/WhatsApp quota denial is read by the background jobs that hit it.
|
|
3
3
|
*
|
|
4
4
|
* The denial itself is raised by the chokepoint in
|
|
5
|
-
* packages/integrations/src/linkedin-quota.ts; this module is the consumer half,
|
|
5
|
+
* packages/integrations/src/sequences/linkedin-quota.ts; this module is the consumer half,
|
|
6
6
|
* and it lives here because the consumers are spread across the worker, the web
|
|
7
7
|
* app, and the integrations package — three copies of "is this a denial, and
|
|
8
8
|
* until when" is exactly how the inbox sync and the publishing metrics sync ended
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* How a LinkedIn/WhatsApp quota denial is read by the background jobs that hit it.
|
|
3
3
|
*
|
|
4
4
|
* The denial itself is raised by the chokepoint in
|
|
5
|
-
* packages/integrations/src/linkedin-quota.ts; this module is the consumer half,
|
|
5
|
+
* packages/integrations/src/sequences/linkedin-quota.ts; this module is the consumer half,
|
|
6
6
|
* and it lives here because the consumers are spread across the worker, the web
|
|
7
7
|
* app, and the integrations package — three copies of "is this a denial, and
|
|
8
8
|
* until when" is exactly how the inbox sync and the publishing metrics sync ended
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RepricingOptions } from "../repricing.js";
|
|
1
|
+
import type { RepricingOptions } from "../billing/repricing.js";
|
|
2
2
|
/**
|
|
3
3
|
* The daily cap a new mailbox gets when nobody names one. New mailboxes were
|
|
4
4
|
* created at 18 a day before the repricing, so this is an increase and is live.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The WhatsApp sender-limit overlay: the keys a WhatsApp account accepts and
|
|
3
3
|
* their defaults and hard maximums. One owner for the quota enforcer
|
|
4
|
-
* (packages/integrations/src/whatsapp-quota.ts), the limits route, the MCP and
|
|
4
|
+
* (packages/integrations/src/sequences/whatsapp-quota.ts), the limits route, the MCP and
|
|
5
5
|
* CLI surfaces and the web form (OXP-11.3.19): the MCP tool once advertised a
|
|
6
6
|
* chats_reads_per_day key the route silently dropped and maxima (400 reads,
|
|
7
7
|
* 7200 s spacing, 3600 s jitter) the quota never allowed.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The WhatsApp sender-limit overlay: the keys a WhatsApp account accepts and
|
|
3
3
|
* their defaults and hard maximums. One owner for the quota enforcer
|
|
4
|
-
* (packages/integrations/src/whatsapp-quota.ts), the limits route, the MCP and
|
|
4
|
+
* (packages/integrations/src/sequences/whatsapp-quota.ts), the limits route, the MCP and
|
|
5
5
|
* CLI surfaces and the web form (OXP-11.3.19): the MCP tool once advertised a
|
|
6
6
|
* chats_reads_per_day key the route silently dropped and maxima (400 reads,
|
|
7
7
|
* 7200 s spacing, 3600 s jitter) the quota never allowed.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { PlanTier } from "./billing.js";
|
|
2
|
-
import type { PlanBand } from "./plan-band.js";
|
|
3
|
-
import type { LimitsTier } from "./plan-limits.js";
|
|
4
|
-
import { type RepricingOptions } from "./repricing.js";
|
|
1
|
+
import type { PlanTier } from "./billing/billing.js";
|
|
2
|
+
import type { PlanBand } from "./billing/plan-band.js";
|
|
3
|
+
import type { LimitsTier } from "./billing/plan-limits.js";
|
|
4
|
+
import { type RepricingOptions } from "./billing/repricing.js";
|
|
5
5
|
/**
|
|
6
6
|
* Spend-safety defaults: plan-scaled ceilings applied when an autonomous
|
|
7
7
|
* spend path was armed WITHOUT an explicit cap. They restore the ADR-0011
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FREE_ORG_DAILY_GUARD_BLOCK_CREDITS, FREE_ORG_DAILY_GUARD_WARN_CREDITS, repricedValue, } from "./repricing.js";
|
|
1
|
+
import { FREE_ORG_DAILY_GUARD_BLOCK_CREDITS, FREE_ORG_DAILY_GUARD_WARN_CREDITS, repricedValue, } from "./billing/repricing.js";
|
|
2
2
|
/** Workflow run trigger types that fire without a human in the loop. */
|
|
3
3
|
export const AUTONOMOUS_WORKFLOW_TRIGGER_TYPES = new Set([
|
|
4
4
|
"cron",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PlanBand } from "../plan-band.js";
|
|
2
|
-
import { type RepricingOptions } from "../repricing.js";
|
|
1
|
+
import type { PlanBand } from "../billing/plan-band.js";
|
|
2
|
+
import { type RepricingOptions } from "../billing/repricing.js";
|
|
3
3
|
/** Row capacity warnings start at 80% of the limit currently enforced. */
|
|
4
4
|
export declare const TABLE_ROW_CAPACITY_WARNING_RATIO = 0.8;
|
|
5
5
|
export type TableRowCapacityFlags = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { findRepricedValue, readRepricingSwitch, repricedValue, } from "../repricing.js";
|
|
1
|
+
import { findRepricedValue, readRepricingSwitch, repricedValue, } from "../billing/repricing.js";
|
|
2
2
|
const GIB = 1024 ** 3;
|
|
3
3
|
/** Row capacity warnings start at 80% of the limit currently enforced. */
|
|
4
4
|
export const TABLE_ROW_CAPACITY_WARNING_RATIO = 0.8;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// resolve, with the vocabulary every surface shows for it.
|
|
3
3
|
//
|
|
4
4
|
// This is the single source of truth for the field list. The waterfall engine
|
|
5
|
-
// (packages/integrations/src/company-enrichment-waterfall.ts) owns HOW a field
|
|
5
|
+
// (packages/integrations/src/tables/company-enrichment-waterfall.ts) owns HOW a field
|
|
6
6
|
// is resolved — provider lanes, derived extractors, pricing — and reads its
|
|
7
7
|
// labels, column keys and data types from here; the CLI, the MCP descriptor,
|
|
8
8
|
// the `company_enrich` column preset (tenant-db) and the web column picker
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// registry) names the provider chain. This leaf is the customer-facing half
|
|
13
13
|
// and carries NO provider names in labels or descriptions and NO prices —
|
|
14
14
|
// provider order and prices are projected server-side from the registry and
|
|
15
|
-
// the pricing resolver (apps/web/src/lib/enrichment-column-catalog.ts).
|
|
15
|
+
// the pricing resolver (apps/web/src/lib/tables/enrichment-column-catalog.ts).
|
|
16
16
|
//
|
|
17
17
|
// Vendor cost structure (flat fee, unlimited, zero marginal cost) is internal
|
|
18
18
|
// margin information and must never appear in any string here
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Operators a filter-tree leaf (`tables query --filter-tree-json`, MCP
|
|
2
2
|
// `filterTree`, saved views) accepts. The SQL builder in
|
|
3
|
-
// packages/tenant-db/src/filters.ts, the CLI help and the MCP schema all read
|
|
3
|
+
// packages/tenant-db/src/tables/filters.ts, the CLI help and the MCP schema all read
|
|
4
4
|
// this one list, so the operators a caller is told about are exactly the ones
|
|
5
5
|
// the server accepts.
|
|
6
6
|
export const FILTER_TREE_OPERATORS = [
|
package/node_modules/@oxygen/shared/dist/{research-findings.js → tables/research-findings.js}
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// of CRM_ACTIVITY_EVENT_DEFINITIONS (the production writer allowlist and event
|
|
6
6
|
// catalog) and out of CRM_SIGNAL_ACTIVITY_TYPES: a finding is evidence, never
|
|
7
7
|
// intent.
|
|
8
|
-
import { OxygenError } from "
|
|
8
|
+
import { OxygenError } from "../cli-result.js";
|
|
9
9
|
export const RESEARCH_FINDING_ACTIVITY_TYPE = "research_finding";
|
|
10
10
|
export const RESEARCH_FINDING_EVENT_DEFINITION = {
|
|
11
11
|
key: RESEARCH_FINDING_ACTIVITY_TYPE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const OXYGEN_BUILD_VERSION = "1.
|
|
1
|
+
export declare const OXYGEN_BUILD_VERSION = "1.1017.22";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// GENERATED by scripts/ci/version-stamp.mjs from VERSION + git history. Do not edit; do not commit.
|
|
2
|
-
export const OXYGEN_BUILD_VERSION = "1.
|
|
2
|
+
export const OXYGEN_BUILD_VERSION = "1.1017.22";
|