@kitman-sh/go-to-market 0.10.88 → 0.10.90

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
@@ -14482,6 +14482,7 @@ var LoopManifest = Struct({
14482
14482
  from: optionalKey2(String5)
14483
14483
  })),
14484
14484
  capabilities: ArraySchema(Literals(LoopCapabilities)),
14485
+ ownCapabilities: optionalKey2(ArraySchema(Literals(LoopCapabilities))),
14485
14486
  secrets: optionalKey2(ArraySchema(SecretName2)),
14486
14487
  network: optionalKey2(AgentSandboxNetwork),
14487
14488
  schedule: optionalKey2(Struct({ rule: ScheduleRule, timezone: String5 }))
@@ -14612,6 +14613,7 @@ var loopManifest = (definition) => gen2(function* () {
14612
14613
  when: definition.when ?? [],
14613
14614
  offers: definition.offers ?? [],
14614
14615
  capabilities: capabilitiesOf(definition),
14616
+ ...(definition.calls?.() ?? []).length === 0 ? undefined : { ownCapabilities: definition.capabilities },
14615
14617
  ...definition.secrets === undefined ? undefined : { secrets: definition.secrets },
14616
14618
  ...definition.network === undefined ? undefined : { network: definition.network },
14617
14619
  ...definition.schedule === undefined ? undefined : { schedule: definition.schedule }
@@ -18816,7 +18818,7 @@ var ChangeRequestRequest = Struct({
18816
18818
  integration: optional2(String5)
18817
18819
  });
18818
18820
  var ChangeRequestResult = Struct({ id: String5, number: String5, url: String5 });
18819
- var WriteBackMilestones = ["started", "change_request_opened", "merged", "failed"];
18821
+ var WriteBackMilestones = ["started", "change_request_opened", "merged", "failed", "blocked"];
18820
18822
  var WriteBackRequest = Struct({
18821
18823
  milestone: optional2(Literals(WriteBackMilestones)),
18822
18824
  changeRequestUrl: optional2(String5)
@@ -18977,18 +18979,28 @@ var TranscriptPoint = Struct({
18977
18979
  sequence: Int
18978
18980
  });
18979
18981
  var TranscriptsRequest = Struct({
18980
- days: Int.check(isGreaterThanOrEqualTo2(1), isLessThanOrEqualTo3(31))
18982
+ days: Int.check(isGreaterThanOrEqualTo2(1), isLessThanOrEqualTo3(31)),
18983
+ teamId: optionalKey2(String5)
18981
18984
  });
18982
18985
  var TranscriptsResult = Struct({
18983
18986
  runs: ArraySchema(Struct({
18984
18987
  runId: String5,
18985
18988
  loopId: String5,
18989
+ rootRunId: optional2(String5),
18986
18990
  status: optional2(Literals(["completed", "failed", "canceled", "expired"])),
18987
18991
  teamId: optional2(String5),
18988
18992
  failure: optional2(String5),
18989
18993
  retried: optional2(Boolean3),
18990
- entries: ArraySchema(Struct({ stepAttemptId: String5, sequence: Int, kind: String5, text: String5 }))
18991
- }))
18994
+ entries: ArraySchema(Struct({ stepAttemptId: String5, sequence: Int, kind: String5, text: String5 })),
18995
+ omitted: optional2(Int)
18996
+ })),
18997
+ artifactId: optional2(String5),
18998
+ findings: optional2(ArraySchema(Struct({
18999
+ key: String5,
19000
+ title: String5,
19001
+ taskId: optional2(String5),
19002
+ taskKey: optional2(String5)
19003
+ })))
18992
19004
  });
18993
19005
  var Citations = NonEmptyArray(TranscriptPoint);
18994
19006
  var ProposeRequest = Union2([
@@ -19010,7 +19022,8 @@ var ProposeRequest = Union2([
19010
19022
  var ProposeResult = Struct({
19011
19023
  kind: Literals(["memory", "task"]),
19012
19024
  id: String5,
19013
- matched: optionalKey2(Boolean3)
19025
+ matched: optionalKey2(Boolean3),
19026
+ task: optionalKey2(Struct({ id: String5, active: Boolean3 }))
19014
19027
  });
19015
19028
  var Health = Literals(["on_track", "at_risk", "off_track"]);
19016
19029
  var ProjectActivityRequest = Struct({ projectId: String5 });
@@ -22066,7 +22079,7 @@ class RunnerCapabilityRpcs extends make29(make28("PutQuestion", {
22066
22079
  }),
22067
22080
  Struct({
22068
22081
  kind: Literal2("write_back"),
22069
- milestone: optionalKey2(Literals(["started", "change_request_opened", "merged", "failed"])),
22082
+ milestone: optionalKey2(Literals(["started", "change_request_opened", "merged", "failed", "blocked"])),
22070
22083
  changeRequestUrl: optionalKey2(String5)
22071
22084
  })
22072
22085
  ])
@@ -22091,7 +22104,7 @@ class RunnerCapabilityRpcs extends make29(make28("PutQuestion", {
22091
22104
  }),
22092
22105
  error: RunnerRpcError
22093
22106
  }), make28("ReadTranscripts", {
22094
- payload: { lease: ProgramLease, step: String5, days: Int },
22107
+ payload: { lease: ProgramLease, step: String5, days: Int, teamId: optionalKey2(String5) },
22095
22108
  success: Struct({
22096
22109
  runs: ArraySchema(Struct({
22097
22110
  runId: String5,
@@ -22105,8 +22118,17 @@ class RunnerCapabilityRpcs extends make29(make28("PutQuestion", {
22105
22118
  sequence: Int,
22106
22119
  kind: String5,
22107
22120
  text: String5
22108
- }))
22109
- }))
22121
+ })),
22122
+ rootRunId: optionalKey2(String5),
22123
+ omitted: optionalKey2(Int)
22124
+ })),
22125
+ artifactId: optionalKey2(String5),
22126
+ findings: optionalKey2(ArraySchema(Struct({
22127
+ key: String5,
22128
+ title: String5,
22129
+ taskId: optionalKey2(String5),
22130
+ taskKey: optionalKey2(String5)
22131
+ })))
22110
22132
  }),
22111
22133
  error: RunnerRpcError
22112
22134
  }), make28("PipelineStatus", {
@@ -22207,7 +22229,8 @@ class RunnerCapabilityRpcs extends make29(make28("PutQuestion", {
22207
22229
  success: Struct({
22208
22230
  kind: Literals(["memory", "task"]),
22209
22231
  id: String5,
22210
- matched: optionalKey2(Boolean3)
22232
+ matched: optionalKey2(Boolean3),
22233
+ task: optionalKey2(Struct({ id: String5, active: Boolean3 }))
22211
22234
  }),
22212
22235
  error: RunnerRpcError
22213
22236
  }), make28("ReadProject", {
@@ -25013,4 +25036,4 @@ var runKit = (config, identity, packages) => {
25013
25036
  runMain2(program.pipe(flatMap3((code) => sync2(() => process.exit(code)))));
25014
25037
  };
25015
25038
  // .kitman-build-entry.ts
25016
- runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.10.88" }, []);
25039
+ runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.10.90" }, []);
@@ -4,7 +4,7 @@
4
4
  "carried": [
5
5
  {
6
6
  "name": "@kitman-sh/go-to-market",
7
- "version": "0.10.88",
7
+ "version": "0.10.90",
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.10.88",
3
+ "version": "0.10.90",
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.10.88"
17
+ "@kitman-sh/sdk": "0.10.90"
18
18
  },
19
19
  "kitman": {
20
20
  "bundle": "dist/bundle.js",
21
- "digest": "74d9d467530bb69444aba850aec9977d7db74f23769fae8934392899c6333d77",
21
+ "digest": "c7ec3e4ea2a3438014dba4754f6f59d8e997c84d303003c62247d7c1383f1c5c",
22
22
  "protocolVersion": 5,
23
23
  "declarations": "dist/declarations.json",
24
24
  "setup": {