@oxygen-agent/cli 1.1014.1696 → 1.1014.1870
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/admin-primary-providers-render.js +7 -2
- package/dist/command-families/program.js +4 -0
- package/dist/command-families/tables/register-relations.js +3 -2
- package/dist/command-manifest.js +14 -2
- package/dist/command-support.js +1 -1
- package/dist/commands/admin.js +82 -1
- package/dist/commands/billing.js +1 -1
- package/dist/commands/columns.js +2 -1
- package/dist/commands/copilot.js +29 -7
- package/dist/commands/domains.js +7 -0
- package/dist/commands/email-assets.d.ts +3 -0
- package/dist/commands/email-assets.js +78 -0
- package/dist/commands/email-templates.d.ts +3 -0
- package/dist/commands/email-templates.js +101 -0
- package/dist/commands/enrich-column.js +2 -1
- package/dist/commands/managed-inboxes.js +26 -1
- package/dist/commands/sequences.js +47 -12
- package/dist/commands/subscriptions.d.ts +2 -4
- package/dist/commands/subscriptions.js +297 -51
- package/dist/commands/table-runs.js +2 -1
- package/dist/sequence-start-at.d.ts +7 -0
- package/dist/sequence-start-at.js +21 -0
- package/dist/sequences-brand-kit-command.d.ts +28 -0
- package/dist/sequences-brand-kit-command.js +83 -0
- package/dist/sequences-content-commands.d.ts +28 -0
- package/dist/sequences-content-commands.js +176 -0
- package/dist/sequences-newsletter-commands.d.ts +6 -0
- package/dist/sequences-newsletter-commands.js +108 -0
- package/dist/sequences-test-send-command.d.ts +3 -0
- package/dist/sequences-test-send-command.js +47 -0
- package/node_modules/@oxygen/formula/dist/evaluate.js +2 -4
- package/node_modules/@oxygen/formula/dist/expression.d.ts +7 -5
- package/node_modules/@oxygen/formula/dist/expression.js +26 -4
- package/node_modules/@oxygen/formula/dist/formula-functions.d.ts +6 -0
- package/node_modules/@oxygen/formula/dist/formula-functions.js +55 -0
- package/node_modules/@oxygen/shared/dist/billing.d.ts +2 -2
- package/node_modules/@oxygen/shared/dist/billing.js +5 -7
- package/node_modules/@oxygen/shared/dist/bulk-email-pacing.d.ts +105 -0
- package/node_modules/@oxygen/shared/dist/bulk-email-pacing.js +125 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery.d.ts +29 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery.js +174 -10
- package/node_modules/@oxygen/shared/dist/contracts/clay-migration.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/clay-migration.js +28 -2
- package/node_modules/@oxygen/shared/dist/contracts/copilot-attachment-read.d.ts +24 -0
- package/node_modules/@oxygen/shared/dist/contracts/copilot-attachment-read.js +7 -0
- package/node_modules/@oxygen/shared/dist/contracts/teammates.js +6 -1
- package/node_modules/@oxygen/shared/dist/diagnostic-spool.js +90 -14
- package/node_modules/@oxygen/shared/dist/email-brand-kit.d.ts +108 -0
- package/node_modules/@oxygen/shared/dist/email-brand-kit.js +214 -0
- package/node_modules/@oxygen/shared/dist/email-delivery.d.ts +10 -0
- package/node_modules/@oxygen/shared/dist/email-delivery.js +14 -0
- package/node_modules/@oxygen/shared/dist/email-documents.d.ts +61 -0
- package/node_modules/@oxygen/shared/dist/email-documents.js +143 -0
- package/node_modules/@oxygen/shared/dist/email-dsn.js +52 -10
- package/node_modules/@oxygen/shared/dist/email-html-sanitize.d.ts +23 -0
- package/node_modules/@oxygen/shared/dist/email-html-sanitize.js +96 -0
- package/node_modules/@oxygen/shared/dist/email-subscriptions.d.ts +63 -1
- package/node_modules/@oxygen/shared/dist/email-subscriptions.js +149 -1
- package/node_modules/@oxygen/shared/dist/email-unsubscribe-token.d.ts +41 -2
- package/node_modules/@oxygen/shared/dist/email-unsubscribe-token.js +50 -1
- package/node_modules/@oxygen/shared/dist/external-write-policy.js +5 -1
- package/node_modules/@oxygen/shared/dist/group-commit-queue.d.ts +34 -0
- package/node_modules/@oxygen/shared/dist/group-commit-queue.js +103 -0
- package/node_modules/@oxygen/shared/dist/listed-website-platforms.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/listed-website-platforms.js +26 -0
- package/node_modules/@oxygen/shared/dist/newsletter-analytics.d.ts +90 -0
- package/node_modules/@oxygen/shared/dist/newsletter-analytics.js +28 -0
- package/node_modules/@oxygen/shared/dist/newsletter-test-send.d.ts +20 -0
- package/node_modules/@oxygen/shared/dist/newsletter-test-send.js +46 -0
- package/node_modules/@oxygen/shared/dist/object-storage.d.ts +11 -0
- package/node_modules/@oxygen/shared/dist/object-storage.js +12 -0
- package/node_modules/@oxygen/shared/dist/plan-band.d.ts +9 -0
- package/node_modules/@oxygen/shared/dist/plan-band.js +17 -0
- package/node_modules/@oxygen/shared/dist/plan-capabilities.d.ts +4 -2
- package/node_modules/@oxygen/shared/dist/plan-capabilities.js +12 -1
- package/node_modules/@oxygen/shared/dist/plan-limits-view.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/plan-limits-view.js +3 -0
- package/node_modules/@oxygen/shared/dist/pricing-snapshot.generated.d.ts +5 -0
- package/node_modules/@oxygen/shared/dist/pricing-snapshot.generated.js +5 -0
- package/node_modules/@oxygen/shared/dist/product-analytics-events.d.ts +29 -0
- package/node_modules/@oxygen/shared/dist/product-analytics-events.js +29 -0
- package/node_modules/@oxygen/shared/dist/provider-balance-signal.js +7 -0
- package/node_modules/@oxygen/shared/dist/sending-domain-faults.d.ts +21 -0
- package/node_modules/@oxygen/shared/dist/sending-domain-faults.js +53 -0
- package/node_modules/@oxygen/shared/dist/sending-domain-rollout.d.ts +24 -1
- package/node_modules/@oxygen/shared/dist/sending-domain-rollout.js +51 -4
- package/node_modules/@oxygen/shared/dist/sequence-failures.d.ts +10 -1
- package/node_modules/@oxygen/shared/dist/sequence-failures.js +68 -6
- package/node_modules/@oxygen/shared/dist/sequence-lifecycle.d.ts +34 -3
- package/node_modules/@oxygen/shared/dist/sequence-lifecycle.js +57 -4
- package/node_modules/@oxygen/shared/dist/sequence-template.d.ts +17 -0
- package/node_modules/@oxygen/shared/dist/sequence-template.js +0 -0
- package/node_modules/@oxygen/shared/dist/sequences.d.ts +41 -0
- package/node_modules/@oxygen/shared/dist/sequences.js +86 -4
- package/node_modules/@oxygen/shared/dist/ses-identity-policy.d.ts +19 -0
- package/node_modules/@oxygen/shared/dist/ses-identity-policy.js +54 -0
- package/node_modules/@oxygen/shared/dist/skill-play-routing.d.ts +22 -0
- package/node_modules/@oxygen/shared/dist/skill-play-routing.js +75 -0
- package/node_modules/@oxygen/shared/dist/skill-plays.generated.d.ts +5 -0
- package/node_modules/@oxygen/shared/dist/skill-plays.generated.js +269 -0
- package/node_modules/@oxygen/shared/dist/spend-safety.d.ts +7 -0
- package/node_modules/@oxygen/shared/dist/spend-safety.js +7 -0
- package/node_modules/@oxygen/shared/dist/table-limits.d.ts +6 -4
- package/node_modules/@oxygen/shared/dist/table-limits.js +6 -4
- package/node_modules/@oxygen/shared/dist/teammates.js +2 -1
- package/node_modules/@oxygen/shared/dist/user-capability-routing.js +15 -1
- package/node_modules/@oxygen/shared/dist/version.generated.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/version.generated.js +1 -1
- package/node_modules/@oxygen/shared/dist/workspace-event-catalog.js +2 -2
- package/node_modules/@oxygen/shared/package.json +5 -0
- package/package.json +2 -2
|
@@ -6,8 +6,10 @@ export declare const MAX_WORKSPACE_ROW_DELETE_ROWS = 50000;
|
|
|
6
6
|
export declare const MAX_ROW_LOOP_WRITE_ROWS = 500;
|
|
7
7
|
/**
|
|
8
8
|
* Maximum requested row concurrency for one table action run. Native BullMQ
|
|
9
|
-
* persists at most this many slot heads
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* persists at most this many slot heads (tenant migration 0566 bounds
|
|
10
|
+
* worker_slot_count, slot and max_concurrency to match). Actual execution also
|
|
11
|
+
* shares worker slots, tenant admission (MAX_TENANT_IN_FLIGHT, also 4,000) and
|
|
12
|
+
* provider permits, so this is not an allocation or a rows-per-second
|
|
13
|
+
* guarantee. Defaults stay unchanged.
|
|
12
14
|
*/
|
|
13
|
-
export declare const MAX_TABLE_ACTION_RUN_MAX_CONCURRENCY =
|
|
15
|
+
export declare const MAX_TABLE_ACTION_RUN_MAX_CONCURRENCY = 4000;
|
|
@@ -13,8 +13,10 @@ export const MAX_WORKSPACE_ROW_DELETE_ROWS = 50_000;
|
|
|
13
13
|
export const MAX_ROW_LOOP_WRITE_ROWS = 500;
|
|
14
14
|
/**
|
|
15
15
|
* Maximum requested row concurrency for one table action run. Native BullMQ
|
|
16
|
-
* persists at most this many slot heads
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* persists at most this many slot heads (tenant migration 0566 bounds
|
|
17
|
+
* worker_slot_count, slot and max_concurrency to match). Actual execution also
|
|
18
|
+
* shares worker slots, tenant admission (MAX_TENANT_IN_FLIGHT, also 4,000) and
|
|
19
|
+
* provider permits, so this is not an allocation or a rows-per-second
|
|
20
|
+
* guarantee. Defaults stay unchanged.
|
|
19
21
|
*/
|
|
20
|
-
export const MAX_TABLE_ACTION_RUN_MAX_CONCURRENCY =
|
|
22
|
+
export const MAX_TABLE_ACTION_RUN_MAX_CONCURRENCY = 4000;
|
|
@@ -169,5 +169,6 @@ export function teammateSlugFromName(name) {
|
|
|
169
169
|
*/
|
|
170
170
|
export const TEAMMATE_STARTER_INSTRUCTIONS = [
|
|
171
171
|
"You are an Oxygent on the team. Do the job your profile and the person give you, and hand work that is another Oxygent's job to them.",
|
|
172
|
-
"Read whatever you need from the workspace; ask before anything that writes, sends or spends.",
|
|
172
|
+
"Read whatever you need from the workspace; ask before anything that writes, sends or spends 100 credits or more.",
|
|
173
|
+
"A paid step quoted under 100 credits, such as a sample lead list, runs without asking, rows it writes included: say what it cost in one plain line.",
|
|
173
174
|
].join("\n");
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getCapabilityRoute, getCapabilityRouteMatch, inferCapabilityRoute, } from "./capability-discovery.js";
|
|
2
|
+
const GROUP_CHAT_CHANNEL_PATTERN = /\b(?:whatsapp|teams|slack|telegram|linkedin|discord|signal|sms|e ?mail|inbox|unibox)\b/;
|
|
2
3
|
/** A null route has no command to hydrate yet. Keep recovery bounded and executable. */
|
|
3
4
|
export function capabilityDiscoveryRecovery(query, surface) {
|
|
4
5
|
if (surface === "mcp") {
|
|
@@ -166,6 +167,19 @@ export function inferUserCapabilityRoute(query) {
|
|
|
166
167
|
exactMcpCall: { tool: "oxygen_agent_session_list", arguments: { slug: "workspace" } },
|
|
167
168
|
};
|
|
168
169
|
}
|
|
170
|
+
if (/\b(?:files?|attachments?|documents?|uploads?)\b/.test(normalized)
|
|
171
|
+
&& /\b(?:group\s+(?:chats?|conversations?)|team\s+(?:chats?|conversations?))\b/.test(normalized)
|
|
172
|
+
&& !GROUP_CHAT_CHANNEL_PATTERN.test(normalized)
|
|
173
|
+
&& !/\b(?:support|external)\b/.test(normalized)) {
|
|
174
|
+
const route = getCapabilityRouteMatch("agents");
|
|
175
|
+
if (route) {
|
|
176
|
+
const tools = ["oxygen_oxygents_group", "oxygen_oxygents_group_message", "oxygen_copilot_attachments", "oxygen_copilot_get"];
|
|
177
|
+
const commands = ["oxygents group", "copilot attach", "copilot attachments", "oxygents group-message", "copilot get"];
|
|
178
|
+
return { ...route, recommendedTools: tools, recommendedCommands: commands,
|
|
179
|
+
card: { ...route.card, endpointSections: [...route.card.endpointSections, "copilot"], gatewayTools: tools, gatewayCommands: commands,
|
|
180
|
+
execution: "A group_id is its Copilot session id. Upload your file with oxygen copilot attach <group_id> <path>, list its ready ids with copilot attachments (oxygen_copilot_attachments), then send attachment_ids with oxygents group-message (oxygen_oxygents_group_message). Read messages and bound files with copilot get (oxygen_copilot_get). Existing uploader, session, readiness and group-access checks apply. A message mentioning only a person goes to them; Oxygent answers are billed turns." } };
|
|
181
|
+
}
|
|
182
|
+
}
|
|
169
183
|
const oxygents = oxygentsRoute(normalized);
|
|
170
184
|
if (oxygents)
|
|
171
185
|
return oxygents;
|
|
@@ -335,7 +349,7 @@ const OXYGENT_GROUP_VERBS = [
|
|
|
335
349
|
*/
|
|
336
350
|
function oxygentsRoute(normalized) {
|
|
337
351
|
const groupChat = /\bgroup chats?\b/.test(normalized)
|
|
338
|
-
&&
|
|
352
|
+
&& !GROUP_CHAT_CHANNEL_PATTERN.test(normalized);
|
|
339
353
|
const nativeTeammate = /^\s*teammates?\s*$/.test(normalized)
|
|
340
354
|
|| (/\bteammates?\b/.test(normalized) && /\b(?:routines?|schedul\w*|private chat)\b/.test(normalized)
|
|
341
355
|
&& !/\b(?:invite|membership|permissions?|roles?|human|colleague|coworker|slack|teams|whatsapp)\b/.test(normalized));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const OXYGEN_BUILD_VERSION = "1.1014.
|
|
1
|
+
export declare const OXYGEN_BUILD_VERSION = "1.1014.1870";
|
|
@@ -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.1870";
|
|
@@ -144,10 +144,10 @@ function sequenceActivityDescription(key, label) {
|
|
|
144
144
|
}
|
|
145
145
|
function crmActivityDescription(key, label) {
|
|
146
146
|
if (key === "email_bounced") {
|
|
147
|
-
return "An email-bounce activity was added to a CRM record timeline
|
|
147
|
+
return "An email-bounce activity was added to a CRM record timeline by anything except a workflow. Use the Sequencer preset for an outreach enrollment's own bounce outcome.";
|
|
148
148
|
}
|
|
149
149
|
if (key === "meeting_booked") {
|
|
150
|
-
return "A meeting-booked activity was added to a CRM record timeline
|
|
150
|
+
return "A meeting-booked activity was added to a CRM record timeline by anything except a workflow (a workflow-logged meeting, such as from the Cal.com router, never fires it). Use the Sequencer preset for an outreach enrollment's own meeting outcome.";
|
|
151
151
|
}
|
|
152
152
|
if (key === "placement_changed") {
|
|
153
153
|
return "Inbox placement for a sender domain at one receiver provider changed (inbox rate drop or Gmail Primary to Promotions). A workspace Signal with no CRM record; placement never pauses a sender.";
|
|
@@ -116,6 +116,11 @@
|
|
|
116
116
|
"import": "./dist/suppression-entries.js",
|
|
117
117
|
"default": "./dist/suppression-entries.js"
|
|
118
118
|
},
|
|
119
|
+
"./listed-website-platforms": {
|
|
120
|
+
"types": "./dist/listed-website-platforms.d.ts",
|
|
121
|
+
"import": "./dist/listed-website-platforms.js",
|
|
122
|
+
"default": "./dist/listed-website-platforms.js"
|
|
123
|
+
},
|
|
119
124
|
"./dnc-identities": {
|
|
120
125
|
"types": "./dist/dnc-identities.d.ts",
|
|
121
126
|
"import": "./dist/dnc-identities.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxygen-agent/cli",
|
|
3
|
-
"version": "1.1014.
|
|
3
|
+
"version": "1.1014.1870",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@opentelemetry/resources": "2.10.0",
|
|
43
43
|
"@opentelemetry/sdk-trace-base": "2.10.0",
|
|
44
44
|
"commander": "14.0.3",
|
|
45
|
-
"esbuild": "0.
|
|
45
|
+
"esbuild": "0.28.2",
|
|
46
46
|
"read-excel-file": "6.0.3",
|
|
47
47
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
48
48
|
"yaml": "2.9.0",
|