@kitman-sh/software-engineering 0.13.15 → 0.13.16
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/bundle.js +19 -4
- package/dist/declarations.json +1 -1
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -13431,6 +13431,8 @@ var ClaimRanks = ["in_progress", "finishing", "new"];
|
|
|
13431
13431
|
var TokenCount = Int.check(isGreaterThanOrEqualTo2(0));
|
|
13432
13432
|
var TokenUsage = Struct({ input: TokenCount, output: TokenCount, cached: TokenCount });
|
|
13433
13433
|
var AttemptTokens = Union2([TokenUsage, Literal2("none")]);
|
|
13434
|
+
var TokenTotalCount = String5.check(isPattern2(/^(?:0|[1-9][0-9]*)$/));
|
|
13435
|
+
var TokenTotal = Struct({ input: TokenTotalCount, output: TokenTotalCount, cached: TokenTotalCount });
|
|
13434
13436
|
|
|
13435
13437
|
// ../../packages/core/src/loop.ts
|
|
13436
13438
|
var LoopStatuses = ["draft", "active", "disabled", "archived"];
|
|
@@ -14196,6 +14198,12 @@ var SkippedChoice = Struct({
|
|
|
14196
14198
|
reason: Literals(SkippedChoiceReasons),
|
|
14197
14199
|
until: optionalKey2(Timestamp)
|
|
14198
14200
|
});
|
|
14201
|
+
var StepFallback = Struct({
|
|
14202
|
+
harness: String5,
|
|
14203
|
+
model: optionalKey2(String5),
|
|
14204
|
+
effort: optionalKey2(Literals(AgentEfforts)),
|
|
14205
|
+
firstChoice: SkippedChoice
|
|
14206
|
+
});
|
|
14199
14207
|
var StepAttempt = Struct({
|
|
14200
14208
|
id: Id,
|
|
14201
14209
|
workspaceId: Id,
|
|
@@ -14336,7 +14344,8 @@ var RunStepSummary = Struct({
|
|
|
14336
14344
|
model: optionalKey2(String5),
|
|
14337
14345
|
tokens: optionalKey2(AttemptTokens)
|
|
14338
14346
|
})),
|
|
14339
|
-
tokens: optionalKey2(TokenUsage)
|
|
14347
|
+
tokens: optionalKey2(TokenUsage),
|
|
14348
|
+
fallback: optionalKey2(StepFallback)
|
|
14340
14349
|
});
|
|
14341
14350
|
var RunSteerDeliveries = ["queued", "delivered", "failed"];
|
|
14342
14351
|
var RunSteer = Struct({
|
|
@@ -14399,6 +14408,7 @@ var RunGraphNode = Struct({
|
|
|
14399
14408
|
model: optionalKey2(String5),
|
|
14400
14409
|
runner: optionalKey2(Struct({ id: Id, name: String5 }))
|
|
14401
14410
|
})),
|
|
14411
|
+
fallback: optionalKey2(StepFallback),
|
|
14402
14412
|
child: optionalKey2(Struct({
|
|
14403
14413
|
runId: Id,
|
|
14404
14414
|
loopTitle: String5,
|
|
@@ -14431,6 +14441,7 @@ var RunShow = Struct({
|
|
|
14431
14441
|
steps: ArraySchema(RunStepSummary),
|
|
14432
14442
|
questions: ArraySchema(Question),
|
|
14433
14443
|
questionsBelow: optionalKey2(ArraySchema(QuestionBelow)),
|
|
14444
|
+
runsBelow: optionalKey2(ArraySchema(Struct({ runId: Id, parentRunId: Id }))),
|
|
14434
14445
|
children: ArraySchema(Struct({
|
|
14435
14446
|
runId: Id,
|
|
14436
14447
|
name: String5,
|
|
@@ -14451,7 +14462,8 @@ var RunShow = Struct({
|
|
|
14451
14462
|
steers: ArraySchema(RunSteer),
|
|
14452
14463
|
waiting: ArraySchema(RunWaiting),
|
|
14453
14464
|
closures: ArraySchema(RunClosure),
|
|
14454
|
-
tokens: optionalKey2(TokenUsage)
|
|
14465
|
+
tokens: optionalKey2(TokenUsage),
|
|
14466
|
+
tokensWithChildRuns: optionalKey2(TokenTotal)
|
|
14455
14467
|
});
|
|
14456
14468
|
var RunStartPreview = Struct({
|
|
14457
14469
|
loop: Struct({ id: String5, title: String5, outcome: optionalKey2(String5) }),
|
|
@@ -20345,6 +20357,7 @@ var WorkUnitHeartbeatInput = Struct({
|
|
|
20345
20357
|
workUnitId: Id,
|
|
20346
20358
|
lease: WorkUnitLeaseInput,
|
|
20347
20359
|
leaseDurationSeconds: optionalKey2(Int.check(isGreaterThanOrEqualTo2(1), isLessThanOrEqualTo3(3600))),
|
|
20360
|
+
harnessStarted: optionalKey2(Literal2(true)),
|
|
20348
20361
|
secrets: optionalKey2(ArraySchema(Struct({ name: SecretName, version: String5.check(isMinLength(1), isMaxLength(128)) })).check(isMaxLength(256)))
|
|
20349
20362
|
});
|
|
20350
20363
|
var WorkUnitHeartbeatResult = Struct({
|
|
@@ -20358,7 +20371,8 @@ var WorkUnitReleaseInput = Struct({
|
|
|
20358
20371
|
workUnitId: Id,
|
|
20359
20372
|
lease: WorkUnitLeaseInput,
|
|
20360
20373
|
crashed: optionalKey2(Struct({ reason: String5.check(isMinLength(1), isMaxLength(500)) })),
|
|
20361
|
-
tokens: optionalKey2(AttemptTokens)
|
|
20374
|
+
tokens: optionalKey2(AttemptTokens),
|
|
20375
|
+
ranModel: optionalKey2(String5.check(isMinLength(1), isMaxLength(200)))
|
|
20362
20376
|
});
|
|
20363
20377
|
var CheckEvidence = Struct({
|
|
20364
20378
|
name: String5.check(isMinLength(1), isMaxLength(120)),
|
|
@@ -20429,6 +20443,7 @@ var WorkUnitOutcome = Struct({
|
|
|
20429
20443
|
harnessHold: optionalKey2(HarnessHold),
|
|
20430
20444
|
restart: optionalKey2(StepRestart),
|
|
20431
20445
|
tokens: optionalKey2(AttemptTokens),
|
|
20446
|
+
ranModel: optionalKey2(String5.check(isMinLength(1), isMaxLength(200))),
|
|
20432
20447
|
failureSummary: optionalKey2(String5.check(isMinLength(1), isMaxLength(4000)))
|
|
20433
20448
|
});
|
|
20434
20449
|
var WorkUnitCompletion = Struct({
|
|
@@ -31825,4 +31840,4 @@ var runKit = (config, identity, packages) => {
|
|
|
31825
31840
|
runMain2(program.pipe(flatMap3((code) => sync2(() => process.exit(code)))));
|
|
31826
31841
|
};
|
|
31827
31842
|
// .kitman-build-entry.ts
|
|
31828
|
-
runKit(kitman_config_default, { name: "@kitman-sh/software-engineering", version: "0.13.
|
|
31843
|
+
runKit(kitman_config_default, { name: "@kitman-sh/software-engineering", version: "0.13.16" }, []);
|
package/dist/declarations.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitman-sh/software-engineering",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.16",
|
|
4
4
|
"description": "Everything for building software: Loops, their Agents, the skills they use and the Ponytail plugin.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"tsconfig.json"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@kitman-sh/sdk": "0.13.
|
|
20
|
+
"@kitman-sh/sdk": "0.13.16",
|
|
21
21
|
"effect": "^4.1.2"
|
|
22
22
|
},
|
|
23
23
|
"kitman": {
|
|
24
24
|
"bundle": "dist/bundle.js",
|
|
25
|
-
"digest": "
|
|
25
|
+
"digest": "938988cd9da3ff71c2cd25a9b936ceca7b76b3c23826b0676f652384015df588",
|
|
26
26
|
"protocolVersion": 5,
|
|
27
27
|
"declarations": "dist/declarations.json",
|
|
28
28
|
"setup": {
|