@botiverse/raft-daemon 1.0.7 → 1.0.8
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/dist/{chunk-OFKVFXX7.js → chunk-56EVMMRV.js} +1502 -557
- package/dist/cli/index.js +63 -2
- package/dist/core.js +1 -1
- package/dist/{dist-WZJGFAA7.js → dist-HDPAZ76N.js} +61 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -43825,6 +43825,7 @@ var agentApiIntegrationAppUpdateBodySchema = passthroughObject({
|
|
|
43825
43825
|
clientKey: external_exports.string().trim().min(1),
|
|
43826
43826
|
name: optionalStringSchema,
|
|
43827
43827
|
description: optionalStringSchema,
|
|
43828
|
+
category: external_exports.string().trim().min(1).optional(),
|
|
43828
43829
|
homepageUrl: optionalStringSchema,
|
|
43829
43830
|
returnUrl: optionalStringSchema,
|
|
43830
43831
|
agentManifestUrl: optionalStringSchema,
|
|
@@ -45870,6 +45871,34 @@ var RAFT_OAUTH_SCOPES_SUPPORTED = Object.keys(RAFT_OAUTH_SCOPE_CATALOG);
|
|
|
45870
45871
|
var RAFT_OAUTH_DEFAULT_ALLOWED_SCOPES = RAFT_OAUTH_SCOPES_SUPPORTED.filter((scope) => RAFT_OAUTH_SCOPE_CATALOG[scope].defaultAllowed);
|
|
45871
45872
|
var RAFT_OAUTH_PUBLIC_DISCOVERY_SCOPES = RAFT_OAUTH_SCOPES_SUPPORTED.filter((scope) => RAFT_OAUTH_SCOPE_CATALOG[scope].publicDiscovery);
|
|
45872
45873
|
|
|
45874
|
+
// ../shared/src/oauthClientCategories.ts
|
|
45875
|
+
init_esm_shims();
|
|
45876
|
+
var OAUTH_CLIENT_CATEGORIES = [
|
|
45877
|
+
"AI & Automation",
|
|
45878
|
+
"Communication",
|
|
45879
|
+
"Productivity & Collaboration",
|
|
45880
|
+
"Developer Tools",
|
|
45881
|
+
"Data & Analytics",
|
|
45882
|
+
"Business Ops",
|
|
45883
|
+
"Infrastructure",
|
|
45884
|
+
"Content & Creative",
|
|
45885
|
+
"Other"
|
|
45886
|
+
];
|
|
45887
|
+
var LEGACY_OAUTH_CLIENT_CATEGORY_ALIASES = {
|
|
45888
|
+
Productivity: "Productivity & Collaboration",
|
|
45889
|
+
"Dev Tools": "Developer Tools",
|
|
45890
|
+
Storage: "Infrastructure",
|
|
45891
|
+
Scheduling: "Productivity & Collaboration",
|
|
45892
|
+
"Business & Operations": "Business Ops",
|
|
45893
|
+
"Infrastructure & Operations": "Infrastructure"
|
|
45894
|
+
};
|
|
45895
|
+
var OAUTH_CLIENT_CATEGORY_SET = new Set(OAUTH_CLIENT_CATEGORIES);
|
|
45896
|
+
function canonicalizeOAuthClientCategory(raw) {
|
|
45897
|
+
if (typeof raw !== "string") return null;
|
|
45898
|
+
if (OAUTH_CLIENT_CATEGORY_SET.has(raw)) return raw;
|
|
45899
|
+
return LEGACY_OAUTH_CLIENT_CATEGORY_ALIASES[raw] ?? null;
|
|
45900
|
+
}
|
|
45901
|
+
|
|
45873
45902
|
// ../shared/src/sync-core/index.ts
|
|
45874
45903
|
init_esm_shims();
|
|
45875
45904
|
|
|
@@ -46231,16 +46260,20 @@ function isExternalAgentRuntime(runtime) {
|
|
|
46231
46260
|
var RUNTIMES = [
|
|
46232
46261
|
{ id: "claude", displayName: "Claude Code", abbreviation: "CC", binary: "claude", supported: true },
|
|
46233
46262
|
{ id: "codex", displayName: "Codex CLI", abbreviation: "CX", binary: "codex", supported: true },
|
|
46263
|
+
{ id: "grok", displayName: "Grok Build", abbreviation: "GK", binary: "grok", supported: true },
|
|
46234
46264
|
{ id: "builtin", displayName: "Built-in Pi", abbreviation: "BP", binary: "", supported: true },
|
|
46235
46265
|
{ id: "antigravity", displayName: "Antigravity CLI", abbreviation: "AG", binary: "agy", supported: true },
|
|
46236
46266
|
// Kimi: prefer the in-process SDK (`kimi-sdk` → "Kimi Code") for new agents.
|
|
46237
46267
|
// The legacy `kimi` (kimi-cli child-process) entry stays for backward compat
|
|
46238
46268
|
// with existing `runtime=kimi` agents but is labelled deprecated.
|
|
46239
46269
|
{ id: "kimi-sdk", displayName: "Kimi Code", abbreviation: "KC", binary: "", supported: true },
|
|
46240
|
-
{ id: "kimi", displayName: "Kimi CLI (deprecated)", abbreviation: "KL", binary: "kimi", supported: true },
|
|
46270
|
+
{ id: "kimi", displayName: "Kimi CLI (deprecated)", abbreviation: "KL", binary: "kimi", supported: true, deprecated: true },
|
|
46241
46271
|
{ id: "copilot", displayName: "Copilot CLI", abbreviation: "CP", binary: "copilot", supported: true },
|
|
46242
46272
|
{ id: "cursor", displayName: "Cursor CLI", abbreviation: "CU", binary: "cursor-agent", supported: true },
|
|
46243
|
-
|
|
46273
|
+
// Gemini CLI: deprecated — no longer maintained upstream, replaced by
|
|
46274
|
+
// Antigravity CLI (`antigravity` → "Antigravity CLI"). Kept for backward
|
|
46275
|
+
// compat with existing `runtime=gemini` agents but hidden from selectors.
|
|
46276
|
+
{ id: "gemini", displayName: "Gemini CLI (deprecated)", abbreviation: "GM", binary: "gemini", supported: true, deprecated: true },
|
|
46244
46277
|
{ id: "opencode", displayName: "OpenCode", abbreviation: "OC", binary: "opencode", supported: true },
|
|
46245
46278
|
{ id: "pi", displayName: "Pi", abbreviation: "PI", binary: "pi", supported: true }
|
|
46246
46279
|
];
|
|
@@ -46299,6 +46332,20 @@ var RUNTIME_MODELS = {
|
|
|
46299
46332
|
{ id: "gpt-5-codex", label: "GPT-5 Codex" },
|
|
46300
46333
|
{ id: "gpt-5", label: "GPT-5" }
|
|
46301
46334
|
],
|
|
46335
|
+
grok: [
|
|
46336
|
+
{
|
|
46337
|
+
id: "grok-4.5",
|
|
46338
|
+
label: "Grok 4.5",
|
|
46339
|
+
supportedReasoningEfforts: ["high", "medium", "low"],
|
|
46340
|
+
defaultReasoningEffort: "high",
|
|
46341
|
+
verified: "launchable"
|
|
46342
|
+
},
|
|
46343
|
+
{
|
|
46344
|
+
id: "grok-composer-2.5-fast",
|
|
46345
|
+
label: "Composer 2.5",
|
|
46346
|
+
verified: "launchable"
|
|
46347
|
+
}
|
|
46348
|
+
],
|
|
46302
46349
|
antigravity: [
|
|
46303
46350
|
{ id: "default", label: "AGY configured default", verified: "suggestion_only" }
|
|
46304
46351
|
],
|
|
@@ -55272,6 +55319,14 @@ function requiredTrimmed(value, flag) {
|
|
|
55272
55319
|
function optionalTrimmed(value) {
|
|
55273
55320
|
return value?.trim() || void 0;
|
|
55274
55321
|
}
|
|
55322
|
+
function optionalCategory(value) {
|
|
55323
|
+
if (value === void 0) return void 0;
|
|
55324
|
+
const category = canonicalizeOAuthClientCategory(value.trim());
|
|
55325
|
+
if (!category) {
|
|
55326
|
+
throw cliError("INVALID_ARG", `--category must be one of: ${OAUTH_CLIENT_CATEGORIES.join(", ")}`);
|
|
55327
|
+
}
|
|
55328
|
+
return category;
|
|
55329
|
+
}
|
|
55275
55330
|
function formatAppPrepare(data) {
|
|
55276
55331
|
const lines = [
|
|
55277
55332
|
`Integration app ${data.mode} card prepared`,
|
|
@@ -55388,6 +55443,7 @@ var integrationAppTransferOwnerCommand = defineCommand(
|
|
|
55388
55443
|
);
|
|
55389
55444
|
async function updateApp(ctx, opts) {
|
|
55390
55445
|
const clientKey = requiredTrimmed(opts.client, "--client");
|
|
55446
|
+
const category = optionalCategory(opts.category);
|
|
55391
55447
|
if (opts.redirectUrl !== void 0 && !opts.redirectUrl.trim()) {
|
|
55392
55448
|
throw cliError("INVALID_ARG", "--redirect-url cannot be empty; OAuth apps must keep a registered callback URL");
|
|
55393
55449
|
}
|
|
@@ -55399,6 +55455,7 @@ async function updateApp(ctx, opts) {
|
|
|
55399
55455
|
clientKey,
|
|
55400
55456
|
name: opts.name === void 0 ? void 0 : opts.name.trim(),
|
|
55401
55457
|
description: opts.description === void 0 ? void 0 : opts.description.trim(),
|
|
55458
|
+
category,
|
|
55402
55459
|
homepageUrl: opts.homepageUrl === void 0 ? void 0 : opts.homepageUrl.trim(),
|
|
55403
55460
|
returnUrl: opts.redirectUrl === void 0 ? void 0 : opts.redirectUrl.trim(),
|
|
55404
55461
|
agentManifestUrl: opts.agentManifestUrl === void 0 ? void 0 : opts.agentManifestUrl.trim(),
|
|
@@ -55428,6 +55485,10 @@ var integrationAppUpdateCommand = defineCommand(
|
|
|
55428
55485
|
{ flags: "--client <key>", description: "App client key / OAuth client_id you own" },
|
|
55429
55486
|
{ flags: "--name <name>", description: "New app display name" },
|
|
55430
55487
|
{ flags: "--description <text>", description: "New description; pass an empty value to clear" },
|
|
55488
|
+
{
|
|
55489
|
+
flags: "--category <category>",
|
|
55490
|
+
description: `New Connected App category: ${OAUTH_CLIENT_CATEGORIES.join(", ")}`
|
|
55491
|
+
},
|
|
55431
55492
|
{ flags: "--homepage-url <url>", description: "New homepage URL; pass an empty value to clear" },
|
|
55432
55493
|
{ flags: "--redirect-url <url>", description: "New OAuth redirect URL; cannot be cleared" },
|
|
55433
55494
|
{ flags: "--agent-manifest-url <url>", description: "New agent manifest URL; pass an empty value to clear" },
|
package/dist/core.js
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
stageAgentMigrationObjectStoreBundle,
|
|
37
37
|
subscribeDaemonLogs,
|
|
38
38
|
verifyAgentMigrationAdoptPlan
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-56EVMMRV.js";
|
|
40
40
|
export {
|
|
41
41
|
AGENT_MIGRATION_BUNDLE_SCHEMA_VERSION,
|
|
42
42
|
AGENT_MIGRATION_CONTROL_SEAM_ENV,
|
|
@@ -43373,6 +43373,7 @@ var agentApiIntegrationAppUpdateBodySchema = passthroughObject({
|
|
|
43373
43373
|
clientKey: external_exports.string().trim().min(1),
|
|
43374
43374
|
name: optionalStringSchema,
|
|
43375
43375
|
description: optionalStringSchema,
|
|
43376
|
+
category: external_exports.string().trim().min(1).optional(),
|
|
43376
43377
|
homepageUrl: optionalStringSchema,
|
|
43377
43378
|
returnUrl: optionalStringSchema,
|
|
43378
43379
|
agentManifestUrl: optionalStringSchema,
|
|
@@ -45388,6 +45389,32 @@ var RAFT_OAUTH_SCOPES_SUPPORTED = Object.keys(RAFT_OAUTH_SCOPE_CATALOG);
|
|
|
45388
45389
|
var RAFT_OAUTH_DEFAULT_ALLOWED_SCOPES = RAFT_OAUTH_SCOPES_SUPPORTED.filter((scope) => RAFT_OAUTH_SCOPE_CATALOG[scope].defaultAllowed);
|
|
45389
45390
|
var RAFT_OAUTH_PUBLIC_DISCOVERY_SCOPES = RAFT_OAUTH_SCOPES_SUPPORTED.filter((scope) => RAFT_OAUTH_SCOPE_CATALOG[scope].publicDiscovery);
|
|
45390
45391
|
init_esm_shims();
|
|
45392
|
+
var OAUTH_CLIENT_CATEGORIES = [
|
|
45393
|
+
"AI & Automation",
|
|
45394
|
+
"Communication",
|
|
45395
|
+
"Productivity & Collaboration",
|
|
45396
|
+
"Developer Tools",
|
|
45397
|
+
"Data & Analytics",
|
|
45398
|
+
"Business Ops",
|
|
45399
|
+
"Infrastructure",
|
|
45400
|
+
"Content & Creative",
|
|
45401
|
+
"Other"
|
|
45402
|
+
];
|
|
45403
|
+
var LEGACY_OAUTH_CLIENT_CATEGORY_ALIASES = {
|
|
45404
|
+
Productivity: "Productivity & Collaboration",
|
|
45405
|
+
"Dev Tools": "Developer Tools",
|
|
45406
|
+
Storage: "Infrastructure",
|
|
45407
|
+
Scheduling: "Productivity & Collaboration",
|
|
45408
|
+
"Business & Operations": "Business Ops",
|
|
45409
|
+
"Infrastructure & Operations": "Infrastructure"
|
|
45410
|
+
};
|
|
45411
|
+
var OAUTH_CLIENT_CATEGORY_SET = new Set(OAUTH_CLIENT_CATEGORIES);
|
|
45412
|
+
function canonicalizeOAuthClientCategory(raw) {
|
|
45413
|
+
if (typeof raw !== "string") return null;
|
|
45414
|
+
if (OAUTH_CLIENT_CATEGORY_SET.has(raw)) return raw;
|
|
45415
|
+
return LEGACY_OAUTH_CLIENT_CATEGORY_ALIASES[raw] ?? null;
|
|
45416
|
+
}
|
|
45417
|
+
init_esm_shims();
|
|
45391
45418
|
init_esm_shims();
|
|
45392
45419
|
init_esm_shims();
|
|
45393
45420
|
init_esm_shims();
|
|
@@ -45719,16 +45746,20 @@ function isExternalAgentRuntime(runtime) {
|
|
|
45719
45746
|
var RUNTIMES = [
|
|
45720
45747
|
{ id: "claude", displayName: "Claude Code", abbreviation: "CC", binary: "claude", supported: true },
|
|
45721
45748
|
{ id: "codex", displayName: "Codex CLI", abbreviation: "CX", binary: "codex", supported: true },
|
|
45749
|
+
{ id: "grok", displayName: "Grok Build", abbreviation: "GK", binary: "grok", supported: true },
|
|
45722
45750
|
{ id: "builtin", displayName: "Built-in Pi", abbreviation: "BP", binary: "", supported: true },
|
|
45723
45751
|
{ id: "antigravity", displayName: "Antigravity CLI", abbreviation: "AG", binary: "agy", supported: true },
|
|
45724
45752
|
// Kimi: prefer the in-process SDK (`kimi-sdk` → "Kimi Code") for new agents.
|
|
45725
45753
|
// The legacy `kimi` (kimi-cli child-process) entry stays for backward compat
|
|
45726
45754
|
// with existing `runtime=kimi` agents but is labelled deprecated.
|
|
45727
45755
|
{ id: "kimi-sdk", displayName: "Kimi Code", abbreviation: "KC", binary: "", supported: true },
|
|
45728
|
-
{ id: "kimi", displayName: "Kimi CLI (deprecated)", abbreviation: "KL", binary: "kimi", supported: true },
|
|
45756
|
+
{ id: "kimi", displayName: "Kimi CLI (deprecated)", abbreviation: "KL", binary: "kimi", supported: true, deprecated: true },
|
|
45729
45757
|
{ id: "copilot", displayName: "Copilot CLI", abbreviation: "CP", binary: "copilot", supported: true },
|
|
45730
45758
|
{ id: "cursor", displayName: "Cursor CLI", abbreviation: "CU", binary: "cursor-agent", supported: true },
|
|
45731
|
-
|
|
45759
|
+
// Gemini CLI: deprecated — no longer maintained upstream, replaced by
|
|
45760
|
+
// Antigravity CLI (`antigravity` → "Antigravity CLI"). Kept for backward
|
|
45761
|
+
// compat with existing `runtime=gemini` agents but hidden from selectors.
|
|
45762
|
+
{ id: "gemini", displayName: "Gemini CLI (deprecated)", abbreviation: "GM", binary: "gemini", supported: true, deprecated: true },
|
|
45732
45763
|
{ id: "opencode", displayName: "OpenCode", abbreviation: "OC", binary: "opencode", supported: true },
|
|
45733
45764
|
{ id: "pi", displayName: "Pi", abbreviation: "PI", binary: "pi", supported: true }
|
|
45734
45765
|
];
|
|
@@ -45787,6 +45818,20 @@ var RUNTIME_MODELS = {
|
|
|
45787
45818
|
{ id: "gpt-5-codex", label: "GPT-5 Codex" },
|
|
45788
45819
|
{ id: "gpt-5", label: "GPT-5" }
|
|
45789
45820
|
],
|
|
45821
|
+
grok: [
|
|
45822
|
+
{
|
|
45823
|
+
id: "grok-4.5",
|
|
45824
|
+
label: "Grok 4.5",
|
|
45825
|
+
supportedReasoningEfforts: ["high", "medium", "low"],
|
|
45826
|
+
defaultReasoningEffort: "high",
|
|
45827
|
+
verified: "launchable"
|
|
45828
|
+
},
|
|
45829
|
+
{
|
|
45830
|
+
id: "grok-composer-2.5-fast",
|
|
45831
|
+
label: "Composer 2.5",
|
|
45832
|
+
verified: "launchable"
|
|
45833
|
+
}
|
|
45834
|
+
],
|
|
45790
45835
|
antigravity: [
|
|
45791
45836
|
{ id: "default", label: "AGY configured default", verified: "suggestion_only" }
|
|
45792
45837
|
],
|
|
@@ -54549,6 +54594,14 @@ function requiredTrimmed(value, flag) {
|
|
|
54549
54594
|
function optionalTrimmed(value) {
|
|
54550
54595
|
return value?.trim() || void 0;
|
|
54551
54596
|
}
|
|
54597
|
+
function optionalCategory(value) {
|
|
54598
|
+
if (value === void 0) return void 0;
|
|
54599
|
+
const category = canonicalizeOAuthClientCategory(value.trim());
|
|
54600
|
+
if (!category) {
|
|
54601
|
+
throw cliError("INVALID_ARG", `--category must be one of: ${OAUTH_CLIENT_CATEGORIES.join(", ")}`);
|
|
54602
|
+
}
|
|
54603
|
+
return category;
|
|
54604
|
+
}
|
|
54552
54605
|
function formatAppPrepare(data) {
|
|
54553
54606
|
const lines = [
|
|
54554
54607
|
`Integration app ${data.mode} card prepared`,
|
|
@@ -54665,6 +54718,7 @@ var integrationAppTransferOwnerCommand = defineCommand(
|
|
|
54665
54718
|
);
|
|
54666
54719
|
async function updateApp(ctx, opts) {
|
|
54667
54720
|
const clientKey = requiredTrimmed(opts.client, "--client");
|
|
54721
|
+
const category = optionalCategory(opts.category);
|
|
54668
54722
|
if (opts.redirectUrl !== void 0 && !opts.redirectUrl.trim()) {
|
|
54669
54723
|
throw cliError("INVALID_ARG", "--redirect-url cannot be empty; OAuth apps must keep a registered callback URL");
|
|
54670
54724
|
}
|
|
@@ -54676,6 +54730,7 @@ async function updateApp(ctx, opts) {
|
|
|
54676
54730
|
clientKey,
|
|
54677
54731
|
name: opts.name === void 0 ? void 0 : opts.name.trim(),
|
|
54678
54732
|
description: opts.description === void 0 ? void 0 : opts.description.trim(),
|
|
54733
|
+
category,
|
|
54679
54734
|
homepageUrl: opts.homepageUrl === void 0 ? void 0 : opts.homepageUrl.trim(),
|
|
54680
54735
|
returnUrl: opts.redirectUrl === void 0 ? void 0 : opts.redirectUrl.trim(),
|
|
54681
54736
|
agentManifestUrl: opts.agentManifestUrl === void 0 ? void 0 : opts.agentManifestUrl.trim(),
|
|
@@ -54705,6 +54760,10 @@ var integrationAppUpdateCommand = defineCommand(
|
|
|
54705
54760
|
{ flags: "--client <key>", description: "App client key / OAuth client_id you own" },
|
|
54706
54761
|
{ flags: "--name <name>", description: "New app display name" },
|
|
54707
54762
|
{ flags: "--description <text>", description: "New description; pass an empty value to clear" },
|
|
54763
|
+
{
|
|
54764
|
+
flags: "--category <category>",
|
|
54765
|
+
description: `New Connected App category: ${OAUTH_CLIENT_CATEGORIES.join(", ")}`
|
|
54766
|
+
},
|
|
54708
54767
|
{ flags: "--homepage-url <url>", description: "New homepage URL; pass an empty value to clear" },
|
|
54709
54768
|
{ flags: "--redirect-url <url>", description: "New OAuth redirect URL; cannot be cleared" },
|
|
54710
54769
|
{ flags: "--agent-manifest-url <url>", description: "New agent manifest URL; pass an empty value to clear" },
|
package/dist/index.js
CHANGED