@kitman-sh/cli 0.13.5 → 0.13.7

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-txf9spw3.js → chunk-1nxcn08k.js} +5 -5
  2. package/dist/{chunk-dgeyx2fa.js → chunk-22z1yemd.js} +68 -48
  3. package/dist/{chunk-gq7y5v3e.js → chunk-24h0y27w.js} +1 -1
  4. package/dist/{chunk-cvzyx4wy.js → chunk-4bgj3b5r.js} +11 -8
  5. package/dist/{chunk-5zth85pj.js → chunk-4crf5vhd.js} +2 -2
  6. package/dist/{chunk-yfn0hs5r.js → chunk-4x3zm541.js} +112 -117
  7. package/dist/{chunk-tkhxmk5r.js → chunk-8v0t5kzg.js} +1 -1
  8. package/dist/{chunk-scj257qb.js → chunk-9g8tc40f.js} +12 -12
  9. package/dist/{chunk-kymmwg71.js → chunk-bbks1scp.js} +21 -21
  10. package/dist/{chunk-vg39q6ac.js → chunk-bs5bh8ys.js} +18 -18
  11. package/dist/{chunk-yqdmhwpd.js → chunk-byg71zra.js} +10 -10
  12. package/dist/{chunk-y1krmnbv.js → chunk-ggmwpwhf.js} +2 -2
  13. package/dist/{chunk-jmhqrt90.js → chunk-jbjz7b6n.js} +61 -61
  14. package/dist/{chunk-5zhh41gb.js → chunk-kk32jckf.js} +4 -4
  15. package/dist/{chunk-dpfxvmh3.js → chunk-m079pjdy.js} +3 -3
  16. package/dist/{chunk-rvqsm1w7.js → chunk-m406nanz.js} +6 -6
  17. package/dist/{chunk-gy9rf14f.js → chunk-mmd7mjv0.js} +3 -3
  18. package/dist/{chunk-cbpb2rww.js → chunk-mtdz4k32.js} +10 -10
  19. package/dist/{chunk-q5w3v4k1.js → chunk-pxvd8w2v.js} +1 -1
  20. package/dist/{chunk-pn9atvw8.js → chunk-t37qzgmb.js} +4 -4
  21. package/dist/{chunk-0h49y8gf.js → chunk-t82w7459.js} +26 -17
  22. package/dist/{chunk-mtkstrh3.js → chunk-vxfajzpz.js} +14 -60
  23. package/dist/{chunk-z0a98xqg.js → chunk-x44re8th.js} +7 -7
  24. package/dist/{chunk-0yj73sqp.js → chunk-xt97vb58.js} +110 -87
  25. package/dist/{chunk-zw3gf6r5.js → chunk-zgraq2y3.js} +70 -28
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-dgeyx2fa.js";
7
+ } from "./chunk-22z1yemd.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -1,4 +1,10 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path,
5
+ optionalEnv,
6
+ tempDirectoryScoped
7
+ } from "./chunk-t82w7459.js";
2
8
  import {
3
9
  Reference,
4
10
  TaggedError,
@@ -25,21 +31,15 @@ import {
25
31
  isString2,
26
32
  encodePrettyJsonString,
27
33
  decodeJsonStringSync
28
- } from "./chunk-zw3gf6r5.js";
29
- import {
30
- FileSystem,
31
- Path,
32
- optionalEnv,
33
- tempDirectoryScoped
34
- } from "./chunk-0h49y8gf.js";
34
+ } from "./chunk-zgraq2y3.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-yfn0hs5r.js";
39
+ } from "./chunk-4x3zm541.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-dpfxvmh3.js";
42
+ } from "./chunk-m079pjdy.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -459,7 +459,7 @@ For repeated queue-draining orchestration across many ready Tasks, use the separ
459
459
  - Treat runtime readiness as a full contract: RepoBinding, shared config, skills, plugins, MCP/service endpoints, provider tools such as \`gh\` or \`glab\`, credential references, and runtime health/capabilities must align for the selected local or remote runtime.
460
460
  - Use RepoBinding list/create operations for non-secret Team repository setup, including monorepo path prefixes when available; never store raw credentials or source snapshots.
461
461
  - Tasks live in Kitman, in Teams. Read and change a Task, its state and its blocks relations through Code Mode MCP; resolve it by any key it has had.
462
- - Capture new work as a Task in the right Team, or launch a Run from words; search Kitman first so you do not duplicate an existing Task.
462
+ - Capture new work as a Task in the right Team, or launch a Run from words; search Kitman first so you do not duplicate an existing Task. Before you create one, read how to scope it: \`skills({ name: 'scope-tasks' })\`, or \`kitman docs read scope-tasks\` in a terminal.
463
463
  - If MCP auth, DelegatedToolCredential, capability grant, Team resolution, Workspace membership, or runtime readiness is missing, use the documented recovery path or stop and report a blocker. Do not bypass Kitman with shell fallbacks, raw REST calls, global active Workspace fallbacks, local task docs, hidden files, or shadow state.
464
464
  - Do not create duplicate work outside Kitman when a Task already exists.
465
465
  - Do not approve Memory; agents can only propose Memory for human review.
@@ -472,7 +472,7 @@ For repeated queue-draining orchestration across many ready Tasks, use the separ
472
472
 
473
473
  ## In a Kitman Step
474
474
 
475
- A Loop's agent Step runs with the Agent its role resolves to. It receives its brief, the tools its Agent declares, and only the skills its Agent lists. Its Kitman MCP serves the step tools, not Code Mode: \`step_brief\`, \`submit_output\`, \`session_update\`, \`ask\`, \`attach_file\` and \`skills\`. \`skills\` lists the Run's other Kit skills, those that fit the repository first, and \`skills({ name })\` loads one; the brief's last line names the ones that fit, by the \`appliesTo\` their Kit declares. A loaded skill stays in context, so load it again only with \`reload: true\` after compaction.
475
+ A Loop's agent Step runs with the Agent its role resolves to. It receives its brief, the tools its Agent declares, and only the skills its Agent lists. Its Kitman MCP serves the step tools, not Code Mode: \`step_brief\`, \`submit_output\`, \`session_update\`, \`ask\`, \`attach_file\` and \`skills\`. \`skills\` lists the Run's other Kit skills, those that fit the repository first, and \`skills({ name })\` loads one; the brief's last line names the ones that fit, by the \`appliesTo\` their Kit declares. It also serves Kitman's \`scope-tasks\`. A loaded skill stays in context, so load it again only with \`reload: true\` after compaction.
476
476
 
477
477
  ## References
478
478
 
@@ -631,7 +631,7 @@ async ({ kitman }) => {
631
631
  }
632
632
  \`\`\`
633
633
  `,
634
- "references/mcp-tools.md": '# Kitman Code Mode MCP\n\nKitman MCP uses Code Mode as its only interface. The MCP context stays compact, but the reachable capability should match the public Kitman CLI/API when the authenticated Actor is authorized.\n\n## Default Tools\n\nUse these as the normal MCP entry points:\n\n- `execute`: execute JavaScript that calls typed `kitman.*` public operations through a host-side SDK/API proxy.\n- `skills`: fetch on-demand Code Mode guidance, especially `skills({ name: "execute" })`.\n- `resume`: resume paused approval or elicitation flows when the MCP session exposes it.\n- `wait_run`: wait on a Run until it needs attention or settles, in one call however long that takes; use it instead of looping `runs.wait` in `execute`.\n\n## Auth, Grants, And Fallbacks\n\nLocal MCP authenticates through a human-scoped DelegatedToolCredential created by `kitman mcp setup --name <tool>`. Hosted MCP resolves the hosted request ActorContext. Autonomous AgentIdentities authenticate as Agent Actors.\n\nThe Code Mode sandbox must not receive AgentCredential private keys, bearer tokens, raw auth-store contents, runner secrets, or raw environment variables by default. The host signs SDK/API requests and Kitman Cloud enforces normal authorization, Team privacy, audit, Memory visibility, asset access, and admin checks.\n\nIf Code Mode MCP lacks an operation that exists through the public CLI/API, record or report a Kitman MCP parity bug. Do not silently shell out to the CLI, call raw REST manually, create hidden local state, or keep local task files as a substitute.\n\nUse only customer-visible Kitman surfaces for operation discovery: MCP descriptors, CLI help, the Kitman skill, and published API docs. Do not inspect Kitman implementation source to learn operation names, schemas, or input shapes. If those surfaces do not provide enough detail, record a Kitman docs/discoverability blocker.\n\n## Team Context\n\nRepo-local `.kitman/config.json`, CWD, and Git remotes are hints, not canonical state. Kitman Cloud remains canonical for Workspace, Team, Task, RepoBinding, Session, and audit state.\n\nWhen the user asks for the current Team ID or Team context, use Code Mode MCP resolution before inspecting local files or searching the repository:\n\n```execute\nasync ({ kitman }) => await kitman.context.resolveTeam({})\n```\n\nAnswer from `preferredTeamId` and include `workspaceId` when useful. If resolution returns warnings or no unambiguous Team, report that result and ask only for the missing explicit ID needed to proceed.\n\nLocal MCP may sanitize the nearest CWD Git `origin` remote to repository identity plus repository-relative path and ask Kitman Cloud to resolve authorized Team context from RepoBindings.\n\nWorkspace and Team RepoBindings may describe a whole repository or a repository-relative `pathPrefix` for monorepos. A CWD inside a monorepo should resolve by longest matching path prefix. A CWD at a monorepo root can resolve to the Teams that own the repository for reads and live updates. Mutations still require one explicit or subpath-resolved Team.\n\nWhen a mutation is ambiguous, retry with explicit canonical IDs such as `workspaceId`, `teamId`, `taskId`, `sessionId`, `dependencyId`, or `assetId`.\n\n## Code Mode Patterns\n\nSearch when you do not know the operation:\n\n```execute\nconst query = \'session update\';\nreturn kitman.search({ query }).items\n .map(({ name, summary, path, sdk, inputTypeScript, approvalPolicy }) => ({\n name,\n call: `kitman.${path}({...})`,\n parameters: sdk.parameters,\n inputTypeScript,\n approvalPolicy,\n summary\n }));\n```\n\nDescriptor search snippets receive `operations` and its shorthand alias `ops` as the public operation catalog. The same catalog is searchable through `kitman.search({ query })`; no other descriptor globals are required. Catalog entries and search items carry `name`, `summary`, `path`, `namespacePath`, `inputTypeScript`, `sdk`, `examples`, `tags`, `approvalPolicy`, `readOnly`, `idempotent` and `destructive`.\n\nFor the input JSON Schema, output TypeScript and auth notes, describe the operation:\n\n```execute\nconst details = await kitman.describe.operation({ path: \'runs.answer\' });\nreturn { inputSchema: details.inputSchema, outputTypeScript: details.outputTypeScript, auth: details.auth };\n```\n\n`describe.operation` takes a dotted `path` or an operation `name`, such as `name: \'answerRun\'`, and returns the descriptor itself, not an `{ ok, data }` envelope. Pass `full: true` for the output JSON Schema. An unknown operation returns `{ error: { code: \'operation_not_found\', message, suggestions } }`.\n\nThat descriptor output is the source of truth for Code Mode call shape. For example, if the descriptor says `path: \'sessions.recordUpdate\'` and parameters `sessionId` and `input`, call `kitman.sessions.recordUpdate({ sessionId, input })` through `execute`.\n\nExecute related work through typed operations:\n\n```execute\nasync ({ kitman }) => {\n const team = await kitman.teams.get({ workspaceId: \'workspace_123\', teamId: \'team_123\' });\n if (!team.ok) return team.error;\n\n const tasks = await kitman.tasks.list({ teamId: \'team_123\', options: { statuses: [\'ready\', \'in_progress\'] } });\n if (!tasks.ok) return tasks.error;\n\n return {\n team: team.data,\n tasks: tasks.data.items.map((task) => ({ id: task.id, teamId: task.teamId, title: task.title, status: task.status }))\n };\n}\n```\n\nUse one execution when the calls are tightly related, especially for read-filter-map flows or read-then-record workflows. Use separate executions when a human decision is needed between steps.\n\nParallel calls are appropriate for independent reads:\n\n```execute\nasync ({ kitman }) => {\n const [task, dependencies, sessions] = await Promise.all([\n kitman.tasks.get({ taskId: \'task_123\' }),\n kitman.taskDependencies.list({ taskId: \'task_123\' }),\n kitman.sessions.listForTask({ taskId: \'task_123\' })\n ]);\n\n return { task, dependencies, sessions };\n}\n```\n\n## Required Work Discipline\n\nUse Code Mode operations to keep normal Kitman workflow discipline:\n\n- Resolve or identify the Task before starting work.\n- Read TaskDependencies for build order when relevant.\n- Generate or read the appropriate ContextPack before implementation or review work.\n- Record meaningful findings, decisions, blockers, test results, and file references as SessionUpdates or Task thread entries.\n- Propose Memory only when the learning is durable and reusable.\n- Link delivery artifacts such as merge requests with `kitman.taskLinks.create` and verify them with `kitman.taskLinks.list`.\n- Generate a handoff before stopping.\n\n## Safety Rules\n\nNever put these in Memory, SessionUpdates, handoffs, examples, or cloud audit metadata:\n\n- secrets,\n- private keys,\n- bearer tokens,\n- raw auth-store contents,\n- raw terminal logs,\n- raw source snapshots,\n- raw diffs,\n- private customer data,\n- presigned upload or download URLs.\n\nDo not use Code Mode to bypass Kitman authorization, Team privacy, human review, Memory approval, Proposal approval, or AgentIdentity lifecycle restrictions.\n',
634
+ "references/mcp-tools.md": '# Kitman Code Mode MCP\n\nKitman MCP uses Code Mode as its only interface. The MCP context stays compact, but the reachable capability should match the public Kitman CLI/API when the authenticated Actor is authorized.\n\n## Default Tools\n\nUse these as the normal MCP entry points:\n\n- `execute`: execute JavaScript that calls typed `kitman.*` public operations through a host-side SDK/API proxy.\n- `skills`: fetch on-demand Code Mode guidance, especially `skills({ name: "execute" })`, and `skills({ name: "scope-tasks" })` before you create a Task.\n- `resume`: resume paused approval or elicitation flows when the MCP session exposes it.\n- `wait_run`: wait on a Run until it needs attention or settles, in one call however long that takes; use it instead of looping `runs.wait` in `execute`.\n\n## Auth, Grants, And Fallbacks\n\nLocal MCP authenticates through a human-scoped DelegatedToolCredential created by `kitman mcp setup --name <tool>`. Hosted MCP resolves the hosted request ActorContext. Autonomous AgentIdentities authenticate as Agent Actors.\n\nThe Code Mode sandbox must not receive AgentCredential private keys, bearer tokens, raw auth-store contents, runner secrets, or raw environment variables by default. The host signs SDK/API requests and Kitman Cloud enforces normal authorization, Team privacy, audit, Memory visibility, asset access, and admin checks.\n\nIf Code Mode MCP lacks an operation that exists through the public CLI/API, record or report a Kitman MCP parity bug. Do not silently shell out to the CLI, call raw REST manually, create hidden local state, or keep local task files as a substitute.\n\nUse only customer-visible Kitman surfaces for operation discovery: MCP descriptors, CLI help, the Kitman skill, and published API docs. Do not inspect Kitman implementation source to learn operation names, schemas, or input shapes. If those surfaces do not provide enough detail, record a Kitman docs/discoverability blocker.\n\n## Team Context\n\nRepo-local `.kitman/config.json`, CWD, and Git remotes are hints, not canonical state. Kitman Cloud remains canonical for Workspace, Team, Task, RepoBinding, Session, and audit state.\n\nWhen the user asks for the current Team ID or Team context, use Code Mode MCP resolution before inspecting local files or searching the repository:\n\n```execute\nasync ({ kitman }) => await kitman.context.resolveTeam({})\n```\n\nAnswer from `preferredTeamId` and include `workspaceId` when useful. If resolution returns warnings or no unambiguous Team, report that result and ask only for the missing explicit ID needed to proceed.\n\nLocal MCP may sanitize the nearest CWD Git `origin` remote to repository identity plus repository-relative path and ask Kitman Cloud to resolve authorized Team context from RepoBindings.\n\nWorkspace and Team RepoBindings may describe a whole repository or a repository-relative `pathPrefix` for monorepos. A CWD inside a monorepo should resolve by longest matching path prefix. A CWD at a monorepo root can resolve to the Teams that own the repository for reads and live updates. Mutations still require one explicit or subpath-resolved Team.\n\nWhen a mutation is ambiguous, retry with explicit canonical IDs such as `workspaceId`, `teamId`, `taskId`, `sessionId`, `dependencyId`, or `assetId`.\n\n## Code Mode Patterns\n\nSearch when you do not know the operation:\n\n```execute\nconst query = \'session update\';\nreturn kitman.search({ query }).items\n .map(({ name, summary, path, sdk, inputTypeScript, approvalPolicy }) => ({\n name,\n call: `kitman.${path}({...})`,\n parameters: sdk.parameters,\n inputTypeScript,\n approvalPolicy,\n summary\n }));\n```\n\nDescriptor search snippets receive `operations` and its shorthand alias `ops` as the public operation catalog. The same catalog is searchable through `kitman.search({ query })`; no other descriptor globals are required. Catalog entries and search items carry `name`, `summary`, `path`, `namespacePath`, `inputTypeScript`, `sdk`, `examples`, `tags`, `approvalPolicy`, `readOnly`, `idempotent` and `destructive`.\n\nFor the input JSON Schema, output TypeScript and auth notes, describe the operation:\n\n```execute\nconst details = await kitman.describe.operation({ path: \'runs.answer\' });\nreturn { inputSchema: details.inputSchema, outputTypeScript: details.outputTypeScript, auth: details.auth };\n```\n\n`describe.operation` takes a dotted `path` or an operation `name`, such as `name: \'answerRun\'`, and returns the descriptor itself, not an `{ ok, data }` envelope. Pass `full: true` for the output JSON Schema. An unknown operation returns `{ error: { code: \'operation_not_found\', message, suggestions } }`.\n\nThat descriptor output is the source of truth for Code Mode call shape. For example, if the descriptor says `path: \'sessions.recordUpdate\'` and parameters `sessionId` and `input`, call `kitman.sessions.recordUpdate({ sessionId, input })` through `execute`.\n\nExecute related work through typed operations:\n\n```execute\nasync ({ kitman }) => {\n const team = await kitman.teams.get({ workspaceId: \'workspace_123\', teamId: \'team_123\' });\n if (!team.ok) return team.error;\n\n const tasks = await kitman.tasks.list({ teamId: \'team_123\', options: { statuses: [\'ready\', \'in_progress\'] } });\n if (!tasks.ok) return tasks.error;\n\n return {\n team: team.data,\n tasks: tasks.data.items.map((task) => ({ id: task.id, teamId: task.teamId, title: task.title, status: task.status }))\n };\n}\n```\n\nUse one execution when the calls are tightly related, especially for read-filter-map flows or read-then-record workflows. Use separate executions when a human decision is needed between steps.\n\nParallel calls are appropriate for independent reads:\n\n```execute\nasync ({ kitman }) => {\n const [task, dependencies, sessions] = await Promise.all([\n kitman.tasks.get({ taskId: \'task_123\' }),\n kitman.taskDependencies.list({ taskId: \'task_123\' }),\n kitman.sessions.listForTask({ taskId: \'task_123\' })\n ]);\n\n return { task, dependencies, sessions };\n}\n```\n\n## Required Work Discipline\n\nUse Code Mode operations to keep normal Kitman workflow discipline:\n\n- Resolve or identify the Task before starting work.\n- Read TaskDependencies for build order when relevant.\n- Generate or read the appropriate ContextPack before implementation or review work.\n- Record meaningful findings, decisions, blockers, test results, and file references as SessionUpdates or Task thread entries.\n- Propose Memory only when the learning is durable and reusable.\n- Link delivery artifacts such as merge requests with `kitman.taskLinks.create` and verify them with `kitman.taskLinks.list`.\n- Generate a handoff before stopping.\n\n## Safety Rules\n\nNever put these in Memory, SessionUpdates, handoffs, examples, or cloud audit metadata:\n\n- secrets,\n- private keys,\n- bearer tokens,\n- raw auth-store contents,\n- raw terminal logs,\n- raw source snapshots,\n- raw diffs,\n- private customer data,\n- presigned upload or download URLs.\n\nDo not use Code Mode to bypass Kitman authorization, Team privacy, human review, Memory approval, Proposal approval, or AgentIdentity lifecycle restrictions.\n',
635
635
  "references/privacy-and-safety.md": `# Privacy And Safety
636
636
 
637
637
  Kitman is durable shared state. Treat every SessionUpdate, Memory proposal, ContextPack, and handoff as something future humans and Agents may read.
@@ -12,7 +12,7 @@ import {
12
12
  succeed,
13
13
  isSuccess,
14
14
  TaggedError,
15
- make16,
15
+ make15,
16
16
  _await,
17
17
  fail5,
18
18
  succeed5,
@@ -104,7 +104,7 @@ import {
104
104
  decodeJsonString,
105
105
  encodeJsonStringSync,
106
106
  encodePrettyJsonString
107
- } from "./chunk-zw3gf6r5.js";
107
+ } from "./chunk-zgraq2y3.js";
108
108
  import {
109
109
  tap,
110
110
  mapError,
@@ -116,7 +116,7 @@ import {
116
116
  withDefault,
117
117
  option,
118
118
  String2
119
- } from "./chunk-0h49y8gf.js";
119
+ } from "./chunk-t82w7459.js";
120
120
  import {
121
121
  currentTimeMillis,
122
122
  SecureRandom,
@@ -167,7 +167,7 @@ import {
167
167
  digestSha256,
168
168
  sha256Hasher,
169
169
  raw,
170
- make5,
170
+ make4,
171
171
  get,
172
172
  put,
173
173
  HttpClient,
@@ -230,14 +230,14 @@ import {
230
230
  harnessNames,
231
231
  herdrRunnerCapabilities2,
232
232
  declaredChecks
233
- } from "./chunk-yfn0hs5r.js";
233
+ } from "./chunk-4x3zm541.js";
234
234
  import {
235
235
  Id
236
- } from "./chunk-q5w3v4k1.js";
236
+ } from "./chunk-pxvd8w2v.js";
237
237
  import {
238
238
  ChildProcessSpawner,
239
- make3
240
- } from "./chunk-mtkstrh3.js";
239
+ make2
240
+ } from "./chunk-vxfajzpz.js";
241
241
 
242
242
  // apps/cli/src/cli-error.ts
243
243
  function cliErrorCode(error, status) {
@@ -991,10 +991,10 @@ var sandboxMissing = (sandbox, missing) => ({
991
991
  var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
992
992
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
993
993
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
994
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-pn9atvw8.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
994
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-t37qzgmb.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
995
995
  });
996
996
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
997
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-pn9atvw8.js")), (module) => module.updateHerdrCore(options))
997
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-t37qzgmb.js")), (module) => module.updateHerdrCore(options))
998
998
  });
999
999
  var herdrCoreMissing = (error) => {
1000
1000
  if (isTagged(error, "HerdrCoreMissing"))
@@ -1420,7 +1420,7 @@ var syncTargets = (harness) => gen(function* () {
1420
1420
  });
1421
1421
  var syncKits = (input) => gen(function* () {
1422
1422
  const fs = yield* FileSystem;
1423
- const { syncKitSetup } = yield* promise(() => import("./chunk-yqdmhwpd.js"));
1423
+ const { syncKitSetup } = yield* promise(() => import("./chunk-byg71zra.js"));
1424
1424
  const harnesses = yield* syncTargets(input.harness);
1425
1425
  const chain = yield* input.client.getKitChain(input.workspaceId);
1426
1426
  for (const { name, problem } of chain.skipped)
@@ -1937,7 +1937,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
1937
1937
  run: (command, args) => runCommand2(command, args),
1938
1938
  attach: (command, args) => gen(function* () {
1939
1939
  const spawner = yield* ChildProcessSpawner;
1940
- const handle = yield* spawner.spawn(make3(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
1940
+ const handle = yield* spawner.spawn(make2(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
1941
1941
  const exitCode = yield* handle.exitCode;
1942
1942
  if (exitCode !== 0)
1943
1943
  return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
@@ -2339,7 +2339,7 @@ var package_default = {
2339
2339
  };
2340
2340
 
2341
2341
  // apps/cli/src/scaffold.ts
2342
- var cliVersion = "0.13.5";
2342
+ var cliVersion = "0.13.7";
2343
2343
  var packageJson = (name, scaffold) => `${JSON.stringify({
2344
2344
  name,
2345
2345
  private: true,
@@ -2491,7 +2491,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
2491
2491
 
2492
2492
  // apps/cli/src/commands.ts
2493
2493
  var ClientId = "kitman-cli";
2494
- var agentRuntime = promise(() => import("./chunk-jmhqrt90.js"));
2494
+ var agentRuntime = promise(() => import("./chunk-jbjz7b6n.js"));
2495
2495
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
2496
2496
  defaultValue: () => gen(function* () {
2497
2497
  const tui = yield* tryPromise({
@@ -3515,7 +3515,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
3515
3515
  });
3516
3516
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
3517
3517
  defaultValue: () => (options) => gen(function* () {
3518
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-rvqsm1w7.js"));
3518
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-m406nanz.js"));
3519
3519
  return yield* makeRunnerRpcClient({
3520
3520
  runnerId: options.runnerId,
3521
3521
  bearer: options.bearer,
@@ -3820,7 +3820,7 @@ function startCanonicalHerdrRunnerCommand(input) {
3820
3820
  const checkouts = runCheckouts(path.join(runnerRootDir, ".kitman"), rpc.gitCredential);
3821
3821
  yield* controlPlane.client.listRepoBindings(runner.workspaceId).pipe(flatMap3(({ items }) => forEach(items.filter((binding) => binding.status === "active" && (teamId === undefined || binding.teamId === teamId)), (repoBinding) => map8(checkouts.reaches(repoBinding), (reachable) => ({ repoBinding, reachable })), { concurrency: 4 })), tap2((probed) => sync2(() => reached = probed)), catch_((error) => logWarning("runner_repository_probe_failed", error.message)), flatMap3(() => sleep(reached.some((probe) => !probe.reachable) ? repositoryRetryInterval : repositoryProbeInterval)), forever, forkScoped);
3822
3822
  const platform = yield* context();
3823
- const updated = yield* make16();
3823
+ const updated = yield* make15();
3824
3824
  const scope = yield* scope2;
3825
3825
  const startUpdate = (update) => update.pipe(catch_((error) => andThen2(restartOntoUpdate(input.runnerId), fail5(updated, error))), provideContext2(platform), forkIn(scope), asVoid);
3826
3826
  const refusedForProtocol = container ? updater.stopWhenDrained(new RunnerStopped({ problem: updateRequired })).pipe(catch_((stopped) => fail5(updated, stopped)), forkIn(scope), asVoid) : startUpdate(updater.updateRequired);
@@ -4072,7 +4072,7 @@ function mcpCommand(args) {
4072
4072
  if (command.action === "run") {
4073
4073
  if (command.args.length > 0)
4074
4074
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
4075
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-0yj73sqp.js"));
4075
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-xt97vb58.js"));
4076
4076
  return yield* runMcpServerCommand({ flags: command.flags });
4077
4077
  }
4078
4078
  if (command.action !== "setup")
@@ -4560,7 +4560,7 @@ function programLoopCommand(command) {
4560
4560
  return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
4561
4561
  });
4562
4562
  }
4563
- var docsModule = promise(() => import("./chunk-tkhxmk5r.js"));
4563
+ var docsModule = promise(() => import("./chunk-8v0t5kzg.js"));
4564
4564
  function docsCommand(args) {
4565
4565
  return gen(function* () {
4566
4566
  const command = parseCommand(args);
@@ -5394,9 +5394,9 @@ function changeRequestCommand(args) {
5394
5394
  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}`);
5395
5395
  });
5396
5396
  }
5397
- var KitWriter = map8(promise(() => import("./chunk-vg39q6ac.js")), (build) => build.writeKit);
5397
+ var KitWriter = map8(promise(() => import("./chunk-bs5bh8ys.js")), (build) => build.writeKit);
5398
5398
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
5399
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-vg39q6ac.js")), (build) => build.buildKit(directory))
5399
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-bs5bh8ys.js")), (build) => build.buildKit(directory))
5400
5400
  });
5401
5401
  var uploadKit = (client, workspaceId, built) => gen(function* () {
5402
5402
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -6173,7 +6173,7 @@ function downloadPresignedAsset(download, outputPath) {
6173
6173
  return gen(function* () {
6174
6174
  const fs = yield* FileSystem;
6175
6175
  const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
6176
- const response = yield* send(make5(download.method)(download.url), failed);
6176
+ const response = yield* send(make4(download.method)(download.url), failed);
6177
6177
  if (response.status < 200 || response.status >= 300)
6178
6178
  return yield* new CliError({ message: `Asset download failed with ${response.status}` });
6179
6179
  const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
@@ -1,4 +1,12 @@
1
1
  // @bun
2
+ import {
3
+ decodeText,
4
+ mkString,
5
+ FileSystem,
6
+ Path,
7
+ withDefault,
8
+ String2
9
+ } from "./chunk-t82w7459.js";
2
10
  import {
3
11
  isString,
4
12
  hasProperty,
@@ -32,8 +40,8 @@ import {
32
40
  toCodecJson,
33
41
  Json,
34
42
  encodePrettyJsonString
35
- } from "./chunk-zw3gf6r5.js";
36
- import"./chunk-q5w3v4k1.js";
43
+ } from "./chunk-zgraq2y3.js";
44
+ import"./chunk-pxvd8w2v.js";
37
45
  import {
38
46
  SecureRandom,
39
47
  layerWebCrypto,
@@ -45,31 +53,23 @@ import {
45
53
  layer4,
46
54
  kitmanMcpServer,
47
55
  RunnerRpcProtocolVersion
48
- } from "./chunk-yfn0hs5r.js";
49
- import {
50
- decodeText,
51
- mkString,
52
- FileSystem,
53
- Path,
54
- withDefault,
55
- String2
56
- } from "./chunk-0h49y8gf.js";
56
+ } from "./chunk-4x3zm541.js";
57
57
  import {
58
58
  Packument,
59
59
  tarballMatches
60
- } from "./chunk-dpfxvmh3.js";
61
- import"./chunk-z0a98xqg.js";
60
+ } from "./chunk-m079pjdy.js";
61
+ import"./chunk-x44re8th.js";
62
62
  import {
63
63
  AgentDeclaration,
64
64
  KitDeclarations,
65
65
  describeFlag,
66
66
  Described
67
- } from "./chunk-cvzyx4wy.js";
67
+ } from "./chunk-4bgj3b5r.js";
68
68
  import {
69
69
  ChildProcessSpawner,
70
- make3
71
- } from "./chunk-mtkstrh3.js";
72
- import"./chunk-txf9spw3.js";
70
+ make2
71
+ } from "./chunk-vxfajzpz.js";
72
+ import"./chunk-1nxcn08k.js";
73
73
 
74
74
  // packages/sdk/src/build/index.ts
75
75
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -108,7 +108,7 @@ var ConfigAgents = Record(String4, Struct({
108
108
  }));
109
109
  var run = (command, args, cwd) => gen(function* () {
110
110
  const spawner = yield* ChildProcessSpawner;
111
- const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
111
+ const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
112
112
  const [stdout, stderr, exitCode] = yield* all3([
113
113
  mkString(decodeText(handle.stdout)),
114
114
  mkString(decodeText(handle.stderr)),
@@ -1,4 +1,8 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path
5
+ } from "./chunk-t82w7459.js";
2
6
  import {
3
7
  isObject,
4
8
  isUint8Array,
@@ -13,27 +17,23 @@ import {
13
17
  isJsonObject,
14
18
  decodeJsonString,
15
19
  encodePrettyJsonString
16
- } from "./chunk-zw3gf6r5.js";
17
- import"./chunk-q5w3v4k1.js";
18
- import {
19
- FileSystem,
20
- Path
21
- } from "./chunk-0h49y8gf.js";
20
+ } from "./chunk-zgraq2y3.js";
21
+ import"./chunk-pxvd8w2v.js";
22
22
  import {
23
23
  tomlTableHeader2,
24
24
  tomlKeyPath2,
25
25
  kitmanSkillEntry,
26
26
  isPathWithin2
27
- } from "./chunk-scj257qb.js";
27
+ } from "./chunk-9g8tc40f.js";
28
28
  import {
29
29
  instructionsStart,
30
30
  instructionsEnd,
31
31
  renderMcpServer,
32
32
  materializeKitSetup,
33
33
  tomlInline
34
- } from "./chunk-yfn0hs5r.js";
35
- import"./chunk-dpfxvmh3.js";
36
- import"./chunk-mtkstrh3.js";
34
+ } from "./chunk-4x3zm541.js";
35
+ import"./chunk-m079pjdy.js";
36
+ import"./chunk-vxfajzpz.js";
37
37
 
38
38
  // packages/agent-runtime/src/kit-setup-sync.ts
39
39
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -13,11 +13,11 @@ import {
13
13
  ArraySchema,
14
14
  decodeJsonStringOption,
15
15
  encodeUnknownJsonStringSync
16
- } from "./chunk-zw3gf6r5.js";
16
+ } from "./chunk-zgraq2y3.js";
17
17
  import {
18
18
  replaceSecretReferences,
19
19
  secretReferencesIn
20
- } from "./chunk-q5w3v4k1.js";
20
+ } from "./chunk-pxvd8w2v.js";
21
21
 
22
22
  // packages/agent-runtime/src/srt-step.ts
23
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -41,7 +41,7 @@ import {
41
41
  isFailure2,
42
42
  hasInterrupts,
43
43
  makeUnsafe5,
44
- make16,
44
+ make15,
45
45
  _await,
46
46
  fail5,
47
47
  isDoneUnsafe,
@@ -168,12 +168,53 @@ import {
168
168
  decodeJsonStringSync,
169
169
  encodeUnknownJsonStringSync,
170
170
  storable
171
- } from "./chunk-zw3gf6r5.js";
171
+ } from "./chunk-zgraq2y3.js";
172
+ import {
173
+ join,
174
+ interrupt,
175
+ unbounded,
176
+ publishUnsafe,
177
+ unbounded2,
178
+ offer,
179
+ makeUnsafe3,
180
+ make10,
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-t82w7459.js";
172
213
  import {
173
214
  Id,
174
215
  secretReference,
175
216
  secretPlaceholder
176
- } from "./chunk-q5w3v4k1.js";
217
+ } from "./chunk-pxvd8w2v.js";
177
218
  import {
178
219
  currentTimeMillis,
179
220
  SecureRandom,
@@ -247,48 +288,7 @@ import {
247
288
  installCommand,
248
289
  checkServicesFile,
249
290
  checkServices
250
- } from "./chunk-yfn0hs5r.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-4x3zm541.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-scj257qb.js";
308
- import"./chunk-dpfxvmh3.js";
307
+ } from "./chunk-9g8tc40f.js";
308
+ import"./chunk-m079pjdy.js";
309
309
  import {
310
310
  egressAllowed,
311
311
  writeSecretRegistry,
@@ -315,7 +315,7 @@ import {
315
315
  secretFilter2,
316
316
  opaqueTunnelRefusal2,
317
317
  isOpaqueConnectReason2
318
- } from "./chunk-y1krmnbv.js";
318
+ } from "./chunk-ggmwpwhf.js";
319
319
  import {
320
320
  sliceBytes2,
321
321
  maxLineBytes2,
@@ -323,23 +323,23 @@ import {
323
323
  decodedOption2,
324
324
  decoded2,
325
325
  readOpencode2
326
- } from "./chunk-cbpb2rww.js";
326
+ } from "./chunk-mtdz4k32.js";
327
327
  import {
328
328
  uploadRunFile,
329
329
  programLease,
330
330
  rpcRunFiles,
331
331
  programHostsEnv,
332
332
  undeclaredHostsEnv
333
- } from "./chunk-cvzyx4wy.js";
334
- import"./chunk-z0a98xqg.js";
333
+ } from "./chunk-4bgj3b5r.js";
334
+ import"./chunk-x44re8th.js";
335
335
  import {
336
336
  nextInt
337
- } from "./chunk-gq7y5v3e.js";
337
+ } from "./chunk-24h0y27w.js";
338
338
  import {
339
339
  ChildProcessSpawner,
340
- make3
341
- } from "./chunk-mtkstrh3.js";
342
- import"./chunk-txf9spw3.js";
340
+ make2
341
+ } from "./chunk-vxfajzpz.js";
342
+ import"./chunk-1nxcn08k.js";
343
343
 
344
344
  // packages/core/src/sync-kit.ts
345
345
  import { createHash } from "crypto";
@@ -7037,7 +7037,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7037
7037
  const input = yield* unbounded2();
7038
7038
  const pending = new Map;
7039
7039
  let lastId = 0;
7040
- const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
7040
+ const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
7041
7041
  cwd: env.home,
7042
7042
  extendEnv: true,
7043
7043
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -7060,7 +7060,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7060
7060
  return {
7061
7061
  request: (method, params) => gen(function* () {
7062
7062
  const id = ++lastId;
7063
- const deferred = yield* make16();
7063
+ const deferred = yield* make15();
7064
7064
  pending.set(id, deferred);
7065
7065
  yield* send({ id, method, params });
7066
7066
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -7200,10 +7200,10 @@ var handshake = [
7200
7200
  `).join("");
7201
7201
  var kitmanMcpPreflight = (mcp) => gen(function* () {
7202
7202
  const spawner = yield* ChildProcessSpawner;
7203
- const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
7203
+ const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
7204
7204
  extendEnv: true,
7205
7205
  env: mcp.env,
7206
- stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
7206
+ stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
7207
7207
  stderr: "ignore"
7208
7208
  }));
7209
7209
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -7276,8 +7276,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
7276
7276
  };
7277
7277
  const exitCode = sandbox === undefined ? yield* gen(function* () {
7278
7278
  const spawner = yield* ChildProcessSpawner;
7279
- const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
7280
- stdin: make11(new TextEncoder().encode(stdin)),
7279
+ const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
7280
+ stdin: make10(new TextEncoder().encode(stdin)),
7281
7281
  stdout: "inherit",
7282
7282
  stderr: "inherit",
7283
7283
  extendEnv: false,
@@ -7,10 +7,10 @@ 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";
13
- import"./chunk-zw3gf6r5.js";
10
+ } from "./chunk-mtdz4k32.js";
11
+ import"./chunk-vxfajzpz.js";
12
+ import"./chunk-t82w7459.js";
13
+ import"./chunk-zgraq2y3.js";
14
14
  export {
15
15
  decoded2 as decoded,
16
16
  decodedOption2 as decodedOption,
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-zw3gf6r5.js";
27
+ } from "./chunk-zgraq2y3.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-0h49y8gf.js";
31
+ } from "./chunk-t82w7459.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-yfn0hs5r.js";
42
+ } from "./chunk-4x3zm541.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-z0a98xqg.js";
8
- import"./chunk-txf9spw3.js";
9
- import"./chunk-yfn0hs5r.js";
10
- import"./chunk-q5w3v4k1.js";
11
- import"./chunk-0h49y8gf.js";
12
- import"./chunk-zw3gf6r5.js";
7
+ } from "./chunk-x44re8th.js";
8
+ import"./chunk-1nxcn08k.js";
9
+ import"./chunk-4x3zm541.js";
10
+ import"./chunk-pxvd8w2v.js";
11
+ import"./chunk-t82w7459.js";
12
+ import"./chunk-zgraq2y3.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -4,9 +4,9 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-y1krmnbv.js";
8
- import"./chunk-q5w3v4k1.js";
9
- import"./chunk-zw3gf6r5.js";
7
+ } from "./chunk-ggmwpwhf.js";
8
+ import"./chunk-pxvd8w2v.js";
9
+ import"./chunk-zgraq2y3.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,