@botiverse/raft-daemon 0.61.1 → 0.63.0
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-5JCAPBBM.js → chunk-W2KSMJ4G.js} +2920 -1024
- package/dist/cli/index.js +25 -5
- package/dist/core.js +1 -1
- package/dist/{dist-KVBO6CH7.js → dist-5BEASCX5.js} +25 -5
- package/dist/index.js +1 -1
- package/package.json +3 -1
package/dist/cli/index.js
CHANGED
|
@@ -15732,6 +15732,9 @@ var SERVER_CAPABILITY_MATRIX = {
|
|
|
15732
15732
|
};
|
|
15733
15733
|
|
|
15734
15734
|
// ../shared/src/index.ts
|
|
15735
|
+
var PI_BUILTIN_PROVIDER_ENV_KEYS = {
|
|
15736
|
+
deepseek: "DEEPSEEK_API_KEY"
|
|
15737
|
+
};
|
|
15735
15738
|
var AGENT_ACTIVITIES = ["online", "thinking", "working", "error", "offline"];
|
|
15736
15739
|
var isAgentActivity = makeIsMember(AGENT_ACTIVITIES);
|
|
15737
15740
|
var VALID_ACTIVITIES = new Set(AGENT_ACTIVITIES);
|
|
@@ -15843,10 +15846,18 @@ var RUNTIME_MODELS = {
|
|
|
15843
15846
|
{ id: "kimi-code/kimi-for-coding", label: "Kimi for Coding (default)", verified: "launchable" }
|
|
15844
15847
|
]
|
|
15845
15848
|
};
|
|
15849
|
+
var CONTROLLED_RUNTIME_ENV_KEYS = {
|
|
15850
|
+
claude: ["ANTHROPIC_BASE_URL", "ANTHROPIC_API_KEY", "ANTHROPIC_CUSTOM_MODEL_OPTION"],
|
|
15851
|
+
// Pi-runtime builtin-provider env vars (e.g. DEEPSEEK_API_KEY). Owned by
|
|
15852
|
+
// RuntimeProviderConfig.pi-builtin → runtimeConfigToLaunchFields, not by
|
|
15853
|
+
// user-supplied envVars: reading from PI_BUILTIN_PROVIDER_ENV_KEYS keeps
|
|
15854
|
+
// this list in sync as new providers are added.
|
|
15855
|
+
pi: Object.values(PI_BUILTIN_PROVIDER_ENV_KEYS)
|
|
15856
|
+
};
|
|
15846
15857
|
var PLAN_CONFIG = {
|
|
15847
15858
|
free: {
|
|
15848
15859
|
displayName: "Free",
|
|
15849
|
-
limits: { maxMachines:
|
|
15860
|
+
limits: { maxMachines: -1, maxAgents: -1, maxChannels: -1, messageHistoryDays: 30, includedAgents: -1 },
|
|
15850
15861
|
comingSoon: false,
|
|
15851
15862
|
price: 0,
|
|
15852
15863
|
extraAgentPrice: 0,
|
|
@@ -15866,13 +15877,20 @@ var PLAN_CONFIG = {
|
|
|
15866
15877
|
comingSoon: false,
|
|
15867
15878
|
price: 0,
|
|
15868
15879
|
extraAgentPrice: 0
|
|
15880
|
+
},
|
|
15881
|
+
pro: {
|
|
15882
|
+
displayName: "Pro",
|
|
15883
|
+
limits: { maxMachines: -1, maxAgents: 10, maxChannels: -1, messageHistoryDays: -1, includedAgents: 10 },
|
|
15884
|
+
comingSoon: false,
|
|
15885
|
+
price: 20,
|
|
15886
|
+
extraAgentPrice: 0
|
|
15869
15887
|
}
|
|
15870
15888
|
};
|
|
15871
15889
|
var DISPLAY_PLAN_CONFIG = {
|
|
15872
15890
|
free: PLAN_CONFIG.free,
|
|
15873
15891
|
pro: {
|
|
15874
15892
|
displayName: "Pro",
|
|
15875
|
-
limits: { maxMachines: -1, maxAgents:
|
|
15893
|
+
limits: { maxMachines: -1, maxAgents: -1, maxChannels: -1, messageHistoryDays: -1, includedAgents: -1 },
|
|
15876
15894
|
comingSoon: false,
|
|
15877
15895
|
price: 20,
|
|
15878
15896
|
priceCadence: "/ seat pack / month",
|
|
@@ -15902,6 +15920,7 @@ var DISPLAY_PLAN_CONFIG = {
|
|
|
15902
15920
|
]
|
|
15903
15921
|
}
|
|
15904
15922
|
};
|
|
15923
|
+
var FREE_MONTHLY_FILE_UPLOAD_LIMIT_BYTES = 100 * 1024 * 1024;
|
|
15905
15924
|
|
|
15906
15925
|
// src/agentCommsCore/bridge.ts
|
|
15907
15926
|
var AGENT_COMMS_PROTOCOL_VERSION = "agent-comms-core.v1";
|
|
@@ -18075,7 +18094,7 @@ ${opts.heldAction} Review the bounded context shown here, then choose one path.$
|
|
|
18075
18094
|
// src/commands/mention/_format.ts
|
|
18076
18095
|
function normalizeAction(action) {
|
|
18077
18096
|
if (action === "notify" || action === "notify_only") return "notify";
|
|
18078
|
-
if (action === "
|
|
18097
|
+
if (action === "add" || action === "invite") return "add";
|
|
18079
18098
|
return null;
|
|
18080
18099
|
}
|
|
18081
18100
|
function formatActionCommands(action) {
|
|
@@ -19566,7 +19585,7 @@ function buildMentionExecuteCommand(action) {
|
|
|
19566
19585
|
return defineCommand(
|
|
19567
19586
|
{
|
|
19568
19587
|
name: action,
|
|
19569
|
-
description: `${action === "notify" ? "Notify" : "
|
|
19588
|
+
description: `${action === "notify" ? "Notify" : "Add"} unresolved mention targets by resolution id`,
|
|
19570
19589
|
arguments: ["<resolutionIds...>"],
|
|
19571
19590
|
options: [{ flags: "--json", description: "Emit machine-readable JSON" }]
|
|
19572
19591
|
},
|
|
@@ -19593,7 +19612,7 @@ function buildMentionExecuteCommand(action) {
|
|
|
19593
19612
|
}
|
|
19594
19613
|
function registerMentionExecuteCommands(parent, runtimeOptions = {}) {
|
|
19595
19614
|
registerCliCommand(parent, buildMentionExecuteCommand("notify"), runtimeOptions);
|
|
19596
|
-
registerCliCommand(parent, buildMentionExecuteCommand("
|
|
19615
|
+
registerCliCommand(parent, buildMentionExecuteCommand("add"), runtimeOptions);
|
|
19597
19616
|
}
|
|
19598
19617
|
|
|
19599
19618
|
// src/commands/mention/pending.ts
|
|
@@ -19669,6 +19688,7 @@ function formatAgentProfile(profile) {
|
|
|
19669
19688
|
`- Display Name: ${profile.displayName ?? "(none)"}`,
|
|
19670
19689
|
`- Description: ${profile.description ?? "(none)"}`,
|
|
19671
19690
|
`- Status: ${profile.status}`,
|
|
19691
|
+
`- Role: ${profile.serverRole}`,
|
|
19672
19692
|
`- Runtime: ${getRuntimeDisplayName(profile.runtime)}`,
|
|
19673
19693
|
`- Model: ${profile.model}`,
|
|
19674
19694
|
`- Reasoning: ${profile.reasoningEffort ?? "medium"}`
|
package/dist/core.js
CHANGED
|
@@ -15536,6 +15536,9 @@ var SERVER_CAPABILITY_MATRIX = {
|
|
|
15536
15536
|
joinPublicChannels: true
|
|
15537
15537
|
})
|
|
15538
15538
|
};
|
|
15539
|
+
var PI_BUILTIN_PROVIDER_ENV_KEYS = {
|
|
15540
|
+
deepseek: "DEEPSEEK_API_KEY"
|
|
15541
|
+
};
|
|
15539
15542
|
var AGENT_ACTIVITIES = ["online", "thinking", "working", "error", "offline"];
|
|
15540
15543
|
var isAgentActivity = makeIsMember(AGENT_ACTIVITIES);
|
|
15541
15544
|
var VALID_ACTIVITIES = new Set(AGENT_ACTIVITIES);
|
|
@@ -15647,10 +15650,18 @@ var RUNTIME_MODELS = {
|
|
|
15647
15650
|
{ id: "kimi-code/kimi-for-coding", label: "Kimi for Coding (default)", verified: "launchable" }
|
|
15648
15651
|
]
|
|
15649
15652
|
};
|
|
15653
|
+
var CONTROLLED_RUNTIME_ENV_KEYS = {
|
|
15654
|
+
claude: ["ANTHROPIC_BASE_URL", "ANTHROPIC_API_KEY", "ANTHROPIC_CUSTOM_MODEL_OPTION"],
|
|
15655
|
+
// Pi-runtime builtin-provider env vars (e.g. DEEPSEEK_API_KEY). Owned by
|
|
15656
|
+
// RuntimeProviderConfig.pi-builtin → runtimeConfigToLaunchFields, not by
|
|
15657
|
+
// user-supplied envVars: reading from PI_BUILTIN_PROVIDER_ENV_KEYS keeps
|
|
15658
|
+
// this list in sync as new providers are added.
|
|
15659
|
+
pi: Object.values(PI_BUILTIN_PROVIDER_ENV_KEYS)
|
|
15660
|
+
};
|
|
15650
15661
|
var PLAN_CONFIG = {
|
|
15651
15662
|
free: {
|
|
15652
15663
|
displayName: "Free",
|
|
15653
|
-
limits: { maxMachines:
|
|
15664
|
+
limits: { maxMachines: -1, maxAgents: -1, maxChannels: -1, messageHistoryDays: 30, includedAgents: -1 },
|
|
15654
15665
|
comingSoon: false,
|
|
15655
15666
|
price: 0,
|
|
15656
15667
|
extraAgentPrice: 0,
|
|
@@ -15670,13 +15681,20 @@ var PLAN_CONFIG = {
|
|
|
15670
15681
|
comingSoon: false,
|
|
15671
15682
|
price: 0,
|
|
15672
15683
|
extraAgentPrice: 0
|
|
15684
|
+
},
|
|
15685
|
+
pro: {
|
|
15686
|
+
displayName: "Pro",
|
|
15687
|
+
limits: { maxMachines: -1, maxAgents: 10, maxChannels: -1, messageHistoryDays: -1, includedAgents: 10 },
|
|
15688
|
+
comingSoon: false,
|
|
15689
|
+
price: 20,
|
|
15690
|
+
extraAgentPrice: 0
|
|
15673
15691
|
}
|
|
15674
15692
|
};
|
|
15675
15693
|
var DISPLAY_PLAN_CONFIG = {
|
|
15676
15694
|
free: PLAN_CONFIG.free,
|
|
15677
15695
|
pro: {
|
|
15678
15696
|
displayName: "Pro",
|
|
15679
|
-
limits: { maxMachines: -1, maxAgents:
|
|
15697
|
+
limits: { maxMachines: -1, maxAgents: -1, maxChannels: -1, messageHistoryDays: -1, includedAgents: -1 },
|
|
15680
15698
|
comingSoon: false,
|
|
15681
15699
|
price: 20,
|
|
15682
15700
|
priceCadence: "/ seat pack / month",
|
|
@@ -15706,6 +15724,7 @@ var DISPLAY_PLAN_CONFIG = {
|
|
|
15706
15724
|
]
|
|
15707
15725
|
}
|
|
15708
15726
|
};
|
|
15727
|
+
var FREE_MONTHLY_FILE_UPLOAD_LIMIT_BYTES = 100 * 1024 * 1024;
|
|
15709
15728
|
var AGENT_COMMS_PROTOCOL_VERSION = "agent-comms-core.v1";
|
|
15710
15729
|
var AGENT_PROOF_SCHEMA_VERSION = "agent-proof.v1";
|
|
15711
15730
|
var AgentCommsBridgeLockError = class extends Error {
|
|
@@ -17844,7 +17863,7 @@ ${opts.heldAction} Review the bounded context shown here, then choose one path.$
|
|
|
17844
17863
|
}
|
|
17845
17864
|
function normalizeAction(action) {
|
|
17846
17865
|
if (action === "notify" || action === "notify_only") return "notify";
|
|
17847
|
-
if (action === "
|
|
17866
|
+
if (action === "add" || action === "invite") return "add";
|
|
17848
17867
|
return null;
|
|
17849
17868
|
}
|
|
17850
17869
|
function formatActionCommands(action) {
|
|
@@ -19293,7 +19312,7 @@ function buildMentionExecuteCommand(action) {
|
|
|
19293
19312
|
return defineCommand(
|
|
19294
19313
|
{
|
|
19295
19314
|
name: action,
|
|
19296
|
-
description: `${action === "notify" ? "Notify" : "
|
|
19315
|
+
description: `${action === "notify" ? "Notify" : "Add"} unresolved mention targets by resolution id`,
|
|
19297
19316
|
arguments: ["<resolutionIds...>"],
|
|
19298
19317
|
options: [{ flags: "--json", description: "Emit machine-readable JSON" }]
|
|
19299
19318
|
},
|
|
@@ -19320,7 +19339,7 @@ function buildMentionExecuteCommand(action) {
|
|
|
19320
19339
|
}
|
|
19321
19340
|
function registerMentionExecuteCommands(parent, runtimeOptions = {}) {
|
|
19322
19341
|
registerCliCommand(parent, buildMentionExecuteCommand("notify"), runtimeOptions);
|
|
19323
|
-
registerCliCommand(parent, buildMentionExecuteCommand("
|
|
19342
|
+
registerCliCommand(parent, buildMentionExecuteCommand("add"), runtimeOptions);
|
|
19324
19343
|
}
|
|
19325
19344
|
var mentionPendingCommand = defineCommand(
|
|
19326
19345
|
{
|
|
@@ -19390,6 +19409,7 @@ function formatAgentProfile(profile) {
|
|
|
19390
19409
|
`- Display Name: ${profile.displayName ?? "(none)"}`,
|
|
19391
19410
|
`- Description: ${profile.description ?? "(none)"}`,
|
|
19392
19411
|
`- Status: ${profile.status}`,
|
|
19412
|
+
`- Role: ${profile.serverRole}`,
|
|
19393
19413
|
`- Runtime: ${getRuntimeDisplayName(profile.runtime)}`,
|
|
19394
19414
|
`- Model: ${profile.model}`,
|
|
19395
19415
|
`- Reasoning: ${profile.reasoningEffort ?? "medium"}`
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botiverse/raft-daemon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.63.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"raft-daemon": "dist/raft-daemon.js",
|
|
@@ -37,6 +37,8 @@
|
|
|
37
37
|
"lint:publish-package": "node scripts/check-publish-package.mjs",
|
|
38
38
|
"generate:slock-cli-guide": "tsx scripts/generate-slock-cli-guide.ts",
|
|
39
39
|
"check:slock-cli-guide-fresh": "pnpm generate:slock-cli-guide && git diff --exit-code ../../manual/agent-knowledge/raft-cli-overview.md",
|
|
40
|
+
"generate:pi-builtin-models": "tsx scripts/generate-pi-builtin-models.ts",
|
|
41
|
+
"check:pi-builtin-models-fresh": "pnpm generate:pi-builtin-models && git diff --exit-code ../shared/src/piBuiltinModels.generated.ts",
|
|
40
42
|
"release:patch": "npm version patch --no-git-tag-version && cd ../.. && pnpm install --lockfile-only && git add packages/daemon/package.json pnpm-lock.yaml && git commit -m \"chore: bump @botiverse/raft-daemon to v$(node -p \"require('./packages/daemon/package.json').version\")\" && git tag daemon-v$(node -p \"require('./packages/daemon/package.json').version\") && git push && git push --tags",
|
|
41
43
|
"release:minor": "npm version minor --no-git-tag-version && cd ../.. && pnpm install --lockfile-only && git add packages/daemon/package.json pnpm-lock.yaml && git commit -m \"chore: bump @botiverse/raft-daemon to v$(node -p \"require('./packages/daemon/package.json').version\")\" && git tag daemon-v$(node -p \"require('./packages/daemon/package.json').version\") && git push && git push --tags",
|
|
42
44
|
"release:major": "npm version major --no-git-tag-version && cd ../.. && pnpm install --lockfile-only && git add packages/daemon/package.json pnpm-lock.yaml && git commit -m \"chore: bump @botiverse/raft-daemon to v$(node -p \"require('./packages/daemon/package.json').version\")\" && git tag daemon-v$(node -p \"require('./packages/daemon/package.json').version\") && git push && git push --tags",
|