@oxygen-agent/cli 1.1014.1874 → 1.1014.1997
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/auto-update.d.ts +1 -1
- package/dist/auto-update.js +3 -3
- package/dist/cli-install.d.ts +65 -0
- package/dist/cli-install.js +165 -0
- package/dist/commands/billing.js +1 -1
- package/dist/commands/managed-inboxes.js +6 -2
- package/dist/commands/sequences.js +1 -1
- package/dist/commands/subscriptions.js +7 -5
- package/dist/update.d.ts +4 -57
- package/dist/update.js +17 -163
- package/node_modules/@oxygen/shared/dist/billing.d.ts +5 -1
- package/node_modules/@oxygen/shared/dist/billing.js +5 -1
- package/node_modules/@oxygen/shared/dist/capability-discovery-skill-audiences.generated.d.ts +30 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-skill-audiences.generated.js +33 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-skills.d.ts +39 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-skills.js +86 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-types.d.ts +93 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-types.js +1 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery.d.ts +12 -258
- package/node_modules/@oxygen/shared/dist/capability-discovery.js +123 -3700
- package/node_modules/@oxygen/shared/dist/capability-intents/agency-directory.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agency-directory.rules.js +5 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agents.d.ts +10 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agents.js +53 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agents.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agents.rules.js +25 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/billing-and-budgets.d.ts +31 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/billing-and-budgets.js +70 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/billing-and-budgets.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/billing-and-budgets.rules.js +85 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/collaboration.d.ts +9 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/collaboration.js +54 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/collaboration.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/collaboration.rules.js +28 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-integrations.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-integrations.rules.js +23 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-linkedin.d.ts +43 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-linkedin.js +90 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-linkedin.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-linkedin.rules.js +58 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-whatsapp.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-whatsapp.rules.js +14 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/geo.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/geo.rules.js +9 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/index.generated.d.ts +365 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/index.generated.js +90 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/knowledge-graph.d.ts +20 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/knowledge-graph.js +37 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/knowledge-graph.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/knowledge-graph.rules.js +43 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/linkedin-public-research.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/linkedin-public-research.js +26 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/linkedin-public-research.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/linkedin-public-research.rules.js +42 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/messages.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/messages.js +16 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/messages.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/messages.rules.js +68 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/normalize.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/normalize.js +4 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/platform-operations.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/platform-operations.js +23 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/platform-operations.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/platform-operations.rules.js +25 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/posts.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/posts.js +12 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/posts.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/posts.rules.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/publishing.d.ts +86 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/publishing.js +135 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/publishing.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/publishing.rules.js +89 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/read-inspection.d.ts +7 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/read-inspection.js +85 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/read-inspection.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/read-inspection.rules.js +28 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/recipes.d.ts +7 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/recipes.js +73 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/recipes.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/recipes.rules.js +36 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/records.d.ts +86 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/records.js +240 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/records.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/records.rules.js +71 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sending-infrastructure.d.ts +27 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sending-infrastructure.js +67 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sending-infrastructure.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sending-infrastructure.rules.js +115 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sequences.d.ts +71 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sequences.js +150 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sequences.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sequences.rules.js +149 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/signals.d.ts +42 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/signals.js +42 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/signals.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/signals.rules.js +47 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.d.ts +60 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.js +94 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.rules.js +94 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.d.ts +196 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.js +394 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.rules.js +384 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tags.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tags.rules.js +5 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/visual-rendering.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/visual-rendering.rules.js +8 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workflows.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workflows.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workflows.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workflows.rules.js +90 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workspace-access.d.ts +59 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workspace-access.js +121 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workspace-access.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workspace-access.rules.js +58 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/ads.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/ads.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/agency-directory.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/agency-directory.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/agents.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/agents.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/billing-and-budgets.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/billing-and-budgets.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/collaboration.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/collaboration.js +39 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-integrations.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-integrations.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-linkedin.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-linkedin.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-whatsapp.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-whatsapp.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/dashboards.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/dashboards.js +28 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/discovery-and-skills.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/discovery-and-skills.js +22 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/geo.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/geo.js +13 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/index.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/index.js +64 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/knowledge-graph.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/knowledge-graph.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/linkedin-public-research.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/linkedin-public-research.js +18 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/messages.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/messages.js +21 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/observability.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/observability.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/onboarding-and-copilot.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/onboarding-and-copilot.js +23 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/platform-operations.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/platform-operations.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/posts.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/posts.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/publishing.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/publishing.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/recipes.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/recipes.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/records.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/records.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sending-infrastructure.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sending-infrastructure.js +42 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sequences.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sequences.js +32 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/signals.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/signals.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sourcing-and-provider-tools.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sourcing-and-provider-tools.js +21 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/support-and-feedback.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/support-and-feedback.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/tables.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/tables.js +34 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/tags.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/tags.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/visual-rendering.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/visual-rendering.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/workflows.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/workflows.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/workspace-access.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/workspace-access.js +26 -0
- package/node_modules/@oxygen/shared/dist/contracts/connectors.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/customer-operations.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/operations/agent-sessions.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/agent-sessions.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/browser.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/browser.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/clay-migration.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/clay-migration.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/connectors.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/connectors.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/geo.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/geo.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/guided-activation.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/guided-activation.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/index.generated.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/index.generated.js +26 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/reply-oxygent.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/reply-oxygent.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/sender-limits.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/sender-limits.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/table-feed-update.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/table-feed-update.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/teammates.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/teammates.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/workspace-pages.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/workspace-pages.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/workspace-skills.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/workspace-skills.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations.js +7 -15
- package/node_modules/@oxygen/shared/dist/contracts/sender-limits.js +1 -0
- package/node_modules/@oxygen/shared/dist/diagnostic-storage-lock.js +33 -22
- package/node_modules/@oxygen/shared/dist/diagnostics.js +11 -8
- package/node_modules/@oxygen/shared/dist/first-month-offer-window.d.ts +3 -0
- package/node_modules/@oxygen/shared/dist/first-month-offer.d.ts +15 -7
- package/node_modules/@oxygen/shared/dist/first-month-offer.js +23 -9
- package/node_modules/@oxygen/shared/dist/guided-activation.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/listed-website-platforms.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/listed-website-platforms.js +23 -1
- package/node_modules/@oxygen/shared/dist/log.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/log.js +4 -0
- package/node_modules/@oxygen/shared/dist/onboarding-leads.d.ts +67 -0
- package/node_modules/@oxygen/shared/dist/onboarding-leads.js +78 -0
- package/node_modules/@oxygen/shared/dist/onboarding-research.d.ts +19 -0
- package/node_modules/@oxygen/shared/dist/onboarding-research.js +33 -0
- package/node_modules/@oxygen/shared/dist/otlp-log-sink.js +20 -0
- package/node_modules/@oxygen/shared/dist/plan-capabilities.js +1 -1
- package/node_modules/@oxygen/shared/dist/plan-limits.d.ts +2 -2
- package/node_modules/@oxygen/shared/dist/plan-limits.js +6 -7
- package/node_modules/@oxygen/shared/dist/sending-domain-faults.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/sending-domain-faults.js +1 -1
- package/node_modules/@oxygen/shared/dist/tenant-migration-names.d.ts +5 -0
- package/node_modules/@oxygen/shared/dist/tenant-migration-names.js +8 -0
- package/node_modules/@oxygen/shared/dist/version.generated.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/version.generated.js +1 -1
- package/node_modules/@oxygen/workflows/dist/graph/lint.d.ts +1 -1
- package/node_modules/@oxygen/workflows/dist/graph/lint.js +4 -3
- package/node_modules/@oxygen/workflows/dist/index.d.ts +2 -59
- package/node_modules/@oxygen/workflows/dist/index.js +4 -904
- package/node_modules/@oxygen/workflows/dist/manifest-validation.d.ts +75 -0
- package/node_modules/@oxygen/workflows/dist/manifest-validation.js +903 -0
- package/package.json +1 -1
|
@@ -190,6 +190,24 @@ function deployTierOrNull() {
|
|
|
190
190
|
return null;
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* `deployment.environment` declared in `OTEL_RESOURCE_ATTRIBUTES`. Only the local
|
|
195
|
+
* launcher sets it (`local`, scripts/local-dev/env.mjs); deployed runtimes never
|
|
196
|
+
* do. It beats the derived tier and caller overrides because a local process
|
|
197
|
+
* also runs with `OXYGEN_DEPLOY_ENV=selfhost-dev`, and stamping it `dev` puts its
|
|
198
|
+
* warnings (e.g. `posthog_canary.not_configured`) under dev's monitors.
|
|
199
|
+
*/
|
|
200
|
+
function declaredDeploymentEnvironment() {
|
|
201
|
+
for (const entry of (process.env.OTEL_RESOURCE_ATTRIBUTES ?? "").split(",")) {
|
|
202
|
+
const separator = entry.indexOf("=");
|
|
203
|
+
if (separator < 0 || entry.slice(0, separator).trim() !== "deployment.environment")
|
|
204
|
+
continue;
|
|
205
|
+
const value = entry.slice(separator + 1).trim();
|
|
206
|
+
if (value)
|
|
207
|
+
return value;
|
|
208
|
+
}
|
|
209
|
+
return null;
|
|
210
|
+
}
|
|
193
211
|
function recordLevel(record) {
|
|
194
212
|
return typeof record.level === "string" && Object.hasOwn(SEVERITY_NUMBERS, record.level)
|
|
195
213
|
? record.level
|
|
@@ -225,6 +243,7 @@ export function createOtlpLogSink(options) {
|
|
|
225
243
|
// resolves its own environment and comes back empty-handed falls back to the
|
|
226
244
|
// default here instead of shipping records with no `deployment.environment`.
|
|
227
245
|
const resourceOverrides = Object.fromEntries(Object.entries(options.resource ?? {}).filter(([, value]) => value !== null && value !== undefined));
|
|
246
|
+
const declaredEnvironment = declaredDeploymentEnvironment();
|
|
228
247
|
const resourceAttributes = toAttributes({
|
|
229
248
|
"service.name": options.serviceName,
|
|
230
249
|
"deployment.environment": deployTierOrNull()
|
|
@@ -237,6 +256,7 @@ export function createOtlpLogSink(options) {
|
|
|
237
256
|
// line, the same identity the trace/metric resources now carry.
|
|
238
257
|
...processResourceIdentity(),
|
|
239
258
|
...resourceOverrides,
|
|
259
|
+
...(declaredEnvironment ? { "deployment.environment": declaredEnvironment } : {}),
|
|
240
260
|
});
|
|
241
261
|
const queue = [];
|
|
242
262
|
let inFlight = null;
|
|
@@ -117,7 +117,7 @@ export const PLAN_GATED_CAPABILITY_COPY = {
|
|
|
117
117
|
bulk_email: {
|
|
118
118
|
label: "Sending newsletters",
|
|
119
119
|
freeAlternative: "Subscription lists and newsletter Sequences can be set up on Free. Adding a sending domain and sending to subscribers is what needs a plan.",
|
|
120
|
-
deepLinkPath: "/
|
|
120
|
+
deepLinkPath: "/newsletter/settings",
|
|
121
121
|
},
|
|
122
122
|
};
|
|
123
123
|
export function isPlanGatedCapability(value) {
|
|
@@ -281,13 +281,13 @@ export declare const PLAN_LIMITS: {
|
|
|
281
281
|
readonly maxDirectCsvBodyBytes: 10000000;
|
|
282
282
|
};
|
|
283
283
|
readonly agents: {
|
|
284
|
-
readonly maxTotalCredits:
|
|
284
|
+
readonly maxTotalCredits: 200;
|
|
285
285
|
readonly maxInferenceCredits: 150;
|
|
286
286
|
readonly maxUpstreamCostUsd: 10;
|
|
287
287
|
readonly maxUpstreamCostUsdByok: 10;
|
|
288
288
|
};
|
|
289
289
|
readonly copilot: {
|
|
290
|
-
readonly maxSessionBudgetCredits:
|
|
290
|
+
readonly maxSessionBudgetCredits: 250;
|
|
291
291
|
readonly defaultPerTurnCreditCeiling: 150;
|
|
292
292
|
};
|
|
293
293
|
readonly signals: {
|
|
@@ -101,7 +101,7 @@ export const PLAN_LIMITS = {
|
|
|
101
101
|
maxDirectCsvBodyBytes: 10_000_000,
|
|
102
102
|
},
|
|
103
103
|
// Sized against the free tier's actual funding (OXP-10.2.4, 2026-08-17): one
|
|
104
|
-
// signup grant of FREE_SIGNUP_GRANT_CREDITS (
|
|
104
|
+
// signup grant of FREE_SIGNUP_GRANT_CREDITS (250 since 2026-10-23) with no monthly allowance
|
|
105
105
|
// to refill it. The previous ceilings were written when `free` meant a
|
|
106
106
|
// churned org that could spend nothing, so they were harmless at any value;
|
|
107
107
|
// an Agent run capped at the old 1,000 (today's unit) could consume the
|
|
@@ -111,16 +111,15 @@ export const PLAN_LIMITS = {
|
|
|
111
111
|
// is bounded by its balance, not by these. The intent is only that no single
|
|
112
112
|
// run can silently eat a first impression.
|
|
113
113
|
agents: {
|
|
114
|
-
maxTotalCredits:
|
|
114
|
+
maxTotalCredits: 200,
|
|
115
115
|
maxInferenceCredits: 150,
|
|
116
116
|
maxUpstreamCostUsd: 10,
|
|
117
117
|
maxUpstreamCostUsdByok: 10,
|
|
118
118
|
},
|
|
119
|
-
//
|
|
120
|
-
//
|
|
121
|
-
//
|
|
122
|
-
|
|
123
|
-
copilot: { maxSessionBudgetCredits: 500, defaultPerTurnCreditCeiling: 150 },
|
|
119
|
+
// 250/150 since the 2026-10-23 250-credit grant (500/150 before; 5,000/1,500
|
|
120
|
+
// before the 2026-09-19 unit change): one Copilot session fits the signup
|
|
121
|
+
// grant, and onboarding's own turns are OXYGEN-funded.
|
|
122
|
+
copilot: { maxSessionBudgetCredits: 250, defaultPerTurnCreditCeiling: 150 },
|
|
124
123
|
signals: DERIVED_PLAN_LIMIT_TARGETS.free.signals,
|
|
125
124
|
tableActions: { maxActionsPerRun: DERIVED_PLAN_LIMIT_TARGETS.free.maxActionsPerRun },
|
|
126
125
|
// Decision L4.2 (ratified 2026-09-26): a free workspace schedules at most
|
|
@@ -17,5 +17,5 @@ export declare function sendingDomainInUseError(): CliHttpError;
|
|
|
17
17
|
export declare function bulkEmailWorkspacePausedError(): CliHttpError;
|
|
18
18
|
/** Every bulk email carries the sender's postal address; a newsletter goes live only once the brand kit holds one. */
|
|
19
19
|
export declare const NEWSLETTER_POSTAL_ADDRESS_REQUIRED_MESSAGE = "Add your postal address to the brand kit before sending a newsletter.";
|
|
20
|
-
export declare const NEWSLETTER_POSTAL_ADDRESS_NEXT_STEP = "Add a postal address in
|
|
20
|
+
export declare const NEWSLETTER_POSTAL_ADDRESS_NEXT_STEP = "Add a postal address in Newsletter \u2192 Settings \u2192 Brand kit (CLI: `oxygen sequences brand-kit set --postal-address`; MCP: oxygen_domains_sending action=brand_kit_set), then start again.";
|
|
21
21
|
export declare function newsletterPostalAddressRequiredError(details?: Record<string, unknown>): CliHttpError;
|
|
@@ -44,7 +44,7 @@ export function bulkEmailWorkspacePausedError() {
|
|
|
44
44
|
}
|
|
45
45
|
/** Every bulk email carries the sender's postal address; a newsletter goes live only once the brand kit holds one. */
|
|
46
46
|
export const NEWSLETTER_POSTAL_ADDRESS_REQUIRED_MESSAGE = "Add your postal address to the brand kit before sending a newsletter.";
|
|
47
|
-
export const NEWSLETTER_POSTAL_ADDRESS_NEXT_STEP = "Add a postal address in
|
|
47
|
+
export const NEWSLETTER_POSTAL_ADDRESS_NEXT_STEP = "Add a postal address in Newsletter → Settings → Brand kit (CLI: `oxygen sequences brand-kit set --postal-address`; MCP: oxygen_domains_sending action=brand_kit_set), then start again.";
|
|
48
48
|
export function newsletterPostalAddressRequiredError(details = {}) {
|
|
49
49
|
return new CliHttpError(409, SENDING_DOMAIN_FAULT_CODES.postalAddressRequired, NEWSLETTER_POSTAL_ADDRESS_REQUIRED_MESSAGE, {
|
|
50
50
|
details: { ...details, retryable: false, next_step: NEWSLETTER_POSTAL_ADDRESS_NEXT_STEP },
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Applied tenant-isolation markers stay recorded when a process bundles only static migrations. */
|
|
2
|
+
export declare const RLS_ROLLOUT_MIGRATION_NAME = "9999_rls_tenant_isolation.sql";
|
|
3
|
+
export declare const COMPOSITE_FK_MIGRATION_NAME = "9999_tenant_composite_fks.sql";
|
|
4
|
+
/** Exact generated entries; an unknown future 9999 tail remains a distinct schema frontier. */
|
|
5
|
+
export declare const CODE_GENERATED_MIGRATION_NAMES: ReadonlySet<string>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Applied tenant-isolation markers stay recorded when a process bundles only static migrations. */
|
|
2
|
+
export const RLS_ROLLOUT_MIGRATION_NAME = "9999_rls_tenant_isolation.sql";
|
|
3
|
+
export const COMPOSITE_FK_MIGRATION_NAME = "9999_tenant_composite_fks.sql";
|
|
4
|
+
/** Exact generated entries; an unknown future 9999 tail remains a distinct schema frontier. */
|
|
5
|
+
export const CODE_GENERATED_MIGRATION_NAMES = new Set([
|
|
6
|
+
RLS_ROLLOUT_MIGRATION_NAME,
|
|
7
|
+
COMPOSITE_FK_MIGRATION_NAME,
|
|
8
|
+
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const OXYGEN_BUILD_VERSION = "1.1014.
|
|
1
|
+
export declare const OXYGEN_BUILD_VERSION = "1.1014.1997";
|
|
@@ -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.1014.
|
|
2
|
+
export const OXYGEN_BUILD_VERSION = "1.1014.1997";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type WorkflowLintResult, type WorkflowManifestValidationOptions } from "../
|
|
1
|
+
import { type WorkflowLintResult, type WorkflowManifestValidationOptions } from "../manifest-validation.js";
|
|
2
2
|
import type { WorkflowCodeV1 } from "./types.js";
|
|
3
3
|
import { type WorkflowGraphManifest } from "./types.js";
|
|
4
4
|
export declare function lintWorkflowGraphManifest(value: unknown, options?: WorkflowManifestValidationOptions): WorkflowLintResult;
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
// the same shape (`{ ok, issues[] }`), the same `$.`-rooted JSON paths, and the
|
|
3
3
|
// same snake_case issue codes wherever a v1 rule carries over.
|
|
4
4
|
//
|
|
5
|
-
// NOT BROWSER-SAFE, deliberately: it reuses v1's
|
|
6
|
-
// validateTrigger from ../
|
|
5
|
+
// NOT BROWSER-SAFE, deliberately: it imports node:vm itself and reuses v1's
|
|
6
|
+
// validatePureFunctionSource and validateTrigger from ../manifest-validation.js,
|
|
7
|
+
// the validators the node entry (../index.js) lints v1 manifests with. This is
|
|
7
8
|
// why ./index.ts (the "@oxygen/workflows/graph" entry) does not re-export this
|
|
8
9
|
// module — the editor lints through the API, not in the bundle.
|
|
9
10
|
import * as vm from "node:vm";
|
|
10
11
|
import { validateFormulaExpression } from "@oxygen/formula";
|
|
11
|
-
import { isWorkflowToolRejected, lintRecipeManifest, lintWorkflowCodeSourceSafety, validateOptionalMaxCredits, validatePureFunctionSource, validateTrigger, } from "../
|
|
12
|
+
import { isWorkflowToolRejected, lintRecipeManifest, lintWorkflowCodeSourceSafety, validateOptionalMaxCredits, validatePureFunctionSource, validateTrigger, } from "../manifest-validation.js";
|
|
12
13
|
import { UNARY_COMPARE_OPS, WORKFLOW_COMPARE_OPS, compileConditionPattern, parseScopePath, referencedScopePaths, SCOPE_PATH_ROOTS, } from "./expression.js";
|
|
13
14
|
import { missingToolParams, unknownToolParams } from "./params.js";
|
|
14
15
|
import { danglingEdges, dominatingNodeIds, findIllegalCycles, loopBodyNodeIds, reachableNodeIds, workflowCodeSandboxInvocationUpperBound, } from "./topology.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type WorkflowGraphManifest } from "./graph/types.js";
|
|
2
|
-
import type
|
|
2
|
+
import { DURABLE_RECIPE_COMPILER_VERSION, type JsonSchema, type WorkflowLintIssue, type WorkflowLintResult, type WorkflowManifestValidationOptions, type WorkflowStatus, type WorkflowStepEffect } from "./manifest-validation.js";
|
|
3
3
|
export * from "./usage-estimate.js";
|
|
4
4
|
export * from "./event-dispatch.js";
|
|
5
5
|
export type { CanonicalWorkflowToolEffect } from "./tool-effects.js";
|
|
@@ -8,18 +8,14 @@ export * from "./graph/lint.js";
|
|
|
8
8
|
export * from "./portable.js";
|
|
9
9
|
export { RECIPE_TIMESTAMP_MILLIS_SOURCE } from "./recipe-timestamp.js";
|
|
10
10
|
export * from "./refactor-internals/execution-policy.js";
|
|
11
|
-
export
|
|
11
|
+
export { DURABLE_RECIPE_COMPILER_VERSION, isWorkflowToolRejected, lintRecipeManifest, lintWorkflowCodeSourceSafety, MAX_RECIPE_BUNDLE_BYTES, validateJsonSchemaValue, validateOptionalMaxCredits, validatePureFunctionSource, validateTrigger, WORKFLOW_MANIFEST_VERSION, type JsonSchema, type JsonSchemaValidationIssue, type WorkflowLintIssue, type WorkflowLintResult, type WorkflowManifestValidationOptions, type WorkflowStatus, type WorkflowStepEffect, } from "./manifest-validation.js";
|
|
12
12
|
export declare const WORKFLOW_COMPILER_VERSION = "oxygen-workflows-v1";
|
|
13
|
-
export declare const DURABLE_RECIPE_COMPILER_VERSION = "oxygen-recipes-v2";
|
|
14
13
|
export declare const BLUEPRINT_VERSION = 1;
|
|
15
14
|
export declare const BLUEPRINT_COMPILER_VERSION = "oxygen-blueprints-v1";
|
|
16
|
-
export declare const MAX_RECIPE_BUNDLE_BYTES = 2000000;
|
|
17
15
|
export declare const MAX_BLUEPRINT_BYTES = 4000000;
|
|
18
16
|
export declare const DEFAULT_WORKFLOW_CRON_TIMEZONE = "UTC";
|
|
19
17
|
export type WorkflowMode = "dry_run" | "live" | "smoke_test";
|
|
20
18
|
export type WorkflowTriggerType = "api" | "webhook" | "cron" | "event";
|
|
21
|
-
export type WorkflowStatus = "active" | "disabled";
|
|
22
|
-
export type WorkflowStepEffect = "none" | "external_read" | "external_write";
|
|
23
19
|
export type RecipeRuntime = "durable";
|
|
24
20
|
export type WorkflowEventFilterOp = "eq" | "neq" | "exists" | "not_exists";
|
|
25
21
|
export type WorkflowEventFilter = {
|
|
@@ -27,19 +23,6 @@ export type WorkflowEventFilter = {
|
|
|
27
23
|
op: WorkflowEventFilterOp;
|
|
28
24
|
value?: unknown;
|
|
29
25
|
};
|
|
30
|
-
export type JsonSchema = {
|
|
31
|
-
type?: string | string[];
|
|
32
|
-
title?: string;
|
|
33
|
-
description?: string;
|
|
34
|
-
properties?: Record<string, JsonSchema>;
|
|
35
|
-
required?: string[];
|
|
36
|
-
items?: JsonSchema;
|
|
37
|
-
enum?: unknown[];
|
|
38
|
-
const?: unknown;
|
|
39
|
-
anyOf?: JsonSchema[];
|
|
40
|
-
additionalProperties?: boolean | JsonSchema;
|
|
41
|
-
[key: string]: unknown;
|
|
42
|
-
};
|
|
43
26
|
export type WorkflowTriggerManifest = {
|
|
44
27
|
type: "api";
|
|
45
28
|
status?: WorkflowStatus;
|
|
@@ -276,36 +259,6 @@ export type WorkflowBranchStepDefinition = {
|
|
|
276
259
|
join?: string;
|
|
277
260
|
};
|
|
278
261
|
export type WorkflowStepDefinition = WorkflowTransformStepDefinition | WorkflowToolStepDefinition | WorkflowBranchStepDefinition;
|
|
279
|
-
export type WorkflowLintIssue = {
|
|
280
|
-
path: string;
|
|
281
|
-
code: string;
|
|
282
|
-
message: string;
|
|
283
|
-
};
|
|
284
|
-
export type WorkflowLintResult = {
|
|
285
|
-
ok: boolean;
|
|
286
|
-
issues: WorkflowLintIssue[];
|
|
287
|
-
};
|
|
288
|
-
export type JsonSchemaValidationIssue = WorkflowLintIssue;
|
|
289
|
-
export type WorkflowManifestValidationOptions = {
|
|
290
|
-
isToolAllowed?: (toolId: string) => boolean;
|
|
291
|
-
/**
|
|
292
|
-
* A tool's input fields, so lint can tell whether a node is actually filled in.
|
|
293
|
-
*
|
|
294
|
-
* Injected exactly like resolveToolEffect and for the same reason: the field
|
|
295
|
-
* list lives in @oxygen/tools / @oxygen/mcp-server, which the CLI and the
|
|
296
|
-
* browser bundle cannot carry. Omitting it SKIPS the check rather than
|
|
297
|
-
* refusing — but every SERVER lint path must inject it, because without it the
|
|
298
|
-
* editor blocks a node that `apply` then accepts, which is precisely the
|
|
299
|
-
* GUI-only guarantee this option exists to end.
|
|
300
|
-
*/
|
|
301
|
-
/**
|
|
302
|
-
* Accepts a bare field list or a `{ fields, closed }` pair. The union is
|
|
303
|
-
* deliberate: it widens the contract for callers that can report whether the
|
|
304
|
-
* schema is closed without touching the ones that cannot.
|
|
305
|
-
*/
|
|
306
|
-
resolveToolParamFields?: (toolId: string) => readonly ToolParamSpec[] | ToolParamFields | null;
|
|
307
|
-
resolveToolEffect?: (toolId: string) => WorkflowStepEffect | null;
|
|
308
|
-
};
|
|
309
262
|
export declare function defineWorkflow(input: {
|
|
310
263
|
id: string;
|
|
311
264
|
name: string;
|
|
@@ -454,11 +407,8 @@ export declare function hashRecipeSource(input: {
|
|
|
454
407
|
configurationSchema?: JsonSchema;
|
|
455
408
|
configuration?: Record<string, unknown>;
|
|
456
409
|
}): string;
|
|
457
|
-
export declare function validateOptionalMaxCredits(value: unknown, path: string, add: (path: string, code: string, message: string) => void): void;
|
|
458
410
|
export declare function lintWorkflowManifest(// skipcq: JS-R1005
|
|
459
411
|
value: unknown, options?: WorkflowManifestValidationOptions): WorkflowLintResult;
|
|
460
|
-
export declare function lintRecipeManifest(// skipcq: JS-R1005
|
|
461
|
-
value: unknown, options?: WorkflowManifestValidationOptions): WorkflowLintResult;
|
|
462
412
|
export declare function assertRecipeManifest(value: unknown, options?: WorkflowManifestValidationOptions): asserts value is RecipeManifest;
|
|
463
413
|
export declare function assertWorkflowManifest(value: unknown, options?: WorkflowManifestValidationOptions): asserts value is WorkflowManifest;
|
|
464
414
|
export declare function isBlueprint(value: unknown): value is Blueprint;
|
|
@@ -483,11 +433,8 @@ export declare function buildBlueprint(input: {
|
|
|
483
433
|
exportedAt?: Date;
|
|
484
434
|
sourceHash?: string;
|
|
485
435
|
}): Blueprint;
|
|
486
|
-
export declare function validateJsonSchemaValue(value: unknown, schema: JsonSchema | undefined, path?: string, maxIssues?: number, maxVisits?: number): JsonSchemaValidationIssue[];
|
|
487
436
|
export declare function assertRecipeBundleSafe(bundle: string): void;
|
|
488
437
|
export declare function lintRecipeBundleSafety(bundle: string, path?: string): WorkflowLintIssue[];
|
|
489
|
-
/** Comment/string-aware author feedback for the stricter oxygen-js-v1 runtime. */
|
|
490
|
-
export declare function lintWorkflowCodeSourceSafety(source: string, path?: string): WorkflowLintIssue[];
|
|
491
438
|
/**
|
|
492
439
|
* The ceiling of the legacy synchronous `node:vm` path below. It stays at 10 s
|
|
493
440
|
* (and its callers pass 1 s) when the typed Code node rose to 30 s (repricing
|
|
@@ -1044,8 +991,4 @@ export declare function getWorkflowSchema(subject?: "apply" | "call" | "event" |
|
|
|
1044
991
|
};
|
|
1045
992
|
};
|
|
1046
993
|
};
|
|
1047
|
-
export declare function validateTrigger(// skipcq: JS-R1005
|
|
1048
|
-
value: unknown, path: string, add: (path: string, code: string, message: string) => void): void;
|
|
1049
|
-
export declare function validatePureFunctionSource(source: string, path: string, add: (path: string, code: string, message: string) => void): void;
|
|
1050
|
-
export declare function isWorkflowToolRejected(toolId: string): boolean;
|
|
1051
994
|
export declare function computeWorkflowPlanHash(input: Record<string, unknown>): string;
|