@oxygen-agent/cli 1.1011.326 → 1.1011.440
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-manifest.js +15 -4
- package/dist/connectors-commands.d.ts +4 -1
- package/dist/connectors-commands.js +84 -10
- package/dist/contract-flags.d.ts +2 -0
- package/dist/contract-flags.js +26 -11
- package/dist/crm-support-flags.d.ts +11 -0
- package/dist/crm-support-flags.js +60 -0
- package/dist/customer-operation-commands.d.ts +5 -0
- package/dist/customer-operation-commands.js +101 -0
- package/dist/database-query-flags.d.ts +2 -0
- package/dist/database-query-flags.js +6 -0
- package/dist/help.d.ts +3 -1
- package/dist/help.js +43 -0
- package/dist/http-client.d.ts +2 -0
- package/dist/http-client.js +41 -1
- package/dist/index.js +640 -234
- package/dist/knowledge-repository-commands.js +12 -14
- package/dist/mailbox-ramp-notice.d.ts +11 -0
- package/dist/mailbox-ramp-notice.js +53 -0
- package/dist/settings-commands.d.ts +11 -0
- package/dist/settings-commands.js +73 -0
- package/dist/skills.d.ts +5 -4
- package/dist/skills.js +106 -79
- package/dist/tool-catalog-detail-command.d.ts +7 -0
- package/dist/tool-catalog-detail-command.js +19 -0
- package/dist/tool-catalog-search-window.d.ts +6 -0
- package/dist/tool-catalog-search-window.js +12 -0
- package/dist/transcript.js +1 -0
- package/node_modules/@oxygen/shared/dist/bounded-read-result.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/bounded-read-result.js +25 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery.d.ts +47 -1
- package/node_modules/@oxygen/shared/dist/capability-discovery.js +625 -39
- package/node_modules/@oxygen/shared/dist/connection-approval.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/connection-approval.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/browser-operations.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/browser-operations.js +110 -0
- package/node_modules/@oxygen/shared/dist/contracts/connectors.d.ts +32 -6
- package/node_modules/@oxygen/shared/dist/contracts/connectors.js +56 -4
- package/node_modules/@oxygen/shared/dist/contracts/crm-attributes.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/contracts/crm-attributes.js +39 -0
- package/node_modules/@oxygen/shared/dist/contracts/crm-enrichment-read.d.ts +21 -0
- package/node_modules/@oxygen/shared/dist/contracts/crm-enrichment-read.js +15 -0
- package/node_modules/@oxygen/shared/dist/contracts/crm-support.d.ts +117 -0
- package/node_modules/@oxygen/shared/dist/contracts/crm-support.js +43 -0
- package/node_modules/@oxygen/shared/dist/contracts/customer-operations.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/customer-operations.js +131 -0
- package/node_modules/@oxygen/shared/dist/contracts/dashboard-tabs.d.ts +3 -0
- package/node_modules/@oxygen/shared/dist/contracts/dashboard-tabs.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/database.d.ts +30 -0
- package/node_modules/@oxygen/shared/dist/contracts/database.js +29 -0
- package/node_modules/@oxygen/shared/dist/contracts/integration-connect.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/contracts/integration-connect.js +7 -0
- package/node_modules/@oxygen/shared/dist/contracts/knowledge-content-reads.d.ts +43 -0
- package/node_modules/@oxygen/shared/dist/contracts/knowledge-content-reads.js +20 -0
- package/node_modules/@oxygen/shared/dist/contracts/linkedin-invites-list.d.ts +12 -0
- package/node_modules/@oxygen/shared/dist/contracts/linkedin-invites-list.js +8 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations.d.ts +48 -2
- package/node_modules/@oxygen/shared/dist/contracts/operations.js +68 -2
- package/node_modules/@oxygen/shared/dist/contracts/table-grid-query.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/contracts/table-grid-query.js +6 -0
- package/node_modules/@oxygen/shared/dist/contracts/table-query-grid.d.ts +21 -0
- package/node_modules/@oxygen/shared/dist/contracts/table-query-grid.js +27 -0
- package/node_modules/@oxygen/shared/dist/contracts/tool-catalog-detail.d.ts +19 -0
- package/node_modules/@oxygen/shared/dist/contracts/tool-catalog-detail.js +10 -0
- package/node_modules/@oxygen/shared/dist/contracts/tool-catalog-search-window.d.ts +12 -0
- package/node_modules/@oxygen/shared/dist/contracts/tool-catalog-search-window.js +7 -0
- package/node_modules/@oxygen/shared/dist/contracts/workspace-pages.d.ts +17 -0
- package/node_modules/@oxygen/shared/dist/contracts/workspace-pages.js +49 -0
- package/node_modules/@oxygen/shared/dist/decision-ledger-parser.d.ts +32 -0
- package/node_modules/@oxygen/shared/dist/decision-ledger-parser.js +303 -0
- package/node_modules/@oxygen/shared/dist/decision-ledger.d.ts +10 -0
- package/node_modules/@oxygen/shared/dist/decision-ledger.generated.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/decision-ledger.generated.js +717 -0
- package/node_modules/@oxygen/shared/dist/decision-ledger.js +20 -0
- package/node_modules/@oxygen/shared/dist/email-campaign-ramp.d.ts +104 -0
- package/node_modules/@oxygen/shared/dist/email-campaign-ramp.js +250 -0
- package/node_modules/@oxygen/shared/dist/mcp-event-contract.d.ts +10 -7
- package/node_modules/@oxygen/shared/dist/mcp-event-contract.js +11 -7
- package/node_modules/@oxygen/shared/dist/mcp-table-widget.d.ts +50 -0
- package/node_modules/@oxygen/shared/dist/mcp-table-widget.js +24 -0
- package/node_modules/@oxygen/shared/dist/plan-band.d.ts +8 -0
- package/node_modules/@oxygen/shared/dist/plan-band.js +12 -0
- package/node_modules/@oxygen/shared/dist/plan-limits.d.ts +20 -0
- package/node_modules/@oxygen/shared/dist/plan-limits.js +41 -0
- package/node_modules/@oxygen/shared/dist/provider-input-value.d.ts +5 -0
- package/node_modules/@oxygen/shared/dist/provider-input-value.js +10 -0
- package/node_modules/@oxygen/shared/dist/sequences.d.ts +33 -4
- package/node_modules/@oxygen/shared/dist/sequences.js +48 -13
- package/node_modules/@oxygen/shared/dist/user-capability-routing.js +17 -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/shared/package.json +8 -6
- package/package.json +1 -1
- package/node_modules/@oxygen/shared/dist/copilot-skills.d.ts +0 -15
- package/node_modules/@oxygen/shared/dist/copilot-skills.generated.d.ts +0 -31
- package/node_modules/@oxygen/shared/dist/copilot-skills.generated.js +0 -41
- package/node_modules/@oxygen/shared/dist/copilot-skills.js +0 -6
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { success } from "./cli-result.js";
|
|
2
|
+
import { OXYGEN_VERSION } from "./version.js";
|
|
3
|
+
/** Complete native receipt sizing for optional bounded JSON reads. Binary
|
|
4
|
+
* windows have their own outer-envelope budget and must not use this helper.
|
|
5
|
+
* The surface is a formatting hint, never authorization or spend authority. */
|
|
6
|
+
export function boundedReadResultFits(command, data, maxChars, surface, maxAgentResultChars = 6_000) {
|
|
7
|
+
// Preserve legacy unbounded native/CLI reads when no window was requested.
|
|
8
|
+
if (maxChars === undefined)
|
|
9
|
+
return true;
|
|
10
|
+
if (JSON.stringify(success(command, data)).length > maxChars)
|
|
11
|
+
return false;
|
|
12
|
+
// MCP jsonResult writes compact data to text and adds the version to its
|
|
13
|
+
// structured result. The unattended worker returns both; Strands serializes
|
|
14
|
+
// that complete host object before its 6k cap. Escapes in text count twice.
|
|
15
|
+
if (surface === "agent") {
|
|
16
|
+
const host = {
|
|
17
|
+
ok: true,
|
|
18
|
+
text: JSON.stringify(data),
|
|
19
|
+
structured: { ...data, oxygen_version: OXYGEN_VERSION },
|
|
20
|
+
};
|
|
21
|
+
if (JSON.stringify(host).length > Math.min(6_000, maxAgentResultChars))
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
@@ -79,7 +79,23 @@ export declare function inferCapabilityRoute(query: string): CapabilityRouteMatc
|
|
|
79
79
|
*/
|
|
80
80
|
export declare function catalogueFindTool(row: EnrichmentIntentTaxonomyEntry): string | null;
|
|
81
81
|
export declare function inferPrimitiveRoute(query: string): PrimitiveRouteMatch | null;
|
|
82
|
-
|
|
82
|
+
/** Current hosted instruction audiences, shared by discovery and Agent snapshots. */
|
|
83
|
+
export declare const OXYGEN_PRODUCT_SKILL_AUDIENCES: Readonly<Record<string, "workspace" | "agency_partner">>;
|
|
84
|
+
export declare function canReadProductSkillInstructions(name: string, entitlements: {
|
|
85
|
+
authenticated?: boolean;
|
|
86
|
+
agencyPartner: boolean;
|
|
87
|
+
}): boolean;
|
|
88
|
+
/** Identify hosted instruction bodies by native tool lineage, never by user prose. */
|
|
89
|
+
export declare function readProductSkillInstructionResult(capabilityName: string, result: unknown): {
|
|
90
|
+
slug: string | null;
|
|
91
|
+
} | null;
|
|
92
|
+
/** Public action cards never advertise invite-only or unknown skill instructions. */
|
|
93
|
+
export declare function isPublicCapabilitySkill(name: string): boolean;
|
|
94
|
+
export declare function serializeCapabilityRoute(route: CapabilityRouteMatch | null, surfaceOrOptions?: CapabilityRouteSurface | {
|
|
95
|
+
visibleSkills?: readonly string[];
|
|
96
|
+
}, options?: {
|
|
97
|
+
visibleSkills?: readonly string[];
|
|
98
|
+
}): Record<string, unknown> | null;
|
|
83
99
|
/** One schedule for every channel of a Sequence, the same as Launch's Sending schedule. */
|
|
84
100
|
export declare const SEQUENCE_SENDING_SCHEDULE_COMMAND = "oxygen sequences update <sequence> --schedule-timezone <IANA zone> --schedule-days mon-fri --schedule-hours-start 09:00 --schedule-hours-end 17:00 --json";
|
|
85
101
|
/** Launch's unsubscribe switch: the visible link and the one-click headers together. */
|
|
@@ -97,6 +113,36 @@ export declare const CAPABILITY_ROUTE_MCP_CALLS: {
|
|
|
97
113
|
tool: string;
|
|
98
114
|
arguments: {};
|
|
99
115
|
};
|
|
116
|
+
connectedAppEvents: () => {
|
|
117
|
+
tool: string;
|
|
118
|
+
arguments: {
|
|
119
|
+
connection: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
workspacePagesList: () => {
|
|
123
|
+
tool: string;
|
|
124
|
+
arguments: {};
|
|
125
|
+
};
|
|
126
|
+
functionsList: () => {
|
|
127
|
+
tool: string;
|
|
128
|
+
arguments: {
|
|
129
|
+
operation: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
functionsDescribe: () => {
|
|
133
|
+
tool: string;
|
|
134
|
+
arguments: {
|
|
135
|
+
operation: string;
|
|
136
|
+
function: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
functionsRuns: () => {
|
|
140
|
+
tool: string;
|
|
141
|
+
arguments: {
|
|
142
|
+
operation: string;
|
|
143
|
+
function: string;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
100
146
|
sequenceSendingSchedule: () => {
|
|
101
147
|
tool: string;
|
|
102
148
|
arguments: {
|