@oxygen-agent/cli 1.1014.86 → 1.1014.119
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 +4 -1
- package/dist/help.js +5 -0
- package/dist/index.js +133 -80
- package/dist/skills.js +2 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery.js +122 -0
- package/node_modules/@oxygen/shared/dist/contracts/browser-operations.js +14 -4
- package/node_modules/@oxygen/shared/dist/contracts/customer-operations.js +6 -5
- package/node_modules/@oxygen/shared/dist/contracts/knowledge-sync.d.ts +19 -0
- package/node_modules/@oxygen/shared/dist/contracts/knowledge-sync.js +8 -0
- package/node_modules/@oxygen/shared/dist/contracts/publishing-reads.d.ts +7 -0
- package/node_modules/@oxygen/shared/dist/contracts/schema.d.ts +3 -0
- package/node_modules/@oxygen/shared/dist/contracts/schema.js +3 -0
- package/node_modules/@oxygen/shared/dist/contracts/table-feed-read.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/table-row-read.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/credit-gate.js +2 -1
- package/node_modules/@oxygen/shared/dist/mcp-event-contract.d.ts +12 -0
- package/node_modules/@oxygen/shared/dist/otlp-log-sink.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/otlp-log-sink.js +1 -0
- package/node_modules/@oxygen/shared/dist/plan-capabilities.d.ts +9 -2
- package/node_modules/@oxygen/shared/dist/plan-capabilities.js +14 -1
- package/node_modules/@oxygen/shared/dist/sending-schedule.d.ts +7 -0
- package/node_modules/@oxygen/shared/dist/sending-schedule.js +10 -0
- package/node_modules/@oxygen/shared/dist/user-capability-routing.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/user-capability-routing.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/package.json +1 -1
|
@@ -15,6 +15,13 @@ export type SendingSchedule = {
|
|
|
15
15
|
start: string;
|
|
16
16
|
end: string;
|
|
17
17
|
};
|
|
18
|
+
export type LinkedInSequenceSchedules = {
|
|
19
|
+
schedule?: SendingSchedule | null;
|
|
20
|
+
linkedin_invite_schedule?: SendingSchedule | null;
|
|
21
|
+
linkedin_message_schedule?: SendingSchedule | null;
|
|
22
|
+
};
|
|
23
|
+
/** Action windows replace the general sequence window; account hours still narrow them. */
|
|
24
|
+
export declare function sequenceSocialSchedule(settings: LinkedInSequenceSchedules, actionKind: string, network?: string): SendingSchedule | null | undefined;
|
|
18
25
|
/**
|
|
19
26
|
* The settings fragment that applies one schedule to every channel. The email
|
|
20
27
|
* window keeps its recipient-timezone fields; the social window takes the same
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/** Action windows replace the general sequence window; account hours still narrow them. */
|
|
2
|
+
export function sequenceSocialSchedule(settings, actionKind, network = "linkedin") {
|
|
3
|
+
if (network === "linkedin") {
|
|
4
|
+
if (actionKind === "invite")
|
|
5
|
+
return settings.linkedin_invite_schedule ?? settings.schedule;
|
|
6
|
+
if (actionKind === "message" || actionKind === "inmail")
|
|
7
|
+
return settings.linkedin_message_schedule ?? settings.schedule;
|
|
8
|
+
}
|
|
9
|
+
return settings.schedule;
|
|
10
|
+
}
|
|
1
11
|
/**
|
|
2
12
|
* The settings fragment that applies one schedule to every channel. The email
|
|
3
13
|
* window keeps its recipient-timezone fields; the social window takes the same
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
import { type CapabilityRouteMatch } from "./capability-discovery.js";
|
|
2
|
+
/** A null route has no command to hydrate yet. Keep recovery bounded and executable. */
|
|
3
|
+
export declare function capabilityDiscoveryRecovery(query: string, surface: "cli" | "mcp"): string;
|
|
2
4
|
export declare function inferUserCapabilityRoute(query: string): CapabilityRouteMatch | null;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { getCapabilityRoute, getCapabilityRouteMatch, inferCapabilityRoute, } from "./capability-discovery.js";
|
|
2
|
+
/** A null route has no command to hydrate yet. Keep recovery bounded and executable. */
|
|
3
|
+
export function capabilityDiscoveryRecovery(query, surface) {
|
|
4
|
+
if (surface === "mcp") {
|
|
5
|
+
return 'No capability owner matched. Inspect the returned tools, or load oxygen_capabilities_schema({"names":["oxygen_tools_search"]}) and search the provider catalog with specific keywords. Discovery does not execute a provider operation.';
|
|
6
|
+
}
|
|
7
|
+
const quoted = `'${query.replace(/'/g, "'\\''")}'`;
|
|
8
|
+
return `No capability owner matched. Run \`oxygen commands search ${quoted} --limit 5 --json\`, then hydrate a returned name with \`oxygen commands get '<returned-name>' --json\`.`;
|
|
9
|
+
}
|
|
2
10
|
// Provider brands are intentionally not duplicated into the static capability
|
|
3
11
|
// catalog. A short "connect <provider>" query would otherwise match Tables via
|
|
4
12
|
// its relationship-oriented "connect" term. Correct that narrow ambiguity at
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const OXYGEN_BUILD_VERSION = "1.1014.
|
|
1
|
+
export declare const OXYGEN_BUILD_VERSION = "1.1014.119";
|
|
@@ -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.119";
|