@elizaos/plugin-bootstrap 1.5.8-alpha.8 → 1.5.8-beta.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"imageGeneration.d.ts","sourceRoot":"","sources":["../../src/actions/imageGeneration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAYZ,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"imageGeneration.d.ts","sourceRoot":"","sources":["../../src/actions/imageGeneration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAYZ,MAAM,eAAe,CAAC;AAuBvB;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAkN3B,MAAM,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAYL,KAAK,aAAa,EAIlB,KAAK,KAAK,EAOV,KAAK,MAAM,EAKX,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAYL,KAAK,aAAa,EAIlB,KAAK,KAAK,EAOV,KAAK,MAAM,EAKX,KAAK,IAAI,EAUV,MAAM,eAAe,CAAC;AAUvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AAErC;;;;;GAKG;AACH,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAyBF;;GAEG;AA0CH;;;;;GAKG;AACH;;;;GAIG;AACH,wBAAsB,cAAc,CAAC,WAAW,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAsB/E;AAED;;;;;;;GAOG;AACH,wBAAsB,kBAAkB,CACtC,WAAW,EAAE,KAAK,EAAE,EACpB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,KAAK,EAAE,CAAC,CAyHlB;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,aAAa,EACtB,IAAI,CAAC,EAAE,IAAI,EACX,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAyCT;AA2mDD,eAAO,MAAM,eAAe,EAAE,MA0C7B,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -16,51 +16,6 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
16
16
|
};
|
|
17
17
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
18
18
|
|
|
19
|
-
// ../../node_modules/dedent/dist/dedent.js
|
|
20
|
-
var require_dedent = __commonJS((exports, module) => {
|
|
21
|
-
function dedent(strings) {
|
|
22
|
-
var raw = undefined;
|
|
23
|
-
if (typeof strings === "string") {
|
|
24
|
-
raw = [strings];
|
|
25
|
-
} else {
|
|
26
|
-
raw = strings.raw;
|
|
27
|
-
}
|
|
28
|
-
var result = "";
|
|
29
|
-
for (var i = 0;i < raw.length; i++) {
|
|
30
|
-
result += raw[i].replace(/\\\n[ \t]*/g, "").replace(/\\`/g, "`");
|
|
31
|
-
if (i < (arguments.length <= 1 ? 0 : arguments.length - 1)) {
|
|
32
|
-
result += arguments.length <= i + 1 ? undefined : arguments[i + 1];
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
var lines = result.split(`
|
|
36
|
-
`);
|
|
37
|
-
var mindent = null;
|
|
38
|
-
lines.forEach(function(l) {
|
|
39
|
-
var m = l.match(/^(\s+)\S+/);
|
|
40
|
-
if (m) {
|
|
41
|
-
var indent = m[1].length;
|
|
42
|
-
if (!mindent) {
|
|
43
|
-
mindent = indent;
|
|
44
|
-
} else {
|
|
45
|
-
mindent = Math.min(mindent, indent);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
if (mindent !== null) {
|
|
50
|
-
result = lines.map(function(l) {
|
|
51
|
-
return l[0] === " " ? l.slice(mindent) : l;
|
|
52
|
-
}).join(`
|
|
53
|
-
`);
|
|
54
|
-
}
|
|
55
|
-
result = result.trim();
|
|
56
|
-
return result.replace(/\\n/g, `
|
|
57
|
-
`);
|
|
58
|
-
}
|
|
59
|
-
if (typeof module !== "undefined") {
|
|
60
|
-
module.exports = dedent;
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
|
|
64
19
|
// ../../node_modules/unique-names-generator/dist/index.js
|
|
65
20
|
var require_dist = __commonJS((exports) => {
|
|
66
21
|
var a = (a2) => {
|
|
@@ -204,10 +159,13 @@ import {
|
|
|
204
159
|
parseKeyValueXml,
|
|
205
160
|
logger
|
|
206
161
|
} from "@elizaos/core";
|
|
207
|
-
var imageGenerationTemplate = `# Task: Generate an image prompt
|
|
162
|
+
var imageGenerationTemplate = `# Task: Generate an image prompt based on the user's request.
|
|
208
163
|
{{providers}}
|
|
209
164
|
# Instructions:
|
|
210
|
-
|
|
165
|
+
Based on the user's message in the conversation, write a clear, concise, and visually descriptive prompt for image generation. Focus only on what the user wants to see, extract the key visual elements from the request, and formulate a detailed prompt suitable for image generation.
|
|
166
|
+
|
|
167
|
+
# Recent conversation:
|
|
168
|
+
{{recentMessages}}
|
|
211
169
|
|
|
212
170
|
Your response should be formatted in XML like this:
|
|
213
171
|
<response>
|
|
@@ -2708,7 +2666,6 @@ var sendMessageAction = {
|
|
|
2708
2666
|
]
|
|
2709
2667
|
};
|
|
2710
2668
|
// src/actions/settings.ts
|
|
2711
|
-
var import_dedent = __toESM(require_dedent(), 1);
|
|
2712
2669
|
import {
|
|
2713
2670
|
ChannelType as ChannelType2,
|
|
2714
2671
|
composePrompt as composePrompt3,
|
|
@@ -2719,6 +2676,104 @@ import {
|
|
|
2719
2676
|
ModelType as ModelType8,
|
|
2720
2677
|
parseKeyValueXml as parseKeyValueXml6
|
|
2721
2678
|
} from "@elizaos/core";
|
|
2679
|
+
|
|
2680
|
+
// ../../node_modules/dedent/dist/dedent.mjs
|
|
2681
|
+
function ownKeys(object, enumerableOnly) {
|
|
2682
|
+
var keys = Object.keys(object);
|
|
2683
|
+
if (Object.getOwnPropertySymbols) {
|
|
2684
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
2685
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
2686
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
2687
|
+
})), keys.push.apply(keys, symbols);
|
|
2688
|
+
}
|
|
2689
|
+
return keys;
|
|
2690
|
+
}
|
|
2691
|
+
function _objectSpread(target) {
|
|
2692
|
+
for (var i = 1;i < arguments.length; i++) {
|
|
2693
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
2694
|
+
i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
|
|
2695
|
+
_defineProperty(target, key, source[key]);
|
|
2696
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
2697
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
2698
|
+
});
|
|
2699
|
+
}
|
|
2700
|
+
return target;
|
|
2701
|
+
}
|
|
2702
|
+
function _defineProperty(obj, key, value) {
|
|
2703
|
+
key = _toPropertyKey(key);
|
|
2704
|
+
if (key in obj) {
|
|
2705
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
2706
|
+
} else {
|
|
2707
|
+
obj[key] = value;
|
|
2708
|
+
}
|
|
2709
|
+
return obj;
|
|
2710
|
+
}
|
|
2711
|
+
function _toPropertyKey(arg) {
|
|
2712
|
+
var key = _toPrimitive(arg, "string");
|
|
2713
|
+
return typeof key === "symbol" ? key : String(key);
|
|
2714
|
+
}
|
|
2715
|
+
function _toPrimitive(input, hint) {
|
|
2716
|
+
if (typeof input !== "object" || input === null)
|
|
2717
|
+
return input;
|
|
2718
|
+
var prim = input[Symbol.toPrimitive];
|
|
2719
|
+
if (prim !== undefined) {
|
|
2720
|
+
var res = prim.call(input, hint || "default");
|
|
2721
|
+
if (typeof res !== "object")
|
|
2722
|
+
return res;
|
|
2723
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2724
|
+
}
|
|
2725
|
+
return (hint === "string" ? String : Number)(input);
|
|
2726
|
+
}
|
|
2727
|
+
var dedent = createDedent({});
|
|
2728
|
+
var dedent_default = dedent;
|
|
2729
|
+
function createDedent(options) {
|
|
2730
|
+
dedent2.withOptions = (newOptions) => createDedent(_objectSpread(_objectSpread({}, options), newOptions));
|
|
2731
|
+
return dedent2;
|
|
2732
|
+
function dedent2(strings, ...values) {
|
|
2733
|
+
const raw = typeof strings === "string" ? [strings] : strings.raw;
|
|
2734
|
+
const {
|
|
2735
|
+
escapeSpecialCharacters = Array.isArray(strings)
|
|
2736
|
+
} = options;
|
|
2737
|
+
let result = "";
|
|
2738
|
+
for (let i = 0;i < raw.length; i++) {
|
|
2739
|
+
let next = raw[i];
|
|
2740
|
+
if (escapeSpecialCharacters) {
|
|
2741
|
+
next = next.replace(/\\\n[ \t]*/g, "").replace(/\\`/g, "`").replace(/\\\$/g, "$").replace(/\\\{/g, "{");
|
|
2742
|
+
}
|
|
2743
|
+
result += next;
|
|
2744
|
+
if (i < values.length) {
|
|
2745
|
+
result += values[i];
|
|
2746
|
+
}
|
|
2747
|
+
}
|
|
2748
|
+
const lines = result.split(`
|
|
2749
|
+
`);
|
|
2750
|
+
let mindent = null;
|
|
2751
|
+
for (const l of lines) {
|
|
2752
|
+
const m = l.match(/^(\s+)\S+/);
|
|
2753
|
+
if (m) {
|
|
2754
|
+
const indent = m[1].length;
|
|
2755
|
+
if (!mindent) {
|
|
2756
|
+
mindent = indent;
|
|
2757
|
+
} else {
|
|
2758
|
+
mindent = Math.min(mindent, indent);
|
|
2759
|
+
}
|
|
2760
|
+
}
|
|
2761
|
+
}
|
|
2762
|
+
if (mindent !== null) {
|
|
2763
|
+
const m = mindent;
|
|
2764
|
+
result = lines.map((l) => l[0] === " " || l[0] === "\t" ? l.slice(m) : l).join(`
|
|
2765
|
+
`);
|
|
2766
|
+
}
|
|
2767
|
+
result = result.trim();
|
|
2768
|
+
if (escapeSpecialCharacters) {
|
|
2769
|
+
result = result.replace(/\\n/g, `
|
|
2770
|
+
`);
|
|
2771
|
+
}
|
|
2772
|
+
return result;
|
|
2773
|
+
}
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2776
|
+
// src/actions/settings.ts
|
|
2722
2777
|
var messageCompletionFooter = `
|
|
2723
2778
|
# Instructions: Write the next message for {{agentName}}. Include the appropriate action from the list: {{actionNames}}
|
|
2724
2779
|
|
|
@@ -2887,7 +2942,7 @@ async function extractSettingValues(runtime, _message, state, worldSettings) {
|
|
|
2887
2942
|
return `${key}: ${setting.description} ${requiredStr}`;
|
|
2888
2943
|
}).join(`
|
|
2889
2944
|
`);
|
|
2890
|
-
const basePrompt =
|
|
2945
|
+
const basePrompt = dedent_default`
|
|
2891
2946
|
I need to extract settings values from the user's message.
|
|
2892
2947
|
|
|
2893
2948
|
Available settings:
|
|
@@ -6886,7 +6941,7 @@ class EmbeddingGenerationService extends Service2 {
|
|
|
6886
6941
|
this.startProcessing();
|
|
6887
6942
|
}
|
|
6888
6943
|
async handleEmbeddingRequest(payload) {
|
|
6889
|
-
const { memory, priority = "normal", retryCount = 0, maxRetries = 3 } = payload;
|
|
6944
|
+
const { memory, priority = "normal", retryCount = 0, maxRetries = 3, runId } = payload;
|
|
6890
6945
|
if (memory.embedding) {
|
|
6891
6946
|
logger21.debug("[EmbeddingService] Memory already has embeddings, skipping");
|
|
6892
6947
|
return;
|
|
@@ -6900,7 +6955,8 @@ class EmbeddingGenerationService extends Service2 {
|
|
|
6900
6955
|
priority,
|
|
6901
6956
|
retryCount,
|
|
6902
6957
|
maxRetries,
|
|
6903
|
-
addedAt: Date.now()
|
|
6958
|
+
addedAt: Date.now(),
|
|
6959
|
+
runId
|
|
6904
6960
|
};
|
|
6905
6961
|
this.insertItemByPriority(queueItem);
|
|
6906
6962
|
logger21.debug(`[EmbeddingService] Added memory to queue. Queue size: ${this.queue.length}`);
|
|
@@ -6981,6 +7037,18 @@ class EmbeddingGenerationService extends Service2 {
|
|
|
6981
7037
|
this.insertItemByPriority(item);
|
|
6982
7038
|
logger21.debug(`[EmbeddingService] Re-queued item for retry (${item.retryCount}/${item.maxRetries})`);
|
|
6983
7039
|
} else {
|
|
7040
|
+
await this.runtime.log({
|
|
7041
|
+
entityId: this.runtime.agentId,
|
|
7042
|
+
roomId: item.memory.roomId || this.runtime.agentId,
|
|
7043
|
+
type: "embedding_event",
|
|
7044
|
+
body: {
|
|
7045
|
+
runId: item.runId,
|
|
7046
|
+
memoryId: item.memory.id,
|
|
7047
|
+
status: "failed",
|
|
7048
|
+
error: error instanceof Error ? error.message : String(error),
|
|
7049
|
+
source: "embeddingService"
|
|
7050
|
+
}
|
|
7051
|
+
});
|
|
6984
7052
|
await this.runtime.emitEvent(EventType.EMBEDDING_GENERATION_FAILED, {
|
|
6985
7053
|
runtime: this.runtime,
|
|
6986
7054
|
memory: item.memory,
|
|
@@ -7013,6 +7081,18 @@ class EmbeddingGenerationService extends Service2 {
|
|
|
7013
7081
|
id: memory.id,
|
|
7014
7082
|
embedding
|
|
7015
7083
|
});
|
|
7084
|
+
await this.runtime.log({
|
|
7085
|
+
entityId: this.runtime.agentId,
|
|
7086
|
+
roomId: memory.roomId || this.runtime.agentId,
|
|
7087
|
+
type: "embedding_event",
|
|
7088
|
+
body: {
|
|
7089
|
+
runId: item.runId,
|
|
7090
|
+
memoryId: memory.id,
|
|
7091
|
+
status: "completed",
|
|
7092
|
+
duration,
|
|
7093
|
+
source: "embeddingService"
|
|
7094
|
+
}
|
|
7095
|
+
});
|
|
7016
7096
|
await this.runtime.emitEvent(EventType.EMBEDDING_GENERATION_COMPLETED, {
|
|
7017
7097
|
runtime: this.runtime,
|
|
7018
7098
|
memory: { ...memory, embedding },
|
|
@@ -7704,7 +7784,7 @@ async function runMultiStepCore({ runtime, message, state, callback }) {
|
|
|
7704
7784
|
let responseContent = null;
|
|
7705
7785
|
if (summary?.text) {
|
|
7706
7786
|
responseContent = {
|
|
7707
|
-
actions: ["
|
|
7787
|
+
actions: ["MULTI_STEP_SUMMARY"],
|
|
7708
7788
|
text: summary.text,
|
|
7709
7789
|
thought: summary.thought || "Final user-facing message after task completion.",
|
|
7710
7790
|
simple: true
|
|
@@ -8139,21 +8219,47 @@ var events = {
|
|
|
8139
8219
|
[EventType2.ACTION_STARTED]: [
|
|
8140
8220
|
async (payload) => {
|
|
8141
8221
|
try {
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
|
|
8222
|
+
if (payload.content?.source === "client_chat") {
|
|
8223
|
+
const messageBusService = payload.runtime.getService("message-bus-service");
|
|
8224
|
+
if (messageBusService) {
|
|
8225
|
+
await messageBusService.notifyActionStart(payload.roomId, payload.world, payload.content, payload.messageId);
|
|
8226
|
+
}
|
|
8145
8227
|
}
|
|
8146
8228
|
} catch (error) {
|
|
8147
8229
|
logger22.error(`[Bootstrap] Error sending refetch request: ${error}`);
|
|
8148
8230
|
}
|
|
8231
|
+
},
|
|
8232
|
+
async (payload) => {
|
|
8233
|
+
try {
|
|
8234
|
+
await payload.runtime.log({
|
|
8235
|
+
entityId: payload.runtime.agentId,
|
|
8236
|
+
roomId: payload.roomId,
|
|
8237
|
+
type: "action_event",
|
|
8238
|
+
body: {
|
|
8239
|
+
runId: payload.content?.runId,
|
|
8240
|
+
actionId: payload.content?.actionId,
|
|
8241
|
+
actionName: payload.content?.actions?.[0],
|
|
8242
|
+
roomId: payload.roomId,
|
|
8243
|
+
messageId: payload.messageId,
|
|
8244
|
+
timestamp: Date.now(),
|
|
8245
|
+
planStep: payload.content?.planStep,
|
|
8246
|
+
source: "actionHandler"
|
|
8247
|
+
}
|
|
8248
|
+
});
|
|
8249
|
+
logger22.debug(`[Bootstrap] Logged ACTION_STARTED event for action ${payload.content?.actions?.[0]}`);
|
|
8250
|
+
} catch (error) {
|
|
8251
|
+
logger22.error(`[Bootstrap] Failed to log ACTION_STARTED event: ${error}`);
|
|
8252
|
+
}
|
|
8149
8253
|
}
|
|
8150
8254
|
],
|
|
8151
8255
|
[EventType2.ACTION_COMPLETED]: [
|
|
8152
8256
|
async (payload) => {
|
|
8153
8257
|
try {
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
|
|
8258
|
+
if (payload.content?.source === "client_chat") {
|
|
8259
|
+
const messageBusService = payload.runtime.getService("message-bus-service");
|
|
8260
|
+
if (messageBusService) {
|
|
8261
|
+
await messageBusService.notifyActionUpdate(payload.roomId, payload.world, payload.content, payload.messageId);
|
|
8262
|
+
}
|
|
8157
8263
|
}
|
|
8158
8264
|
} catch (error) {
|
|
8159
8265
|
logger22.error(`[Bootstrap] Error sending refetch request: ${error}`);
|
|
@@ -8171,6 +8277,81 @@ var events = {
|
|
|
8171
8277
|
logger22.debug(`[Bootstrap] Evaluator ${status}: ${payload.evaluatorName} (${payload.evaluatorId})`);
|
|
8172
8278
|
}
|
|
8173
8279
|
],
|
|
8280
|
+
[EventType2.RUN_STARTED]: [
|
|
8281
|
+
async (payload) => {
|
|
8282
|
+
try {
|
|
8283
|
+
await payload.runtime.log({
|
|
8284
|
+
entityId: payload.entityId,
|
|
8285
|
+
roomId: payload.roomId,
|
|
8286
|
+
type: "run_event",
|
|
8287
|
+
body: {
|
|
8288
|
+
runId: payload.runId,
|
|
8289
|
+
status: payload.status,
|
|
8290
|
+
messageId: payload.messageId,
|
|
8291
|
+
roomId: payload.roomId,
|
|
8292
|
+
entityId: payload.entityId,
|
|
8293
|
+
startTime: payload.startTime,
|
|
8294
|
+
source: payload.source || "unknown"
|
|
8295
|
+
}
|
|
8296
|
+
});
|
|
8297
|
+
logger22.debug(`[Bootstrap] Logged RUN_STARTED event for run ${payload.runId}`);
|
|
8298
|
+
} catch (error) {
|
|
8299
|
+
logger22.error(`[Bootstrap] Failed to log RUN_STARTED event: ${error}`);
|
|
8300
|
+
}
|
|
8301
|
+
}
|
|
8302
|
+
],
|
|
8303
|
+
[EventType2.RUN_ENDED]: [
|
|
8304
|
+
async (payload) => {
|
|
8305
|
+
try {
|
|
8306
|
+
await payload.runtime.log({
|
|
8307
|
+
entityId: payload.entityId,
|
|
8308
|
+
roomId: payload.roomId,
|
|
8309
|
+
type: "run_event",
|
|
8310
|
+
body: {
|
|
8311
|
+
runId: payload.runId,
|
|
8312
|
+
status: payload.status,
|
|
8313
|
+
messageId: payload.messageId,
|
|
8314
|
+
roomId: payload.roomId,
|
|
8315
|
+
entityId: payload.entityId,
|
|
8316
|
+
startTime: payload.startTime,
|
|
8317
|
+
endTime: payload.endTime,
|
|
8318
|
+
duration: payload.duration,
|
|
8319
|
+
error: payload.error,
|
|
8320
|
+
source: payload.source || "unknown"
|
|
8321
|
+
}
|
|
8322
|
+
});
|
|
8323
|
+
logger22.debug(`[Bootstrap] Logged RUN_ENDED event for run ${payload.runId} with status ${payload.status}`);
|
|
8324
|
+
} catch (error) {
|
|
8325
|
+
logger22.error(`[Bootstrap] Failed to log RUN_ENDED event: ${error}`);
|
|
8326
|
+
}
|
|
8327
|
+
}
|
|
8328
|
+
],
|
|
8329
|
+
[EventType2.RUN_TIMEOUT]: [
|
|
8330
|
+
async (payload) => {
|
|
8331
|
+
try {
|
|
8332
|
+
await payload.runtime.log({
|
|
8333
|
+
entityId: payload.entityId,
|
|
8334
|
+
roomId: payload.roomId,
|
|
8335
|
+
type: "run_event",
|
|
8336
|
+
body: {
|
|
8337
|
+
runId: payload.runId,
|
|
8338
|
+
status: payload.status,
|
|
8339
|
+
messageId: payload.messageId,
|
|
8340
|
+
roomId: payload.roomId,
|
|
8341
|
+
entityId: payload.entityId,
|
|
8342
|
+
startTime: payload.startTime,
|
|
8343
|
+
endTime: payload.endTime,
|
|
8344
|
+
duration: payload.duration,
|
|
8345
|
+
error: payload.error,
|
|
8346
|
+
source: payload.source || "unknown"
|
|
8347
|
+
}
|
|
8348
|
+
});
|
|
8349
|
+
logger22.debug(`[Bootstrap] Logged RUN_TIMEOUT event for run ${payload.runId}`);
|
|
8350
|
+
} catch (error) {
|
|
8351
|
+
logger22.error(`[Bootstrap] Failed to log RUN_TIMEOUT event: ${error}`);
|
|
8352
|
+
}
|
|
8353
|
+
}
|
|
8354
|
+
],
|
|
8174
8355
|
CONTROL_MESSAGE: [controlMessageHandler]
|
|
8175
8356
|
};
|
|
8176
8357
|
var bootstrapPlugin = {
|
|
@@ -8253,5 +8434,5 @@ export {
|
|
|
8253
8434
|
actionStateProvider
|
|
8254
8435
|
};
|
|
8255
8436
|
|
|
8256
|
-
//# debugId=
|
|
8437
|
+
//# debugId=16B0E18420BB7D6964756E2164756E21
|
|
8257
8438
|
//# sourceMappingURL=index.js.map
|