@mozaik-ai/core 4.2.0-beta.13 → 4.2.0-beta.14
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/index.d.mts +31 -1
- package/dist/index.d.ts +31 -1
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -546,6 +546,15 @@ var CompleteAction = class extends LoopAction {
|
|
|
546
546
|
return { type: "complete", reason: this.reason };
|
|
547
547
|
}
|
|
548
548
|
};
|
|
549
|
+
var WaitAction = class extends LoopAction {
|
|
550
|
+
constructor(reason) {
|
|
551
|
+
super();
|
|
552
|
+
this.reason = reason;
|
|
553
|
+
}
|
|
554
|
+
execute() {
|
|
555
|
+
return { type: "wait", reason: this.reason };
|
|
556
|
+
}
|
|
557
|
+
};
|
|
549
558
|
|
|
550
559
|
// src/domain/agent/loop/rule.ts
|
|
551
560
|
var LoopRule = class _LoopRule {
|
|
@@ -2572,9 +2581,17 @@ function defineAgentModule(config) {
|
|
|
2572
2581
|
}
|
|
2573
2582
|
export {
|
|
2574
2583
|
Agent,
|
|
2584
|
+
AwaitingInference,
|
|
2585
|
+
AwaitingRequest,
|
|
2586
|
+
AwaitingToolOutput,
|
|
2587
|
+
CompleteAction,
|
|
2588
|
+
InferenceAction,
|
|
2575
2589
|
Participant,
|
|
2590
|
+
RequestPreparationAction,
|
|
2576
2591
|
SituationSpecification,
|
|
2577
2592
|
SpaceEvent,
|
|
2593
|
+
ToolUseAction,
|
|
2594
|
+
WaitAction,
|
|
2578
2595
|
defineAgentModule,
|
|
2579
2596
|
defineRuntime
|
|
2580
2597
|
};
|