@frockbot/kernel-agent-loop 0.3.11 → 0.3.12
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/package.json +5 -5
- package/src/index.ts +6 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frockbot/kernel-agent-loop",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@frockbot/kernel-contracts": "0.3.
|
|
15
|
+
"@frockbot/kernel-contracts": "0.3.12",
|
|
16
16
|
"cordis": "4.0.0-rc.8"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@frockbot/plugin-models": "0.3.
|
|
20
|
-
"@frockbot/plugin-prompt": "0.3.
|
|
21
|
-
"@frockbot/plugin-tools": "0.3.
|
|
19
|
+
"@frockbot/plugin-models": "0.3.12",
|
|
20
|
+
"@frockbot/plugin-prompt": "0.3.12",
|
|
21
|
+
"@frockbot/plugin-tools": "0.3.12",
|
|
22
22
|
"@types/bun": "1.4.0",
|
|
23
23
|
"@types/node": "26.2.0",
|
|
24
24
|
"typescript": "^7.0.2"
|
package/src/index.ts
CHANGED
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
type ToolCallOccurrence,
|
|
23
23
|
type ToolExecutionResult,
|
|
24
24
|
type TurnTypeV1,
|
|
25
|
+
TURN_DEADLINE_MS_V1,
|
|
25
26
|
toolCallOccurrences,
|
|
26
27
|
turnEndReason,
|
|
27
28
|
validateSettledToolOccurrenceJournal,
|
|
@@ -112,12 +113,12 @@ class StepLimitReachedError extends Error {
|
|
|
112
113
|
/**
|
|
113
114
|
* The longest a single Turn may run before the loop stops waiting for it.
|
|
114
115
|
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
116
|
+
* Defined in the contracts, because the loop is not its only reader: anything
|
|
117
|
+
* deciding whether a run still marked `running` can still be running needs the
|
|
118
|
+
* same number. Re-exported here because this is where every caller looks for
|
|
119
|
+
* it.
|
|
119
120
|
*/
|
|
120
|
-
export
|
|
121
|
+
export { TURN_DEADLINE_MS_V1 };
|
|
121
122
|
|
|
122
123
|
/**
|
|
123
124
|
* How many times one step will send its model request.
|