@oxygen-agent/cli 1.1038.33 → 1.1039.21
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/commands/knowledge.js +2 -2
- package/dist/commands/mailboxes.js +1 -1
- package/dist/commands/sequences.js +2 -2
- package/node_modules/@oxygen/shared/dist/knowledge/constants.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/knowledge/constants.js +6 -0
- package/node_modules/@oxygen/shared/dist/onboarding/guided-activation.d.ts +5 -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/README.md
CHANGED
|
@@ -11,7 +11,7 @@ import { OxygenError } from "@oxygen/shared/cli-result";
|
|
|
11
11
|
import { knowledgeIndexReadContract, knowledgePageReadContract } from "@oxygen/shared/contracts/knowledge-content-reads";
|
|
12
12
|
import { knowledgeProposalWindowContract } from "@oxygen/shared/contracts/knowledge-proposal-reads";
|
|
13
13
|
import { KNOWLEDGE_BOOTSTRAP_MAX_CREDITS } from "@oxygen/shared/knowledge/bootstrap";
|
|
14
|
-
import { KNOWLEDGE_PAGE_TYPES } from "@oxygen/shared/knowledge/constants";
|
|
14
|
+
import { KNOWLEDGE_PAGE_TYPES, KNOWLEDGE_SYNTHESIS_MAX_CREDITS_PER_DAY_MAX, KNOWLEDGE_SYNTHESIS_MAX_CREDITS_PER_DAY_MIN, } from "@oxygen/shared/knowledge/constants";
|
|
15
15
|
import { parseKnowledgePageMarkdown } from "@oxygen/shared/knowledge/markdown";
|
|
16
16
|
import { Command, Option } from "commander";
|
|
17
17
|
import { networkMiningHostServed } from "../network-mining-host.js";
|
|
@@ -823,7 +823,7 @@ export function registerKnowledgeFamily(program, handleAsyncAction) {
|
|
|
823
823
|
.option("--enabled", "Enable unattended synthesis.")
|
|
824
824
|
.option("--disabled", "Disable unattended synthesis.")
|
|
825
825
|
.option("--cadence-hours <n>", "Hours between synthesis cycles (1-168, default 24).")
|
|
826
|
-
.option("--max-credits-per-day <n>",
|
|
826
|
+
.option("--max-credits-per-day <n>", `Managed-credit cap per UTC day (${KNOWLEDGE_SYNTHESIS_MAX_CREDITS_PER_DAY_MIN}-${KNOWLEDGE_SYNTHESIS_MAX_CREDITS_PER_DAY_MAX.toLocaleString("en-US")}, default 100).`)
|
|
827
827
|
.option("--json", "Print a JSON envelope.")
|
|
828
828
|
.action(async (options) => {
|
|
829
829
|
await handleAsyncAction("knowledge agent set", options, () => {
|
|
@@ -1079,7 +1079,7 @@ export function registerMailboxesFamily(program, handleAsyncAction) {
|
|
|
1079
1079
|
});
|
|
1080
1080
|
}))
|
|
1081
1081
|
.addCommand(new Command("google")
|
|
1082
|
-
.description("
|
|
1082
|
+
.description("Google owner consent for one to ten connected inboxes. Gmail connected through Composio signs in here when its warmup enable preview asks for Google consent; if this command answers warmup_disable_required, turn warm-up off for that inbox first. This flow is separate from native sending: no passwords or OXYGEN tokens transfer. Preview costs 0 credits and creates no link. Approve its hash with --max-credits 0, open each consent_url as that exact inbox, then poll --status. Google shows the warm-up provider's consent application. Warmup stays off until a separately approved warmup enable; its fresh preview shows the price, including 0 extra credits when included in the mailbox connection.")
|
|
1083
1083
|
.requiredOption("--mailboxes <list>", "Exact Google inbox ids or addresses, comma-separated; maximum ten.")
|
|
1084
1084
|
.option("--approved", "Create the previewed authorization links.")
|
|
1085
1085
|
.option("--plan <hash>", "Fresh preview hash; required with approval.")
|
|
@@ -1765,7 +1765,7 @@ export function registerSequencesFamily(program, handleAsyncAction) {
|
|
|
1765
1765
|
});
|
|
1766
1766
|
}))
|
|
1767
1767
|
.addCommand(new Command("draft")
|
|
1768
|
-
.description("Draft an email or LinkedIn sequence with AI, grounded in confirmed workspace Knowledge with cited provenance. PAID: --max-credits
|
|
1768
|
+
.description("Draft an email or LinkedIn sequence with AI, grounded in confirmed workspace Knowledge with cited provenance. PAID: --max-credits caps the draft and any repair call together. Email is the default; LinkedIn drafts invite/message actions and waits. --create with --name and --slug saves an inert draft; enrollment and launch remain separate.")
|
|
1769
1769
|
.requiredOption("--goal <goal>", "Plain-language goal for the sequence (e.g. \"book demos with RevOps leaders at Series A SaaS\"). The trusted brief the copy is written to.")
|
|
1770
1770
|
.addOption(new Option("--channel <channel>", "Outreach channel; email default, linkedin for invite/message steps.").choices(["email", "linkedin"]))
|
|
1771
1771
|
.option("--activation-id <id>", "Guided onboarding activation UUID; --create reuses its bound native Sequence and exact First leads Table. Creator is derived from identity.")
|
|
@@ -1773,7 +1773,7 @@ export function registerSequencesFamily(program, handleAsyncAction) {
|
|
|
1773
1773
|
.option("--table <id>", "Source table id whose column keys become the {{column|fallback}} personalization tokens the copy may use.")
|
|
1774
1774
|
.option("--steps <n>", "Outreach actions (1-7), excluding waits; default 4 email or 3 LinkedIn.")
|
|
1775
1775
|
.option("--variants <n>", "Copy variants per outreach action (1-3); default 1.")
|
|
1776
|
-
.requiredOption("--max-credits <n>", "Credit cap for the AI
|
|
1776
|
+
.requiredOption("--max-credits <n>", "Credit cap for the AI calls, any repair included (required — this is a paid action). At least one call's estimate; recommended_max_credits, when quoted, covers the first call and one repair call, or is your balance if lower.")
|
|
1777
1777
|
.option("--create", "Save the draft as a DRAFT sequence (requires --name and --slug). Without this, the draft is only previewed.")
|
|
1778
1778
|
.option("--name <name>", "Human-readable sequence name (required with --create).")
|
|
1779
1779
|
.option("--slug <slug>", "Unique slug for the sequence (required with --create).")
|
|
@@ -37,6 +37,8 @@ export declare const KNOWLEDGE_GRAPH_MAX_NODES = 2000;
|
|
|
37
37
|
export declare const KNOWLEDGE_GRAPH_DEFAULT_DEPTH = 1;
|
|
38
38
|
export declare const KNOWLEDGE_GRAPH_MAX_DEPTH = 3;
|
|
39
39
|
export declare const KNOWLEDGE_SYNC_MAX_PAGE_BATCH = 200;
|
|
40
|
+
export declare const KNOWLEDGE_SYNTHESIS_MAX_CREDITS_PER_DAY_MIN = 0;
|
|
41
|
+
export declare const KNOWLEDGE_SYNTHESIS_MAX_CREDITS_PER_DAY_MAX = 1000;
|
|
40
42
|
export declare const KNOWLEDGE_STUB_MARKER = "Stub \u2014 fill me.";
|
|
41
43
|
export declare const KNOWLEDGE_BOOTSTRAP_COMMAND = "oxygen knowledge bootstrap";
|
|
42
44
|
export declare const KNOWLEDGE_BOOTSTRAP_AVAILABLE = true;
|
|
@@ -124,6 +124,12 @@ export const KNOWLEDGE_GRAPH_MAX_NODES = 2_000;
|
|
|
124
124
|
export const KNOWLEDGE_GRAPH_DEFAULT_DEPTH = 1;
|
|
125
125
|
export const KNOWLEDGE_GRAPH_MAX_DEPTH = 3;
|
|
126
126
|
export const KNOWLEDGE_SYNC_MAX_PAGE_BATCH = 200;
|
|
127
|
+
// The scheduled synthesis agent's per-UTC-day credit cap. The tenant-db store
|
|
128
|
+
// clamps to these bounds and the CLI help and MCP schema publish them. The
|
|
129
|
+
// 2026-09-19 credit re-denomination ($1 = 100 credits) moved the clamp from
|
|
130
|
+
// 10,000 to 1,000 and left both surfaces at 10,000 (OXP-3.4.264).
|
|
131
|
+
export const KNOWLEDGE_SYNTHESIS_MAX_CREDITS_PER_DAY_MIN = 0;
|
|
132
|
+
export const KNOWLEDGE_SYNTHESIS_MAX_CREDITS_PER_DAY_MAX = 1_000;
|
|
127
133
|
// The domain-grounded scaffold-fill command. KNOWLEDGE_BOOTSTRAP_AVAILABLE is the
|
|
128
134
|
// single gate: while it is false, `oxygen knowledge lint` reports researchable stubs
|
|
129
135
|
// as FACTS (which stubs are still empty, and whether the workspace has a domain a
|
|
@@ -68,6 +68,11 @@ export type GuidedActivation = {
|
|
|
68
68
|
turn_id?: string;
|
|
69
69
|
event_seq?: number;
|
|
70
70
|
finished_at?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The workspace was created without a website or LinkedIn page, so the Oxygent asked for one
|
|
73
|
+
* and the research waits for the answer (current chat, 2026-11-11). Cleared when the research is claimed.
|
|
74
|
+
*/
|
|
75
|
+
company_pending?: boolean;
|
|
71
76
|
/** Agent-led onboarding's background research (Philipp, 2026-10-20): its hidden session and turn, then the chat turn that reported it. */
|
|
72
77
|
research?: GuidedOnboardingResearch;
|
|
73
78
|
} | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const OXYGEN_BUILD_VERSION = "1.
|
|
1
|
+
export declare const OXYGEN_BUILD_VERSION = "1.1039.21";
|
|
@@ -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.
|
|
2
|
+
export const OXYGEN_BUILD_VERSION = "1.1039.21";
|
|
@@ -49,7 +49,7 @@ export const OXYGEN_VERSION = OXYGEN_BUILD_VERSION;
|
|
|
49
49
|
// Since 2026-09-28 the release-preparation step advances this literal to the
|
|
50
50
|
// highest CLI version published on npm for at least 30 days. It never lowers
|
|
51
51
|
// the floor. The source change lands on dev before the next production release.
|
|
52
|
-
export const OXYGEN_MINIMUM_CLI_VERSION = "1.1014.
|
|
52
|
+
export const OXYGEN_MINIMUM_CLI_VERSION = "1.1014.120";
|
|
53
53
|
// The internal GEO export first gains required pagination in this dev version.
|
|
54
54
|
// Earlier pilot clients would save a partial file without its continuation.
|
|
55
55
|
export const GEO_EXPORT_MINIMUM_CLI_VERSION = "1.1013.0";
|