@botiverse/raft-daemon 0.70.2 → 0.70.3
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.
|
@@ -1412,6 +1412,18 @@ function defineTraceFields(definitions) {
|
|
|
1412
1412
|
}
|
|
1413
1413
|
return definitions;
|
|
1414
1414
|
}
|
|
1415
|
+
var TRACE_LIFECYCLE_SHADOW_SIGNAL_SITE_VALUES = [
|
|
1416
|
+
"daemon_ingest",
|
|
1417
|
+
"delivery_ack",
|
|
1418
|
+
"hint_resolution",
|
|
1419
|
+
"lifecycle_plan",
|
|
1420
|
+
"preserve_rebroadcast",
|
|
1421
|
+
"ready_online",
|
|
1422
|
+
"runtime_error",
|
|
1423
|
+
"slock_action_status",
|
|
1424
|
+
"starting_resolve",
|
|
1425
|
+
"synthetic_repair"
|
|
1426
|
+
];
|
|
1415
1427
|
var TRACE_B0_FIELD_DEFINITIONS = defineTraceFields([
|
|
1416
1428
|
{ key: "row_kind", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "stable" },
|
|
1417
1429
|
{ key: "trace_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
@@ -1434,10 +1446,13 @@ var TRACE_B0_FIELD_DEFINITIONS = defineTraceFields([
|
|
|
1434
1446
|
{ key: "route_pattern", fieldClass: "query_axis", placement: "span", valueKind: "route" },
|
|
1435
1447
|
{ key: "caller_kind", fieldClass: "query_axis", placement: "span", valueKind: "closed_enum", enumBinding: "stable" },
|
|
1436
1448
|
{ key: "server_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
1449
|
+
{ key: "channel_id", fieldClass: "query_axis", placement: "span_or_event", valueKind: "identity", highCardinality: true },
|
|
1437
1450
|
{ key: "machine_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
1438
1451
|
{ key: "agent_id", fieldClass: "query_axis", placement: "span_or_event", valueKind: "identity", highCardinality: true },
|
|
1452
|
+
{ key: "job_id", fieldClass: "query_axis", placement: "span_or_event", valueKind: "identity", highCardinality: true },
|
|
1439
1453
|
{ key: "launch_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
1440
1454
|
{ key: "session_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
1455
|
+
{ key: "outcome", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "pending_457" },
|
|
1441
1456
|
{ key: "observation_class", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "pending_457" },
|
|
1442
1457
|
{ key: "action", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "pending_457" },
|
|
1443
1458
|
{ key: "source", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "pending_457" },
|
|
@@ -1456,7 +1471,7 @@ var TRACE_B0_FIELD_DEFINITIONS = defineTraceFields([
|
|
|
1456
1471
|
{ key: "activity_source", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:activity" },
|
|
1457
1472
|
{ key: "status_bucket", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:activity" },
|
|
1458
1473
|
{ key: "shadow_agent_id", fieldClass: "family_query_axis", placement: "event", valueKind: "identity", scope: "family:lifecycle_shadow", highCardinality: true },
|
|
1459
|
-
{ key: "shadow_signal_site", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
1474
|
+
{ key: "shadow_signal_site", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457", enumValues: TRACE_LIFECYCLE_SHADOW_SIGNAL_SITE_VALUES },
|
|
1460
1475
|
{ key: "shadow_observation_class", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
1461
1476
|
{ key: "shadow_prior_projection", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
1462
1477
|
{ key: "shadow_projection", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
@@ -1466,6 +1481,8 @@ var TRACE_B0_FIELD_DEFINITIONS = defineTraceFields([
|
|
|
1466
1481
|
{ key: "shadow_direction", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
1467
1482
|
{ key: "shadow_plan_kind", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
1468
1483
|
{ key: "row_count", fieldClass: "detail", placement: "span_or_event", valueKind: "detail" },
|
|
1484
|
+
{ key: "rows_copied", fieldClass: "detail", placement: "span_or_event", valueKind: "numeric" },
|
|
1485
|
+
{ key: "batch_index", fieldClass: "detail", placement: "span_or_event", valueKind: "numeric" },
|
|
1469
1486
|
{ key: "retry_count", fieldClass: "detail", placement: "span_or_event", valueKind: "detail" },
|
|
1470
1487
|
{ key: "error_message", fieldClass: "detail", placement: "span_or_event", valueKind: "detail", contentRule: "scrub_and_short_retention" },
|
|
1471
1488
|
{ key: "query_text", fieldClass: "content_safety", placement: "span_or_event", valueKind: "content", contentRule: "scrub_and_short_retention" },
|
|
@@ -3327,7 +3344,8 @@ var SUPPORTED_TRANSLATION_LANGUAGE_CODES = [
|
|
|
3327
3344
|
"es",
|
|
3328
3345
|
"fr",
|
|
3329
3346
|
"de",
|
|
3330
|
-
"pt-br"
|
|
3347
|
+
"pt-br",
|
|
3348
|
+
"it"
|
|
3331
3349
|
];
|
|
3332
3350
|
var SUPPORTED_TRANSLATION_LANGUAGE_SET = new Set(
|
|
3333
3351
|
SUPPORTED_TRANSLATION_LANGUAGE_CODES
|
|
@@ -10092,15 +10110,37 @@ var KIMI_SDK_RUNTIME_SESSION_DESCRIPTOR = {
|
|
|
10092
10110
|
busyDelivery: "direct",
|
|
10093
10111
|
postTurn: "keep_alive"
|
|
10094
10112
|
};
|
|
10095
|
-
|
|
10113
|
+
function composeStandingRoleAdditional(standingPrompt, wrapperPath) {
|
|
10114
|
+
const sections = [];
|
|
10115
|
+
if (standingPrompt) {
|
|
10116
|
+
sections.push(standingPrompt);
|
|
10117
|
+
}
|
|
10118
|
+
if (wrapperPath) {
|
|
10119
|
+
sections.push(
|
|
10120
|
+
`## CLI invocation note (Kimi SDK in-process runtime)
|
|
10121
|
+
|
|
10122
|
+
When you run \`raft\` CLI commands from your bash tool, **use this absolute path** because PATH is not pre-injected for the in-process Kimi SDK:
|
|
10123
|
+
|
|
10124
|
+
\`\`\`
|
|
10125
|
+
${wrapperPath}
|
|
10126
|
+
\`\`\`
|
|
10127
|
+
|
|
10128
|
+
So instead of \`raft message send ...\`, run \`${wrapperPath} message send ...\` (every \`raft\` reference in the protocol above maps to this wrapper). The wrapper carries this agent's identity automatically; do not pass auth tokens explicitly.`
|
|
10129
|
+
);
|
|
10130
|
+
}
|
|
10131
|
+
return sections.join("\n\n---\n\n");
|
|
10132
|
+
}
|
|
10133
|
+
async function createKimiAgentSessionForContext(ctx, sessionId, deps = {}) {
|
|
10134
|
+
const createHarnessImpl = deps.createHarness ?? createKimiHarness;
|
|
10135
|
+
const prepareTransportImpl = deps.prepareTransport ?? prepareCliTransport;
|
|
10096
10136
|
const sessionDir = buildKimiSessionDir(ctx.workingDirectory);
|
|
10097
10137
|
mkdirSync2(sessionDir, { recursive: true });
|
|
10098
|
-
const cliTransport = await
|
|
10138
|
+
const cliTransport = await prepareTransportImpl(ctx, { NO_COLOR: "1" });
|
|
10099
10139
|
const spawnEnv = cliTransport.spawnEnv;
|
|
10100
10140
|
const wrapperPath = cliTransport.wrapperPath;
|
|
10101
10141
|
const homeDir = spawnEnv.KIMI_HOME || (process.env.HOME ? path10.join(process.env.HOME, ".kimi") : path10.join(ctx.workingDirectory, ".kimi"));
|
|
10102
10142
|
mkdirSync2(homeDir, { recursive: true });
|
|
10103
|
-
const harness =
|
|
10143
|
+
const harness = createHarnessImpl({
|
|
10104
10144
|
homeDir,
|
|
10105
10145
|
identity: {
|
|
10106
10146
|
userAgentProduct: KIMI_CODE_USER_AGENT_PRODUCT,
|
|
@@ -10109,9 +10149,11 @@ async function createKimiAgentSessionForContext(ctx, sessionId) {
|
|
|
10109
10149
|
}
|
|
10110
10150
|
});
|
|
10111
10151
|
const launchRuntimeFields = runtimeConfigToLaunchFields(hydrateRuntimeConfig(ctx.config));
|
|
10152
|
+
const roleAdditional = composeStandingRoleAdditional(ctx.standingPrompt, wrapperPath);
|
|
10112
10153
|
const sessionFields = {
|
|
10113
10154
|
workDir: ctx.workingDirectory,
|
|
10114
|
-
...launchRuntimeFields.model && launchRuntimeFields.model !== "default" ? { model: launchRuntimeFields.model } : {}
|
|
10155
|
+
...launchRuntimeFields.model && launchRuntimeFields.model !== "default" ? { model: launchRuntimeFields.model } : {},
|
|
10156
|
+
...roleAdditional ? { roleAdditional } : {}
|
|
10115
10157
|
};
|
|
10116
10158
|
let session;
|
|
10117
10159
|
if (ctx.config.sessionId) {
|
|
@@ -10198,25 +10240,7 @@ var KimiSdkRuntimeSession = class {
|
|
|
10198
10240
|
return { ok: true, acceptedAs: "prompt" };
|
|
10199
10241
|
}
|
|
10200
10242
|
composeFirstTurnPreamble(turnText) {
|
|
10201
|
-
|
|
10202
|
-
if (this.ctx.standingPrompt) {
|
|
10203
|
-
sections.push(this.ctx.standingPrompt);
|
|
10204
|
-
}
|
|
10205
|
-
if (this.wrapperPath) {
|
|
10206
|
-
sections.push(
|
|
10207
|
-
`## CLI invocation note (Kimi SDK in-process runtime)
|
|
10208
|
-
|
|
10209
|
-
When you run \`raft\` CLI commands from your bash tool, **use this absolute path** because PATH is not pre-injected for the in-process Kimi SDK:
|
|
10210
|
-
|
|
10211
|
-
\`\`\`
|
|
10212
|
-
${this.wrapperPath}
|
|
10213
|
-
\`\`\`
|
|
10214
|
-
|
|
10215
|
-
So instead of \`raft message send ...\`, run \`${this.wrapperPath} message send ...\` (every \`raft\` reference in the protocol above maps to this wrapper). The wrapper carries this agent's identity automatically; do not pass auth tokens explicitly.`
|
|
10216
|
-
);
|
|
10217
|
-
}
|
|
10218
|
-
sections.push(turnText);
|
|
10219
|
-
return sections.join("\n\n---\n\n");
|
|
10243
|
+
return turnText;
|
|
10220
10244
|
}
|
|
10221
10245
|
send(input) {
|
|
10222
10246
|
if (this.didClose) return { ok: false, reason: "closed" };
|
|
@@ -10372,6 +10396,13 @@ function detectKimiSdkModels(home = resolveKimiHome(), ctx = {}) {
|
|
|
10372
10396
|
}
|
|
10373
10397
|
var KimiSdkDriver = class {
|
|
10374
10398
|
id = "kimi-sdk";
|
|
10399
|
+
/**
|
|
10400
|
+
* Genuine native support: the standing prompt (and wrapper CLI note) are
|
|
10401
|
+
* mounted via the Kimi SDK's `roleAdditional` session option, which renders
|
|
10402
|
+
* into the base system prompt on every request and therefore survives context
|
|
10403
|
+
* compaction — no per-turn re-assertion needed. See
|
|
10404
|
+
* composeStandingRoleAdditional + createKimiAgentSessionForContext.
|
|
10405
|
+
*/
|
|
10375
10406
|
supportsNativeStandingPrompt = true;
|
|
10376
10407
|
lifecycle = {
|
|
10377
10408
|
kind: "persistent",
|
|
@@ -22361,7 +22392,7 @@ function resolveSlockCliPathOrEmpty(moduleUrl = import.meta.url) {
|
|
|
22361
22392
|
}
|
|
22362
22393
|
async function runBundledSlockCli(argv) {
|
|
22363
22394
|
process.argv = [process.execPath, "slock", ...argv];
|
|
22364
|
-
await import("./dist-
|
|
22395
|
+
await import("./dist-GL6ZFVL7.js");
|
|
22365
22396
|
}
|
|
22366
22397
|
function detectRuntimes(tracer = noopTracer) {
|
|
22367
22398
|
const ids = [];
|
package/dist/cli/index.js
CHANGED
|
@@ -28823,6 +28823,18 @@ function defineTraceFields(definitions) {
|
|
|
28823
28823
|
}
|
|
28824
28824
|
return definitions;
|
|
28825
28825
|
}
|
|
28826
|
+
var TRACE_LIFECYCLE_SHADOW_SIGNAL_SITE_VALUES = [
|
|
28827
|
+
"daemon_ingest",
|
|
28828
|
+
"delivery_ack",
|
|
28829
|
+
"hint_resolution",
|
|
28830
|
+
"lifecycle_plan",
|
|
28831
|
+
"preserve_rebroadcast",
|
|
28832
|
+
"ready_online",
|
|
28833
|
+
"runtime_error",
|
|
28834
|
+
"slock_action_status",
|
|
28835
|
+
"starting_resolve",
|
|
28836
|
+
"synthetic_repair"
|
|
28837
|
+
];
|
|
28826
28838
|
var TRACE_B0_FIELD_DEFINITIONS = defineTraceFields([
|
|
28827
28839
|
{ key: "row_kind", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "stable" },
|
|
28828
28840
|
{ key: "trace_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
@@ -28845,10 +28857,13 @@ var TRACE_B0_FIELD_DEFINITIONS = defineTraceFields([
|
|
|
28845
28857
|
{ key: "route_pattern", fieldClass: "query_axis", placement: "span", valueKind: "route" },
|
|
28846
28858
|
{ key: "caller_kind", fieldClass: "query_axis", placement: "span", valueKind: "closed_enum", enumBinding: "stable" },
|
|
28847
28859
|
{ key: "server_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
28860
|
+
{ key: "channel_id", fieldClass: "query_axis", placement: "span_or_event", valueKind: "identity", highCardinality: true },
|
|
28848
28861
|
{ key: "machine_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
28849
28862
|
{ key: "agent_id", fieldClass: "query_axis", placement: "span_or_event", valueKind: "identity", highCardinality: true },
|
|
28863
|
+
{ key: "job_id", fieldClass: "query_axis", placement: "span_or_event", valueKind: "identity", highCardinality: true },
|
|
28850
28864
|
{ key: "launch_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
28851
28865
|
{ key: "session_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
28866
|
+
{ key: "outcome", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "pending_457" },
|
|
28852
28867
|
{ key: "observation_class", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "pending_457" },
|
|
28853
28868
|
{ key: "action", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "pending_457" },
|
|
28854
28869
|
{ key: "source", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "pending_457" },
|
|
@@ -28867,7 +28882,7 @@ var TRACE_B0_FIELD_DEFINITIONS = defineTraceFields([
|
|
|
28867
28882
|
{ key: "activity_source", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:activity" },
|
|
28868
28883
|
{ key: "status_bucket", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:activity" },
|
|
28869
28884
|
{ key: "shadow_agent_id", fieldClass: "family_query_axis", placement: "event", valueKind: "identity", scope: "family:lifecycle_shadow", highCardinality: true },
|
|
28870
|
-
{ key: "shadow_signal_site", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
28885
|
+
{ key: "shadow_signal_site", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457", enumValues: TRACE_LIFECYCLE_SHADOW_SIGNAL_SITE_VALUES },
|
|
28871
28886
|
{ key: "shadow_observation_class", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
28872
28887
|
{ key: "shadow_prior_projection", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
28873
28888
|
{ key: "shadow_projection", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
@@ -28877,6 +28892,8 @@ var TRACE_B0_FIELD_DEFINITIONS = defineTraceFields([
|
|
|
28877
28892
|
{ key: "shadow_direction", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
28878
28893
|
{ key: "shadow_plan_kind", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
28879
28894
|
{ key: "row_count", fieldClass: "detail", placement: "span_or_event", valueKind: "detail" },
|
|
28895
|
+
{ key: "rows_copied", fieldClass: "detail", placement: "span_or_event", valueKind: "numeric" },
|
|
28896
|
+
{ key: "batch_index", fieldClass: "detail", placement: "span_or_event", valueKind: "numeric" },
|
|
28880
28897
|
{ key: "retry_count", fieldClass: "detail", placement: "span_or_event", valueKind: "detail" },
|
|
28881
28898
|
{ key: "error_message", fieldClass: "detail", placement: "span_or_event", valueKind: "detail", contentRule: "scrub_and_short_retention" },
|
|
28882
28899
|
{ key: "query_text", fieldClass: "content_safety", placement: "span_or_event", valueKind: "content", contentRule: "scrub_and_short_retention" },
|
|
@@ -44868,7 +44885,8 @@ var SUPPORTED_TRANSLATION_LANGUAGE_CODES = [
|
|
|
44868
44885
|
"es",
|
|
44869
44886
|
"fr",
|
|
44870
44887
|
"de",
|
|
44871
|
-
"pt-br"
|
|
44888
|
+
"pt-br",
|
|
44889
|
+
"it"
|
|
44872
44890
|
];
|
|
44873
44891
|
var SUPPORTED_TRANSLATION_LANGUAGE_SET = new Set(
|
|
44874
44892
|
SUPPORTED_TRANSLATION_LANGUAGE_CODES
|
package/dist/core.js
CHANGED
|
@@ -28565,6 +28565,18 @@ function defineTraceFields(definitions) {
|
|
|
28565
28565
|
}
|
|
28566
28566
|
return definitions;
|
|
28567
28567
|
}
|
|
28568
|
+
var TRACE_LIFECYCLE_SHADOW_SIGNAL_SITE_VALUES = [
|
|
28569
|
+
"daemon_ingest",
|
|
28570
|
+
"delivery_ack",
|
|
28571
|
+
"hint_resolution",
|
|
28572
|
+
"lifecycle_plan",
|
|
28573
|
+
"preserve_rebroadcast",
|
|
28574
|
+
"ready_online",
|
|
28575
|
+
"runtime_error",
|
|
28576
|
+
"slock_action_status",
|
|
28577
|
+
"starting_resolve",
|
|
28578
|
+
"synthetic_repair"
|
|
28579
|
+
];
|
|
28568
28580
|
var TRACE_B0_FIELD_DEFINITIONS = defineTraceFields([
|
|
28569
28581
|
{ key: "row_kind", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "stable" },
|
|
28570
28582
|
{ key: "trace_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
@@ -28587,10 +28599,13 @@ var TRACE_B0_FIELD_DEFINITIONS = defineTraceFields([
|
|
|
28587
28599
|
{ key: "route_pattern", fieldClass: "query_axis", placement: "span", valueKind: "route" },
|
|
28588
28600
|
{ key: "caller_kind", fieldClass: "query_axis", placement: "span", valueKind: "closed_enum", enumBinding: "stable" },
|
|
28589
28601
|
{ key: "server_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
28602
|
+
{ key: "channel_id", fieldClass: "query_axis", placement: "span_or_event", valueKind: "identity", highCardinality: true },
|
|
28590
28603
|
{ key: "machine_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
28591
28604
|
{ key: "agent_id", fieldClass: "query_axis", placement: "span_or_event", valueKind: "identity", highCardinality: true },
|
|
28605
|
+
{ key: "job_id", fieldClass: "query_axis", placement: "span_or_event", valueKind: "identity", highCardinality: true },
|
|
28592
28606
|
{ key: "launch_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
28593
28607
|
{ key: "session_id", fieldClass: "query_axis", placement: "span", valueKind: "identity", highCardinality: true },
|
|
28608
|
+
{ key: "outcome", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "pending_457" },
|
|
28594
28609
|
{ key: "observation_class", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "pending_457" },
|
|
28595
28610
|
{ key: "action", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "pending_457" },
|
|
28596
28611
|
{ key: "source", fieldClass: "query_axis", placement: "span_or_event", valueKind: "closed_enum", enumBinding: "pending_457" },
|
|
@@ -28609,7 +28624,7 @@ var TRACE_B0_FIELD_DEFINITIONS = defineTraceFields([
|
|
|
28609
28624
|
{ key: "activity_source", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:activity" },
|
|
28610
28625
|
{ key: "status_bucket", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:activity" },
|
|
28611
28626
|
{ key: "shadow_agent_id", fieldClass: "family_query_axis", placement: "event", valueKind: "identity", scope: "family:lifecycle_shadow", highCardinality: true },
|
|
28612
|
-
{ key: "shadow_signal_site", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
28627
|
+
{ key: "shadow_signal_site", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457", enumValues: TRACE_LIFECYCLE_SHADOW_SIGNAL_SITE_VALUES },
|
|
28613
28628
|
{ key: "shadow_observation_class", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
28614
28629
|
{ key: "shadow_prior_projection", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
28615
28630
|
{ key: "shadow_projection", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
@@ -28619,6 +28634,8 @@ var TRACE_B0_FIELD_DEFINITIONS = defineTraceFields([
|
|
|
28619
28634
|
{ key: "shadow_direction", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
28620
28635
|
{ key: "shadow_plan_kind", fieldClass: "family_query_axis", placement: "event", valueKind: "closed_enum", scope: "family:lifecycle_shadow", enumBinding: "pending_457" },
|
|
28621
28636
|
{ key: "row_count", fieldClass: "detail", placement: "span_or_event", valueKind: "detail" },
|
|
28637
|
+
{ key: "rows_copied", fieldClass: "detail", placement: "span_or_event", valueKind: "numeric" },
|
|
28638
|
+
{ key: "batch_index", fieldClass: "detail", placement: "span_or_event", valueKind: "numeric" },
|
|
28622
28639
|
{ key: "retry_count", fieldClass: "detail", placement: "span_or_event", valueKind: "detail" },
|
|
28623
28640
|
{ key: "error_message", fieldClass: "detail", placement: "span_or_event", valueKind: "detail", contentRule: "scrub_and_short_retention" },
|
|
28624
28641
|
{ key: "query_text", fieldClass: "content_safety", placement: "span_or_event", valueKind: "content", contentRule: "scrub_and_short_retention" },
|
|
@@ -44406,7 +44423,8 @@ var SUPPORTED_TRANSLATION_LANGUAGE_CODES = [
|
|
|
44406
44423
|
"es",
|
|
44407
44424
|
"fr",
|
|
44408
44425
|
"de",
|
|
44409
|
-
"pt-br"
|
|
44426
|
+
"pt-br",
|
|
44427
|
+
"it"
|
|
44410
44428
|
];
|
|
44411
44429
|
var SUPPORTED_TRANSLATION_LANGUAGE_SET = new Set(
|
|
44412
44430
|
SUPPORTED_TRANSLATION_LANGUAGE_CODES
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botiverse/raft-daemon",
|
|
3
|
-
"version": "0.70.
|
|
3
|
+
"version": "0.70.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"raft-daemon": "dist/raft-daemon.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"release:alpha": "npm version prerelease --preid=alpha --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"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@botiverse/kimi-code-sdk": "0.20.1-botiverse.
|
|
48
|
+
"@botiverse/kimi-code-sdk": "0.20.1-botiverse.1",
|
|
49
49
|
"@earendil-works/pi-ai": "0.80.3",
|
|
50
50
|
"@earendil-works/pi-coding-agent": "0.80.3",
|
|
51
51
|
"@jackwener/opencli": "^1.8.3",
|