@kitman-sh/cli 0.12.3 → 0.12.4

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.
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-zw3gf6r5.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-0h49y8gf.js";
12
+ } from "./chunk-trqvcc06.js";
13
13
  import {
14
14
  WebSocketConstructor,
15
15
  layerWebSocketConstructorGlobal,
@@ -19,13 +19,13 @@ import {
19
19
  RunnerReplicaRpcs,
20
20
  RunnerRunFileRpcs,
21
21
  ProgramRpcs
22
- } from "./chunk-7xhv4h5g.js";
22
+ } from "./chunk-vbv9x6d7.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-t274t00k.js";
28
+ } from "./chunk-v1pa2dpe.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -169,6 +169,47 @@ import {
169
169
  encodeUnknownJsonStringSync,
170
170
  storable
171
171
  } from "./chunk-zw3gf6r5.js";
172
+ import {
173
+ join,
174
+ interrupt,
175
+ unbounded,
176
+ publishUnsafe,
177
+ unbounded2,
178
+ offer,
179
+ makeUnsafe3,
180
+ make11,
181
+ fromQueue,
182
+ fromPubSub,
183
+ map2,
184
+ filter,
185
+ decodeText,
186
+ encodeText,
187
+ splitLines,
188
+ run,
189
+ runHead,
190
+ runForEach,
191
+ FileSystem,
192
+ Path,
193
+ embeddedFile,
194
+ extractEmbeddedFile,
195
+ optionalEnv,
196
+ operatorConfigHome,
197
+ tempDirectoryScoped,
198
+ harnessesUnsupportedInSrt2,
199
+ compiled2,
200
+ pinnedSrtCommand2,
201
+ pinnedSrtStepCommand2,
202
+ runSrtCli2,
203
+ kitmanCacheDirectory2,
204
+ srtSettings2,
205
+ srtCacheEnvironment2,
206
+ srtInheritedEnv2,
207
+ inheritedEnvironment2,
208
+ withOnlyEnvironment2,
209
+ writeSrtSettings2,
210
+ srtStepArgv2,
211
+ srtArgv2
212
+ } from "./chunk-trqvcc06.js";
172
213
  import {
173
214
  Id,
174
215
  secretReference,
@@ -247,48 +288,7 @@ import {
247
288
  installCommand,
248
289
  checkServicesFile,
249
290
  checkServices
250
- } from "./chunk-7xhv4h5g.js";
251
- import {
252
- join,
253
- interrupt,
254
- unbounded,
255
- publishUnsafe,
256
- unbounded2,
257
- offer,
258
- makeUnsafe3,
259
- make11,
260
- fromQueue,
261
- fromPubSub,
262
- map2,
263
- filter,
264
- decodeText,
265
- encodeText,
266
- splitLines,
267
- run,
268
- runHead,
269
- runForEach,
270
- FileSystem,
271
- Path,
272
- embeddedFile,
273
- extractEmbeddedFile,
274
- optionalEnv,
275
- operatorConfigHome,
276
- tempDirectoryScoped,
277
- harnessesUnsupportedInSrt2,
278
- compiled2,
279
- pinnedSrtCommand2,
280
- pinnedSrtStepCommand2,
281
- runSrtCli2,
282
- kitmanCacheDirectory2,
283
- srtSettings2,
284
- srtCacheEnvironment2,
285
- srtInheritedEnv2,
286
- inheritedEnvironment2,
287
- withOnlyEnvironment2,
288
- writeSrtSettings2,
289
- srtStepArgv2,
290
- srtArgv2
291
- } from "./chunk-0h49y8gf.js";
291
+ } from "./chunk-vbv9x6d7.js";
292
292
  import {
293
293
  writeAgentEnvironmentConfigFile2,
294
294
  readManifestSkillPaths2,
@@ -304,8 +304,8 @@ import {
304
304
  applyAgentEnvironmentMaterialization2,
305
305
  isPathWithin2,
306
306
  skillIdentity2
307
- } from "./chunk-gveecr3x.js";
308
- import"./chunk-sk1hv006.js";
307
+ } from "./chunk-y1mhc7qd.js";
308
+ import"./chunk-rs0qassb.js";
309
309
  import {
310
310
  egressAllowed,
311
311
  writeSecretRegistry,
@@ -323,23 +323,23 @@ import {
323
323
  decodedOption2,
324
324
  decoded2,
325
325
  readOpencode2
326
- } from "./chunk-cbpb2rww.js";
326
+ } from "./chunk-bvpczkzf.js";
327
327
  import {
328
328
  uploadRunFile,
329
329
  programLease,
330
330
  rpcRunFiles,
331
331
  programHostsEnv,
332
332
  undeclaredHostsEnv
333
- } from "./chunk-pgwsdqmv.js";
334
- import"./chunk-7shcaqyz.js";
333
+ } from "./chunk-j373bdw1.js";
334
+ import"./chunk-6b91ftp6.js";
335
335
  import {
336
336
  nextInt
337
337
  } from "./chunk-gq7y5v3e.js";
338
338
  import {
339
339
  ChildProcessSpawner,
340
340
  make3
341
- } from "./chunk-mtkstrh3.js";
342
- import"./chunk-t274t00k.js";
341
+ } from "./chunk-nfc1scfz.js";
342
+ import"./chunk-v1pa2dpe.js";
343
343
 
344
344
  // packages/core/src/sync-kit.ts
345
345
  import { createHash } from "crypto";
@@ -116,7 +116,7 @@ import {
116
116
  withDefault,
117
117
  option,
118
118
  String2
119
- } from "./chunk-0h49y8gf.js";
119
+ } from "./chunk-trqvcc06.js";
120
120
  import {
121
121
  currentTimeMillis,
122
122
  SecureRandom,
@@ -228,14 +228,14 @@ import {
228
228
  harnessNames,
229
229
  herdrRunnerCapabilities2,
230
230
  declaredChecks
231
- } from "./chunk-7xhv4h5g.js";
231
+ } from "./chunk-vbv9x6d7.js";
232
232
  import {
233
233
  Id
234
234
  } from "./chunk-q5w3v4k1.js";
235
235
  import {
236
236
  ChildProcessSpawner,
237
237
  make3
238
- } from "./chunk-mtkstrh3.js";
238
+ } from "./chunk-nfc1scfz.js";
239
239
 
240
240
  // apps/cli/src/cli-error.ts
241
241
  function cliErrorCode(error, status) {
@@ -989,10 +989,10 @@ var sandboxMissing = (sandbox, missing) => ({
989
989
  var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
990
990
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
991
991
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
992
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-hgwz7dph.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
992
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-9ydwnxh9.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
993
993
  });
994
994
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
995
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-hgwz7dph.js")), (module) => module.updateHerdrCore(options))
995
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-9ydwnxh9.js")), (module) => module.updateHerdrCore(options))
996
996
  });
997
997
  var herdrCoreMissing = (error) => {
998
998
  if (isTagged(error, "HerdrCoreMissing"))
@@ -1412,7 +1412,7 @@ var syncTargets = (harness) => gen(function* () {
1412
1412
  });
1413
1413
  var syncKits = (input) => gen(function* () {
1414
1414
  const fs = yield* FileSystem;
1415
- const { syncKitSetup } = yield* promise(() => import("./chunk-4e01r6b8.js"));
1415
+ const { syncKitSetup } = yield* promise(() => import("./chunk-r3yamwdd.js"));
1416
1416
  const harnesses = yield* syncTargets(input.harness);
1417
1417
  const chain = yield* input.client.getKitChain(input.workspaceId);
1418
1418
  for (const { name, problem } of chain.skipped)
@@ -2331,7 +2331,7 @@ var package_default = {
2331
2331
  };
2332
2332
 
2333
2333
  // apps/cli/src/scaffold.ts
2334
- var cliVersion = "0.12.3";
2334
+ var cliVersion = "0.12.4";
2335
2335
  var packageJson = (name, scaffold) => `${JSON.stringify({
2336
2336
  name,
2337
2337
  private: true,
@@ -2483,7 +2483,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
2483
2483
 
2484
2484
  // apps/cli/src/commands.ts
2485
2485
  var ClientId = "kitman-cli";
2486
- var agentRuntime = promise(() => import("./chunk-hgmrjscs.js"));
2486
+ var agentRuntime = promise(() => import("./chunk-74zwne6t.js"));
2487
2487
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
2488
2488
  defaultValue: () => gen(function* () {
2489
2489
  const tui = yield* tryPromise({
@@ -3507,7 +3507,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
3507
3507
  });
3508
3508
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
3509
3509
  defaultValue: () => (options) => gen(function* () {
3510
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-rnp744p4.js"));
3510
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-r4a6f4pa.js"));
3511
3511
  return yield* makeRunnerRpcClient({
3512
3512
  runnerId: options.runnerId,
3513
3513
  bearer: options.bearer,
@@ -4039,7 +4039,7 @@ function mcpCommand(args) {
4039
4039
  if (command.action === "run") {
4040
4040
  if (command.args.length > 0)
4041
4041
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
4042
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-mme8k4ed.js"));
4042
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-9rvj15vf.js"));
4043
4043
  return yield* runMcpServerCommand({ flags: command.flags });
4044
4044
  }
4045
4045
  if (command.action !== "setup")
@@ -4527,7 +4527,7 @@ function programLoopCommand(command) {
4527
4527
  return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
4528
4528
  });
4529
4529
  }
4530
- var docsModule = promise(() => import("./chunk-v0pdng3f.js"));
4530
+ var docsModule = promise(() => import("./chunk-gbakhy7m.js"));
4531
4531
  function docsCommand(args) {
4532
4532
  return gen(function* () {
4533
4533
  const command = parseCommand(args);
@@ -5361,9 +5361,9 @@ function changeRequestCommand(args) {
5361
5361
  yield* log(command.action === "approve" ? `Approved ${short} of ${changeRequest.title}. A Run waiting on approval of ${short} resumes; one waiting on another head does not.` : `Requested changes to ${short} of ${changeRequest.title}`);
5362
5362
  });
5363
5363
  }
5364
- var KitWriter = map8(promise(() => import("./chunk-wjras2ww.js")), (build) => build.writeKit);
5364
+ var KitWriter = map8(promise(() => import("./chunk-j8j7ryjm.js")), (build) => build.writeKit);
5365
5365
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
5366
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-wjras2ww.js")), (build) => build.buildKit(directory))
5366
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-j8j7ryjm.js")), (build) => build.buildKit(directory))
5367
5367
  });
5368
5368
  var uploadKit = (client, workspaceId, built) => gen(function* () {
5369
5369
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -312,7 +312,7 @@ Open the item and use **Start run** in it: pick the Loop, and give what is missi
312
312
  path: "inbox",
313
313
  level: 1,
314
314
  link: "https://kitman.sh/knowledge/docs/inbox",
315
- text: `What arrives in your Inbox, acting on it in place, and the My Teams view.
315
+ text: `What arrives in your Inbox, acting on it in place, the review queue and the My Teams view.
316
316
 
317
317
  Kitman opens on your Inbox: the work that needs you, and news about the work you care about. Each item is one Task, Run or Proposal, with every Notification about it, newest first, and what is new since you last looked.`
318
318
  },
@@ -350,6 +350,26 @@ Mark items read or unread, done, or snooze them until later. A new Notification
350
350
  From the keyboard: **J** and **K** move between items, **Enter** opens one and **Esc** closes it, **E** marks it done, **U** read or unread, **H** snoozes, and **Z** undoes the last done or snooze. With a Task open, **C** replies, **S**, **P** and **A** change its state, priority and assignee, and **R** starts a Run. **?** lists them all with the control that does the same.
351
351
 
352
352
  New items arrive live, and the navigation shows how many are unread.`
353
+ },
354
+ {
355
+ title: "Inbox \u203A Review queue",
356
+ path: "inbox#review-queue",
357
+ level: 2,
358
+ link: "https://kitman.sh/knowledge/docs/inbox#review-queue",
359
+ text: `## Review queue
360
+
361
+ The **Review queue** lists everything waiting on you, oldest first, on one page: your Teams' open ChangeRequests that wait on a person's review, plans to review, the open Run Questions you may answer, and, for Workspace owners and admins, proposed Memory. Each item shows its Task, its Run, how long it has waited and who asked: the Run's Loop and the person who started it, or whoever opened the ChangeRequest or proposed the Memory.
362
+
363
+ From the keyboard: **J** and **K** move between items, **A** approves, **R** requests changes, **O** opens the item on its own page and **S** skips it to the end of the queue for now. On a narrow screen, **Enter** opens the item in place of the queue and **Esc** goes back to it. What approve and request changes do depends on the item:
364
+
365
+ | Item | **A** | **R** |
366
+ | ------------- | ------------------------------ | ------------------------------ |
367
+ | ChangeRequest | Approve its head | Request changes, in your words |
368
+ | Plan | Take the recommended next step | Refine the plan |
369
+ | Question | Take the recommended answer | Answer in your own words |
370
+ | Memory | Accept it | Reject it |
371
+
372
+ An item leaves the queue as soon as it is resolved, here or anywhere else: on the forge, on the Run page, in the CLI or by its Run taking a default. A ChangeRequest leaves once it closes or merges, or once a person approves or requests changes on the head under review; it comes back when a new head is pushed. A review on GitHub or GitLab counts once the forge's webhook reports it, and only a person's: not a bot's, not the account Kitman reviews as, and not approval rules that pass with no approver.`
353
373
  },
354
374
  {
355
375
  title: "Inbox \u203A My Teams",
@@ -1461,7 +1481,7 @@ var pathOfLink = (link) => {
1461
1481
  return page === null ? link : page[1] || "index";
1462
1482
  };
1463
1483
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
1464
- var pinnedLink2 = (link, version = "0.12.3") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1484
+ var pinnedLink2 = (link, version = "0.12.4") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1465
1485
  var pageOf = (path) => path.split("#")[0];
1466
1486
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
1467
1487
  function excerpt(text, queryTerms) {
@@ -170,13 +170,7 @@ import {
170
170
  runMcpEffect,
171
171
  createAgentAuthSignedFetch,
172
172
  setupMcpAgentCredential
173
- } from "./chunk-7xhv4h5g.js";
174
- import {
175
- guard,
176
- Id,
177
- Timestamp,
178
- ActorType
179
- } from "./chunk-q5w3v4k1.js";
173
+ } from "./chunk-vbv9x6d7.js";
180
174
  import {
181
175
  join,
182
176
  interrupt,
@@ -190,11 +184,17 @@ import {
190
184
  withDefault,
191
185
  option,
192
186
  String2
193
- } from "./chunk-0h49y8gf.js";
187
+ } from "./chunk-trqvcc06.js";
188
+ import {
189
+ guard,
190
+ Id,
191
+ Timestamp,
192
+ ActorType
193
+ } from "./chunk-q5w3v4k1.js";
194
194
  import {
195
195
  searchDocs2,
196
196
  readDoc2
197
- } from "./chunk-xd0vsea9.js";
197
+ } from "./chunk-9hqbmnkh.js";
198
198
  import {
199
199
  nextInt
200
200
  } from "./chunk-gq7y5v3e.js";
@@ -204,7 +204,7 @@ import {
204
204
  withHeaders,
205
205
  layerProtocolSocket,
206
206
  ConnectionHooks
207
- } from "./chunk-t274t00k.js";
207
+ } from "./chunk-v1pa2dpe.js";
208
208
 
209
209
  // apps/cli/src/mcp.ts
210
210
  import { tmpdir as tmpdir2 } from "os";
@@ -2306,6 +2306,7 @@ var generatedOpenApiSchemas = {
2306
2306
  "36d948dddd6a9e41": JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"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}}},"required":["items"],"additionalProperties":false}'),
2307
2307
  "3749951f52d45939": JSON.parse('{"type":"object","properties":{"memory":{"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}},"required":["memory"],"additionalProperties":false}'),
2308
2308
  "37679628f4f55fcd": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","memoryId","input"],"properties":{"workspaceId":{"type":"string"},"memoryId":{"type":"string"},"input":{"type":"object","properties":{"team":{"type":["string","null"],"minLength":1}},"required":["team"],"additionalProperties":false}}}'),
2309
+ "37bebf105d6c50f3": JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"kind":{"type":"string","enum":["change_request","plan","question","memory"]},"title":{"type":"string"},"task":{"type":"object","properties":{"id":{"type":"string","minLength":1},"key":{"type":"string"},"title":{"type":"string"}},"required":["id","key","title"],"additionalProperties":false},"run":{"type":"object","properties":{"id":{"type":"string","minLength":1},"loopId":{"type":"string"},"loopTitle":{"type":"string"}},"required":["id","loopId","loopTitle"],"additionalProperties":false},"askedBy":{"type":"object","properties":{"kind":{"type":"string","enum":["run","person","agent"]},"name":{"type":"string"},"onBehalfOf":{"type":"string"}},"required":["kind","name"],"additionalProperties":false},"askedAt":{"type":"string","format":"date-time"},"changeRequest":{"type":"object","properties":{"id":{"type":"string","minLength":1},"title":{"type":"string"},"url":{"type":"string"},"status":{"type":"string","enum":["draft","open"]},"head":{"type":"string"}},"required":["id","title","url","status"],"additionalProperties":false},"question":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"teamId":{"type":"string","minLength":1},"taskId":{"type":"string","minLength":1},"runId":{"type":"string","minLength":1},"stepKey":{"type":"string","minLength":1,"maxLength":240},"waitId":{"type":"string","minLength":1},"taskThreadEntryId":{"type":"string","minLength":1},"prompt":{"type":"string"},"options":{"type":"array","items":{"type":"string"}},"freeText":{"type":"boolean"},"optionDescriptions":{"type":"object","additionalProperties":{"type":"string"}},"recommended":{"type":"string"},"recommendationReason":{"type":"string"},"informationOnly":{"type":"boolean"},"default":{"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]*$"},"defaultAt":{"type":"string","format":"date-time"},"responderPolicy":{"type":"object","properties":{"eligibleMemberIds":{"type":"array","items":{"type":"string","minLength":1},"maxItems":100,"uniqueItems":true},"allowWorkspaceAdmins":{"type":"boolean"}},"required":["eligibleMemberIds","allowWorkspaceAdmins"],"additionalProperties":false},"status":{"type":"string","enum":["open","answered","resume_requested","resumed","resume_failed","expired","cancelled"]},"answer":{"type":"object","properties":{"value":{"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]*$"},"answeredByUserId":{"type":"string","minLength":1},"byDefault":{"type":"boolean"},"byAuto":{"type":"boolean"},"evidence":{"type":"object","properties":{"review":{"type":"string","minLength":1,"maxLength":240},"head":{"type":"string","minLength":1,"maxLength":240}},"additionalProperties":false},"answeredAt":{"type":"string","format":"date-time"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":240}},"required":["value","answeredAt","idempotencyKey"],"additionalProperties":false},"resolutionOutcome":{"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]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"resolvedAt":{"type":"string","format":"date-time"}},"required":["id","workspaceId","runId","stepKey","waitId","prompt","responderPolicy","status","createdAt","updatedAt"],"additionalProperties":false},"memory":{"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}},"required":["key","kind","title","askedBy","askedAt"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}'),
2309
2310
  "37fab43b139adf37": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","viewId","starred"],"properties":{"workspaceId":{"type":"string"},"viewId":{"type":"string"},"starred":{"type":"boolean"}}}'),
2310
2311
  "384e862dec50a0fa": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","projectId","input"],"properties":{"workspaceId":{"type":"string"},"projectId":{"type":"string"},"input":{"type":"object","properties":{"target":{"type":["string","null"],"enum":["default_branch","epic_branch"]}},"required":["target"],"additionalProperties":false}}}'),
2311
2312
  "38775bffeb1b661b": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","teamId","ruleId","rule"],"properties":{"workspaceId":{"type":"string"},"teamId":{"type":"string"},"ruleId":{"type":"string"},"rule":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","pattern":"^\\\\S[\\\\s\\\\S]*\\\\S$|^\\\\S$|^$","minLength":1,"maxLength":80},"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}]},"minItems":1},"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}]},"minItems":1}},"required":["name","enabled","match","conditions","actions"],"additionalProperties":true}}}'),
@@ -2896,6 +2897,7 @@ var generatedOpenApiOperationContracts = {
2896
2897
  setWorkspaceStorage: { inputSchemaId: "86f759a555d71b93", outputSchemaId: "d733a733a29e4e3c" },
2897
2898
  showMyTeams: { inputSchemaId: "dd4a5e2723e2f6e7", outputSchemaId: "935476178234f00c" },
2898
2899
  showProgramLoop: { inputSchemaId: "c4ea469671802a20", outputSchemaId: "647f9644facaa79a" },
2900
+ showReviewQueue: { inputSchemaId: "fcc72cba1350bf89", outputSchemaId: "37bebf105d6c50f3" },
2899
2901
  showRun: { inputSchemaId: "c7cbf805dc240d5f", outputSchemaId: "2318a54668f41784" },
2900
2902
  snoozeInbox: { inputSchemaId: "1a917d01cdebd0fc", outputSchemaId: "284a786bb4ef4742" },
2901
2903
  snoozeTriageTask: { inputSchemaId: "4f7139b238c62b9c", outputSchemaId: "c74ab999e37f9557" },
@@ -4517,6 +4519,13 @@ var operationSpecs = [
4517
4519
  tags: ["inbox"],
4518
4520
  summary: "Runs on Tasks of your Teams, and Runs with no Task, one card per Task, in needsYou (open Questions, failed or stopped Runs), waitingOnYou (a ChangeRequest to review or a Proposal to decide), working and finished. Filter with `teamId`."
4519
4521
  },
4522
+ {
4523
+ name: "showReviewQueue",
4524
+ parameters: ["workspaceId"],
4525
+ namespacePath: ["inbox", "reviewQueue"],
4526
+ tags: ["inbox"],
4527
+ summary: "Everything waiting on you across your Teams, oldest first: ChangeRequests a Run waits on a person to approve, plans to review, open Run Questions and, for owners and admins, proposed Memory. Each item names its Task, Run, when it was asked and who asked."
4528
+ },
4520
4529
  {
4521
4530
  name: "markInboxRead",
4522
4531
  parameters: ["workspaceId", "input"],
@@ -7864,6 +7873,9 @@ class KitmanClient {
7864
7873
  showMyTeams(workspaceId, options = {}) {
7865
7874
  return this.run(this.effectClient.showMyTeams(workspaceId, options));
7866
7875
  }
7876
+ showReviewQueue(workspaceId) {
7877
+ return this.run(this.effectClient.showReviewQueue(workspaceId));
7878
+ }
7867
7879
  markInboxRead(workspaceId, input) {
7868
7880
  return this.run(this.effectClient.markInboxRead(workspaceId, input));
7869
7881
  }
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-mtkstrh3.js";
2
+ import"./chunk-nfc1scfz.js";
3
3
  import {
4
4
  HERDR_CORE_GENERATION2,
5
5
  HERDR_CORE_INSTALL_COMMAND2,
@@ -12,8 +12,8 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-7xhv4h5g.js";
16
- import"./chunk-0h49y8gf.js";
15
+ } from "./chunk-vbv9x6d7.js";
16
+ import"./chunk-trqvcc06.js";
17
17
  import"./chunk-zw3gf6r5.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
@@ -1,4 +1,9 @@
1
1
  // @bun
2
+ import {
3
+ make11,
4
+ runForEach,
5
+ compiled2
6
+ } from "./chunk-trqvcc06.js";
2
7
  import {
3
8
  getOrUndefined,
4
9
  liftThrowable,
@@ -26,15 +31,10 @@ import {
26
31
  isString2,
27
32
  encodeUnknownJsonStringSync
28
33
  } from "./chunk-zw3gf6r5.js";
29
- import {
30
- make11,
31
- runForEach,
32
- compiled2
33
- } from "./chunk-0h49y8gf.js";
34
34
  import {
35
35
  ChildProcessSpawner,
36
36
  make3
37
- } from "./chunk-mtkstrh3.js";
37
+ } from "./chunk-nfc1scfz.js";
38
38
 
39
39
  // packages/agent-runtime/src/opencode-store.ts
40
40
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-xd0vsea9.js";
7
+ } from "./chunk-9hqbmnkh.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -76,6 +76,10 @@ import {
76
76
  toCodecJson,
77
77
  Json
78
78
  } from "./chunk-zw3gf6r5.js";
79
+ import {
80
+ runForEach,
81
+ FileSystem
82
+ } from "./chunk-trqvcc06.js";
79
83
  import {
80
84
  guard
81
85
  } from "./chunk-q5w3v4k1.js";
@@ -105,11 +109,7 @@ import {
105
109
  KitDigest,
106
110
  KitSetup,
107
111
  RunnerRpcError
108
- } from "./chunk-7xhv4h5g.js";
109
- import {
110
- runForEach,
111
- FileSystem
112
- } from "./chunk-0h49y8gf.js";
112
+ } from "./chunk-vbv9x6d7.js";
113
113
 
114
114
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
115
115
  var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
@@ -1,4 +1,12 @@
1
1
  // @bun
2
+ import {
3
+ decodeText,
4
+ mkString,
5
+ FileSystem,
6
+ Path,
7
+ withDefault,
8
+ String2
9
+ } from "./chunk-trqvcc06.js";
2
10
  import {
3
11
  isString,
4
12
  hasProperty,
@@ -45,31 +53,23 @@ import {
45
53
  layer4,
46
54
  kitmanMcpServer,
47
55
  RunnerRpcProtocolVersion
48
- } from "./chunk-7xhv4h5g.js";
49
- import {
50
- decodeText,
51
- mkString,
52
- FileSystem,
53
- Path,
54
- withDefault,
55
- String2
56
- } from "./chunk-0h49y8gf.js";
56
+ } from "./chunk-vbv9x6d7.js";
57
57
  import {
58
58
  Packument,
59
59
  tarballMatches
60
- } from "./chunk-sk1hv006.js";
61
- import"./chunk-7shcaqyz.js";
60
+ } from "./chunk-rs0qassb.js";
61
+ import"./chunk-6b91ftp6.js";
62
62
  import {
63
63
  AgentDeclaration,
64
64
  KitDeclarations,
65
65
  describeFlag,
66
66
  Described
67
- } from "./chunk-pgwsdqmv.js";
67
+ } from "./chunk-j373bdw1.js";
68
68
  import {
69
69
  ChildProcessSpawner,
70
70
  make3
71
- } from "./chunk-mtkstrh3.js";
72
- import"./chunk-t274t00k.js";
71
+ } from "./chunk-nfc1scfz.js";
72
+ import"./chunk-v1pa2dpe.js";
73
73
 
74
74
  // packages/sdk/src/build/index.ts
75
75
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -31,7 +31,7 @@ import {
31
31
  runCollect,
32
32
  runDrain,
33
33
  mkString
34
- } from "./chunk-0h49y8gf.js";
34
+ } from "./chunk-trqvcc06.js";
35
35
 
36
36
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
37
37
  var redactedRegistry = /* @__PURE__ */ new WeakMap;
@@ -1,4 +1,8 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path
5
+ } from "./chunk-trqvcc06.js";
2
6
  import {
3
7
  isObject,
4
8
  isUint8Array,
@@ -15,25 +19,21 @@ import {
15
19
  encodePrettyJsonString
16
20
  } from "./chunk-zw3gf6r5.js";
17
21
  import"./chunk-q5w3v4k1.js";
18
- import {
19
- FileSystem,
20
- Path
21
- } from "./chunk-0h49y8gf.js";
22
22
  import {
23
23
  tomlTableHeader2,
24
24
  tomlKeyPath2,
25
25
  kitmanSkillEntry,
26
26
  isPathWithin2
27
- } from "./chunk-gveecr3x.js";
27
+ } from "./chunk-y1mhc7qd.js";
28
28
  import {
29
29
  instructionsStart,
30
30
  instructionsEnd,
31
31
  renderMcpServer,
32
32
  materializeKitSetup,
33
33
  tomlInline
34
- } from "./chunk-7xhv4h5g.js";
35
- import"./chunk-sk1hv006.js";
36
- import"./chunk-mtkstrh3.js";
34
+ } from "./chunk-vbv9x6d7.js";
35
+ import"./chunk-rs0qassb.js";
36
+ import"./chunk-nfc1scfz.js";
37
37
 
38
38
  // packages/agent-runtime/src/kit-setup-sync.ts
39
39
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -4,11 +4,11 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-7shcaqyz.js";
8
- import"./chunk-t274t00k.js";
9
- import"./chunk-7xhv4h5g.js";
7
+ } from "./chunk-6b91ftp6.js";
8
+ import"./chunk-v1pa2dpe.js";
9
+ import"./chunk-vbv9x6d7.js";
10
10
  import"./chunk-q5w3v4k1.js";
11
- import"./chunk-0h49y8gf.js";
11
+ import"./chunk-trqvcc06.js";
12
12
  import"./chunk-zw3gf6r5.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-0h49y8gf.js";
31
+ } from "./chunk-trqvcc06.js";
32
32
  import {
33
33
  newerKitmanVersion,
34
34
  digestSha256,
@@ -39,7 +39,7 @@ import {
39
39
  get2,
40
40
  layer4,
41
41
  KitDigest
42
- } from "./chunk-7xhv4h5g.js";
42
+ } from "./chunk-vbv9x6d7.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -250,6 +250,15 @@ var makeEquivalence = (equivalence) => {
250
250
  return (self, that) => is(self, that) && is(that, self);
251
251
  };
252
252
 
253
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
254
+ var BigInt2 = globalThis.BigInt;
255
+ var toNumber = (b) => {
256
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
257
+ return none();
258
+ }
259
+ return some(Number(b));
260
+ };
261
+
253
262
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
254
263
  var bigint0 = /* @__PURE__ */ BigInt(0);
255
264
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -3557,4 +3566,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3557
3566
  ...argv
3558
3567
  ];
3559
3568
 
3560
- export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3569
+ export { map, makeEquivalence, toNumber, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -108,7 +108,7 @@ import {
108
108
  shutdownUnsafe,
109
109
  fromQueue,
110
110
  unwrap
111
- } from "./chunk-0h49y8gf.js";
111
+ } from "./chunk-trqvcc06.js";
112
112
  import {
113
113
  Clock,
114
114
  empty,
@@ -123,7 +123,7 @@ import {
123
123
  ParseOptions,
124
124
  RpcClientDefect,
125
125
  RpcClientError
126
- } from "./chunk-7xhv4h5g.js";
126
+ } from "./chunk-vbv9x6d7.js";
127
127
 
128
128
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
129
129
  class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
@@ -265,6 +265,7 @@ import {
265
265
  import {
266
266
  map,
267
267
  makeEquivalence,
268
+ toNumber,
268
269
  bytes,
269
270
  BadArgument,
270
271
  systemError,
@@ -328,7 +329,7 @@ import {
328
329
  String2,
329
330
  optionalEnv,
330
331
  harnessesUnsupportedInSrt2
331
- } from "./chunk-0h49y8gf.js";
332
+ } from "./chunk-trqvcc06.js";
332
333
  import {
333
334
  isDateTime,
334
335
  Numeric,
@@ -355,7 +356,7 @@ import {
355
356
  make3,
356
357
  parseFdName,
357
358
  fdName
358
- } from "./chunk-mtkstrh3.js";
359
+ } from "./chunk-nfc1scfz.js";
359
360
 
360
361
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
361
362
  var makeEquivalence3 = Tuple;
@@ -897,15 +898,6 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
897
898
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
898
899
  var runMain = runMain2;
899
900
 
900
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
901
- var BigInt2 = globalThis.BigInt;
902
- var toNumber = (b) => {
903
- if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
904
- return none();
905
- }
906
- return some(Number(b));
907
- };
908
-
909
901
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
910
902
  var makeUnsafe = makeUnsafe6;
911
903
  var make18 = make4;
@@ -12601,6 +12593,11 @@ class KitmanEffectClient {
12601
12593
  headers: this.headers()
12602
12594
  });
12603
12595
  }
12596
+ showReviewQueue(workspaceId) {
12597
+ return this.request("showReviewQueue", `/workspaces/${segment(workspaceId)}/inbox/review-queue`, {
12598
+ headers: this.headers()
12599
+ });
12600
+ }
12604
12601
  markInboxRead(workspaceId, input) {
12605
12602
  return this.request("markInboxRead", `/workspaces/${segment(workspaceId)}/inbox/read`, {
12606
12603
  method: "POST",
@@ -1,4 +1,10 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path,
5
+ optionalEnv,
6
+ tempDirectoryScoped
7
+ } from "./chunk-trqvcc06.js";
2
8
  import {
3
9
  Reference,
4
10
  TaggedError,
@@ -26,20 +32,14 @@ import {
26
32
  encodePrettyJsonString,
27
33
  decodeJsonStringSync
28
34
  } from "./chunk-zw3gf6r5.js";
29
- import {
30
- FileSystem,
31
- Path,
32
- optionalEnv,
33
- tempDirectoryScoped
34
- } from "./chunk-0h49y8gf.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-7xhv4h5g.js";
39
+ } from "./chunk-vbv9x6d7.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-sk1hv006.js";
42
+ } from "./chunk-rs0qassb.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -14,7 +14,7 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-0h49y8gf.js";
17
+ } from "./chunk-trqvcc06.js";
18
18
  import"./chunk-zw3gf6r5.js";
19
19
  export {
20
20
  compiled2 as compiled,
@@ -7,9 +7,9 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-cbpb2rww.js";
11
- import"./chunk-mtkstrh3.js";
12
- import"./chunk-0h49y8gf.js";
10
+ } from "./chunk-bvpczkzf.js";
11
+ import"./chunk-nfc1scfz.js";
12
+ import"./chunk-trqvcc06.js";
13
13
  import"./chunk-zw3gf6r5.js";
14
14
  export {
15
15
  decoded2 as decoded,
package/dist/index.js CHANGED
@@ -5,15 +5,15 @@
5
5
  var args = process.argv.slice(2);
6
6
  if (args[0] === "srt") {
7
7
  process.argv.splice(2, 1);
8
- const { runSrtCli } = await import("./chunk-5zth85pj.js");
8
+ const { runSrtCli } = await import("./chunk-ywgv15tb.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
11
  const { runSrtStep } = await import("./chunk-gy9rf14f.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-5zhh41gb.js");
14
+ const { runOpencodeReader } = await import("./chunk-zbcxbph8.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-fw8a3mz4.js");
17
+ const { runCli } = await import("./chunk-7tf77mw4.js");
18
18
  runCli(args);
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/cli",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {