@kitman-sh/cli 0.19.0 → 0.21.0

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.
Files changed (28) hide show
  1. package/dist/{chunk-am57a75e.js → chunk-0j884359.js} +3 -3
  2. package/dist/{chunk-bevxc9rx.js → chunk-0v70erwa.js} +7 -7
  3. package/dist/{chunk-qvpkwnky.js → chunk-4qjfn1sa.js} +1 -1
  4. package/dist/{chunk-y7bth30s.js → chunk-5kqt4bqp.js} +1 -1
  5. package/dist/{chunk-t5gb7bqv.js → chunk-746tbgvb.js} +30 -30
  6. package/dist/{chunk-2dhhyy04.js → chunk-7re3n1ze.js} +5 -5
  7. package/dist/{chunk-kx00yd3c.js → chunk-7swf974v.js} +9 -9
  8. package/dist/{chunk-zb8mwx3s.js → chunk-7vngg2n8.js} +17 -17
  9. package/dist/{chunk-khn17hdn.js → chunk-8t2wcrvv.js} +2 -2
  10. package/dist/{chunk-2y646fhs.js → chunk-atswrrsb.js} +18 -18
  11. package/dist/{chunk-t6y0c0ds.js → chunk-bsgvmq34.js} +2 -2
  12. package/dist/{chunk-e863b7v1.js → chunk-d1826dj4.js} +130 -268
  13. package/dist/{chunk-ew07nt2d.js → chunk-h2f26xbd.js} +61 -61
  14. package/dist/{chunk-w9mxqrsp.js → chunk-j4b1yvcd.js} +177 -34
  15. package/dist/{chunk-y4nrvwgy.js → chunk-js28a12p.js} +4 -4
  16. package/dist/{chunk-3gmqn9yp.js → chunk-kw46ktwg.js} +4 -4
  17. package/dist/{chunk-hrdh72c7.js → chunk-mqs553x5.js} +35 -22
  18. package/dist/{chunk-9cj8g584.js → chunk-npfdbssf.js} +4 -4
  19. package/dist/{chunk-gqcz0d3j.js → chunk-pr7wx6vh.js} +2 -2
  20. package/dist/{chunk-4rq880g6.js → chunk-remt6mfx.js} +6 -6
  21. package/dist/{chunk-6hxtg6eb.js → chunk-samxkpbz.js} +3 -3
  22. package/dist/{chunk-36dejya4.js → chunk-t8e5ky8f.js} +1 -1
  23. package/dist/{chunk-haq904fk.js → chunk-tsx0347c.js} +1 -1
  24. package/dist/{chunk-6387vj9z.js → chunk-vz38kngm.js} +2 -2
  25. package/dist/{chunk-0sbd6e4d.js → chunk-wmf3hq5w.js} +20 -20
  26. package/dist/{chunk-qp3kqaw1.js → chunk-y756hc0e.js} +6 -6
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -118,8 +118,9 @@ import {
118
118
  decodeJsonStringOption,
119
119
  encodeJsonStringSync,
120
120
  encodePrettyJsonString
121
- } from "./chunk-ew07nt2d.js";
121
+ } from "./chunk-h2f26xbd.js";
122
122
  import {
123
+ currentTimeMillis,
123
124
  SecureRandom,
124
125
  makeUnsafe,
125
126
  formatIso,
@@ -169,9 +170,8 @@ import {
169
170
  runMcpEffect,
170
171
  createAgentAuthSignedFetch,
171
172
  setupMcpAgentCredential
172
- } from "./chunk-e863b7v1.js";
173
+ } from "./chunk-d1826dj4.js";
173
174
  import {
174
- currentTimeMillis,
175
175
  join,
176
176
  interrupt,
177
177
  empty2,
@@ -187,30 +187,30 @@ import {
187
187
  withDefault,
188
188
  option,
189
189
  String2
190
- } from "./chunk-w9mxqrsp.js";
190
+ } from "./chunk-j4b1yvcd.js";
191
191
  import {
192
192
  searchDocs2,
193
193
  readDoc2
194
- } from "./chunk-gqcz0d3j.js";
194
+ } from "./chunk-pr7wx6vh.js";
195
195
  import {
196
196
  nextInt
197
- } from "./chunk-y7bth30s.js";
197
+ } from "./chunk-5kqt4bqp.js";
198
198
  import {
199
199
  recommendationProblem
200
- } from "./chunk-haq904fk.js";
200
+ } from "./chunk-tsx0347c.js";
201
201
  import {
202
202
  layerJson,
203
203
  make4,
204
204
  withHeaders,
205
205
  layerProtocolSocket,
206
206
  ConnectionHooks
207
- } from "./chunk-2y646fhs.js";
207
+ } from "./chunk-atswrrsb.js";
208
208
  import {
209
209
  guard,
210
210
  Id,
211
211
  Timestamp,
212
212
  ActorType
213
- } from "./chunk-qvpkwnky.js";
213
+ } from "./chunk-4qjfn1sa.js";
214
214
 
215
215
  // apps/cli/src/mcp.ts
216
216
  import { tmpdir as tmpdir2 } from "os";
@@ -2229,9 +2229,7 @@ var generatedOpenApiSchemas = {
2229
2229
  "09171013fe545d9d": JSON.parse('{"type":"object","additionalProperties":false,"required":["sessionId"],"properties":{"sessionId":{"type":"string"}}}'),
2230
2230
  "093a397cdffc1409": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","teamId","input"],"properties":{"workspaceId":{"type":"string"},"teamId":{"type":"string"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"category":{"type":"string","enum":["triage","backlog","unstarted","started","completed","canceled","duplicate"]},"stateIds":{"type":"array","items":{"type":"string"}}},"required":["category","stateIds"],"additionalProperties":true}}}'),
2231
2231
  "09cfa6135d00cada": JSON.parse('{"type":"object","additionalProperties":false,"required":["teamId","loop","input"],"properties":{"teamId":{"type":"string"},"loop":{"type":"string"},"input":{"type":"object","properties":{"event":{"type":"string"},"on":{"type":"boolean"}},"required":["event","on"],"additionalProperties":false}}}'),
2232
- "0e2b21b7be05f525": JSON.parse('{"type":"object","properties":{"id":{"type":"string"},"workspaceId":{"type":"string"},"provider":{"type":"string","enum":["github","gitlab","forgejo","gitea","gitee","bitbucket","azure-devops"]},"host":{"type":"string","minLength":1,"maxLength":120,"pattern":"^(?!.*(?:```|[dD][iI][fF][fF]\\\\s*--\\\\s*[gG][iI][tT]|@@|[tT][eE][rR][mM][iI][nN][aA][lL][\\\\s_-]*[lL][oO][gG]|[rR][aA][wW][\\\\s_-]*[lL][oO][gG]|[pP][rR][oO][vV][iI][dD][eE][rR][\\\\s_-]*[pP][aA][yY][lL][oO][aA][dD]|[pP][rR][oO][vV][iI][dD][eE][rR][\\\\s_-]*[cC][oO][mM][mM][eE][nN][tT]|[rR][aA][wW][\\\\s_-]*[pP][rR][oO][vV][iI][dD][eE][rR]|\\\\b[sS][kK]-|[gG][hH][pP]_|[gG][lL][pP][aA][tT]-|[bB][eE][aA][rR][eE][rR]\\\\s|\\\\b[eE][yY][jJ]|[tT][oO][kK][eE][nN]|[sS][eE][cC][rR][eE][tT]|[pP][aA][sS][sS][wW][oO][rR][dD]|[pP][rR][iI][vV][aA][tT][eE][\\\\s_-]*[kK][eE][yY]|[aA][pP][iI][\\\\s_-]*[kK][eE][yY]))[A-Za-z0-9][A-Za-z0-9 ._:/()+-]{0,119}$"},"authKind":{"type":"string","enum":["github_app","gitlab_personal_access_token","gitlab_group_token","gitlab_project_token","gitlab_oauth","access_token"]},"baseUrl":{"type":"string","maxLength":400},"status":{"type":"string","enum":["connected","degraded","disconnected"]},"eventIngress":{"type":"string","enum":["webhooks","off"]},"externalAccountId":{"type":"string","minLength":1,"maxLength":120},"externalAccountLogin":{"type":"string","minLength":1,"maxLength":120},"capabilities":{"type":"array","items":{"type":"string","enum":["repository_read","repository_write","change_request_read","change_request_write","check_write","webhook_manage"]}},"credentialConfigured":{"type":"boolean"},"webhookActive":{"type":"boolean"},"tls":{"type":"object","properties":{"customCaRef":{"type":"string","minLength":1,"maxLength":240}},"additionalProperties":false},"supportEvidence":{"type":"array","items":{"type":"object","properties":{"capability":{"type":"string","enum":["repository_read","repository_write","change_request_read","change_request_write","check_write","webhook_manage"]},"support":{"type":"string","enum":["certified","detected","unsupported"]},"observedAt":{"type":"string","format":"date-time"}},"required":["capability","support","observedAt"],"additionalProperties":false},"maxItems":20},"expiresAt":{"type":"string","format":"date-time"},"lastTestedAt":{"type":"string","format":"date-time"},"healthMessage":{"type":"string","maxLength":240},"connectedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","workspaceId","provider","host","authKind","status","eventIngress","capabilities","credentialConfigured","webhookActive","tls","supportEvidence","createdAt","updatedAt"],"additionalProperties":false}'),
2233
2232
  "0e53a44694740ca3": JSON.parse('{"type":"object","properties":{"runId":{"type":"string","minLength":1},"reports":{"type":"array","items":{"type":"object","properties":{"constraintId":{"type":"string"},"constraintText":{"type":"string"},"kind":{"type":"string","enum":["rule","semantic"]},"severity":{"type":"string","enum":["block","warn"]},"intentVersion":{"type":"integer","minimum":1,"maximum":9007199254740991},"citedPaths":{"type":"array","items":{"type":"string"}},"truncated":{"type":"boolean"},"status":{"type":"string","enum":["open","correction_sent","escalated","verified","dismissed"]},"history":{"type":"array","items":{"type":"object","properties":{"status":{"type":"string","enum":["open","correction_sent","escalated","verified","dismissed"]},"intentVersion":{"type":"integer","minimum":1,"maximum":9007199254740991},"at":{"type":"string","format":"date-time"},"reason":{"type":"string"},"actor":{"type":"object","properties":{"actorType":{"type":"string"},"actorId":{"type":"string"}},"required":["actorType","actorId"],"additionalProperties":false}},"required":["status","intentVersion","at"],"additionalProperties":false}}},"required":["constraintId","constraintText","kind","severity","intentVersion","citedPaths","truncated","status","history"],"additionalProperties":false}},"boundaries":{"type":"array","items":{"type":"object","properties":{"stepAttemptId":{"type":"string","minLength":1},"stepKey":{"type":"string"},"intentVersion":{"type":"integer","minimum":1,"maximum":9007199254740991},"evidence":{"type":"object","properties":{"kind":{"type":"string","enum":["change","output"]},"changedPaths":{"type":"array","items":{"type":"string"}},"truncated":{"type":"boolean"}},"required":["kind","truncated"],"additionalProperties":false},"uncheckedReason":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["stepAttemptId","stepKey","createdAt"],"additionalProperties":false}},"judgements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"final":{"type":"boolean"},"status":{"type":"string","enum":["queued","running","judged","skipped"]},"stepAttemptId":{"type":"string","minLength":1},"intentVersion":{"type":"integer","minimum":1,"maximum":9007199254740991},"constraints":{"type":"array","items":{"type":"object","properties":{"constraintId":{"type":"string"},"verdict":{"type":"string","enum":["holds","breached","unverified"]},"citations":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"line":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["path"],"additionalProperties":false}}},"required":["constraintId","verdict","citations"],"additionalProperties":false}},"goal":{"type":"string","enum":["met","not_met","unverified"]},"doneWhen":{"type":"array","items":{"type":"string","enum":["met","not_met","unverified"]}},"skipReason":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"settledAt":{"type":"string","format":"date-time"}},"required":["id","final","status","createdAt"],"additionalProperties":false}}},"required":["runId","reports","boundaries","judgements"],"additionalProperties":false}'),
2234
- "0e892e14534214e2": JSON.parse('{"anyOf":[{"type":"object","properties":{"actorType":{"type":"string","enum":["human"]},"actorId":{"type":"string","minLength":1},"userId":{"type":"string","minLength":1},"credentialType":{"type":"string","enum":["human_session","human_oauth"]},"displayName":{"type":"string","minLength":1,"maxLength":240},"email":{"type":"string","minLength":1,"maxLength":320},"avatarUrl":{"type":"string","minLength":1,"maxLength":2048},"workspaceId":{"type":"string","minLength":1},"activeWorkspaceId":{"type":"string","minLength":1},"workspaceRole":{"type":"string"}},"required":["actorType","actorId","userId","credentialType"],"additionalProperties":false},{"type":"object","properties":{"actorType":{"type":"string","enum":["delegated_agent"]},"actorId":{"type":"string","minLength":1},"delegatedByUserId":{"type":"string","minLength":1},"toolName":{"type":"string"},"credentialType":{"type":"string","enum":["agent_auth"]},"workspaceId":{"type":"string","minLength":1},"activeWorkspaceId":{"type":"string","minLength":1},"workspaceRole":{"type":"string"}},"required":["actorType","actorId","delegatedByUserId","toolName","credentialType"],"additionalProperties":false},{"type":"object","properties":{"actorType":{"type":"string","enum":["agent"]},"actorId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"credentialType":{"type":"string","enum":["agent_auth"]},"workspaceId":{"type":"string","minLength":1},"activeWorkspaceId":{"type":"string","minLength":1},"workspaceRole":{"type":"string"}},"required":["actorType","actorId","agentId","credentialType"],"additionalProperties":false}]}'),
2235
2233
  "0efb6dbdff852fa9": JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"scope":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["personal"]},"userId":{"type":"string"}},"required":["kind","userId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["team"]},"teamId":{"type":"string"}},"required":["kind","teamId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["workspace"]}},"required":["kind"],"additionalProperties":true}]},"query":{"type":"object","properties":{"filter":{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"conditions":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","enum":["team"]},"op":{"type":"string","enum":["in"]},"value":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":100},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["state"]},"op":{"type":"string","enum":["in"]},"value":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":100},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["stateCategory"]},"op":{"type":"string","enum":["in"]},"value":{"type":"array","items":{"type":"string","enum":["triage","backlog","unstarted","started","completed","canceled","duplicate"]},"minItems":1,"maxItems":100},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["assignee"]},"op":{"type":"string","enum":["in"]},"value":{"type":"array","items":{"anyOf":[{"type":"string","enum":["me","none"]},{"type":"string"}]},"minItems":1,"maxItems":100},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["creator"]},"op":{"type":"string","enum":["in"]},"value":{"type":"array","items":{"anyOf":[{"type":"string","enum":["me"]},{"type":"string"}]},"minItems":1,"maxItems":100},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["priority"]},"op":{"type":"string","enum":["in"]},"value":{"type":"array","items":{"type":"string","enum":["none","urgent","high","medium","low"]},"minItems":1,"maxItems":100},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["labels"]},"op":{"type":"string","enum":["any","all","none"]},"value":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":100},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["repository"]},"op":{"type":"string","enum":["in"]},"value":{"type":"array","items":{"anyOf":[{"type":"string","enum":["none"]},{"type":"string"}]},"minItems":1,"maxItems":100},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["project"]},"op":{"type":"string","enum":["in"]},"value":{"type":"array","items":{"anyOf":[{"type":"string","enum":["none"]},{"type":"string"}]},"minItems":1,"maxItems":100},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["milestone"]},"op":{"type":"string","enum":["in"]},"value":{"type":"array","items":{"anyOf":[{"type":"string","enum":["none"]},{"type":"string"}]},"minItems":1,"maxItems":100},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["parent"]},"op":{"type":"string","enum":["any","none"]},"negate":{"type":"boolean"}},"required":["field","op"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["parent"]},"op":{"type":"string","enum":["is"]},"value":{"type":"string"},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["type"]},"op":{"type":"string","enum":["in"]},"value":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":100},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["text"]},"op":{"type":"string","enum":["contains"]},"value":{"type":"string","pattern":"^\\\\S[\\\\s\\\\S]*\\\\S$|^\\\\S$|^$","minLength":1,"maxLength":200},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["created","updated"]},"op":{"type":"string","enum":["between"]},"value":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}},"additionalProperties":true},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["run"]},"op":{"type":"string","enum":["is"]},"value":{"type":"string","enum":["active","needs_person","none"]},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["delivery"]},"op":{"type":"string","enum":["is"]},"value":{"type":"string","enum":["unreleased","unknown","released","reverted"]},"negate":{"type":"boolean"}},"required":["field","op","value"],"additionalProperties":true}]},"maxItems":50}},"required":["match","conditions"],"additionalProperties":true},"grouping":{"type":"string","enum":["none","state","type","assignee","priority","repository","project","milestone","delivery"]},"ordering":{"type":"string","enum":["manual","priority","created","updated","key"]},"layout":{"type":"string","enum":["list","board"]},"includeTriage":{"type":"boolean"}},"required":["filter","grouping","ordering","layout","includeTriage"],"additionalProperties":true},"createdBy":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"starredAt":{"type":"string"}},"required":["id","name","scope","query","createdBy","createdAt","updatedAt"],"additionalProperties":true}}},"required":["items"],"additionalProperties":true}'),
2236
2234
  "0f94d2e1ecf0efd9": JSON.parse('{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":214,"pattern":"^(@[a-z0-9-~][a-z0-9-._~]*\\\\/)?[a-z0-9-~][a-z0-9-._~]*$"},"layer":{"type":"string","enum":["team","workspace"]},"currentVersion":{"type":["integer","null"],"minimum":1,"maximum":9007199254740991},"currentCommit":{"type":"string"},"loops":{"type":"object","properties":{"created":{"type":"array","items":{"type":"string"}},"changed":{"type":"array","items":{"type":"string"}},"removed":{"type":"array","items":{"type":"string"}}},"required":["created","changed","removed"],"additionalProperties":false},"agents":{"type":"object","properties":{"created":{"type":"array","items":{"type":"string"}},"changed":{"type":"array","items":{"type":"string"}},"removed":{"type":"array","items":{"type":"string"}}},"required":["created","changed","removed"],"additionalProperties":false},"schedules":{"type":"object","properties":{"created":{"type":"array","items":{"type":"string"}},"changed":{"type":"array","items":{"type":"string"}},"removed":{"type":"array","items":{"type":"string"}},"adopted":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"id":{"type":"string"}},"required":["key","id"],"additionalProperties":false}}},"required":["created","changed","removed","adopted"],"additionalProperties":false},"drift":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["schedule"]},"key":{"type":"string"},"field":{"type":"string"},"declared":{},"live":{},"changedBy":{"type":"object","properties":{"actorType":{"type":"string"},"actorId":{"type":"string"}},"required":["actorType","actorId"],"additionalProperties":false},"changedAt":{"type":"string","format":"date-time"}},"required":["kind","key","field","declared","live"],"additionalProperties":false}},"conflicts":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["id_taken"]},"resource":{"type":"string","enum":["loop","agent"]},"id":{"type":"string"},"kit":{"type":"string"}},"required":["kind","resource","id","kit"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["not_for_team"]},"declaration":{"type":"string"}},"required":["kind","declaration"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["schedule_team"]},"key":{"type":"string"},"problem":{"type":"string","enum":["missing","not_allowed","unknown"]}},"required":["kind","key","problem"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["loop_unresolved"]},"record":{"type":"string","enum":["schedule"]},"key":{"type":"string"},"loop":{"type":"string"}},"required":["kind","record","key","loop"],"additionalProperties":false}]}},"warnings":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["still_named"]},"resource":{"type":"string","enum":["loop","agent"]},"id":{"type":"string"},"record":{"type":"string"}},"required":["kind","resource","id","record"],"additionalProperties":false}},"secretsWithoutValue":{"type":"array","items":{"type":"string"}}},"required":["name","layer","currentVersion","loops","agents","schedules","drift","conflicts","warnings","secretsWithoutValue"],"additionalProperties":false}'),
2237
2235
  "102af8fef1066fe4": JSON.parse('{"type":"object","additionalProperties":false,"required":["runnerId","teamId"],"properties":{"runnerId":{"type":"string"},"teamId":{"type":"string"}}}'),
@@ -2278,7 +2276,6 @@ var generatedOpenApiSchemas = {
2278
2276
  "2bbdf90aebda192a": JSON.parse('{"type":"object","additionalProperties":false,"required":["runId","amendment"],"properties":{"runId":{"type":"string"},"amendment":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["set_goal"]},"goal":{"type":"string","minLength":1,"maxLength":4000,"pattern":"\\\\S"}},"required":["kind","goal"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["add_constraint"]},"constraint":{"type":"string","minLength":1,"maxLength":1000,"pattern":"\\\\S"}},"required":["kind","constraint"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["remove_constraint"]},"id":{"type":"string","minLength":1,"maxLength":120}},"required":["kind","id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["edit_constraint"]},"id":{"type":"string","minLength":1,"maxLength":120},"constraint":{"type":"string","minLength":1,"maxLength":1000,"pattern":"\\\\S"}},"required":["kind","id","constraint"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["set_corrections"]},"on":{"type":"boolean"}},"required":["kind","on"],"additionalProperties":false}]}}}'),
2279
2277
  "2c0834ab5174bf02": JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"columns":{"type":"array","items":{"type":"object","properties":{"state":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"category":{"type":"string","enum":["triage","backlog","unstarted","started","completed","canceled","duplicate"]},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"color":{"type":"string"},"agentPickup":{"type":"boolean"}},"required":["id","name","category","position","color","agentPickup"],"additionalProperties":true},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"workspaceId":{"type":"string"},"team":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"}},"required":["id","key","name"],"additionalProperties":true},"number":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"title":{"type":"string"},"description":{"type":"string"},"acceptanceCriteria":{"type":"array","items":{"type":"string"}},"promise":{"type":"string"},"outOfScope":{"type":"array","items":{"type":"string"}},"type":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"color":{"type":"string"},"outcome":{"type":"string","enum":["feature","bug","refactor","investigation","docs","migration","performance"]},"defaultLoop":{"type":"string"}},"required":["id","name","color"],"additionalProperties":true},"state":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"category":{"type":"string","enum":["triage","backlog","unstarted","started","completed","canceled","duplicate"]},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"color":{"type":"string"},"agentPickup":{"type":"boolean"}},"required":["id","name","category","position","color","agentPickup"],"additionalProperties":true},"priority":{"type":"string","enum":["none","urgent","high","medium","low"]},"assigneeId":{"type":"string"},"creator":{"type":"object","properties":{"type":{"type":"string","enum":["human","agent","system"]},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":true},"origin":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["manual"]}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["plan_ticket"]},"runId":{"type":"string"},"ticketKey":{"type":"string"},"planReviewed":{"type":"boolean"}},"required":["kind","runId","ticketKey"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["launch"]},"runId":{"type":"string"}},"required":["kind","runId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["event"]},"eventId":{"type":"string"}},"required":["kind","eventId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["alert"]},"fingerprint":{"type":"string"}},"required":["kind","fingerprint"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["migrated"]},"previousKeys":{"type":"array","items":{"type":"string"}},"formerSourceKind":{"type":"string"},"formerSourceUrl":{"type":"string"}},"required":["kind","previousKeys","formerSourceKind"],"additionalProperties":true}]},"repoBindingId":{"type":"string"},"parentId":{"type":"string"},"labels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"color":{"type":"string"}},"required":["id","name","color"],"additionalProperties":true}},"projectId":{"type":"string"},"milestoneId":{"type":"string"},"sortKey":{"type":"string"},"startedAt":{"type":"string"},"completedAt":{"type":"string"},"canceledAt":{"type":"string"},"triagedAt":{"type":"string"},"triageReason":{"type":"string","enum":["non_member","event","unattended_run","from_triage"]},"snoozedUntil":{"type":"string"},"snoozedBy":{"type":"string"},"waitingOn":{"type":"object","properties":{"keys":{"type":"array","items":{"type":"string"}},"hidden":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["keys","hidden"],"additionalProperties":true},"cannotStart":{"type":"object","properties":{"missing":{"type":"array","items":{"type":"string"}},"reason":{"type":"string"}},"required":["missing"],"additionalProperties":true},"delivery":{"type":"object","properties":{"status":{"type":"string","enum":["unreleased","unknown","released","reverted"]},"changeRequests":{"type":"array","items":{"type":"object","properties":{"changeRequestId":{"type":"string"},"number":{"type":"string"},"title":{"type":"string"},"url":{"type":"string"},"repoBindingId":{"type":"string"},"teamId":{"type":"string"},"repository":{"type":"string"},"branch":{"type":"string"},"mergeRevision":{"type":"string"},"status":{"type":"string","enum":["merged","prerelease","unknown","released","reverted"]},"prereleases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"tag":{"type":"string"},"version":{"type":"string"},"url":{"type":"string"}},"required":["id","tag","version"],"additionalProperties":true}},"release":{"type":"object","properties":{"id":{"type":"string"},"tag":{"type":"string"},"version":{"type":"string"},"url":{"type":"string"}},"required":["id","tag","version"],"additionalProperties":true},"deployTargets":{"type":"array","items":{"type":"object","properties":{"target":{"type":"string"},"tag":{"type":"string"},"since":{"type":"string"}},"required":["target","tag","since"],"additionalProperties":true}},"revertedAt":{"type":"string"},"revertedByRevision":{"type":"string"}},"required":["changeRequestId","number","title","url","repoBindingId","repository","branch","status","prereleases","deployTargets"],"additionalProperties":true}}},"required":["status","changeRequests"],"additionalProperties":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"revision":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","key","workspaceId","team","number","title","acceptanceCriteria","type","state","priority","creator","origin","labels","sortKey","createdAt","updatedAt","revision"],"additionalProperties":true}},"nextCursor":{"type":"string"}},"required":["state","items"],"additionalProperties":true}}},"required":["columns"],"additionalProperties":true}'),
2280
2278
  "2c8373207d51b417": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","loop","input"],"properties":{"workspaceId":{"type":"string"},"loop":{"type":"string"},"input":{"type":"object","properties":{"on":{"type":"boolean"}},"required":["on"],"additionalProperties":false}}}'),
2281
- "2cfef3fd6c0dbad6": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","input"],"properties":{"workspaceId":{"type":"string"},"input":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"slug":{"type":"string","minLength":1,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"notificationPreferences":{"type":"object","properties":{"decisionsRequiringAttention":{"type":"boolean"},"workReadyForReview":{"type":"boolean"}},"required":["decisionsRequiringAttention","workReadyForReview"],"additionalProperties":false},"releaseChannel":{"type":"string","enum":["stable","next"]}},"additionalProperties":false}}}'),
2282
2279
  "2d213516b52278de": JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"color":{"type":"string"},"outcome":{"type":"string","enum":["feature","bug","refactor","investigation","docs","migration","performance"]},"defaultLoop":{"type":"string"},"isDefault":{"type":"boolean"},"taskCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","name","color","isDefault","taskCount"],"additionalProperties":true}}},"required":["items"],"additionalProperties":true}'),
2283
2280
  "2e1e2fde8cae0dec": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","projectId","input"],"properties":{"workspaceId":{"type":"string"},"projectId":{"type":"string"},"input":{"type":"object","properties":{"trigger":{"type":["string","null"],"enum":["merge","milestone","project","manual"]}},"required":["trigger"],"additionalProperties":false}}}'),
2284
2281
  "2eb5f66b85efa768": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","teamId","input"],"properties":{"workspaceId":{"type":"string"},"teamId":{"type":"string"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"type":"string"}},"required":["userId"],"additionalProperties":true}}}'),
@@ -2327,6 +2324,7 @@ var generatedOpenApiSchemas = {
2327
2324
  "44196db5b615faa3": JSON.parse('{"type":"object","additionalProperties":false,"required":["runId"],"properties":{"runId":{"type":"string"},"options":{"type":"object","additionalProperties":false,"properties":{"until":{"type":"string","enum":["attention","finished"]},"timeoutSeconds":{"anyOf":[{"type":"number"},{"type":"string"}],"minimum":0,"maximum":8}}}}}'),
2328
2325
  "44204524a95aad66": JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":214,"pattern":"^(@[a-z0-9-~][a-z0-9-._~]*\\\\/)?[a-z0-9-~][a-z0-9-._~]*$"},"owner":{"type":"string","enum":["workspace","team","personal"]},"teamId":{"type":"string","minLength":1},"version":{"type":"string","minLength":1,"maxLength":200},"pinnedVersion":{"type":"string","minLength":1,"maxLength":200},"lastCheckedAt":{"type":"string","format":"date-time"},"problem":{"type":"string"},"actsFor":{"type":"string"}},"required":["name","owner"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}'),
2329
2326
  "447e9fb41c948abf": JSON.parse('{"type":"object","properties":{"kits":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":214,"pattern":"^(@[a-z0-9-~][a-z0-9-._~]*\\\\/)?[a-z0-9-~][a-z0-9-._~]*$"},"version":{"type":"string","minLength":1,"maxLength":200},"source":{"type":"string","enum":["deployed","installed"]}},"required":["name","version","source"],"additionalProperties":false}}},"required":["kits"],"additionalProperties":false}'),
2327
+ "44d3f661e439ad19": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","options"],"properties":{"workspaceId":{"type":"string"},"options":{"type":"object","additionalProperties":false,"required":["loops"],"properties":{"loops":{"type":"string","maxLength":20000},"teamId":{"type":"string"}}}}}'),
2330
2328
  "45564933894e30ae": JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"taskId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"sourceSession":{"type":"object","properties":{"id":{"type":"string","minLength":1},"actorType":{"type":"string","enum":["human","delegated_agent","agent"]},"agentIdentityId":{"type":"string","minLength":1},"agentName":{"type":"string"},"runtimeProfile":{"type":"string"},"modelProvider":{"type":"string"},"modelName":{"type":"string"},"modelId":{"type":"string"},"startedAt":{"type":"string","format":"date-time"}},"required":["id","actorType","startedAt"],"additionalProperties":true},"replyToEntryId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["note","question","answer","decision","blocker","finding","handoff","test_result","file_reference","status_change","assignment_change","link","change_request_review"]},"content":{"type":"string","minLength":1},"metadata":{"type":"object"},"actorType":{"type":"string","enum":["human","delegated_agent","agent"]},"actorId":{"type":"string","minLength":1},"delegatedByUserId":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time"},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["thumbs_up","thumbs_down","heart","laugh","hooray","confused","eyes","rocket"]},"actors":{"type":"array","items":{"type":"object","properties":{"actorType":{"type":"string","enum":["human","delegated_agent","agent"]},"actorId":{"type":"string","minLength":1}},"required":["actorType","actorId"],"additionalProperties":true}}},"required":["reaction","actors"],"additionalProperties":true}}},"required":["id","workspaceId","taskId","kind","content","metadata","actorType","actorId","createdAt"],"additionalProperties":true}'),
2331
2329
  "45a04f181b727de3": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","query"],"properties":{"workspaceId":{"type":"string"},"query":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1,"maxLength":214,"pattern":"^(@[a-z0-9-~][a-z0-9-._~]*\\\\/)?[a-z0-9-~][a-z0-9-._~]*$"},"version":{"type":"string","minLength":1,"maxLength":200}}}}}'),
2332
2330
  "45c226b28a80c0b3": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","input"],"properties":{"workspaceId":{"type":"string"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1},"key":{"type":"string"},"description":{"type":"string"}},"required":["name"],"additionalProperties":true}}}'),
@@ -2366,6 +2364,7 @@ var generatedOpenApiSchemas = {
2366
2364
  "605167fb55f223e8": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","taskId","input"],"properties":{"workspaceId":{"type":"string"},"taskId":{"type":"string","description":"The Task: its id or any key it has had, such as `KIT-12`."},"input":{"type":"object","additionalProperties":false,"required":["teamId"],"properties":{"teamId":{"type":"string"}}}}}'),
2367
2365
  "60f0007d94985908": JSON.parse('{"type":"object","properties":{"contextPackId":{"type":"string","minLength":1},"ref":{"type":"object","properties":{"kind":{"type":"string","enum":["kit","memory","decision","session","session_update","proposal","task_dependency","repo_binding","agent_environment","loop_step"]},"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}},"required":["kind","id","label"],"additionalProperties":false},"contentMarkdown":{"type":"string","minLength":1},"safety":{"type":"object","properties":{"rawContentIncluded":{"type":"boolean"},"notes":{"type":"array","items":{"type":"string","minLength":1}}},"required":["rawContentIncluded","notes"],"additionalProperties":false}},"required":["contextPackId","ref","contentMarkdown","safety"],"additionalProperties":false}'),
2368
2366
  "634a62eeaf8b9eac": JSON.parse('{"type":"object","properties":{"runnerId":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time"}},"required":["runnerId","workspaceId","createdAt"],"additionalProperties":false}'),
2367
+ "63695db1064d7b75": JSON.parse('{"type":"object","properties":{"id":{"type":"string"},"workspaceId":{"type":"string"},"provider":{"type":"string","enum":["github","gitlab","forgejo","gitea","gitee","bitbucket","azure-devops"]},"host":{"type":"string","minLength":1,"maxLength":120,"pattern":"^(?!.*(?:```|[dD][iI][fF][fF]\\\\s*--\\\\s*[gG][iI][tT]|@@|[tT][eE][rR][mM][iI][nN][aA][lL][\\\\s_-]*[lL][oO][gG]|[rR][aA][wW][\\\\s_-]*[lL][oO][gG]|[pP][rR][oO][vV][iI][dD][eE][rR][\\\\s_-]*[pP][aA][yY][lL][oO][aA][dD]|[pP][rR][oO][vV][iI][dD][eE][rR][\\\\s_-]*[cC][oO][mM][mM][eE][nN][tT]|[rR][aA][wW][\\\\s_-]*[pP][rR][oO][vV][iI][dD][eE][rR]|\\\\b[sS][kK]-|[gG][hH][pP]_|[gG][lL][pP][aA][tT]-|[bB][eE][aA][rR][eE][rR]\\\\s|\\\\b[eE][yY][jJ]|[tT][oO][kK][eE][nN]|[sS][eE][cC][rR][eE][tT]|[pP][aA][sS][sS][wW][oO][rR][dD]|[pP][rR][iI][vV][aA][tT][eE][\\\\s_-]*[kK][eE][yY]|[aA][pP][iI][\\\\s_-]*[kK][eE][yY]))[A-Za-z0-9][A-Za-z0-9 ._:/()+-]{0,119}$"},"authKind":{"type":"string","enum":["github_app","gitlab_personal_access_token","gitlab_group_token","gitlab_project_token","gitlab_oauth","access_token"]},"baseUrl":{"type":"string","maxLength":400},"status":{"type":"string","enum":["connected","degraded","disconnected"]},"eventIngress":{"type":"string","enum":["webhooks","off"]},"externalAccountId":{"type":"string","minLength":1,"maxLength":120},"externalAccountLogin":{"type":"string","minLength":1,"maxLength":120},"capabilities":{"type":"array","items":{"type":"string","enum":["repository_read","repository_write","change_request_read","change_request_write","check_write","webhook_manage"]}},"credentialConfigured":{"type":"boolean"},"webhookActive":{"type":"boolean"},"bindingWebhooks":{"type":"string","enum":["active","missing","none"]},"tls":{"type":"object","properties":{"customCaRef":{"type":"string","minLength":1,"maxLength":240}},"additionalProperties":false},"supportEvidence":{"type":"array","items":{"type":"object","properties":{"capability":{"type":"string","enum":["repository_read","repository_write","change_request_read","change_request_write","check_write","webhook_manage"]},"support":{"type":"string","enum":["certified","detected","unsupported"]},"observedAt":{"type":"string","format":"date-time"}},"required":["capability","support","observedAt"],"additionalProperties":false},"maxItems":20},"expiresAt":{"type":"string","format":"date-time"},"lastTestedAt":{"type":"string","format":"date-time"},"healthMessage":{"type":"string","maxLength":240},"connectedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","workspaceId","provider","host","authKind","status","eventIngress","capabilities","credentialConfigured","webhookActive","tls","supportEvidence","createdAt","updatedAt"],"additionalProperties":false}'),
2369
2368
  "6415106f0a15d3d5": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","initiativeId","input"],"properties":{"workspaceId":{"type":"string"},"initiativeId":{"type":"string"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","pattern":"^\\\\S[\\\\s\\\\S]*\\\\S$|^\\\\S$|^$","minLength":1,"maxLength":120},"description":{"type":"string"},"ownerId":{"type":["string","null"]},"status":{"type":"string","enum":["planned","active","paused","completed","canceled"]},"targetDate":{"type":["string","null"]},"visibility":{"type":"string","enum":["workspace","private"]}},"additionalProperties":true}}}'),
2370
2369
  "652172a89d970e7b": JSON.parse('{"type":"object","additionalProperties":false,"required":["runnerId","workspaceId"],"properties":{"runnerId":{"type":"string"},"workspaceId":{"type":"string"}}}'),
2371
2370
  "65a64ae3a3916e5c": JSON.parse('{"type":"object","additionalProperties":false,"required":["runId","actionId"],"properties":{"runId":{"type":"string"},"actionId":{"type":"string"},"input":{"type":["object","null"],"properties":{"overrideBlockers":{"type":"boolean"}},"additionalProperties":false}}}'),
@@ -2392,6 +2391,7 @@ var generatedOpenApiSchemas = {
2392
2391
  "74ed5efefb2ce6b7": JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"changeRequestId":{"type":"string","minLength":1},"reviewId":{"type":"string","minLength":1},"path":{"type":"string","minLength":1,"maxLength":1024},"side":{"type":"string","enum":["base","head"]},"startLine":{"type":"integer","minimum":1,"maximum":2147483647},"endLine":{"type":"integer","minimum":1,"maximum":2147483647},"headCommitSha":{"type":"string","pattern":"^[a-fA-F0-9]{7,64}$"},"linesDigest":{"type":"string","pattern":"^[a-z0-9]{1,64}$"},"body":{"type":"string"},"authorActorType":{"type":"string","enum":["human","delegated_agent","agent"]},"authorActorId":{"type":"string","minLength":1},"status":{"type":"object","properties":{"state":{"type":"string","enum":["not_sent","queued","sent","not_delivered","resolved"]},"runId":{"type":"string","minLength":1},"pushed":{"type":"string","pattern":"^[a-fA-F0-9]{7,64}$"},"settled":{"type":"boolean"},"reason":{"type":"string","maxLength":1000}},"required":["state"],"additionalProperties":false},"resolvedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","changeRequestId","reviewId","path","side","startLine","endLine","headCommitSha","body","status","createdAt"],"additionalProperties":false}},"notDelivered":{"type":"array","items":{"type":"object","properties":{"reviewId":{"type":"string","minLength":1},"reason":{"type":"string","maxLength":1000}},"required":["reviewId"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}'),
2393
2392
  "7552c43f668085dc": JSON.parse('{"type":"object","additionalProperties":false,"required":["runnerId","replicaId"],"properties":{"runnerId":{"type":"string"},"replicaId":{"type":"string"}}}'),
2394
2393
  "768d121221ce2589": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","repoBindingId"],"properties":{"workspaceId":{"type":"string"},"repoBindingId":{"type":"string"}}}'),
2394
+ "7711ef069bca67c9": JSON.parse('{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"logo":{"type":"string","maxLength":2048},"plan":{"type":"string","enum":["free","solo_pro","team_starter"]},"notificationPreferences":{"type":"object","properties":{"decisionsRequiringAttention":{"type":"boolean"},"workReadyForReview":{"type":"boolean"}},"required":["decisionsRequiringAttention","workReadyForReview"],"additionalProperties":false},"releaseChannel":{"type":"string","enum":["stable","next"]},"createdByUserId":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","slug","plan","createdAt","updatedAt"],"additionalProperties":false}'),
2395
2395
  "774c74b1c741a00a": JSON.parse('{"type":"object","additionalProperties":false,"required":["taskId","input"],"properties":{"taskId":{"type":"string"},"input":{"type":"object","properties":{"kind":{"type":"string","minLength":1},"url":{"type":"string","minLength":1},"title":{"type":"string"},"provider":{"type":"string"},"externalId":{"type":"string"},"metadata":{"type":"object"}},"required":["kind","url"],"additionalProperties":false}}}'),
2396
2396
  "7760a5a5ce90f1c5": JSON.parse('{"type":"object","additionalProperties":false,"properties":{}}'),
2397
2397
  "777d2085ef856158": JSON.parse('{"type":"object","additionalProperties":false,"required":["input"],"properties":{"input":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"loop":{"type":"string","minLength":1,"maxLength":120},"words":{"type":"string","minLength":1,"maxLength":4000},"plainWords":{"type":"boolean"},"task":{"type":"string","minLength":1,"maxLength":200},"teamId":{"type":"string","minLength":1},"taskTypeId":{"type":"string","minLength":1},"input":{"type":"object"},"context":{"type":"object","properties":{"teamId":{"type":"string","minLength":1},"remoteUrl":{"type":"string","minLength":1,"maxLength":2000},"repoBindingId":{"type":"string","minLength":1},"branch":{"type":"string","minLength":1,"maxLength":255}},"additionalProperties":false},"devVersionId":{"type":"string","minLength":1},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":20},"fresh":{"type":"boolean"},"overrideBlockers":{"type":"boolean"}},"required":["workspaceId"],"additionalProperties":false}}}'),
@@ -2414,12 +2414,12 @@ var generatedOpenApiSchemas = {
2414
2414
  "820906921ac948ce": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","taskId","input"],"properties":{"workspaceId":{"type":"string"},"taskId":{"type":"string","description":"The Task: its id or any key it has had, such as `KIT-12`."},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"canonicalTaskId":{"type":"string"}},"required":["canonicalTaskId"],"additionalProperties":true}}}'),
2415
2415
  "82e1509d8e19c26b": JSON.parse('{"type":"object","additionalProperties":false,"required":["proposalId"],"properties":{"proposalId":{"type":"string"}}}'),
2416
2416
  "832e3df13b20bb7a": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId"],"properties":{"workspaceId":{"type":"string"},"options":{"type":"object","additionalProperties":false,"properties":{"teamId":{"type":"string"},"includeSnoozed":{"type":"boolean"}}}}}'),
2417
- "83567d1d5cb4da04": JSON.parse('{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"plan":{"type":"string","enum":["free","solo_pro","team_starter"]},"notificationPreferences":{"type":"object","properties":{"decisionsRequiringAttention":{"type":"boolean"},"workReadyForReview":{"type":"boolean"}},"required":["decisionsRequiringAttention","workReadyForReview"],"additionalProperties":false},"releaseChannel":{"type":"string","enum":["stable","next"]},"createdByUserId":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","slug","plan","createdAt","updatedAt"],"additionalProperties":false}'),
2418
2417
  "845af131ce5efda9": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","teamId","input"],"properties":{"workspaceId":{"type":"string"},"teamId":{"type":"string"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1},"category":{"type":"string","enum":["triage","backlog","unstarted","started","completed","canceled","duplicate"]},"color":{"type":"string"},"agentPickup":{"type":"boolean"}},"required":["name","category","color"],"additionalProperties":true}}}'),
2419
2418
  "84eb887929b85c32": JSON.parse('{"type":"object","additionalProperties":false,"required":["changeRequestId","commentId","input"],"properties":{"changeRequestId":{"type":"string"},"commentId":{"type":"string"},"input":{"type":"object","properties":{"resolved":{"type":"boolean"}},"required":["resolved"],"additionalProperties":false}}}'),
2420
2419
  "85052ed9c5ab32f1": JSON.parse('{"type":"object","additionalProperties":false,"required":["runId","idempotencyKey"],"properties":{"runId":{"type":"string"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":240}}}'),
2421
2420
  "85c34d18bd3b92ab": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","input"],"properties":{"workspaceId":{"type":"string"},"input":{"type":"object","properties":{"teamId":{"type":"string"},"title":{"type":"string","minLength":1,"maxLength":240},"description":{"type":"string"},"acceptanceCriteria":{"type":"array","items":{"type":"string"}},"promise":{"type":"string"},"outOfScope":{"type":"array","items":{"type":"string"}},"stateId":{"type":"string"},"priority":{"type":"string","enum":["none","urgent","high","medium","low"]},"assigneeId":{"type":"string"},"repoBindingId":{"type":"string"},"parentId":{"type":"string"},"labelIds":{"type":"array","items":{"type":"string"}},"typeId":{"type":"string"},"projectId":{"type":"string"},"fromTriage":{"type":"boolean"},"loop":{"type":"string","pattern":"^\\\\S[\\\\s\\\\S]*\\\\S$|^\\\\S$|^$","minLength":1,"maxLength":200},"overrideBlockers":{"type":"boolean"}},"required":["teamId","title","loop"],"additionalProperties":false}}}'),
2422
2421
  "86f759a555d71b93": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","update"],"properties":{"workspaceId":{"type":"string"},"update":{"type":"object","properties":{"runFileRetentionDays":{"type":["integer","null"],"minimum":1,"maximum":3650}},"required":["runFileRetentionDays"],"additionalProperties":false}}}'),
2422
+ "883256a3dec42d3c": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","input"],"properties":{"workspaceId":{"type":"string"},"input":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"slug":{"type":"string","minLength":1,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"logo":{"type":["string","null"],"maxLength":2048},"notificationPreferences":{"type":"object","properties":{"decisionsRequiringAttention":{"type":"boolean"},"workReadyForReview":{"type":"boolean"}},"required":["decisionsRequiringAttention","workReadyForReview"],"additionalProperties":false},"releaseChannel":{"type":"string","enum":["stable","next"]}},"additionalProperties":false}}}'),
2423
2423
  "895ed3078f5b3bb9": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId"],"properties":{"workspaceId":{"type":"string"},"options":{"type":"object","additionalProperties":false,"properties":{"teamId":{"type":"string","minLength":1},"me":{"type":"boolean"}}}}}'),
2424
2424
  "89d13d5a543363c0": JSON.parse('{"type":"object","additionalProperties":false,"required":["runnerId","input"],"properties":{"runnerId":{"type":"string"},"input":{"type":"object","properties":{"workUnitId":{"type":"string","minLength":1},"lease":{"type":"object","properties":{"leaseOwnerId":{"type":"string","minLength":1},"runnerReplicaId":{"type":"string","minLength":1},"leaseId":{"type":"string","minLength":1},"attempt":{"type":"integer","minimum":1,"maximum":9007199254740991},"fencingToken":{"type":"string","minLength":1,"maxLength":240,"pattern":"^[A-Za-z0-9._:-]+$"},"capacitySlot":{"type":"string","minLength":1,"maxLength":240}},"required":["leaseOwnerId","runnerReplicaId","leaseId","attempt","fencingToken","capacitySlot"],"additionalProperties":false},"crashed":{"type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":500}},"required":["reason"],"additionalProperties":false},"tokens":{"anyOf":[{"type":"object","properties":{"input":{"type":"integer","minimum":0,"maximum":9007199254740991},"output":{"type":"integer","minimum":0,"maximum":9007199254740991},"cached":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["input","output","cached"],"additionalProperties":false},{"type":"string","enum":["none"]}]},"ranModel":{"type":"string","minLength":1,"maxLength":200}},"required":["workUnitId","lease"],"additionalProperties":false}}}'),
2425
2425
  "89f8e1710beaa6fd": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","taskId","input"],"properties":{"workspaceId":{"type":"string"},"taskId":{"type":"string","description":"The Task: its id or any key it has had, such as `KIT-12`."},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"typeId":{"type":"string"}},"required":["typeId"],"additionalProperties":true}}}'),
@@ -2481,7 +2481,6 @@ var generatedOpenApiSchemas = {
2481
2481
  a7e893f9fcb3f790: JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","teamId","memberIds"],"properties":{"workspaceId":{"type":"string"},"teamId":{"type":"string"},"memberIds":{"type":"array","items":{"type":"string"}}}}'),
2482
2482
  a80c496f30a88eee: JSON.parse('{"type":"object","properties":{"host":{"type":"string","maxLength":260,"pattern":"^(?:localhost|[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+|\\\\*\\\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\\\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*)(?::(?:[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$"},"teamId":{"type":"string","minLength":1},"repoBindingId":{"type":"string","minLength":1},"addedByActorType":{"type":"string","enum":["human","delegated_agent","agent"]},"addedByActorId":{"type":"string"},"addedAt":{"type":"string","format":"date-time"}},"required":["host","addedByActorType","addedByActorId","addedAt"],"additionalProperties":false}'),
2483
2483
  a9714e089617c1e1: JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","digest","input"],"properties":{"workspaceId":{"type":"string"},"digest":{"type":"string","pattern":"^[a-f0-9]{64}$"},"input":{"type":"object","properties":{"bundle":{"type":"string","minLength":1}},"required":["bundle"],"additionalProperties":false}}}'),
2484
- a9958403f37177a9: JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"plan":{"type":"string","enum":["free","solo_pro","team_starter"]},"notificationPreferences":{"type":"object","properties":{"decisionsRequiringAttention":{"type":"boolean"},"workReadyForReview":{"type":"boolean"}},"required":["decisionsRequiringAttention","workReadyForReview"],"additionalProperties":false},"releaseChannel":{"type":"string","enum":["stable","next"]},"createdByUserId":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","slug","plan","createdAt","updatedAt"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}'),
2485
2484
  a99d03aaadffc522: JSON.parse('{"type":"object","properties":{"id":{"type":"string","minLength":1}},"required":["id"],"additionalProperties":false}'),
2486
2485
  aa17b32b5783c142: JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","teamId","userId"],"properties":{"workspaceId":{"type":"string"},"teamId":{"type":"string"},"userId":{"type":"string"}}}'),
2487
2486
  aa49eb18fff543f3: JSON.parse('{"type":"object","additionalProperties":false,"required":["taskId","input"],"properties":{"taskId":{"type":"string"},"input":{"type":"object","properties":{"userId":{"type":"string","minLength":1},"role":{"type":"string","enum":["participant","watcher","decision_maker"]},"capabilities":{"type":"array","items":{"type":"string","enum":["read","comment","answer_question","review","manage_members"]},"minItems":1,"maxItems":5,"uniqueItems":true}},"required":["userId","role","capabilities"],"additionalProperties":false}}}'),
@@ -2546,6 +2545,7 @@ var generatedOpenApiSchemas = {
2546
2545
  c944fe423f0b8d52: JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","input"],"properties":{"workspaceId":{"type":"string"},"input":{"type":"object","properties":{"kind":{"type":"string","enum":["kit"]},"id":{"type":"string","minLength":1,"maxLength":200},"teamId":{"type":"string","minLength":1}},"required":["kind","id"],"additionalProperties":false}}}'),
2547
2546
  c9612b3f7fde9ac3: JSON.parse('{"type":"object","additionalProperties":false,"required":["input"],"properties":{"input":{"type":"object","properties":{"state":{"type":"string","minLength":1,"maxLength":2048},"code":{"type":"string","minLength":1,"maxLength":512}},"required":["state","code"],"additionalProperties":false}}}'),
2548
2547
  c9c08ed93c7ab1d9: JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"runId":{"type":"string","minLength":1},"teamId":{"type":"string","minLength":1},"taskId":{"type":"string","minLength":1},"step":{"type":"string"},"kind":{"type":"string"},"title":{"type":"string"},"text":{"type":"string"},"data":{},"createdAt":{"type":"string","format":"date-time"}},"required":["id","runId","step","kind","title","text","createdAt"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}'),
2548
+ c9c40ed133832513: JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"loopId":{"type":"string"},"runId":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"}},"required":["loopId","runId","createdAt"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}'),
2549
2549
  c9ccf7b5ddbe6e6f: JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","projectId","userId"],"properties":{"workspaceId":{"type":"string"},"projectId":{"type":"string"},"userId":{"type":"string"}}}'),
2550
2550
  c9cedaaab04ee107: JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","taskId","input"],"properties":{"workspaceId":{"type":"string"},"taskId":{"type":"string","description":"The Task: its id or any key it has had, such as `KIT-12`."},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"labelIds":{"type":"array","items":{"type":"string"}}},"required":["labelIds"],"additionalProperties":true}}}'),
2551
2551
  ca3740c8616abdf4: JSON.parse('{"type":"object","additionalProperties":false,"required":["assetId"],"properties":{"assetId":{"type":"string"}}}'),
@@ -2566,6 +2566,7 @@ var generatedOpenApiSchemas = {
2566
2566
  d43dbe22c50735a6: JSON.parse('{"type":"object","additionalProperties":false,"required":["taskId","input"],"properties":{"taskId":{"type":"string","description":"The Task: its id or any key it has had, such as `KIT-12`."},"input":{"type":"object","properties":{"kind":{"type":"string","enum":["note","question","answer","decision","blocker","finding","handoff","test_result","file_reference","status_change","assignment_change","link","change_request_review"]},"content":{"type":"string","minLength":1},"replyToEntryId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"metadata":{"type":"object"}},"required":["kind","content"],"additionalProperties":false}}}'),
2567
2567
  d452082a06ab5d01: JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","projectId"],"properties":{"workspaceId":{"type":"string"},"projectId":{"type":"string"},"options":{"type":"object","additionalProperties":false,"properties":{"teamId":{"type":"string"}}}}}'),
2568
2568
  d47c5c5993120979: JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","input"],"properties":{"workspaceId":{"type":"string"},"input":{"type":"object","properties":{"days":{"type":["integer","null"],"minimum":1,"maximum":9007199254740991}},"required":["days"],"additionalProperties":false}}}'),
2569
+ d4e2ea9d1fdc1be4: JSON.parse('{"anyOf":[{"type":"object","properties":{"actorType":{"type":"string","enum":["human"]},"actorId":{"type":"string","minLength":1},"userId":{"type":"string","minLength":1},"credentialType":{"type":"string","enum":["human_session","human_oauth"]},"displayName":{"type":"string","minLength":1,"maxLength":240},"email":{"type":"string","minLength":1,"maxLength":320},"avatarUrl":{"type":"string","minLength":1,"maxLength":2048},"timezone":{"type":"string","minLength":1,"maxLength":80},"workspaceId":{"type":"string","minLength":1},"activeWorkspaceId":{"type":"string","minLength":1},"workspaceRole":{"type":"string"}},"required":["actorType","actorId","userId","credentialType"],"additionalProperties":false},{"type":"object","properties":{"actorType":{"type":"string","enum":["delegated_agent"]},"actorId":{"type":"string","minLength":1},"delegatedByUserId":{"type":"string","minLength":1},"toolName":{"type":"string"},"credentialType":{"type":"string","enum":["agent_auth"]},"workspaceId":{"type":"string","minLength":1},"activeWorkspaceId":{"type":"string","minLength":1},"workspaceRole":{"type":"string"}},"required":["actorType","actorId","delegatedByUserId","toolName","credentialType"],"additionalProperties":false},{"type":"object","properties":{"actorType":{"type":"string","enum":["agent"]},"actorId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"credentialType":{"type":"string","enum":["agent_auth"]},"workspaceId":{"type":"string","minLength":1},"activeWorkspaceId":{"type":"string","minLength":1},"workspaceRole":{"type":"string"}},"required":["actorType","actorId","agentId","credentialType"],"additionalProperties":false}]}'),
2569
2570
  d563247bc61dcc23: JSON.parse('{"type":"object","properties":{"id":{"type":"string","minLength":1},"repoBindingId":{"type":"string","minLength":1},"name":{"type":"string"},"command":{"type":"string"},"workingDirectory":{"type":"string"},"pipeline":{"type":"boolean"},"readsTarget":{"type":"boolean"},"kind":{"type":"string","enum":["command"]},"approvedByUserId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","repoBindingId","name","command","approvedByUserId","createdAt"],"additionalProperties":false}'),
2570
2571
  d565eb30a74abd5b: JSON.parse('{"type":"object","properties":{"defaultRepoBindingId":{"type":"string","minLength":1},"standardBranchTemplate":{"type":"string","minLength":1,"maxLength":160},"epicBranchTemplate":{"type":"string","minLength":1,"maxLength":160},"isolatedChildBranchTemplate":{"type":"string","minLength":1,"maxLength":160},"delivery":{"type":"string","enum":["gated","auto"]},"hoursPerPriorityLevel":{"type":"integer","minimum":1,"maximum":168},"agentsStateScope":{"type":"boolean"},"revision":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["standardBranchTemplate","epicBranchTemplate","isolatedChildBranchTemplate","delivery","hoursPerPriorityLevel","agentsStateScope","revision"],"additionalProperties":false}'),
2571
2572
  d5afb090a9ae987f: JSON.parse('{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"scopeType":{"type":"string","enum":["workspace","repository","loop","kit","team","task"]},"scopeId":{"type":"string","minLength":1},"content":{"type":"string","minLength":1,"maxLength":10000},"status":{"type":"string","enum":["proposed","accepted","rejected","deprecated"]},"confidence":{"type":"string","enum":["low","medium","high"]},"sourceType":{"type":"string","enum":["user","agent","session","context_pack","run"]},"sourceId":{"type":"string","minLength":1},"createdByActorType":{"type":"string","enum":["human","delegated_agent","agent"]},"createdByActorId":{"type":"string","minLength":1},"approvedByUserId":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","workspaceId","scopeType","scopeId","content","status","confidence","createdByActorType","createdByActorId","createdAt","updatedAt"],"additionalProperties":false}'),
@@ -2602,6 +2603,7 @@ var generatedOpenApiSchemas = {
2602
2603
  e8ef04f0bd9c8e9a: JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"visibility":{"type":"string","enum":["workspace","private"]},"memberCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isMember":{"type":"boolean"},"states":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"category":{"type":"string","enum":["triage","backlog","unstarted","started","completed","canceled","duplicate"]},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"color":{"type":"string"},"agentPickup":{"type":"boolean"},"taskCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","name","category","position","color","agentPickup","taskCount"],"additionalProperties":true}},"defaultStateId":{"type":"string"},"milestoneMapping":{"type":"object","properties":{"started":{"type":"string"},"completed":{"type":"string"},"change_request_opened":{"type":"string"},"merged":{"type":"string"},"released":{"type":"string"},"failed":{"type":"string"},"blocked":{"type":"string"}},"additionalProperties":true},"members":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"image":{"type":"string"}},"required":["id","name","email"],"additionalProperties":true}},"nonMembers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"image":{"type":"string"}},"required":["id","name","email"],"additionalProperties":true}},"triageRotation":{"type":"object","properties":{"memberIds":{"type":"array","items":{"type":"string"}},"next":{"type":"string"}},"required":["memberIds"],"additionalProperties":true}},"required":["id","key","name","visibility","memberCount","isMember","states","defaultStateId","milestoneMapping","members","nonMembers","triageRotation"],"additionalProperties":true}'),
2603
2604
  e90d3f6a3c555be7: JSON.parse('{"type":"object","additionalProperties":false,"required":["sessionId","input"],"properties":{"sessionId":{"type":"string"},"input":{"type":"object","properties":{"kind":{"type":"string","enum":["note","question","answer","decision","blocker","finding","handoff","test_result","file_reference","status_change","assignment_change","link"]},"content":{"type":"string","minLength":1},"metadata":{"type":"object"}},"required":["kind","content"],"additionalProperties":false}}}'),
2604
2605
  e924e4b953c1c480: JSON.parse('{"type":"object","additionalProperties":false,"required":["runId","input"],"properties":{"runId":{"type":"string"},"input":{"type":"object","properties":{"text":{"type":"string","maxLength":4000,"pattern":"^(?![\\\\s\\\\S]*(?:(?:^|[^A-Za-z0-9])sk-[A-Za-z0-9_-]{16,}|ghp_[A-Za-z0-9_]+|github_pat_[A-Za-z0-9_]+|glpat-[A-Za-z0-9_-]+|\\\\b[Bb][Ee][Aa][Rr][Ee][Rr]\\\\s+[A-Za-z0-9._~+/=-]+|eyJ[A-Za-z0-9_-]+\\\\.[A-Za-z0-9_-]+\\\\.[A-Za-z0-9_-]+|[A-Za-z][A-Za-z0-9+.-]*:\\\\/\\\\/(?:[^\\\\s/?#]*@|[^\\\\s?#]*\\\\?)))[\\\\s\\\\S]*$"},"stepAttemptId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1,"maxLength":240}},"required":["text","idempotencyKey"],"additionalProperties":false}}}'),
2606
+ ea9db300c67acef4: JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"logo":{"type":"string","maxLength":2048},"plan":{"type":"string","enum":["free","solo_pro","team_starter"]},"notificationPreferences":{"type":"object","properties":{"decisionsRequiringAttention":{"type":"boolean"},"workReadyForReview":{"type":"boolean"}},"required":["decisionsRequiringAttention","workReadyForReview"],"additionalProperties":false},"releaseChannel":{"type":"string","enum":["stable","next"]},"createdByUserId":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","slug","plan","createdAt","updatedAt"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}'),
2605
2607
  eb2ca29565937925: JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","viewId"],"properties":{"workspaceId":{"type":"string"},"viewId":{"type":"string"}}}'),
2606
2608
  ebb1e3524cdd0871: JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"dependentTask":{"anyOf":[{"type":"object","properties":{"redacted":{"type":"boolean","enum":[false]},"taskId":{"type":"string","minLength":1},"teamId":{"type":"string","minLength":1},"taskKey":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,11}-[1-9][0-9]*$"},"title":{"type":"string","minLength":1},"state":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"category":{"type":"string","enum":["triage","backlog","unstarted","started","completed","canceled","duplicate"]}},"required":["id","name","category"],"additionalProperties":false}},"required":["redacted","taskId","taskKey","title","state"],"additionalProperties":false},{"type":"object","properties":{"redacted":{"type":"boolean","enum":[true]},"taskId":{"type":"string","minLength":1},"teamId":{"type":"string","minLength":1}},"required":["redacted"],"additionalProperties":false}]},"blockingTask":{"anyOf":[{"type":"object","properties":{"redacted":{"type":"boolean","enum":[false]},"taskId":{"type":"string","minLength":1},"teamId":{"type":"string","minLength":1},"taskKey":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,11}-[1-9][0-9]*$"},"title":{"type":"string","minLength":1},"state":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"category":{"type":"string","enum":["triage","backlog","unstarted","started","completed","canceled","duplicate"]}},"required":["id","name","category"],"additionalProperties":false}},"required":["redacted","taskId","taskKey","title","state"],"additionalProperties":false},{"type":"object","properties":{"redacted":{"type":"boolean","enum":[true]},"taskId":{"type":"string","minLength":1},"teamId":{"type":"string","minLength":1}},"required":["redacted"],"additionalProperties":false}]},"reason":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","workspaceId","dependentTask","blockingTask","createdAt","updatedAt"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}'),
2607
2609
  ec52871d8c5ab9c2: JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"leadId":{"type":"string"},"status":{"type":"string","enum":["planned","active","paused","completed","canceled"]},"targetDate":{"type":"string"},"milestones":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"targetDate":{"type":"string"}},"required":["id","name","position"],"additionalProperties":true}},"progress":{"type":"object","properties":{"completed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["completed","total"],"additionalProperties":true},"health":{"type":"string","enum":["on_track","at_risk","off_track"]},"teams":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"}},"required":["id","key","name"],"additionalProperties":true}},"visibility":{"type":"string","enum":["workspace","private"]},"memberIds":{"type":"array","items":{"type":"string"}},"revision":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","name","status","milestones","progress","teams","visibility","memberIds","revision"],"additionalProperties":true}}},"required":["items"],"additionalProperties":true}'),
@@ -2675,11 +2677,11 @@ var generatedOpenApiOperationContracts = {
2675
2677
  clearLoopInputDefaults: { inputSchemaId: "d7aa382fd26f96b1", outputSchemaId: "a1d1128b11378de7" },
2676
2678
  closeRun: { inputSchemaId: "bdc93c0e23653f66", outputSchemaId: "f7f3158d2dee234e" },
2677
2679
  compareReleases: { inputSchemaId: "d414f4bf42cac3bf", outputSchemaId: "733dab557bbb461a" },
2678
- completeGithubConnection: { inputSchemaId: "bf1bb2e034551707", outputSchemaId: "0e2b21b7be05f525" },
2679
- completeGitlabConnection: { inputSchemaId: "c9612b3f7fde9ac3", outputSchemaId: "0e2b21b7be05f525" },
2680
+ completeGithubConnection: { inputSchemaId: "bf1bb2e034551707", outputSchemaId: "63695db1064d7b75" },
2681
+ completeGitlabConnection: { inputSchemaId: "c9612b3f7fde9ac3", outputSchemaId: "63695db1064d7b75" },
2680
2682
  completeRunnerWorkUnit: { inputSchemaId: "a0d9881cc9d7f4e2", outputSchemaId: "44136fa355b3678a" },
2681
2683
  completeTaskAssetUpload: { inputSchemaId: "ca3740c8616abdf4", outputSchemaId: "9e6ef8b369852609" },
2682
- connectForgeWithToken: { inputSchemaId: "f9635b8d77c87e91", outputSchemaId: "0e2b21b7be05f525" },
2684
+ connectForgeWithToken: { inputSchemaId: "f9635b8d77c87e91", outputSchemaId: "63695db1064d7b75" },
2683
2685
  createChangeRequest: { inputSchemaId: "3387501a5674c749", outputSchemaId: "246ed3a8ba7a2da1" },
2684
2686
  createContextPack: { inputSchemaId: "b61b2d7ec2b1aa41", outputSchemaId: "be8ac000626f67ca" },
2685
2687
  createDeployBinding: { inputSchemaId: "7b5ff467297996f4", outputSchemaId: "27ca3e62d23ebb0c" },
@@ -2700,7 +2702,7 @@ var generatedOpenApiOperationContracts = {
2700
2702
  createTeamTask: { inputSchemaId: "3228164050a17132", outputSchemaId: "3008eadcc59e7803" },
2701
2703
  createTeamTaskForLoop: { inputSchemaId: "85c34d18bd3b92ab", outputSchemaId: "36572d3d0b61a690" },
2702
2704
  createTriageRule: { inputSchemaId: "5383db64e17853c2", outputSchemaId: "1c88d235cae8e504" },
2703
- createWorkspace: { inputSchemaId: "e79c6eab17fb10ba", outputSchemaId: "83567d1d5cb4da04" },
2705
+ createWorkspace: { inputSchemaId: "e79c6eab17fb10ba", outputSchemaId: "7711ef069bca67c9" },
2704
2706
  declineTriageTask: { inputSchemaId: "ef88202ba143e014", outputSchemaId: "3008eadcc59e7803" },
2705
2707
  deleteDeployBinding: { inputSchemaId: "2113130e4b2eb8a5", outputSchemaId: "fd8b1ae3fafaa38a" },
2706
2708
  deleteInitiative: { inputSchemaId: "c3b0d3c355064364", outputSchemaId: "1182dc2e5ca0807b" },
@@ -2790,6 +2792,7 @@ var generatedOpenApiOperationContracts = {
2790
2792
  listKitInstalls: { inputSchemaId: "895ed3078f5b3bb9", outputSchemaId: "44204524a95aad66" },
2791
2793
  listKits: { inputSchemaId: "6e3d1c6bfb5b7371", outputSchemaId: "b111d39afd4c9019" },
2792
2794
  listLabels: { inputSchemaId: "fcc72cba1350bf89", outputSchemaId: "3a43b10facade293" },
2795
+ listLatestLoopRuns: { inputSchemaId: "44d3f661e439ad19", outputSchemaId: "c9c40ed133832513" },
2793
2796
  listLatestTaskRuns: { inputSchemaId: "1ca455dfc12235e0", outputSchemaId: "cd73d7f5dde87ccf" },
2794
2797
  listMarketplace: { inputSchemaId: "c806a2ead9f09282", outputSchemaId: "f2180e737ebdfec9" },
2795
2798
  listMemories: { inputSchemaId: "52312cb544bea2a1", outputSchemaId: "c22ed8f45d9b6fec" },
@@ -2843,7 +2846,7 @@ var generatedOpenApiOperationContracts = {
2843
2846
  listUnreleased: { inputSchemaId: "768d121221ce2589", outputSchemaId: "511aed4197e0b045" },
2844
2847
  listWorkFollows: { inputSchemaId: "9daa8a9aff4917b8", outputSchemaId: "500d4fb923fa4334" },
2845
2848
  listWorkspaceProposals: { inputSchemaId: "1644bf4f37a31a72", outputSchemaId: "6c4fcee3b831daf7" },
2846
- listWorkspaces: { inputSchemaId: "7760a5a5ce90f1c5", outputSchemaId: "a9958403f37177a9" },
2849
+ listWorkspaces: { inputSchemaId: "7760a5a5ce90f1c5", outputSchemaId: "ea9db300c67acef4" },
2847
2850
  markInboxDone: { inputSchemaId: "35dc789564c199db", outputSchemaId: "284a786bb4ef4742" },
2848
2851
  markInboxRead: { inputSchemaId: "35dc789564c199db", outputSchemaId: "284a786bb4ef4742" },
2849
2852
  markInboxUndone: { inputSchemaId: "35dc789564c199db", outputSchemaId: "284a786bb4ef4742" },
@@ -2979,11 +2982,11 @@ var generatedOpenApiOperationContracts = {
2979
2982
  updateTeamDeliverySettings: { inputSchemaId: "2494a5e35f1eb8f7", outputSchemaId: "d565eb30a74abd5b" },
2980
2983
  updateTriageRule: { inputSchemaId: "38775bffeb1b661b", outputSchemaId: "1c88d235cae8e504" },
2981
2984
  updateWorkflowState: { inputSchemaId: "f78ee3b13cb8c506", outputSchemaId: "e8ef04f0bd9c8e9a" },
2982
- updateWorkspace: { inputSchemaId: "2cfef3fd6c0dbad6", outputSchemaId: "83567d1d5cb4da04" },
2985
+ updateWorkspace: { inputSchemaId: "883256a3dec42d3c", outputSchemaId: "7711ef069bca67c9" },
2983
2986
  uploadKitBundle: { inputSchemaId: "a9714e089617c1e1", outputSchemaId: "6ed93813aba2c91a" },
2984
2987
  useWorkspace: { inputSchemaId: "fcc72cba1350bf89", outputSchemaId: "d0fc6e2ff3936a66" },
2985
2988
  waitRun: { inputSchemaId: "44196db5b615faa3", outputSchemaId: "3a5dc3cd2d1b0209" },
2986
- whoami: { inputSchemaId: "e78a71d59c13f09f", outputSchemaId: "0e892e14534214e2" }
2989
+ whoami: { inputSchemaId: "e78a71d59c13f09f", outputSchemaId: "d4e2ea9d1fdc1be4" }
2987
2990
  };
2988
2991
 
2989
2992
  // packages/sdk/src/operations.ts
@@ -3681,7 +3684,7 @@ var operationSpecs = [
3681
3684
  namespacePath: ["taskTypes", "remove"],
3682
3685
  tags: ["tasks"],
3683
3686
  destructive: true,
3684
- summary: "Remove a Task Type, moving its Tasks to the replacement, which becomes the default when the removed one was."
3687
+ summary: "Remove a Task Type, moving its Tasks to the replacement; the default Task Type cannot be removed."
3685
3688
  },
3686
3689
  {
3687
3690
  name: "listLabels",
@@ -4816,6 +4819,13 @@ var operationSpecs = [
4816
4819
  tags: ["runs"],
4817
4820
  summary: "The newest Run of each of these Tasks that has one, with its status, and `agent` while the Task has an unsettled Run: the most recently started one, with its Loop and display state."
4818
4821
  },
4822
+ {
4823
+ name: "listLatestLoopRuns",
4824
+ parameters: ["workspaceId", "options"],
4825
+ namespacePath: ["runs", "latestForLoops"],
4826
+ tags: ["runs"],
4827
+ summary: "The newest top-level Run of each Loop in `loops` that has one, in `teamId` when it names one: its id, `createdAt` and `startedAt`."
4828
+ },
4819
4829
  {
4820
4830
  name: "createTeamTaskForLoop",
4821
4831
  parameters: ["workspaceId", "input"],
@@ -8273,6 +8283,9 @@ class KitmanClient {
8273
8283
  listLatestTaskRuns(workspaceId, taskIds) {
8274
8284
  return this.run(this.effectClient.listLatestTaskRuns(workspaceId, taskIds));
8275
8285
  }
8286
+ listLatestLoopRuns(workspaceId, options) {
8287
+ return this.run(this.effectClient.listLatestLoopRuns(workspaceId, options));
8288
+ }
8276
8289
  readTranscript(runId, stepAttemptId, options = {}) {
8277
8290
  return this.run(this.effectClient.readTranscript(runId, stepAttemptId, options));
8278
8291
  }
@@ -7,10 +7,10 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-2dhhyy04.js";
11
- import"./chunk-t6y0c0ds.js";
12
- import"./chunk-w9mxqrsp.js";
13
- import"./chunk-ew07nt2d.js";
10
+ } from "./chunk-7re3n1ze.js";
11
+ import"./chunk-bsgvmq34.js";
12
+ import"./chunk-j4b1yvcd.js";
13
+ import"./chunk-h2f26xbd.js";
14
14
  export {
15
15
  decoded2 as decoded,
16
16
  decodedOption2 as decodedOption,
@@ -1565,7 +1565,7 @@ A Task may name any repository in the Workspace, or none. A repository matters w
1565
1565
 
1566
1566
  Every Task has a Task Type. A Workspace starts with Feature (the default), Bug, Refactor, Docs, Migration and Investigation. Each Type has an optional Outcome and an optional default Loop: Build for code changes, and Research for Investigations.
1567
1567
 
1568
- Under **Settings \u2192 Task Types**, anyone can add, rename, recolour or remove a Type, and choose its Outcome and default Loop. Removing a Type asks which Type its Tasks get instead.`
1568
+ Under **Settings \u2192 Task Types**, anyone can add, rename, recolour or remove a Type, and choose its Outcome and default Loop. Removing a Type asks which Type its Tasks get instead. The default Type can't be removed until another Type is made the default.`
1569
1569
  },
1570
1570
  {
1571
1571
  title: "Tasks Guide \u203A Labels and priority",
@@ -2195,7 +2195,7 @@ var pathOfLink = (link) => {
2195
2195
  return page === null ? link : page[1] || "index";
2196
2196
  };
2197
2197
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
2198
- var pinnedLink2 = (link, version = "0.19.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2198
+ var pinnedLink2 = (link, version = "0.21.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2199
2199
  var pageOf = (path) => path.split("#")[0];
2200
2200
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
2201
2201
  function excerpt(text, queryTerms) {
@@ -6,7 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-ew07nt2d.js";
9
+ } from "./chunk-h2f26xbd.js";
10
+ import {
11
+ runForEach
12
+ } from "./chunk-j4b1yvcd.js";
10
13
  import {
11
14
  WebSocketConstructor,
12
15
  layerWebSocketConstructorGlobal,
@@ -16,16 +19,13 @@ import {
16
19
  RunnerReplicaRpcs,
17
20
  RunnerRunFileRpcs,
18
21
  ProgramRpcs
19
- } from "./chunk-e863b7v1.js";
20
- import {
21
- runForEach
22
- } from "./chunk-w9mxqrsp.js";
22
+ } from "./chunk-d1826dj4.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-2y646fhs.js";
28
+ } from "./chunk-atswrrsb.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -4,9 +4,9 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-6387vj9z.js";
8
- import"./chunk-qvpkwnky.js";
9
- import"./chunk-ew07nt2d.js";
7
+ } from "./chunk-vz38kngm.js";
8
+ import"./chunk-4qjfn1sa.js";
9
+ import"./chunk-h2f26xbd.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-gqcz0d3j.js";
7
+ } from "./chunk-pr7wx6vh.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  isString2
4
- } from "./chunk-ew07nt2d.js";
4
+ } from "./chunk-h2f26xbd.js";
5
5
 
6
6
  // packages/core/src/question-recommendation.ts
7
7
  var optionValue = (option) => isString2(option) ? option : option.value;