@oxygen-agent/cli 1.1023.41 → 1.1025.2
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/program.js +0 -4
- package/dist/command-manifest.js +0 -2
- package/dist/commands/budget.js +9 -4
- package/dist/commands/companies.js +1 -1
- package/dist/commands/publishing.js +16 -7
- package/dist/commands/sequences.js +9 -1
- package/dist/commands/workflows.js +1 -1
- package/node_modules/@oxygen/shared/dist/access/permissions.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/access/permissions.js +1 -1
- package/node_modules/@oxygen/shared/dist/billing/budget-scopes.d.ts +2 -2
- package/node_modules/@oxygen/shared/dist/billing/budget-scopes.js +2 -2
- package/node_modules/@oxygen/shared/dist/billing/plan-capabilities.js +1 -1
- package/node_modules/@oxygen/shared/dist/capability-intents/index.generated.d.ts +0 -40
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.d.ts +0 -20
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.js +0 -3
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.rules.js +6 -41
- package/node_modules/@oxygen/shared/dist/capability-routes/tables.js +3 -3
- package/node_modules/@oxygen/shared/dist/contracts/browser-operations.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/geo.js +2 -2
- package/node_modules/@oxygen/shared/dist/copilot/plan-hold.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/copilot/plan-hold.js +5 -2
- package/node_modules/@oxygen/shared/dist/geo/geo.d.ts +168 -2
- package/node_modules/@oxygen/shared/dist/geo/geo.js +357 -70
- package/node_modules/@oxygen/shared/dist/onboarding-leads.js +9 -3
- package/node_modules/@oxygen/shared/dist/schedule-label.js +29 -1
- package/node_modules/@oxygen/shared/dist/sequences/enrollment-origin.d.ts +3 -1
- package/node_modules/@oxygen/shared/dist/sequences/enrollment-origin.js +2 -0
- package/node_modules/@oxygen/shared/dist/version.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/version.generated.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/version.generated.js +1 -1
- package/node_modules/@oxygen/shared/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/commands/callables.d.ts +0 -3
- package/dist/commands/callables.js +0 -111
- package/dist/functions-commands.d.ts +0 -6
- package/dist/functions-commands.js +0 -85
- package/node_modules/@oxygen/shared/dist/contracts/function-library-read.d.ts +0 -14
- package/node_modules/@oxygen/shared/dist/contracts/function-library-read.js +0 -16
package/README.md
CHANGED
|
@@ -14,7 +14,6 @@ import { registerAuthFamily } from "../commands/auth.js";
|
|
|
14
14
|
import { registerBillingFamily } from "../commands/billing.js";
|
|
15
15
|
import { registerBlueprintsFamily } from "../commands/blueprints.js";
|
|
16
16
|
import { registerBudgetFamily } from "../commands/budget.js";
|
|
17
|
-
import { registerCallablesFamily } from "../commands/callables.js";
|
|
18
17
|
import { registerCapabilitiesFamily } from "../commands/capabilities.js";
|
|
19
18
|
import { registerCellsFamily } from "../commands/cells.js";
|
|
20
19
|
import { registerClayMigrationFamily } from "../commands/clay-migration.js";
|
|
@@ -102,7 +101,6 @@ import { defaultApiUrl } from "../credentials.js";
|
|
|
102
101
|
import { registerCrmFileReadCommands } from "../crm-file-read-commands.js";
|
|
103
102
|
import { registerCrmSupportFlags } from "../crm-support-flags.js";
|
|
104
103
|
import { registerCustomerOperationCommands } from "../customer-operation-commands.js";
|
|
105
|
-
import { registerFunctionsCommands } from "../functions-commands.js";
|
|
106
104
|
import { applyOxygenHelp, enableCommandSuggestions, oxygenDocsUrl, validateRequiredOptionValues } from "../help.js";
|
|
107
105
|
import { registerKnowledgeRepositoryCommands } from "../knowledge-repository-commands.js";
|
|
108
106
|
import { resolveCliBinaryName } from "../runtime.js";
|
|
@@ -226,11 +224,9 @@ export function createProgram() {
|
|
|
226
224
|
registerMailboxesFamily(program, handleAsyncAction);
|
|
227
225
|
registerDeliverabilityFamily(program, handleAsyncAction);
|
|
228
226
|
registerDomainsFamily(program, handleAsyncAction);
|
|
229
|
-
registerCallablesFamily(program, handleAsyncAction);
|
|
230
227
|
registerWorkflowsFamily(program, handleAsyncAction);
|
|
231
228
|
registerSkillsFamily(program, handleAsyncAction);
|
|
232
229
|
registerVisualCommands(program, handleAsyncAction);
|
|
233
|
-
registerFunctionsCommands(program, handleAsyncAction);
|
|
234
230
|
registerUgcCommands(program, handleAsyncAction);
|
|
235
231
|
registerKnowledgeRepositoryCommands(program, handleAsyncAction);
|
|
236
232
|
registerAdminLeadMagnetCommands(program, handleAsyncAction);
|
package/dist/command-manifest.js
CHANGED
|
@@ -240,8 +240,6 @@ const ZERO_CREDIT_APPROVAL_COMMANDS = new Set([
|
|
|
240
240
|
"ugc amplification reconcile",
|
|
241
241
|
"ugc peer-amplification reconcile",
|
|
242
242
|
"ugc sponsorship cancel",
|
|
243
|
-
// A Function binding stores a cap for future runs; creating it executes nothing.
|
|
244
|
-
"functions bind",
|
|
245
243
|
// Same shape: a draft Sequence stores its LinkedIn --max-credits ceiling for a
|
|
246
244
|
// later approved `sequences start`, which carries its own cap. Creating or
|
|
247
245
|
// editing one spends nothing; the manifest said otherwise while MCP called
|
package/dist/commands/budget.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { readPositiveNumber } from "../command-support.js";
|
|
1
|
+
import { readNonNegativeNumber, readPositiveNumber } from "../command-support.js";
|
|
2
2
|
import { requestOxygen } from "../http-client.js";
|
|
3
3
|
import { readOption } from "../util.js";
|
|
4
4
|
import { formatPublicBudgetScopes } from "@oxygen/shared/billing/budget-scopes";
|
|
@@ -24,11 +24,12 @@ export function registerBudgetFamily(program, handleAsyncAction) {
|
|
|
24
24
|
});
|
|
25
25
|
}))
|
|
26
26
|
.addCommand(new Command("set")
|
|
27
|
-
.description("Set, raise, or lower a standing credit cap (idempotent per scope+window). Daily/monthly windows start at 00:00 UTC and count net reservations plus workspace Workflow and BYOK fee accrual, excluding proven duplicate transfers;
|
|
27
|
+
.description("Set, raise, or lower a standing credit cap (idempotent per scope+window). Daily/monthly windows start at 00:00 UTC and count net reservations plus workspace Workflow and BYOK fee accrual, excluding proven duplicate transfers; a member's credit limit counts only that person's own spend. Inspect current use with `oxygen budget list`.")
|
|
28
28
|
.requiredOption("--scope <scope>", formatPublicBudgetScopes())
|
|
29
29
|
.requiredOption("--window <window>", "per_run, daily, or monthly.")
|
|
30
|
-
.requiredOption("--max-credits <credits>", "Cap in Oxygen credits.")
|
|
30
|
+
.requiredOption("--max-credits <credits>", "Cap in Oxygen credits; 0 only for --scope member, who then spends nothing.")
|
|
31
31
|
.option("--scope-id <id>", "Table id/slug for --scope table (or other scope id). Omit for a scope-wide cap.")
|
|
32
|
+
.option("--member <email>", "The member's email, for --scope member.")
|
|
32
33
|
.option("--action <action>", "warn or hard_block. Defaults to hard_block.")
|
|
33
34
|
.option("--json", "Print a JSON envelope.")
|
|
34
35
|
.action(async (options) => {
|
|
@@ -37,8 +38,12 @@ export function registerBudgetFamily(program, handleAsyncAction) {
|
|
|
37
38
|
body: {
|
|
38
39
|
scope: readOption(options.scope),
|
|
39
40
|
window: readOption(options.window),
|
|
40
|
-
|
|
41
|
+
// A member's credit limit may be 0: they spend nothing.
|
|
42
|
+
max_credits: readOption(options.scope) === "member"
|
|
43
|
+
? readNonNegativeNumber(options.maxCredits)
|
|
44
|
+
: readPositiveNumber(options.maxCredits),
|
|
41
45
|
...(readOption(options.scopeId) ? { scope_id: readOption(options.scopeId) } : {}),
|
|
46
|
+
...(readOption(options.member) ? { member: readOption(options.member) } : {}),
|
|
42
47
|
...(readOption(options.action) ? { action: readOption(options.action) } : {}),
|
|
43
48
|
},
|
|
44
49
|
}));
|
|
@@ -295,7 +295,7 @@ export function registerCompaniesFamily(program, handleAsyncAction) {
|
|
|
295
295
|
.argument("<table>", "Table id or slug.")
|
|
296
296
|
.option("--missing-fields <fields>", "Comma-separated fields to fill.")
|
|
297
297
|
.option("--providers <providers>", "Comma-separated provider pool.")
|
|
298
|
-
.option("--mode <mode>", "dry_run or live. Defaults to live. dry_run returns the same plan as `companies enrich preview` and creates no column; only a live run creates the target columns it fills. To reuse a
|
|
298
|
+
.option("--mode <mode>", "dry_run or live. Defaults to live. dry_run returns the same plan as `companies enrich preview` and creates no column; only a live run creates the target columns it fills. To reuse a workflow per row, add a Workflow column (`columns add --kind tool` with definition mode workflow) before running the column.")
|
|
299
299
|
.option("--max-credits <n>", "Required credit ceiling for live runs.")
|
|
300
300
|
.option("--max-concurrency <n>", "Maximum simultaneous rows, 1–1000. Lower to slow provider calls.")
|
|
301
301
|
.option("--approved", "Approve this live paid run after inspecting the preview.")
|
|
@@ -67,9 +67,15 @@ function buildPublishingMentionsResolveBody(options) {
|
|
|
67
67
|
}
|
|
68
68
|
function buildPublishingPostCreateBody(options) {
|
|
69
69
|
const status = resolvePublishingCreateStatus(options);
|
|
70
|
+
const publishAt = readOption(options.publishAt);
|
|
71
|
+
const groupWith = readOption(options.groupWith);
|
|
72
|
+
if (!publishAt && !groupWith) {
|
|
73
|
+
throw new OxygenError("invalid_request", "Pass --publish-at, or --group-with <post_id> to add a channel to a post that already has a time.", { exitCode: 2 });
|
|
74
|
+
}
|
|
70
75
|
const body = {
|
|
71
76
|
content_text: readPublishingPostText(options, true),
|
|
72
|
-
publish_at:
|
|
77
|
+
...(publishAt ? { publish_at: publishAt } : {}),
|
|
78
|
+
...(groupWith ? { group_with: groupWith } : {}),
|
|
73
79
|
status,
|
|
74
80
|
approved: options.approved === true,
|
|
75
81
|
};
|
|
@@ -780,12 +786,13 @@ export function registerPublishingFamily(program, handleAsyncAction) {
|
|
|
780
786
|
}))
|
|
781
787
|
.addCommand(new Command("create")
|
|
782
788
|
.description("Create a personal Publishing post. Use --ugc-participation-id to save it into one program as an unapproved draft; otherwise it defaults to scheduled and publishes only after approval.")
|
|
783
|
-
.
|
|
789
|
+
.option("--publish-at <iso>", "When the post publishes, e.g. 2026-10-06T09:00:00+02:00. With Z or an offset it is that exact instant; without one (2026-10-06T09:00) it is wall-clock time in --timezone. Required unless --group-with, where the channel takes that post's time.")
|
|
790
|
+
.option("--group-with <post_id>", "Add this as another channel of an existing post (one post per channel), with its own account and copy; reuse the same media_asset_ids to share one upload. It publishes at that post's time, so omit --publish-at and --timezone; `publishing posts get` lists the post's channels under group.")
|
|
784
791
|
.option("--provider <provider>", "Publishing provider: linkedin, x, instagram, tiktok, facebook, or youtube. Defaults to linkedin. LinkedIn publishes through --sender; every other provider publishes through a connected account (--provider-connection), which the worker needs before it can deliver.")
|
|
785
792
|
.option("--channel <channel>", "Publishing channel override. Defaults to provider.")
|
|
786
793
|
.option("--sender <sender_account_id>", "LinkedIn sender account id. Required for LinkedIn before the worker can publish.")
|
|
787
794
|
.option("--provider-connection <connection_id>", "Oxygen integration connection id for Composio-backed providers. Find it with `integrations list` (each integration's connection); create one with `integrations connect <provider>` (an OAuth redirect URL, or Settings > Connections on the web).")
|
|
788
|
-
.option("--title <title>", "
|
|
795
|
+
.option("--title <title>", "Title. YouTube and TikTok publish it as the video title; on other channels it only labels the post in the queue.")
|
|
789
796
|
.option("--text <text>", "Post text. On LinkedIn, tag a person with @<public-identifier> and a company page with @<handle> from its linkedin.com/company/<handle> URL.")
|
|
790
797
|
.option("--text-file <path>", "Read post text from a local file.")
|
|
791
798
|
.option("--content-json <json>", "Structured content. Use media_asset_ids for Oxygen uploads. LinkedIn attachments require [{content:<base64>,content_type:<MIME>,filename:<name>}]; content.mentions is rejected, so put verified @<public-identifier> values in --text. X options have their own flags (--thread-post, --poll-option, --reply-settings, --alt-text, --photo-tag); raw X API keys can still ride in composio.arguments.")
|
|
@@ -815,7 +822,7 @@ export function registerPublishingFamily(program, handleAsyncAction) {
|
|
|
815
822
|
}));
|
|
816
823
|
}))
|
|
817
824
|
.addCommand(new Command("get")
|
|
818
|
-
.description("Get one scheduled post with the sender account it publishes from (id, name, profile URL), resolved media previews, its video cover, and attempt history. For an X post, publish_plan lists every post that will be sent, in order, with media, alt text, poll and reply settings (free); for a LinkedIn post that tags a company page, it shows the text sent, each company tag as its page id, once `publishing posts approve` has resolved the tags (before approval it is absent). Open web_url to preview the post as it will look on LinkedIn or X.")
|
|
825
|
+
.description("Get one scheduled post with the sender account it publishes from (id, name, profile URL), resolved media previews, its video cover, and attempt history. For an X post, publish_plan lists every post that will be sent, in order, with media, alt text, poll and reply settings (free); for a LinkedIn post that tags a company page, it shows the text sent, each company tag as its page id, once `publishing posts approve` has resolved the tags (before approval it is absent). For a post that goes out on several channels, group lists every channel with its post id, account, copy, time and status. Open web_url to preview the post as it will look on LinkedIn or X.")
|
|
819
826
|
.argument("<post_id>", "Scheduled post id.")
|
|
820
827
|
.option("--json", "Print a JSON envelope.")
|
|
821
828
|
.action(async (postId, options) => {
|
|
@@ -828,15 +835,15 @@ export function registerPublishingFamily(program, handleAsyncAction) {
|
|
|
828
835
|
.option("--channel <channel>", "Publishing channel override.")
|
|
829
836
|
.option("--sender <sender_account_id>", "LinkedIn sender account id.")
|
|
830
837
|
.option("--provider-connection <connection_id>", "Oxygen integration connection id for Composio-backed providers.")
|
|
831
|
-
.option("--title <title>", "
|
|
838
|
+
.option("--title <title>", "Title. YouTube and TikTok publish it as the video title; on other channels it only labels the post in the queue.")
|
|
832
839
|
.option("--text <text>", "Post text. On LinkedIn, tag a person with @<public-identifier> and a company page with @<handle> from its linkedin.com/company/<handle> URL.")
|
|
833
840
|
.option("--text-file <path>", "Read post text from a local file.")
|
|
834
841
|
.option("--content-json <json>", "Structured content. Use media_asset_ids for Oxygen uploads. LinkedIn attachments require [{content:<base64>,content_type:<MIME>,filename:<name>}]; content.mentions is rejected, so put verified @<public-identifier> values in --text. This replaces the existing content object; use --content-merge-json or the X flags to change single keys.")
|
|
835
842
|
.option("--first-comment <text>", "Set the comment OXYGEN posts right after the post, keeping the rest of its content. Revokes approval on an approved post.")
|
|
836
843
|
.option("--clear-first-comment", "Remove the first comment. Revokes approval on an approved post.")
|
|
837
844
|
.option("--composio-action <slug>", "Override the Composio action slug for this scheduled post.")
|
|
838
|
-
.option("--publish-at <iso>", "When the post publishes. With Z or an offset it is that exact instant; without one it is wall-clock time in --timezone, else the post's own timezone.")
|
|
839
|
-
.option("--timezone <tz>", "IANA zone the post is shown in and a --publish-at without an offset is read in. Unchanged when omitted.")
|
|
845
|
+
.option("--publish-at <iso>", "When the post publishes. With Z or an offset it is that exact instant; without one it is wall-clock time in --timezone, else the post's own timezone. On a post with several channels it moves every channel that has not published.")
|
|
846
|
+
.option("--timezone <tz>", "IANA zone the post is shown in and a --publish-at without an offset is read in. Unchanged when omitted; on a post with several channels it changes every channel.")
|
|
840
847
|
.option("--status <status>", "draft or scheduled. Setting scheduled does not itself approve the post.")
|
|
841
848
|
.option("--thread-post <text>", "X: text of the next post in a thread (posts 2, 3, ... in order). Repeatable.", collectRepeatable, [])
|
|
842
849
|
.option("--thread-media <position=media_id>", "X: attach an uploaded media id to thread post N (2 or later), e.g. 2=<media_id>. Repeatable.", collectRepeatable, [])
|
|
@@ -860,10 +867,12 @@ export function registerPublishingFamily(program, handleAsyncAction) {
|
|
|
860
867
|
.addCommand(new Command("approve")
|
|
861
868
|
.description("Approve a draft or scheduled post; drafts become scheduled for their saved publish time. Costs 0 credits. Owner-only profile approval is configured with senders limits set --publishing-approval-mode owner. LinkedIn checks person handles and page IDs before arming. Current resolved previews with handle mismatches fail before lookups. Company handles are rechecked through the selected sender and server identity cache; free provider reads may be needed even with stored previews. Fix tags with `publishing posts update` and matching mention_previews. queued_at records first arming; publish_at controls publication. Program drafts require UGC approval.")
|
|
862
869
|
.argument("<post_id>", "Draft or scheduled post id.")
|
|
870
|
+
.option("--all-channels", "Approve every channel of this post that still waits for approval, each through the same checks. All are checked before any is approved; rerun after a failure and approved channels are skipped.")
|
|
863
871
|
.option("--json", "Print a JSON envelope.")
|
|
864
872
|
.action(async (postId, options) => {
|
|
865
873
|
await handleAsyncAction("publishing posts approve", options, () => requestOxygen(`/api/cli/publishing/posts/${encodeURIComponent(postId)}/approve`, {
|
|
866
874
|
method: "POST",
|
|
875
|
+
...(options.allChannels ? { body: { all_channels: true } } : {}),
|
|
867
876
|
}));
|
|
868
877
|
}))
|
|
869
878
|
.addCommand(new Command("cancel")
|
|
@@ -1279,6 +1279,10 @@ function readSequenceSettings(options) {
|
|
|
1279
1279
|
if (options.autoEnrollTableRows !== undefined) {
|
|
1280
1280
|
settings.auto_enroll_table_rows = options.autoEnrollTableRows;
|
|
1281
1281
|
}
|
|
1282
|
+
// An Automated newsletter (sending-domain delivery only); tri-state like the above.
|
|
1283
|
+
if (options.enrollListJoins !== undefined) {
|
|
1284
|
+
settings.enroll_list_joins = options.enrollListJoins;
|
|
1285
|
+
}
|
|
1282
1286
|
// A visible footer mutates outbound copy, so it is opt-in and tri-state:
|
|
1283
1287
|
// absent leaves the stored value alone; either explicit flag persists the
|
|
1284
1288
|
// chosen boolean. Missing/false is interpreted as OFF by the dispatcher.
|
|
@@ -1688,6 +1692,8 @@ export function registerSequencesFamily(program, handleAsyncAction) {
|
|
|
1688
1692
|
.option("--no-exclude-contacted", "Turn the sequence-level exclude-contacted default back OFF (enrollments then exclude cross-campaign only when a call opts in).")
|
|
1689
1693
|
.option("--auto-enroll-table-rows", "Rows added to the sequence's table join it while it is active (a first launch turns this on unless it was turned off).")
|
|
1690
1694
|
.option("--no-auto-enroll-table-rows", "Keep enrollment manual: launching does not enroll the table, and new rows wait for `sequences enroll`.")
|
|
1695
|
+
.option("--enroll-list-joins", "An Automated newsletter (sending-domain delivery): people who join its subscription list from its first start on are enrolled while it is active, each person once; starting it enrolls nobody already on the list.")
|
|
1696
|
+
.option("--no-enroll-list-joins", "Stop enrolling people who join the subscription list; enrollment stays manual (`sequences enroll --from-list`).")
|
|
1691
1697
|
.option("--company-reply-pause <off|default|statuses>", "Pause the replier's company in this campaign when a reply has one of these statuses. Oxygen detects the company from work-email domains or explicit company fields; with no company identity, only the replier stops. New sequences start with this setting off. 'default' = interested,neutral,not_now,not_interested; or comma-separated Inbox status keys (`inbox labels list`); 'off' disables it. Read the saved setting with `sequences get`.")
|
|
1692
1698
|
.option("--stop-on-reply-scope <scope>", "(deprecated: use --company-reply-pause) 'company_domain' = --company-reply-pause interested,neutral,not_now,not_interested,wrong_person; 'lead' = off.")
|
|
1693
1699
|
.option("--bounce-protection <json>", "Sequence bounce policy JSON (partial updates merge): enabled=true, warning_rate=.02, pause_rate=.03, min_sends=20, window_days=7. Hard bounces / accepted sends in the rolling window; pauses this sequence, not the fleet. Rates are fractions; mailbox protection is separate.")
|
|
@@ -1838,6 +1844,8 @@ export function registerSequencesFamily(program, handleAsyncAction) {
|
|
|
1838
1844
|
.option("--no-exclude-contacted", "Turn the sequence-level exclude-contacted default back OFF (enrollments then exclude cross-campaign only when a call opts in).")
|
|
1839
1845
|
.option("--auto-enroll-table-rows", "Rows added to the sequence's table join it while it is active (a first launch turns this on unless it was turned off).")
|
|
1840
1846
|
.option("--no-auto-enroll-table-rows", "Keep enrollment manual: launching does not enroll the table, and new rows wait for `sequences enroll`.")
|
|
1847
|
+
.option("--enroll-list-joins", "An Automated newsletter (sending-domain delivery): people who join its subscription list from its first start on are enrolled while it is active, each person once; starting it enrolls nobody already on the list.")
|
|
1848
|
+
.option("--no-enroll-list-joins", "Stop enrolling people who join the subscription list; enrollment stays manual (`sequences enroll --from-list`).")
|
|
1841
1849
|
.option("--company-reply-pause <off|default|statuses>", "Pause the replier's company in this campaign when a reply has one of these statuses. Oxygen detects the company from work-email domains or explicit company fields; with no company identity, only the replier stops. New sequences start with this setting off. 'default' = interested,neutral,not_now,not_interested; or comma-separated Inbox status keys (`inbox labels list`); 'off' disables it. Read the saved setting with `sequences get`.")
|
|
1842
1850
|
.option("--stop-on-reply-scope <scope>", "(deprecated: use --company-reply-pause) 'company_domain' = --company-reply-pause interested,neutral,not_now,not_interested,wrong_person; 'lead' = off.")
|
|
1843
1851
|
.option("--bounce-protection <json>", "Sequence bounce policy JSON (partial updates merge): enabled=true, warning_rate=.02, pause_rate=.03, min_sends=20, window_days=7. Hard bounces / accepted sends in the rolling window; pauses this sequence, not the fleet. Rates are fractions; mailbox protection is separate.")
|
|
@@ -1928,7 +1936,7 @@ export function registerSequencesFamily(program, handleAsyncAction) {
|
|
|
1928
1936
|
body.email = email;
|
|
1929
1937
|
}
|
|
1930
1938
|
if (Object.keys(body).length === 0) {
|
|
1931
|
-
throw new Error("Provide at least one field to update (--name, --steps-file, --source-table, --channels, --senders, --tags, --email-*, --clear-email, --max-credits, --max-live-sends, --max-emails-per-mailbox-per-day, --schedule-* sending schedule, --send-window-file, --linkedin-* schedule, --company-reply-pause, --[no-]include-unsubscribe, --[no-]include-unsubscribe-link, --no-stop-on-bounce, --[no-]exclude-contacted, --[no-]auto-enroll-table-rows, or --[no-]tracking-opens / --[no-]tracking-clicks).");
|
|
1939
|
+
throw new Error("Provide at least one field to update (--name, --steps-file, --source-table, --channels, --senders, --tags, --email-*, --clear-email, --max-credits, --max-live-sends, --max-emails-per-mailbox-per-day, --schedule-* sending schedule, --send-window-file, --linkedin-* schedule, --company-reply-pause, --[no-]include-unsubscribe, --[no-]include-unsubscribe-link, --no-stop-on-bounce, --[no-]exclude-contacted, --[no-]auto-enroll-table-rows, --[no-]enroll-list-joins, or --[no-]tracking-opens / --[no-]tracking-clicks).");
|
|
1932
1940
|
}
|
|
1933
1941
|
return requestOxygen(`/api/cli/sequences/${encodeURIComponent(sequence)}`, {
|
|
1934
1942
|
method: "PATCH",
|
|
@@ -1715,7 +1715,7 @@ Full trigger schema: oxygen workflows schema --subject trigger --json
|
|
|
1715
1715
|
}
|
|
1716
1716
|
}))
|
|
1717
1717
|
.addCommand(new Command("mcp")
|
|
1718
|
-
.description("Expose hosted Workflows as dynamic MCP tools (oxygen_workflow_<slug>).
|
|
1718
|
+
.description("Expose hosted Workflows as dynamic MCP tools (oxygen_workflow_<slug>). To run a workflow once per table row, add a Workflow column (columns add --kind tool with definition mode workflow).")
|
|
1719
1719
|
.addCommand(new Command("enable")
|
|
1720
1720
|
.description("Publish an active workflow as a callable MCP tool so any MCP client can run it. The published tool appears to MCP clients as oxygen_workflow_<slug>.")
|
|
1721
1721
|
.argument("<workflow>", "Workflow id, slug, or name.")
|
|
@@ -75,7 +75,7 @@ export declare const PERMISSIONS: readonly [{
|
|
|
75
75
|
}, {
|
|
76
76
|
readonly id: "budgets.manage";
|
|
77
77
|
readonly label: "Set budgets and limits";
|
|
78
|
-
readonly description: "Workspace budgets, credit caps and provider rate limits.";
|
|
78
|
+
readonly description: "Workspace budgets, each person's credit limit, credit caps and provider rate limits.";
|
|
79
79
|
readonly adminOnly: true;
|
|
80
80
|
}, {
|
|
81
81
|
readonly id: "gates.manage";
|
|
@@ -93,7 +93,7 @@ export const PERMISSIONS = [
|
|
|
93
93
|
{
|
|
94
94
|
id: "budgets.manage",
|
|
95
95
|
label: "Set budgets and limits",
|
|
96
|
-
description: "Workspace budgets, credit caps and provider rate limits.",
|
|
96
|
+
description: "Workspace budgets, each person's credit limit, credit caps and provider rate limits.",
|
|
97
97
|
adminOnly: true,
|
|
98
98
|
},
|
|
99
99
|
{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const PUBLIC_BUDGET_SCOPES: readonly ["org", "table", "workflow_trigger", "monitor"];
|
|
1
|
+
export declare const PUBLIC_BUDGET_SCOPES: readonly ["org", "table", "workflow_trigger", "monitor", "member"];
|
|
2
2
|
export type PublicBudgetScope = (typeof PUBLIC_BUDGET_SCOPES)[number];
|
|
3
3
|
export declare function formatPublicBudgetScopes(): string;
|
|
4
|
-
export declare const PUBLIC_BUDGET_SCOPE_DESCRIPTION = "Cap scope: org (whole workspace), table (a single table), workflow_trigger (one workflow trigger),
|
|
4
|
+
export declare const PUBLIC_BUDGET_SCOPE_DESCRIPTION = "Cap scope: org (whole workspace), table (a single table), workflow_trigger (one workflow trigger), monitor (one scheduled workflow), or member (one person's own spend).";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const PUBLIC_BUDGET_SCOPES = ["org", "table", "workflow_trigger", "monitor"];
|
|
1
|
+
export const PUBLIC_BUDGET_SCOPES = ["org", "table", "workflow_trigger", "monitor", "member"];
|
|
2
2
|
export function formatPublicBudgetScopes() {
|
|
3
3
|
const scopes = [...PUBLIC_BUDGET_SCOPES];
|
|
4
4
|
const last = scopes.pop();
|
|
@@ -6,4 +6,4 @@ export function formatPublicBudgetScopes() {
|
|
|
6
6
|
return "";
|
|
7
7
|
return scopes.length === 0 ? last : `${scopes.join(", ")}, or ${last}`;
|
|
8
8
|
}
|
|
9
|
-
export const PUBLIC_BUDGET_SCOPE_DESCRIPTION = "Cap scope: org (whole workspace), table (a single table), workflow_trigger (one workflow trigger),
|
|
9
|
+
export const PUBLIC_BUDGET_SCOPE_DESCRIPTION = "Cap scope: org (whole workspace), table (a single table), workflow_trigger (one workflow trigger), monitor (one scheduled workflow), or member (one person's own spend).";
|
|
@@ -99,7 +99,7 @@ export const PLAN_GATED_CAPABILITY_COPY = {
|
|
|
99
99
|
publishing_deliver: {
|
|
100
100
|
label: "Publishing a post",
|
|
101
101
|
freeAlternative: "You can draft and review posts on Free. Approving one for delivery to a live account is what needs a plan.",
|
|
102
|
-
deepLinkPath: "/
|
|
102
|
+
deepLinkPath: "/posts",
|
|
103
103
|
},
|
|
104
104
|
managed_email_infrastructure: {
|
|
105
105
|
label: "Buying managed email infrastructure",
|
|
@@ -111,26 +111,6 @@ export declare const CAPABILITY_ROUTE_MCP_CALL_GROUPS: readonly [{
|
|
|
111
111
|
};
|
|
112
112
|
};
|
|
113
113
|
}, {
|
|
114
|
-
functionsList: () => {
|
|
115
|
-
tool: string;
|
|
116
|
-
arguments: {
|
|
117
|
-
operation: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
functionsDescribe: () => {
|
|
121
|
-
tool: string;
|
|
122
|
-
arguments: {
|
|
123
|
-
operation: string;
|
|
124
|
-
function: string;
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
functionsRuns: () => {
|
|
128
|
-
tool: string;
|
|
129
|
-
arguments: {
|
|
130
|
-
operation: string;
|
|
131
|
-
function: string;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
114
|
companyPageFollowers: () => {
|
|
135
115
|
tool: string;
|
|
136
116
|
arguments: {
|
|
@@ -267,26 +247,6 @@ export declare const CAPABILITY_ROUTE_MCP_CALLS: {
|
|
|
267
247
|
};
|
|
268
248
|
};
|
|
269
249
|
};
|
|
270
|
-
functionsList: () => {
|
|
271
|
-
tool: string;
|
|
272
|
-
arguments: {
|
|
273
|
-
operation: string;
|
|
274
|
-
};
|
|
275
|
-
};
|
|
276
|
-
functionsDescribe: () => {
|
|
277
|
-
tool: string;
|
|
278
|
-
arguments: {
|
|
279
|
-
operation: string;
|
|
280
|
-
function: string;
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
functionsRuns: () => {
|
|
284
|
-
tool: string;
|
|
285
|
-
arguments: {
|
|
286
|
-
operation: string;
|
|
287
|
-
function: string;
|
|
288
|
-
};
|
|
289
|
-
};
|
|
290
250
|
companyPageFollowers: () => {
|
|
291
251
|
tool: string;
|
|
292
252
|
arguments: {
|
|
@@ -1,25 +1,5 @@
|
|
|
1
1
|
/** This card's exact commands as MCP calls (see CAPABILITY_ROUTE_MCP_CALLS). */
|
|
2
2
|
export declare const mcpCalls: {
|
|
3
|
-
functionsList: () => {
|
|
4
|
-
tool: string;
|
|
5
|
-
arguments: {
|
|
6
|
-
operation: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
functionsDescribe: () => {
|
|
10
|
-
tool: string;
|
|
11
|
-
arguments: {
|
|
12
|
-
operation: string;
|
|
13
|
-
function: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
functionsRuns: () => {
|
|
17
|
-
tool: string;
|
|
18
|
-
arguments: {
|
|
19
|
-
operation: string;
|
|
20
|
-
function: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
3
|
companyPageFollowers: () => {
|
|
24
4
|
tool: string;
|
|
25
5
|
arguments: {
|
|
@@ -3,9 +3,6 @@ import { isOwnLinkedInNetworkIntent } from "./connected-linkedin.js";
|
|
|
3
3
|
import { isNetNewLinkedInInitiation } from "./sequences.js";
|
|
4
4
|
/** This card's exact commands as MCP calls (see CAPABILITY_ROUTE_MCP_CALLS). */
|
|
5
5
|
export const mcpCalls = {
|
|
6
|
-
functionsList: () => ({ tool: "oxygen_callables_manage", arguments: { operation: "list_functions" } }),
|
|
7
|
-
functionsDescribe: () => ({ tool: "oxygen_callables_manage", arguments: { operation: "describe", function: "<function>" } }),
|
|
8
|
-
functionsRuns: () => ({ tool: "oxygen_callables_manage", arguments: { operation: "runs", function: "<function>" } }),
|
|
9
6
|
// `records` is a number the tool drops when it is not one; 1000 is its default.
|
|
10
7
|
companyPageFollowers: () => ({
|
|
11
8
|
tool: "oxygen_tables_followers",
|
|
@@ -105,47 +105,12 @@ export const rules = {
|
|
|
105
105
|
recommend: (card, query) => {
|
|
106
106
|
if (card.primitive !== "tables" || !isFunctionIntent(query))
|
|
107
107
|
return null;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
tools: ["oxygen_callables_manage"], commands: ["functions list", "functions describe"],
|
|
111
|
-
exactMcpCall: { tool: "oxygen_callables_manage", arguments: { operation: "list_functions", filter: "favorites" } },
|
|
112
|
-
};
|
|
113
|
-
if (/\b(runs|invocations?|history)\b/.test(query))
|
|
114
|
-
return {
|
|
115
|
-
tools: ["oxygen_callables_manage"], commands: ["functions runs", "functions describe"],
|
|
116
|
-
exactMcpCall: mcpCalls.functionsRuns(),
|
|
117
|
-
};
|
|
118
|
-
const functionMutation = [
|
|
119
|
-
[/\b(publish)\b/, "functions publish"],
|
|
120
|
-
[/\b(bind|attach)\b/, "functions bind"],
|
|
121
|
-
[/\b(rename)\b/, "functions rename"],
|
|
122
|
-
[/\b(delete|remove)\b/, "functions delete"],
|
|
123
|
-
[/\b(duplicate|copy)\b/, "functions duplicate"],
|
|
124
|
-
[/\b(unfavorite|unfavourite)\b/, "functions unfavorite"],
|
|
125
|
-
[/\b(favorite|favourite)\b/, "functions favorite"],
|
|
126
|
-
[/\b(enable|disable)\b/, /\bdisable\b/.test(query) ? "functions disable" : "functions enable"],
|
|
127
|
-
[/\b(create|save|edit)\b/, "functions draft"],
|
|
128
|
-
];
|
|
129
|
-
const mutation = functionMutation.find(([pattern]) => pattern.test(query));
|
|
130
|
-
if (mutation)
|
|
131
|
-
return {
|
|
132
|
-
tools: ["oxygen_callables_manage"],
|
|
133
|
-
commands: [/\bcreate\b/.test(query) ? "functions list" : "functions describe", mutation[1]],
|
|
134
|
-
exactMcpCall: /\bcreate\b/.test(query) ? mcpCalls.functionsList() : mcpCalls.functionsDescribe(),
|
|
135
|
-
};
|
|
136
|
-
if (/\b(run|execute|invoke)\b/.test(query))
|
|
137
|
-
return {
|
|
138
|
-
tools: ["oxygen_callables_manage", "oxygen_columns_run"], commands: ["functions describe", "columns run"],
|
|
139
|
-
exactMcpCall: mcpCalls.functionsDescribe(),
|
|
140
|
-
};
|
|
141
|
-
if (/\b(describe|inspect|inputs?|outputs?|steps?|caps?|version|details?)\b/.test(query))
|
|
142
|
-
return {
|
|
143
|
-
tools: ["oxygen_callables_manage"], commands: ["functions describe", "functions runs"],
|
|
144
|
-
exactMcpCall: mcpCalls.functionsDescribe(),
|
|
145
|
-
};
|
|
108
|
+
// Functions were replaced by Workflow columns (2026-10-31): a reusable
|
|
109
|
+
// per-row capability is a Workflow that a Table column calls.
|
|
146
110
|
return {
|
|
147
|
-
tools: ["
|
|
148
|
-
|
|
111
|
+
tools: ["oxygen_workflows_list", "oxygen_columns_add"],
|
|
112
|
+
commands: ["workflows list", "columns add"],
|
|
113
|
+
exactMcpCall: { tool: "oxygen_workflows_list", arguments: {} },
|
|
149
114
|
};
|
|
150
115
|
},
|
|
151
116
|
},
|
|
@@ -291,7 +256,7 @@ export const rules = {
|
|
|
291
256
|
view: (card, query) => card.primitive === "tables" && isFunctionIntent(query) ? {
|
|
292
257
|
card: {
|
|
293
258
|
...card,
|
|
294
|
-
execution: "
|
|
259
|
+
execution: "Functions were replaced by Workflow columns. Build the reusable steps as a hosted workflow with an api trigger and a declared output (AI prompt and Web research steps run like AI columns), then add a Workflow column with columns add --kind tool and definition mode workflow; columns run previews cost before a bounded paid run.",
|
|
295
260
|
},
|
|
296
261
|
} : null,
|
|
297
262
|
},
|
|
@@ -8,10 +8,10 @@ export const route = {
|
|
|
8
8
|
notFor: "Canonical CRM truth: use Records via oxygen_crm_objects_list, oxygen_crm_record_get or oxygen_crm_record_search. Not message cadence or an off-platform spreadsheet runtime.",
|
|
9
9
|
execution: "Create and run work in hosted OXYGEN Tables; validate a small sample before bounded paid runs. To see what a table's own columns can be enriched with and what each costs per row before adding anything, run `tools search --for-table <table>` (MCP oxygen_tools_search with for_table): free, it returns priced suggestions with the exact add command. For standard person or company enrichment, `columns add <table> --preset person_enrich|company_enrich` (MCP oxygen_columns_add with preset) adds the maintained bundle in one call before any hand-built tool column. Person questions over that bundle's profile payload (skill set, grad school, location, job fit, current company) and person appearance research (events, keynotes, podcasts, GitHub profile) are `columns catalog --category people` templates, added with `columns add <table> --prompt-key <key> --input <name>=<column>`. For a company fact OXYGEN already knows how to research (founders, parent company, funding, cloud provider, offers demos, industry, NAICS, HQ, LinkedIn/Crunchbase page lookups) or a page extraction, `columns catalog` lists the ready-made template and `columns add <table> --prompt-key <key> --input <name>=<column>` (MCP oxygen_columns_add with prompt_key) adds it with no prompt to write. For ICP tiers, read the saved profile with `knowledge page get icp`, then add native Classify Score: `columns add <table> --label 'ICP fit' --score 'low,medium,high' --prompt '<ICP criteria using {{evidence_column}} tokens>' --grounding workspace`. It costs 0.075 credits/row; preview with `columns run --dry-run`. `columns catalog --family classification --json` puts Classify in `data.native`; `data.entries` holds separate prompt templates that can cost more.",
|
|
10
10
|
posture: "mixed",
|
|
11
|
-
gatewayTools: ["oxygen_tables_create", "oxygen_tools_search", "oxygen_columns_add", "oxygen_columns_catalog", "oxygen_enrich_column_preview", "oxygen_tables_link_bulk", "
|
|
12
|
-
gatewayCommands: ["tables create", "tools search", "columns add", "columns catalog", "enrich-column preview", "tables link", "
|
|
11
|
+
gatewayTools: ["oxygen_tables_create", "oxygen_tools_search", "oxygen_columns_add", "oxygen_columns_catalog", "oxygen_enrich_column_preview", "oxygen_tables_link_bulk", "oxygen_tables_records_import"],
|
|
12
|
+
gatewayCommands: ["tables create", "tools search", "columns add", "columns catalog", "enrich-column preview", "tables link", "tables records import"],
|
|
13
13
|
skills: ["oxygen-tables", "oxygen-enrichment", "oxygen-table-tidy", "oxygen-diagnostics", "oxygen-clay-migration", "oxygen-signals"],
|
|
14
|
-
endpointSections: ["action-columns", "
|
|
14
|
+
endpointSections: ["action-columns", "columns", "company-enrichment", "enrich-column", "enrichment", "migrations", "projects", "supabase", "table-action-items", "table-action-runs", "table-ingestion-runs", "tables"],
|
|
15
15
|
// "link"/"join"/"connect"/"relate" route here for `tables link`. Added after a
|
|
16
16
|
// blind user eval asked for exactly "link two tables" and was routed to
|
|
17
17
|
// `tables create` / `columns add` / `enrich-column preview` — none of which
|
|
@@ -61,6 +61,7 @@ export const BROWSER_OPERATIONS = [
|
|
|
61
61
|
operation("workflows.observed_output", "/api/cli/workflows/{workflow}/observed-output", "GET", "workflows observed-output", "oxygen_workflow_observed_output", "workflows", "Inspect observed output paths and bounded samples from an exact run or recent matching workflow revision.", { run_id: text(), source_hash: text() }),
|
|
62
62
|
operation("workflows.run.events", "/api/cli/workflows/{workflow}/runs/{run}/events", "GET", "workflows runs events", "oxygen_workflow_run_events", "workflows", "Read the exact Workflow run's bounded event history and whether it is still active.", { limit: int({ minimum: 1, maximum: 1000 }) }),
|
|
63
63
|
operation("workflows.run.step_statuses", "/api/cli/workflows/{workflow}/runs/{run}/step-statuses", "GET", "workflows runs step-statuses", "oxygen_workflow_run_step_statuses", "workflows", "Read the current Workflow run status and every step status for immediate execution readback."),
|
|
64
|
+
operation("workflows.run.steps", "/api/cli/workflows/{workflow}/runs/{run}/steps", "GET", "workflows runs steps", "oxygen_workflow_run_steps", "workflows", "Read one Workflow run as its named steps: status, a plain-language outcome per step, timing, credits, the customer-safe failure and bounded input/output."),
|
|
64
65
|
operation("workflows.tool_output_paths", "/api/cli/workflows/tool-output-paths", "GET", "workflows tool-output-paths", "oxygen_workflow_tool_output_paths", "workflows", "Discover bounded workspace-observed tool output paths and run/revision provenance, without exposing provider values.", { tool_id: strings() }, ["tool_id"], { repeatedQueryFields: ["tool_id"] }),
|
|
65
66
|
operation("tables.resource.edit", table, "PATCH", "tables edit", "oxygen_table_resource_edit", "tables", "Rename a Table or move it to a workspace project; returns the saved Table.", { name: text(), project_id: text() }),
|
|
66
67
|
operation("tables.resource.archive", table, "DELETE", "tables archive", "oxygen_tables_archive", "tables", "Archive a Table indefinitely without dropping its physical data or scheduling a purge.", {}, [], nativeCli),
|
|
@@ -119,8 +119,8 @@ export const GEO_OPERATIONS = [
|
|
|
119
119
|
description: "ISO 8601 capture timestamp, e.g. 2026-10-09T00:00:00Z. Omit to record the import time.",
|
|
120
120
|
}),
|
|
121
121
|
}, ["engine", "prompt", "text"]),
|
|
122
|
-
operation("analytics.get", "/projects/{project_id}/analytics", "GET", "analytics get", "Read AI visibility,
|
|
123
|
-
operation("sources.list", "/projects/{project_id}/sources", "GET", "sources list", "Find domains and pages cited
|
|
122
|
+
operation("analytics.get", "/projects/{project_id}/analytics", "GET", "analytics get", "Read AI visibility, position, win rate, retrieved and cited sources, share of voice and trends with sample denominators.", filters),
|
|
123
|
+
operation("sources.list", "/projects/{project_id}/sources", "GET", "sources list", "Find domains and pages AI retrieved or cited inline, with domain and page types and competitive citation gaps.", filters),
|
|
124
124
|
operation("evidence.preview", "/projects/{project_id}/evidence/preview", "POST", "evidence preview", "Preview and redact ChatGPT/Claude conversation exports before saving.", { transcript: text(1000000), redact: strings() }, ["transcript"]),
|
|
125
125
|
operation("evidence.list", "/projects/{project_id}/evidence", "GET", "evidence list", "List customer conversation evidence and original buyer language.", { limit: filters.limit, cursor: filters.cursor }),
|
|
126
126
|
operation("evidence.create", "/projects/{project_id}/evidence", "POST", "evidence save", "Save a reviewed redacted conversation with optional CRM attribution.", {
|
|
@@ -21,9 +21,12 @@ export function copilotPlanHoldMessage(input) {
|
|
|
21
21
|
return "Your workspace is set up, so from here I work on a plan. Pick one and I'll start on this right away.";
|
|
22
22
|
}
|
|
23
23
|
const name = play.own ? "Your play" : `Your play "${play.title}"`;
|
|
24
|
+
// The people are the proof (current chat, 2026-10-31: "show as many leads as
|
|
25
|
+
// possible with the mails before the plan"): their count, and where to see them.
|
|
26
|
+
const list = input.leads?.tableUrl ? `[Lead list](${input.leads.tableUrl})` : "Lead list";
|
|
24
27
|
const leads = input.leads && input.leads.sourced > 0
|
|
25
|
-
? ` It starts from the ${input.leads.sourced.toLocaleString("en-US")} decision makers already in your
|
|
26
|
-
+ (input.leads.emails > 0 ? ` (${input.leads.emails.toLocaleString("en-US")} with a work email).` : ".")
|
|
28
|
+
? ` It starts from the ${input.leads.sourced.toLocaleString("en-US")} decision makers already in your ${list}`
|
|
29
|
+
+ (input.leads.emails > 0 ? ` (${input.leads.emails.toLocaleString("en-US")} with a work email), free to look through.` : ".")
|
|
27
30
|
: "";
|
|
28
31
|
return `${name} is ready to run.${leads} On a plan I source the rest, write the sequence and enroll your buyers, so it is ready to send. Pick a plan and I'll run it right away.`;
|
|
29
32
|
}
|