@kitman-sh/go-to-market 0.13.15 → 0.13.17

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
@@ -13392,6 +13392,8 @@ var ClaimRanks = ["in_progress", "finishing", "new"];
13392
13392
  var TokenCount = Int.check(isGreaterThanOrEqualTo2(0));
13393
13393
  var TokenUsage = Struct({ input: TokenCount, output: TokenCount, cached: TokenCount });
13394
13394
  var AttemptTokens = Union2([TokenUsage, Literal2("none")]);
13395
+ var TokenTotalCount = String5.check(isPattern2(/^(?:0|[1-9][0-9]*)$/));
13396
+ var TokenTotal = Struct({ input: TokenTotalCount, output: TokenTotalCount, cached: TokenTotalCount });
13395
13397
 
13396
13398
  // ../../packages/core/src/loop.ts
13397
13399
  var LoopStatuses = ["draft", "active", "disabled", "archived"];
@@ -14154,6 +14156,12 @@ var SkippedChoice = Struct({
14154
14156
  reason: Literals(SkippedChoiceReasons),
14155
14157
  until: optionalKey2(Timestamp)
14156
14158
  });
14159
+ var StepFallback = Struct({
14160
+ harness: String5,
14161
+ model: optionalKey2(String5),
14162
+ effort: optionalKey2(Literals(AgentEfforts)),
14163
+ firstChoice: SkippedChoice
14164
+ });
14157
14165
  var StepAttempt = Struct({
14158
14166
  id: Id,
14159
14167
  workspaceId: Id,
@@ -14294,7 +14302,8 @@ var RunStepSummary = Struct({
14294
14302
  model: optionalKey2(String5),
14295
14303
  tokens: optionalKey2(AttemptTokens)
14296
14304
  })),
14297
- tokens: optionalKey2(TokenUsage)
14305
+ tokens: optionalKey2(TokenUsage),
14306
+ fallback: optionalKey2(StepFallback)
14298
14307
  });
14299
14308
  var RunSteerDeliveries = ["queued", "delivered", "failed"];
14300
14309
  var RunSteer = Struct({
@@ -14357,6 +14366,7 @@ var RunGraphNode = Struct({
14357
14366
  model: optionalKey2(String5),
14358
14367
  runner: optionalKey2(Struct({ id: Id, name: String5 }))
14359
14368
  })),
14369
+ fallback: optionalKey2(StepFallback),
14360
14370
  child: optionalKey2(Struct({
14361
14371
  runId: Id,
14362
14372
  loopTitle: String5,
@@ -14389,6 +14399,7 @@ var RunShow = Struct({
14389
14399
  steps: ArraySchema(RunStepSummary),
14390
14400
  questions: ArraySchema(Question),
14391
14401
  questionsBelow: optionalKey2(ArraySchema(QuestionBelow)),
14402
+ runsBelow: optionalKey2(ArraySchema(Struct({ runId: Id, parentRunId: Id }))),
14392
14403
  children: ArraySchema(Struct({
14393
14404
  runId: Id,
14394
14405
  name: String5,
@@ -14409,7 +14420,8 @@ var RunShow = Struct({
14409
14420
  steers: ArraySchema(RunSteer),
14410
14421
  waiting: ArraySchema(RunWaiting),
14411
14422
  closures: ArraySchema(RunClosure),
14412
- tokens: optionalKey2(TokenUsage)
14423
+ tokens: optionalKey2(TokenUsage),
14424
+ tokensWithChildRuns: optionalKey2(TokenTotal)
14413
14425
  });
14414
14426
  var RunStartPreview = Struct({
14415
14427
  loop: Struct({ id: String5, title: String5, outcome: optionalKey2(String5) }),
@@ -19913,6 +19925,7 @@ var WorkUnitHeartbeatInput = Struct({
19913
19925
  workUnitId: Id,
19914
19926
  lease: WorkUnitLeaseInput,
19915
19927
  leaseDurationSeconds: optionalKey2(Int.check(isGreaterThanOrEqualTo2(1), isLessThanOrEqualTo3(3600))),
19928
+ harnessStarted: optionalKey2(Literal2(true)),
19916
19929
  secrets: optionalKey2(ArraySchema(Struct({ name: SecretName, version: String5.check(isMinLength(1), isMaxLength(128)) })).check(isMaxLength(256)))
19917
19930
  });
19918
19931
  var WorkUnitHeartbeatResult = Struct({
@@ -19926,7 +19939,8 @@ var WorkUnitReleaseInput = Struct({
19926
19939
  workUnitId: Id,
19927
19940
  lease: WorkUnitLeaseInput,
19928
19941
  crashed: optionalKey2(Struct({ reason: String5.check(isMinLength(1), isMaxLength(500)) })),
19929
- tokens: optionalKey2(AttemptTokens)
19942
+ tokens: optionalKey2(AttemptTokens),
19943
+ ranModel: optionalKey2(String5.check(isMinLength(1), isMaxLength(200)))
19930
19944
  });
19931
19945
  var CheckEvidence = Struct({
19932
19946
  name: String5.check(isMinLength(1), isMaxLength(120)),
@@ -19997,6 +20011,7 @@ var WorkUnitOutcome = Struct({
19997
20011
  harnessHold: optionalKey2(HarnessHold),
19998
20012
  restart: optionalKey2(StepRestart),
19999
20013
  tokens: optionalKey2(AttemptTokens),
20014
+ ranModel: optionalKey2(String5.check(isMinLength(1), isMaxLength(200))),
20000
20015
  failureSummary: optionalKey2(String5.check(isMinLength(1), isMaxLength(4000)))
20001
20016
  });
20002
20017
  var WorkUnitCompletion = Struct({
@@ -25511,4 +25526,4 @@ var runKit = (config, identity, packages) => {
25511
25526
  runMain2(program.pipe(flatMap3((code) => sync2(() => process.exit(code)))));
25512
25527
  };
25513
25528
  // .kitman-build-entry.ts
25514
- runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.13.15" }, []);
25529
+ runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.13.17" }, []);
@@ -4,7 +4,7 @@
4
4
  "carried": [
5
5
  {
6
6
  "name": "@kitman-sh/go-to-market",
7
- "version": "0.13.15",
7
+ "version": "0.13.17",
8
8
  "setup": "0270b1c80a2c382c905693fede77fcb29c404d97404546c95d45de274fa6b087",
9
9
  "loops": [],
10
10
  "agents": []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/go-to-market",
3
- "version": "0.13.15",
3
+ "version": "0.13.17",
4
4
  "description": "Copywriting, marketing psychology and SEO audits.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -14,11 +14,11 @@
14
14
  "kitman.config.ts"
15
15
  ],
16
16
  "dependencies": {
17
- "@kitman-sh/sdk": "0.13.15"
17
+ "@kitman-sh/sdk": "0.13.17"
18
18
  },
19
19
  "kitman": {
20
20
  "bundle": "dist/bundle.js",
21
- "digest": "3e0d1821d8648a2c9ea7cf1577fbaf0151e12c8b211b32af54595baaa50c7faa",
21
+ "digest": "201feea0b95fc8425c694ae8990a71f710642e6a6ec271185cbd4a397a2f7350",
22
22
  "protocolVersion": 5,
23
23
  "declarations": "dist/declarations.json",
24
24
  "setup": {