@kitman-sh/software-engineering 0.11.7 → 0.12.0-rc.1
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 +15 -5
- package/dist/declarations.json +1 -1
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -13391,6 +13391,11 @@ var WaitingOn = Struct({ keys: ArraySchema(String5), hidden: Int });
|
|
|
13391
13391
|
// ../../packages/core/src/run-queue.ts
|
|
13392
13392
|
var ClaimRanks = ["in_progress", "finishing", "new"];
|
|
13393
13393
|
|
|
13394
|
+
// ../../packages/core/src/tokens.ts
|
|
13395
|
+
var TokenCount = Int.check(isGreaterThanOrEqualTo2(0));
|
|
13396
|
+
var TokenUsage = Struct({ input: TokenCount, output: TokenCount, cached: TokenCount });
|
|
13397
|
+
var AttemptTokens = Union2([TokenUsage, Literal2("none")]);
|
|
13398
|
+
|
|
13394
13399
|
// ../../packages/core/src/loop.ts
|
|
13395
13400
|
var LoopStatuses = ["draft", "active", "disabled", "archived"];
|
|
13396
13401
|
var LoopStepImplementationKinds = [
|
|
@@ -14283,8 +14288,10 @@ var RunStepSummary = Struct({
|
|
|
14283
14288
|
status: StepAttemptStatus,
|
|
14284
14289
|
failureSummary: optionalKey2(String5),
|
|
14285
14290
|
output: optionalKey2(Unknown2),
|
|
14286
|
-
revision: optionalKey2(String5)
|
|
14287
|
-
|
|
14291
|
+
revision: optionalKey2(String5),
|
|
14292
|
+
tokens: optionalKey2(AttemptTokens)
|
|
14293
|
+
})),
|
|
14294
|
+
tokens: optionalKey2(TokenUsage)
|
|
14288
14295
|
});
|
|
14289
14296
|
var RunSteerDeliveries = ["queued", "delivered", "failed"];
|
|
14290
14297
|
var RunSteer = Struct({
|
|
@@ -14395,7 +14402,8 @@ var RunShow = Struct({
|
|
|
14395
14402
|
evidence: ArraySchema(RunEvidence),
|
|
14396
14403
|
steers: ArraySchema(RunSteer),
|
|
14397
14404
|
waiting: ArraySchema(RunWaiting),
|
|
14398
|
-
closures: ArraySchema(RunClosure)
|
|
14405
|
+
closures: ArraySchema(RunClosure),
|
|
14406
|
+
tokens: optionalKey2(TokenUsage)
|
|
14399
14407
|
});
|
|
14400
14408
|
var RunStartPreview = Struct({
|
|
14401
14409
|
loop: Struct({ id: String5, title: String5, outcome: optionalKey2(String5) }),
|
|
@@ -20270,7 +20278,8 @@ var WorkUnitHeartbeatResult = Struct({
|
|
|
20270
20278
|
var WorkUnitReleaseInput = Struct({
|
|
20271
20279
|
workUnitId: Id,
|
|
20272
20280
|
lease: WorkUnitLeaseInput,
|
|
20273
|
-
crashed: optionalKey2(Struct({ reason: String5.check(isMinLength(1), isMaxLength(500)) }))
|
|
20281
|
+
crashed: optionalKey2(Struct({ reason: String5.check(isMinLength(1), isMaxLength(500)) })),
|
|
20282
|
+
tokens: optionalKey2(AttemptTokens)
|
|
20274
20283
|
});
|
|
20275
20284
|
var CheckEvidence = Struct({
|
|
20276
20285
|
name: String5.check(isMinLength(1), isMaxLength(120)),
|
|
@@ -20340,6 +20349,7 @@ var WorkUnitOutcome = Struct({
|
|
|
20340
20349
|
cleanSync: optionalKey2(Literals(["up_to_date", "merged"])),
|
|
20341
20350
|
harnessHold: optionalKey2(HarnessHold),
|
|
20342
20351
|
restart: optionalKey2(StepRestart),
|
|
20352
|
+
tokens: optionalKey2(AttemptTokens),
|
|
20343
20353
|
failureSummary: optionalKey2(String5.check(isMinLength(1), isMaxLength(4000)))
|
|
20344
20354
|
});
|
|
20345
20355
|
var WorkUnitCompletion = Struct({
|
|
@@ -31138,4 +31148,4 @@ var runKit = (config, identity, packages) => {
|
|
|
31138
31148
|
runMain2(program.pipe(flatMap3((code) => sync2(() => process.exit(code)))));
|
|
31139
31149
|
};
|
|
31140
31150
|
// .kitman-build-entry.ts
|
|
31141
|
-
runKit(kitman_config_default, { name: "@kitman-sh/software-engineering", version: "0.
|
|
31151
|
+
runKit(kitman_config_default, { name: "@kitman-sh/software-engineering", version: "0.12.0-rc.1" }, []);
|
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.
|
|
3
|
+
"version": "0.12.0-rc.1",
|
|
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.
|
|
20
|
+
"@kitman-sh/sdk": "0.12.0-rc.1",
|
|
21
21
|
"effect": "^4.1.2"
|
|
22
22
|
},
|
|
23
23
|
"kitman": {
|
|
24
24
|
"bundle": "dist/bundle.js",
|
|
25
|
-
"digest": "
|
|
25
|
+
"digest": "87b8392501ff99d1f4374ee094123c04f5793bb8c8ebc78fbe2b53d324908543",
|
|
26
26
|
"protocolVersion": 5,
|
|
27
27
|
"declarations": "dist/declarations.json",
|
|
28
28
|
"setup": {
|