@kitman-sh/cli 0.14.3 → 0.14.5

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 (27) hide show
  1. package/dist/{chunk-3f6mzrm7.js → chunk-07xpz8bh.js} +1 -1
  2. package/dist/{chunk-zxmx605h.js → chunk-4qpmjrd2.js} +2 -2
  3. package/dist/{chunk-44kx62t6.js → chunk-4vrfpwcr.js} +7 -7
  4. package/dist/{chunk-65dpe0ev.js → chunk-4ywn8fya.js} +5 -3
  5. package/dist/{chunk-hasfatd4.js → chunk-77jk3v8v.js} +5 -5
  6. package/dist/{chunk-ctpgfdzf.js → chunk-93xj74qp.js} +3 -3
  7. package/dist/{chunk-9avbsbvk.js → chunk-c80dvhxf.js} +6 -1
  8. package/dist/{chunk-er9n65mh.js → chunk-cs0b1w4z.js} +9 -9
  9. package/dist/{chunk-y0y2gg8d.js → chunk-cwdrhsvk.js} +2 -2
  10. package/dist/{chunk-rvnem2bt.js → chunk-d2x7y78c.js} +4 -4
  11. package/dist/{chunk-9anvghq2.js → chunk-fch7pjzh.js} +2 -2
  12. package/dist/{chunk-dhtx14r5.js → chunk-hbfwyjak.js} +3 -3
  13. package/dist/{chunk-7v1n7a6k.js → chunk-jp7cjnng.js} +4 -4
  14. package/dist/{chunk-91j33xf2.js → chunk-k32w2t9h.js} +6 -6
  15. package/dist/{chunk-tebzffha.js → chunk-me5hk67r.js} +17 -17
  16. package/dist/{chunk-34748vfg.js → chunk-mwdgz2s2.js} +121 -277
  17. package/dist/{chunk-my9vcmfw.js → chunk-mz803qps.js} +44 -30
  18. package/dist/{chunk-f96vy2h9.js → chunk-p2p3k2d5.js} +4 -4
  19. package/dist/{chunk-2w9a76nr.js → chunk-rbbh4f56.js} +177 -28
  20. package/dist/{chunk-rgrpvnwg.js → chunk-reb6rftm.js} +22 -22
  21. package/dist/{chunk-a4mkjaxa.js → chunk-s6bcx409.js} +6 -6
  22. package/dist/{chunk-daem5h1c.js → chunk-vt5p65jd.js} +14 -14
  23. package/dist/{chunk-bbf0jzsc.js → chunk-vt8aqeby.js} +1 -1
  24. package/dist/{chunk-zpp4jg4a.js → chunk-wttgq85b.js} +60 -60
  25. package/dist/{chunk-7q3t3x0x.js → chunk-zdfrtydr.js} +6 -6
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -41,7 +41,7 @@ import {
41
41
  isFailure2,
42
42
  hasInterrupts,
43
43
  makeUnsafe5,
44
- make15,
44
+ make16,
45
45
  _await,
46
46
  fail5,
47
47
  isDoneUnsafe,
@@ -168,7 +168,12 @@ import {
168
168
  decodeJsonStringSync,
169
169
  encodeUnknownJsonStringSync,
170
170
  storable
171
- } from "./chunk-zpp4jg4a.js";
171
+ } from "./chunk-wttgq85b.js";
172
+ import {
173
+ Id,
174
+ secretReference,
175
+ secretPlaceholder
176
+ } from "./chunk-c80dvhxf.js";
172
177
  import {
173
178
  currentTimeMillis,
174
179
  SecureRandom,
@@ -249,7 +254,7 @@ import {
249
254
  checkServicesFile,
250
255
  checkServices,
251
256
  serviceChecks
252
- } from "./chunk-34748vfg.js";
257
+ } from "./chunk-mwdgz2s2.js";
253
258
  import {
254
259
  join,
255
260
  interrupt,
@@ -258,7 +263,7 @@ import {
258
263
  unbounded2,
259
264
  offer,
260
265
  makeUnsafe3,
261
- make10,
266
+ make11,
262
267
  fromQueue,
263
268
  fromPubSub,
264
269
  map2,
@@ -293,7 +298,7 @@ import {
293
298
  writeSrtSettings2,
294
299
  srtStepArgv2,
295
300
  srtArgv2
296
- } from "./chunk-2w9a76nr.js";
301
+ } from "./chunk-rbbh4f56.js";
297
302
  import {
298
303
  writeAgentEnvironmentConfigFile2,
299
304
  readManifestSkillPaths2,
@@ -309,8 +314,8 @@ import {
309
314
  applyAgentEnvironmentMaterialization2,
310
315
  isPathWithin2,
311
316
  skillIdentity2
312
- } from "./chunk-f96vy2h9.js";
313
- import"./chunk-dhtx14r5.js";
317
+ } from "./chunk-p2p3k2d5.js";
318
+ import"./chunk-hbfwyjak.js";
314
319
  import {
315
320
  egressAllowed,
316
321
  writeSecretRegistry,
@@ -320,7 +325,7 @@ import {
320
325
  secretFilter2,
321
326
  opaqueTunnelRefusal2,
322
327
  isOpaqueConnectReason2
323
- } from "./chunk-y0y2gg8d.js";
328
+ } from "./chunk-cwdrhsvk.js";
324
329
  import {
325
330
  sliceBytes2,
326
331
  maxLineBytes2,
@@ -328,28 +333,23 @@ import {
328
333
  decodedOption2,
329
334
  decoded2,
330
335
  readOpencode2
331
- } from "./chunk-hasfatd4.js";
336
+ } from "./chunk-77jk3v8v.js";
332
337
  import {
333
338
  uploadRunFile,
334
339
  programLease,
335
340
  rpcRunFiles,
336
341
  programHostsEnv,
337
342
  undeclaredHostsEnv
338
- } from "./chunk-7q3t3x0x.js";
339
- import"./chunk-91j33xf2.js";
343
+ } from "./chunk-zdfrtydr.js";
344
+ import"./chunk-k32w2t9h.js";
340
345
  import {
341
346
  nextInt
342
- } from "./chunk-bbf0jzsc.js";
347
+ } from "./chunk-vt8aqeby.js";
343
348
  import {
344
349
  ChildProcessSpawner,
345
350
  make3
346
- } from "./chunk-zxmx605h.js";
347
- import"./chunk-tebzffha.js";
348
- import {
349
- Id,
350
- secretReference,
351
- secretPlaceholder
352
- } from "./chunk-9avbsbvk.js";
351
+ } from "./chunk-4qpmjrd2.js";
352
+ import"./chunk-me5hk67r.js";
353
353
 
354
354
  // packages/core/src/sync-kit.ts
355
355
  import { createHash } from "crypto";
@@ -7175,7 +7175,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7175
7175
  return {
7176
7176
  request: (method, params) => gen(function* () {
7177
7177
  const id = ++lastId;
7178
- const deferred = yield* make15();
7178
+ const deferred = yield* make16();
7179
7179
  pending.set(id, deferred);
7180
7180
  yield* send({ id, method, params });
7181
7181
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -7318,7 +7318,7 @@ var kitmanMcpPreflight = (mcp) => gen(function* () {
7318
7318
  const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
7319
7319
  extendEnv: true,
7320
7320
  env: mcp.env,
7321
- stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
7321
+ stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
7322
7322
  stderr: "ignore"
7323
7323
  }));
7324
7324
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -7392,7 +7392,7 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
7392
7392
  const exitCode = sandbox === undefined ? yield* gen(function* () {
7393
7393
  const spawner = yield* ChildProcessSpawner;
7394
7394
  const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
7395
- stdin: make10(new TextEncoder().encode(stdin)),
7395
+ stdin: make11(new TextEncoder().encode(stdin)),
7396
7396
  stdout: "inherit",
7397
7397
  stderr: "inherit",
7398
7398
  extendEnv: false,
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-91j33xf2.js";
8
- import"./chunk-tebzffha.js";
9
- import"./chunk-34748vfg.js";
10
- import"./chunk-9avbsbvk.js";
11
- import"./chunk-2w9a76nr.js";
12
- import"./chunk-zpp4jg4a.js";
7
+ } from "./chunk-k32w2t9h.js";
8
+ import"./chunk-me5hk67r.js";
9
+ import"./chunk-mwdgz2s2.js";
10
+ import"./chunk-c80dvhxf.js";
11
+ import"./chunk-rbbh4f56.js";
12
+ import"./chunk-wttgq85b.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -118,7 +118,7 @@ import {
118
118
  decodeJsonStringOption,
119
119
  encodeJsonStringSync,
120
120
  encodePrettyJsonString
121
- } from "./chunk-zpp4jg4a.js";
121
+ } from "./chunk-wttgq85b.js";
122
122
  import {
123
123
  currentTimeMillis,
124
124
  SecureRandom,
@@ -170,7 +170,13 @@ import {
170
170
  runMcpEffect,
171
171
  createAgentAuthSignedFetch,
172
172
  setupMcpAgentCredential
173
- } from "./chunk-34748vfg.js";
173
+ } from "./chunk-mwdgz2s2.js";
174
+ import {
175
+ guard,
176
+ Id,
177
+ Timestamp,
178
+ ActorType
179
+ } from "./chunk-c80dvhxf.js";
174
180
  import {
175
181
  join,
176
182
  interrupt,
@@ -187,27 +193,21 @@ import {
187
193
  withDefault,
188
194
  option,
189
195
  String2
190
- } from "./chunk-2w9a76nr.js";
196
+ } from "./chunk-rbbh4f56.js";
191
197
  import {
192
198
  searchDocs2,
193
199
  readDoc2
194
- } from "./chunk-65dpe0ev.js";
200
+ } from "./chunk-4ywn8fya.js";
195
201
  import {
196
202
  nextInt
197
- } from "./chunk-bbf0jzsc.js";
203
+ } from "./chunk-vt8aqeby.js";
198
204
  import {
199
205
  layerJson,
200
206
  make4,
201
207
  withHeaders,
202
208
  layerProtocolSocket,
203
209
  ConnectionHooks
204
- } from "./chunk-tebzffha.js";
205
- import {
206
- guard,
207
- Id,
208
- Timestamp,
209
- ActorType
210
- } from "./chunk-9avbsbvk.js";
210
+ } from "./chunk-me5hk67r.js";
211
211
 
212
212
  // apps/cli/src/mcp.ts
213
213
  import { tmpdir as tmpdir2 } from "os";
@@ -2271,7 +2271,6 @@ var generatedOpenApiSchemas = {
2271
2271
  "1c7e95ca28857b84": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","projectId","input"],"properties":{"workspaceId":{"type":"string"},"projectId":{"type":"string"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"type":"string"}},"required":["userId"],"additionalProperties":true}}}'),
2272
2272
  "1c88d235cae8e504": JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"name":{"type":"string"},"enabled":{"type":"boolean"},"match":{"type":"string","enum":["all","any"]},"conditions":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","enum":["creator"]},"userIds":{"type":"array","items":{"type":"string"},"minItems":1},"negate":{"type":"boolean"}},"required":["field","userIds","negate"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["creatorIsMember"]},"negate":{"type":"boolean"}},"required":["field","negate"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["origin"]},"kinds":{"type":"array","items":{"type":"string","enum":["manual","plan_ticket","launch","event","alert","migrated"]},"minItems":1},"negate":{"type":"boolean"}},"required":["field","kinds","negate"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["labels"]},"match":{"type":"string","enum":["any","all"]},"labelIds":{"type":"array","items":{"type":"string"},"minItems":1},"negate":{"type":"boolean"}},"required":["field","match","labelIds","negate"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["priority"]},"priorities":{"type":"array","items":{"type":"string","enum":["none","urgent","high","medium","low"]},"minItems":1},"negate":{"type":"boolean"}},"required":["field","priorities","negate"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["repository"]},"repoBindingIds":{"type":"array","items":{"type":"string"}},"none":{"type":"boolean"},"negate":{"type":"boolean"}},"required":["field","repoBindingIds","none","negate"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["text"]},"text":{"type":"string","pattern":"^\\\\S[\\\\s\\\\S]*\\\\S$|^\\\\S$|^$","minLength":1},"negate":{"type":"boolean"}},"required":["field","text","negate"],"additionalProperties":true}]}},"actions":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["setTeam"]},"teamId":{"type":"string"}},"required":["kind","teamId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["setType"]},"typeId":{"type":"string"}},"required":["kind","typeId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["assign"]},"assigneeId":{"type":"string"}},"required":["kind","assigneeId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["addLabels"]},"labelIds":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["kind","labelIds"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["setPriority"]},"priority":{"type":"string","enum":["none","urgent","high","medium","low"]}},"required":["kind","priority"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["setRepository"]},"repoBindingId":{"type":"string"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["accept"]},"stateId":{"type":"string"}},"required":["kind","stateId"],"additionalProperties":true}]}}},"required":["id","teamId","position","name","enabled","match","conditions","actions"],"additionalProperties":true}'),
2273
2273
  "1ca455dfc12235e0": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","taskIds"],"properties":{"workspaceId":{"type":"string"},"taskIds":{"type":"array","items":{"type":"string"}}}}'),
2274
- "1d2dd636658f4bce": JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["task","run","proposal","memory","mcp_approval","project_update","runner"]},"id":{"type":"string","minLength":1}},"required":["kind","id"],"additionalProperties":false},"action":{"type":"string","enum":["answer","review","decide","retry","runner_offline","start"]},"unread":{"type":"integer","minimum":0,"maximum":9007199254740991},"latestAt":{"type":"string","format":"date-time"},"doneAt":{"type":"string","format":"date-time"},"snoozedUntil":{"type":"string","format":"date-time"},"notifications":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"recipientUserId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["question_waiting","run_failed","review_ready","no_runner","proposal_waiting","approval_waiting","assigned","mentioned","commented","state_changed","run_finished","drift_unresolved","run_progress","change_request_update","start_blocked","update_drafted","runner_problem"]},"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["task","run","proposal","memory","mcp_approval","project_update","runner"]},"id":{"type":"string","minLength":1}},"required":["kind","id"],"additionalProperties":false},"actorId":{"type":"string","minLength":1},"actorName":{"type":"string"},"payload":{"type":"object","properties":{"taskKey":{"type":"string","minLength":1,"maxLength":500},"taskTitle":{"type":"string","minLength":1,"maxLength":500},"loopTitle":{"type":"string","minLength":1,"maxLength":500},"proposalTitle":{"type":"string","minLength":1,"maxLength":500},"toolName":{"type":"string","minLength":1,"maxLength":500},"workspaceName":{"type":"string","minLength":1,"maxLength":500},"cause":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","minLength":1,"maxLength":500},"changeRequestUrl":{"type":"string","minLength":1,"maxLength":2048},"missing":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"maxItems":20},"choices":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2048},"maxItems":20},"projectId":{"type":"string","minLength":1},"projectName":{"type":"string","minLength":1,"maxLength":500},"writtenFrom":{"type":"object","properties":{"runs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"taskChanges":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"since":{"type":"string","format":"date-time"}},"required":["runs","taskChanges"],"additionalProperties":false},"runnerName":{"type":"string","minLength":1,"maxLength":500},"problem":{"type":"string","minLength":1,"maxLength":500},"fix":{"type":"string","minLength":1,"maxLength":500}},"additionalProperties":false},"title":{"type":"string"},"body":{"type":"string"},"link":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"readAt":{"type":"string","format":"date-time"}},"required":["id","workspaceId","recipientUserId","kind","subject","payload","title","body","link","createdAt"],"additionalProperties":false},"minItems":1}},"required":["subject","unread","latestAt","notifications"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}'),
2275
2274
  "1e2013413a6538df": JSON.parse('{"type":"object","additionalProperties":false,"required":["runnerId","input"],"properties":{"runnerId":{"type":"string"},"input":{"type":"object","properties":{"concurrency":{"type":"integer","minimum":1,"maximum":32},"sandbox":{"type":"string","enum":["host","srt","docker"]},"dockerImage":{"type":["string","null"],"maxLength":500,"pattern":"^[^\\\\s@]+@sha256:[a-f0-9]{64}$"},"checkHosts":{"type":"array","items":{"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]))?$"},"maxItems":50},"checkDockerImage":{"type":["string","null"],"maxLength":500,"pattern":"^[^\\\\s@]+@sha256:[a-f0-9]{64}$"},"checkRegistryImage":{"type":["string","null"],"maxLength":500,"pattern":"^[^\\\\s@]+@sha256:[a-f0-9]{64}$"}},"additionalProperties":false}}}'),
2276
2275
  "1e851cc201cff2fe": 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":{"projectId":{"type":"string"},"milestoneId":{"type":"string"}},"additionalProperties":true}}}'),
2277
2276
  "20968fa48262e049": JSON.parse('{"type":"object","additionalProperties":false,"required":["proposalId","input"],"properties":{"proposalId":{"type":"string"},"input":{"type":"object","properties":{"revisionId":{"type":"string","minLength":1},"targetVersionBefore":{"type":"string","minLength":1,"maxLength":240},"targetVersionAfter":{"type":"string","minLength":1,"maxLength":240},"revertOfApplicationId":{"type":"string","minLength":1}},"required":["revisionId"],"additionalProperties":false}}}'),
@@ -2586,6 +2585,7 @@ var generatedOpenApiSchemas = {
2586
2585
  e34121abec74b040: JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","connectionId","input"],"properties":{"workspaceId":{"type":"string"},"connectionId":{"type":"string"},"input":{"type":"object","properties":{"repositories":{"type":"array","items":{"type":"string","minLength":1,"maxLength":400},"maxItems":200},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":400},"maxItems":100},"teamId":{"type":"string","minLength":1}},"required":["repositories"],"additionalProperties":false}}}'),
2587
2586
  e40d3806534c4e6c: JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","typeId"],"properties":{"workspaceId":{"type":"string"},"typeId":{"type":"string"}}}'),
2588
2587
  e43995eff3f29217: JSON.parse('{"type":"object","additionalProperties":false,"required":["runnerId","input"],"properties":{"runnerId":{"type":"string"},"input":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":160},"capacity":{"type":"object","properties":{"maxConcurrentRuns":{"type":"number","minimum":1},"maxCpuCores":{"type":"number","minimum":1},"maxMemoryMb":{"type":"number","minimum":1},"maxRunSeconds":{"type":"number","minimum":1}},"additionalProperties":false},"cacheHints":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":240,"pattern":"^(?!\\\\/)(?!.*:\\\\/\\\\/)(?!.*\\\\\\\\)(?!.*\\\\s)(?!.*(?:^|\\\\/)\\\\.\\\\.?($|\\\\/))[A-Za-z0-9._:@/-]+$"},"sharing":{"type":"string","enum":["runner","replica","workspace"]},"warmed":{"type":"boolean"},"cacheClass":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9._:-]+$"},"developmentEnvironmentHash":{"type":"string","minLength":32,"maxLength":64,"pattern":"^[a-fA-F0-9]{64}$"},"agentEnvironmentHash":{"type":"string","minLength":32,"maxLength":64,"pattern":"^[a-fA-F0-9]{64}$"},"sandboxPolicyHash":{"type":"string","minLength":32,"maxLength":64,"pattern":"^[a-fA-F0-9]{64}$"},"secretScopeHash":{"type":"string","minLength":32,"maxLength":64,"pattern":"^[a-fA-F0-9]{64}$"},"cacheState":{"type":"string","enum":["hit","miss","stale","corrupt","lock_wait","invalidated"]}},"required":["key","sharing","warmed"],"additionalProperties":false}},"placement":{"type":"object","properties":{"kind":{"type":"string","minLength":1,"maxLength":80},"label":{"type":"string","minLength":1,"maxLength":160},"zone":{"type":"string","minLength":1,"maxLength":160}},"required":["kind"],"additionalProperties":false},"telemetry":{"type":"object","properties":{"activeWorkUnits":{"type":"integer","minimum":0,"maximum":9007199254740991},"queuedWorkUnits":{"type":"integer","minimum":0,"maximum":9007199254740991},"cacheHitRate":{"type":"number","minimum":0,"maximum":1}},"additionalProperties":false}},"required":["name"],"additionalProperties":false}}}'),
2588
+ e453c7c28d515935: JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["task","run","proposal","memory","mcp_approval","project_update","runner"]},"id":{"type":"string","minLength":1}},"required":["kind","id"],"additionalProperties":false},"action":{"type":"string","enum":["answer","review","decide","retry","runner_offline","start"]},"unread":{"type":"integer","minimum":0,"maximum":9007199254740991},"latestAt":{"type":"string","format":"date-time"},"doneAt":{"type":"string","format":"date-time"},"snoozedUntil":{"type":"string","format":"date-time"},"notifications":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"recipientUserId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["question_waiting","run_failed","review_ready","no_runner","proposal_waiting","approval_waiting","assigned","mentioned","commented","state_changed","run_finished","drift_unresolved","run_progress","change_request_update","start_blocked","update_drafted","runner_problem"]},"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["task","run","proposal","memory","mcp_approval","project_update","runner"]},"id":{"type":"string","minLength":1}},"required":["kind","id"],"additionalProperties":false},"actorId":{"type":"string","minLength":1},"actorName":{"type":"string"},"payload":{"type":"object","properties":{"taskKey":{"type":"string","minLength":1,"maxLength":500},"taskTitle":{"type":"string","minLength":1,"maxLength":500},"loopTitle":{"type":"string","minLength":1,"maxLength":500},"proposalTitle":{"type":"string","minLength":1,"maxLength":500},"toolName":{"type":"string","minLength":1,"maxLength":500},"workspaceName":{"type":"string","minLength":1,"maxLength":500},"cause":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","minLength":1,"maxLength":500},"stateCategory":{"type":"string","enum":["triage","backlog","unstarted","started","completed","canceled","duplicate"]},"changeRequestUrl":{"type":"string","minLength":1,"maxLength":2048},"missing":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"maxItems":20},"choices":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2048},"maxItems":20},"projectId":{"type":"string","minLength":1},"projectName":{"type":"string","minLength":1,"maxLength":500},"writtenFrom":{"type":"object","properties":{"runs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"taskChanges":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"since":{"type":"string","format":"date-time"}},"required":["runs","taskChanges"],"additionalProperties":false},"runnerName":{"type":"string","minLength":1,"maxLength":500},"problem":{"type":"string","minLength":1,"maxLength":500},"fix":{"type":"string","minLength":1,"maxLength":500}},"additionalProperties":false},"title":{"type":"string"},"body":{"type":"string"},"link":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"readAt":{"type":"string","format":"date-time"}},"required":["id","workspaceId","recipientUserId","kind","subject","payload","title","body","link","createdAt"],"additionalProperties":false},"minItems":1}},"required":["subject","unread","latestAt","notifications"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}'),
2589
2589
  e4be76b1166a050c: JSON.parse('{"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}'),
2590
2590
  e4ddf18f7b229efd: JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"color":{"type":"string"},"description":{"type":"string"}},"required":["id","name","color"],"additionalProperties":true}'),
2591
2591
  e55d85896adc4f2e: JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","input"],"properties":{"workspaceId":{"type":"string"},"input":{"type":"object","properties":{"target":{"type":["string","null"],"enum":["default_branch","epic_branch"]}},"required":["target"],"additionalProperties":false}}}'),
@@ -2761,7 +2761,7 @@ var generatedOpenApiOperationContracts = {
2761
2761
  listForegroundRunners: { inputSchemaId: "fc99a2a80b97a8b2", outputSchemaId: "7e181a04c9a339fd" },
2762
2762
  listForgeGroups: { inputSchemaId: "6e3309061f450eb5", outputSchemaId: "e7ae9850680c9b28" },
2763
2763
  listForgeRepositories: { inputSchemaId: "4ad8e8d37e49a69e", outputSchemaId: "3a8ada2b32940b98" },
2764
- listInbox: { inputSchemaId: "77e89229d1ad6a66", outputSchemaId: "1d2dd636658f4bce" },
2764
+ listInbox: { inputSchemaId: "77e89229d1ad6a66", outputSchemaId: "e453c7c28d515935" },
2765
2765
  listInitiatives: { inputSchemaId: "fcc72cba1350bf89", outputSchemaId: "1182dc2e5ca0807b" },
2766
2766
  listKitInstalls: { inputSchemaId: "99e4d49868110007", outputSchemaId: "44204524a95aad66" },
2767
2767
  listKits: { inputSchemaId: "6e3d1c6bfb5b7371", outputSchemaId: "b111d39afd4c9019" },
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-zpp4jg4a.js";
6
+ } from "./chunk-wttgq85b.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;