@kitman-sh/software-engineering 0.15.1 → 0.16.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 CHANGED
@@ -14844,7 +14844,8 @@ var StepAttemptSessionUpdateList = Struct({
14844
14844
  next: optionalKey2(String5)
14845
14845
  });
14846
14846
  var HarnessHoldReasons = ["out_of_quota", "rate_limited", "login_refused", "failed_to_start"];
14847
- var SkippedChoiceReasons = ["not_on_runner", ...HarnessHoldReasons];
14847
+ var PassOverReasons = [...HarnessHoldReasons, "harness_error"];
14848
+ var SkippedChoiceReasons = ["not_on_runner", ...PassOverReasons];
14848
14849
  var SkippedChoice = Struct({
14849
14850
  harness: optionalKey2(String5),
14850
14851
  model: optionalKey2(String5),
@@ -22829,7 +22830,7 @@ var HarnessHold = Struct({
22829
22830
  until: optionalKey2(Timestamp),
22830
22831
  scope: optionalKey2(Literal2("step"))
22831
22832
  });
22832
- var StepRestart = Struct({ reason: Literal2("login_revoked") });
22833
+ var StepRestart = Struct({ reason: Literals(["login_revoked", "harness_error"]) });
22833
22834
  var WorkUnitOutcome = Struct({
22834
22835
  status: Union2([
22835
22836
  Literal2("completed"),
@@ -35077,6 +35078,7 @@ var AgentEvent = Union2([
35077
35078
  host: String5.check(isMaxLength(300)),
35078
35079
  reason: String5.check(isMaxLength(500))
35079
35080
  }),
35081
+ Struct({ kind: Literal2("harness_error"), text: Text }),
35080
35082
  Struct({
35081
35083
  kind: Literal2("lifecycle"),
35082
35084
  state: Literals(["started", "resumed", "parked", "finished", "failed", "canceled"])
@@ -39620,4 +39622,4 @@ var runKit = (config, identity, packages) => {
39620
39622
  runMain2(program.pipe(flatMap3((code) => sync2(() => process.exit(code)))));
39621
39623
  };
39622
39624
  // .kitman-build-entry.ts
39623
- runKit(kitman_config_default, { name: "@kitman-sh/software-engineering", version: "0.15.1" }, []);
39625
+ runKit(kitman_config_default, { name: "@kitman-sh/software-engineering", version: "0.16.1" }, []);
@@ -141658,7 +141658,7 @@
141658
141658
  "carried": [
141659
141659
  {
141660
141660
  "name": "@kitman-sh/software-engineering",
141661
- "version": "0.15.1",
141661
+ "version": "0.16.1",
141662
141662
  "setup": "2a237548a69b0cd53ec3be7f687cfa8c2128335b3a655d34e185f2abce6a3c37",
141663
141663
  "loops": [
141664
141664
  "backport",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/software-engineering",
3
- "version": "0.15.1",
3
+ "version": "0.16.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": "SEE LICENSE IN LICENSE.md",
@@ -19,12 +19,12 @@
19
19
  "LICENSE.md"
20
20
  ],
21
21
  "dependencies": {
22
- "@kitman-sh/sdk": "0.15.1",
22
+ "@kitman-sh/sdk": "0.16.1",
23
23
  "effect": "^4.1.2"
24
24
  },
25
25
  "kitman": {
26
26
  "bundle": "dist/bundle.js",
27
- "digest": "6a5675bb7ec80e86e8f9cba43aa7eef59d578a02f8dd8e148184399f50e364fb",
27
+ "digest": "8f47ae0e9095261ac0bf38a3fe5be2a5c4e72ac2b6d8bb3d4422de43ca8383d4",
28
28
  "protocolVersion": 5,
29
29
  "declarations": "dist/declarations.json",
30
30
  "setup": {