@kitman-sh/cli 0.20.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/{chunk-spazhq67.js → chunk-1j38xtvp.js} +2 -2
  2. package/dist/{chunk-centvmrd.js → chunk-2gm1qkd1.js} +4 -4
  3. package/dist/{chunk-qvpkwnky.js → chunk-4qjfn1sa.js} +1 -1
  4. package/dist/{chunk-s9fwm42m.js → chunk-5gx52vjz.js} +3 -3
  5. package/dist/{chunk-y7bth30s.js → chunk-5kqt4bqp.js} +1 -1
  6. package/dist/{chunk-kntnw6r0.js → chunk-63cyj9dh.js} +177 -28
  7. package/dist/{chunk-rekh8azw.js → chunk-an5jcv2h.js} +7 -7
  8. package/dist/{chunk-535m9qxp.js → chunk-bgwp50wv.js} +128 -267
  9. package/dist/{chunk-3vgv5ba7.js → chunk-cswzx3jj.js} +6 -6
  10. package/dist/{chunk-v30yf453.js → chunk-gap0vmj7.js} +2 -2
  11. package/dist/{chunk-ew07nt2d.js → chunk-h2f26xbd.js} +61 -61
  12. package/dist/{chunk-fvdnmgsy.js → chunk-jq8hbcnf.js} +4 -4
  13. package/dist/{chunk-3hyggg9w.js → chunk-js64y97w.js} +4 -4
  14. package/dist/{chunk-89a53j2y.js → chunk-my92qn4x.js} +5 -5
  15. package/dist/{chunk-rrbnxea1.js → chunk-pbe77xf2.js} +6 -6
  16. package/dist/{chunk-3wct0tsd.js → chunk-q3kvaas4.js} +15 -1
  17. package/dist/{chunk-g00ewhrb.js → chunk-rfa7t28t.js} +19 -19
  18. package/dist/{chunk-yecj64ke.js → chunk-rns9z6k9.js} +10 -10
  19. package/dist/{chunk-6hxtg6eb.js → chunk-samxkpbz.js} +3 -3
  20. package/dist/{chunk-haq904fk.js → chunk-tsx0347c.js} +1 -1
  21. package/dist/{chunk-8xd2jvgj.js → chunk-vmc9xnvh.js} +18 -18
  22. package/dist/{chunk-6387vj9z.js → chunk-vz38kngm.js} +2 -2
  23. package/dist/{chunk-7dcq58d0.js → chunk-xqc3fc72.js} +8 -8
  24. package/dist/{chunk-dtgp724s.js → chunk-y4a78x63.js} +1 -1
  25. package/dist/{chunk-avg3cz82.js → chunk-ytknm7wg.js} +4 -4
  26. package/dist/{chunk-2scq36fm.js → chunk-zh3djymt.js} +25 -12
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -43,7 +43,7 @@ import {
43
43
  isFailure2,
44
44
  hasInterrupts,
45
45
  makeUnsafe5,
46
- make15,
46
+ make16,
47
47
  _await,
48
48
  fail5,
49
49
  isDoneUnsafe,
@@ -172,7 +172,7 @@ import {
172
172
  decodeJsonStringSync,
173
173
  encodeUnknownJsonStringSync,
174
174
  storable
175
- } from "./chunk-ew07nt2d.js";
175
+ } from "./chunk-h2f26xbd.js";
176
176
  import {
177
177
  join,
178
178
  interrupt,
@@ -181,7 +181,7 @@ import {
181
181
  unbounded2,
182
182
  offer,
183
183
  makeUnsafe3,
184
- make10,
184
+ make11,
185
185
  fromQueue,
186
186
  fromPubSub,
187
187
  map2,
@@ -218,7 +218,7 @@ import {
218
218
  writeSrtSettings2,
219
219
  srtStepArgv2,
220
220
  srtArgv2
221
- } from "./chunk-kntnw6r0.js";
221
+ } from "./chunk-63cyj9dh.js";
222
222
  import {
223
223
  currentTimeMillis,
224
224
  SecureRandom,
@@ -307,7 +307,7 @@ import {
307
307
  checkServicesFile,
308
308
  checkServices,
309
309
  serviceChecks
310
- } from "./chunk-535m9qxp.js";
310
+ } from "./chunk-bgwp50wv.js";
311
311
  import {
312
312
  writeAgentEnvironmentConfigFile2,
313
313
  readManifestSkillPaths2,
@@ -323,8 +323,8 @@ import {
323
323
  applyAgentEnvironmentMaterialization2,
324
324
  isPathWithin2,
325
325
  skillIdentity2
326
- } from "./chunk-avg3cz82.js";
327
- import"./chunk-s9fwm42m.js";
326
+ } from "./chunk-ytknm7wg.js";
327
+ import"./chunk-5gx52vjz.js";
328
328
  import {
329
329
  egressAllowed,
330
330
  writeSecretRegistry,
@@ -334,7 +334,7 @@ import {
334
334
  secretFilter2,
335
335
  opaqueTunnelRefusal2,
336
336
  isOpaqueConnectReason2
337
- } from "./chunk-6387vj9z.js";
337
+ } from "./chunk-vz38kngm.js";
338
338
  import {
339
339
  sliceBytes2,
340
340
  maxLineBytes2,
@@ -342,29 +342,29 @@ import {
342
342
  decodedOption2,
343
343
  decoded2,
344
344
  readOpencode2
345
- } from "./chunk-89a53j2y.js";
345
+ } from "./chunk-my92qn4x.js";
346
346
  import {
347
347
  uploadRunFile,
348
348
  programLease,
349
349
  rpcRunFiles,
350
350
  programHostsEnv,
351
351
  undeclaredHostsEnv
352
- } from "./chunk-7dcq58d0.js";
353
- import"./chunk-fvdnmgsy.js";
352
+ } from "./chunk-xqc3fc72.js";
353
+ import"./chunk-jq8hbcnf.js";
354
354
  import {
355
355
  nextInt
356
- } from "./chunk-y7bth30s.js";
357
- import"./chunk-haq904fk.js";
356
+ } from "./chunk-5kqt4bqp.js";
357
+ import"./chunk-tsx0347c.js";
358
358
  import {
359
359
  ChildProcessSpawner,
360
360
  make3
361
- } from "./chunk-v30yf453.js";
362
- import"./chunk-3vgv5ba7.js";
361
+ } from "./chunk-gap0vmj7.js";
362
+ import"./chunk-cswzx3jj.js";
363
363
  import {
364
364
  Id,
365
365
  secretReference,
366
366
  secretPlaceholder
367
- } from "./chunk-qvpkwnky.js";
367
+ } from "./chunk-4qjfn1sa.js";
368
368
 
369
369
  // packages/core/src/sync-kit.ts
370
370
  import { createHash } from "crypto";
@@ -8027,7 +8027,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
8027
8027
  return {
8028
8028
  request: (method, params) => gen(function* () {
8029
8029
  const id = ++lastId;
8030
- const deferred = yield* make15();
8030
+ const deferred = yield* make16();
8031
8031
  pending.set(id, deferred);
8032
8032
  yield* send({ id, method, params });
8033
8033
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -8170,7 +8170,7 @@ var kitmanMcpPreflight = (mcp) => gen(function* () {
8170
8170
  const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
8171
8171
  extendEnv: true,
8172
8172
  env: mcp.env,
8173
- stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
8173
+ stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
8174
8174
  stderr: "ignore"
8175
8175
  }));
8176
8176
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -8244,7 +8244,7 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
8244
8244
  const exitCode = sandbox === undefined ? yield* gen(function* () {
8245
8245
  const spawner = yield* ChildProcessSpawner;
8246
8246
  const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
8247
- stdin: make10(new TextEncoder().encode(stdin)),
8247
+ stdin: make11(new TextEncoder().encode(stdin)),
8248
8248
  stdout: "inherit",
8249
8249
  stderr: "inherit",
8250
8250
  extendEnv: false,
@@ -6,7 +6,7 @@ import {
6
6
  Path,
7
7
  withDefault,
8
8
  String2
9
- } from "./chunk-kntnw6r0.js";
9
+ } from "./chunk-63cyj9dh.js";
10
10
  import {
11
11
  isString,
12
12
  isObject,
@@ -43,7 +43,7 @@ import {
43
43
  toCodecJson,
44
44
  Json,
45
45
  encodePrettyJsonString
46
- } from "./chunk-ew07nt2d.js";
46
+ } from "./chunk-h2f26xbd.js";
47
47
  import {
48
48
  SecureRandom,
49
49
  layerWebCrypto,
@@ -60,26 +60,26 @@ import {
60
60
  KitDeclarations,
61
61
  kitmanMcpServer,
62
62
  RunnerRpcProtocolVersion
63
- } from "./chunk-535m9qxp.js";
63
+ } from "./chunk-bgwp50wv.js";
64
64
  import {
65
65
  Packument,
66
66
  tarballMatches
67
- } from "./chunk-s9fwm42m.js";
67
+ } from "./chunk-5gx52vjz.js";
68
68
  import {
69
69
  stepDefinedTwice,
70
70
  hostSteps,
71
71
  exports_activities,
72
72
  describeFlag,
73
73
  Described
74
- } from "./chunk-7dcq58d0.js";
75
- import"./chunk-fvdnmgsy.js";
76
- import"./chunk-haq904fk.js";
74
+ } from "./chunk-xqc3fc72.js";
75
+ import"./chunk-jq8hbcnf.js";
76
+ import"./chunk-tsx0347c.js";
77
77
  import {
78
78
  ChildProcessSpawner,
79
79
  make3
80
- } from "./chunk-v30yf453.js";
81
- import"./chunk-3vgv5ba7.js";
82
- import"./chunk-qvpkwnky.js";
80
+ } from "./chunk-gap0vmj7.js";
81
+ import"./chunk-cswzx3jj.js";
82
+ import"./chunk-4qjfn1sa.js";
83
83
 
84
84
  // packages/sdk/src/build/outline/graph.ts
85
85
  import {
@@ -4,9 +4,9 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-6387vj9z.js";
8
- import"./chunk-qvpkwnky.js";
9
- import"./chunk-ew07nt2d.js";
7
+ } from "./chunk-vz38kngm.js";
8
+ import"./chunk-4qjfn1sa.js";
9
+ import"./chunk-h2f26xbd.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  isString2
4
- } from "./chunk-ew07nt2d.js";
4
+ } from "./chunk-h2f26xbd.js";
5
5
 
6
6
  // packages/core/src/question-recommendation.ts
7
7
  var optionValue = (option) => isString2(option) ? option : option.value;
@@ -12,7 +12,7 @@ import {
12
12
  succeed,
13
13
  isSuccess,
14
14
  TaggedError,
15
- make15,
15
+ make16,
16
16
  _await,
17
17
  fail5,
18
18
  succeed5,
@@ -108,7 +108,7 @@ import {
108
108
  decodeJsonStringOption,
109
109
  encodeJsonStringSync,
110
110
  encodePrettyJsonString
111
- } from "./chunk-ew07nt2d.js";
111
+ } from "./chunk-h2f26xbd.js";
112
112
  import {
113
113
  tap,
114
114
  mapError,
@@ -120,7 +120,7 @@ import {
120
120
  withDefault,
121
121
  option,
122
122
  String2
123
- } from "./chunk-kntnw6r0.js";
123
+ } from "./chunk-63cyj9dh.js";
124
124
  import {
125
125
  currentTimeMillis,
126
126
  SecureRandom,
@@ -251,15 +251,15 @@ import {
251
251
  harnessNames,
252
252
  herdrRunnerCapabilities2,
253
253
  declaredChecks
254
- } from "./chunk-535m9qxp.js";
254
+ } from "./chunk-bgwp50wv.js";
255
255
  import {
256
256
  ChildProcessSpawner,
257
257
  make3
258
- } from "./chunk-v30yf453.js";
258
+ } from "./chunk-gap0vmj7.js";
259
259
  import {
260
260
  Id,
261
261
  Timestamp
262
- } from "./chunk-qvpkwnky.js";
262
+ } from "./chunk-4qjfn1sa.js";
263
263
 
264
264
  // apps/cli/src/cli-error.ts
265
265
  function cliErrorCode(error, status) {
@@ -1326,10 +1326,10 @@ var sandboxMissing = (sandbox, missing) => ({
1326
1326
  var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
1327
1327
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
1328
1328
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
1329
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-centvmrd.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
1329
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-2gm1qkd1.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
1330
1330
  });
1331
1331
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
1332
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-centvmrd.js")), (module) => module.updateHerdrCore(options))
1332
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-2gm1qkd1.js")), (module) => module.updateHerdrCore(options))
1333
1333
  });
1334
1334
  var herdrCoreMissing = (error) => {
1335
1335
  if (isTagged(error, "HerdrCoreMissing"))
@@ -1773,7 +1773,7 @@ var syncTargets = (harness) => gen(function* () {
1773
1773
  });
1774
1774
  var syncKits = (input) => gen(function* () {
1775
1775
  const fs = yield* FileSystem;
1776
- const { syncKitSetup } = yield* promise(() => import("./chunk-rekh8azw.js"));
1776
+ const { syncKitSetup } = yield* promise(() => import("./chunk-an5jcv2h.js"));
1777
1777
  const harnesses = yield* syncTargets(input.harness);
1778
1778
  const chain = yield* input.client.getKitChain(input.workspaceId);
1779
1779
  for (const { name, problem } of chain.skipped)
@@ -3268,7 +3268,7 @@ var shipped_steps_generated_default = {
3268
3268
  };
3269
3269
 
3270
3270
  // apps/cli/src/scaffold-files.ts
3271
- var cliVersion = "0.20.0";
3271
+ var cliVersion = "0.22.0";
3272
3272
  var shippedLoopSteps = new Map(Object.entries(shipped_steps_generated_default));
3273
3273
  var loopSteps = (loop) => shippedLoopSteps.get(loop) ?? [];
3274
3274
  var replacedStep = (loop) => loopSteps(loop).find((step) => step.from === defaultKitName && step.exported?.startsWith("steps.") === true);
@@ -3533,7 +3533,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
3533
3533
 
3534
3534
  // apps/cli/src/commands.ts
3535
3535
  var ClientId = "kitman-cli";
3536
- var agentRuntime = promise(() => import("./chunk-g00ewhrb.js"));
3536
+ var agentRuntime = promise(() => import("./chunk-rfa7t28t.js"));
3537
3537
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
3538
3538
  defaultValue: () => gen(function* () {
3539
3539
  const tui = yield* tryPromise({
@@ -5072,7 +5072,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
5072
5072
  });
5073
5073
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
5074
5074
  defaultValue: () => (options) => gen(function* () {
5075
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-rrbnxea1.js"));
5075
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-pbe77xf2.js"));
5076
5076
  return yield* makeRunnerRpcClient({
5077
5077
  runnerId: options.runnerId,
5078
5078
  bearer: options.bearer,
@@ -5385,7 +5385,7 @@ function startCanonicalHerdrRunnerCommand(input) {
5385
5385
  yield* controlPlane.client.listRepoBindings(runner.workspaceId).pipe(flatMap3(({ items }) => forEach(items.filter((binding) => binding.status === "active" && (teamId === undefined || binding.teamId === teamId)), (repoBinding) => map9(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);
5386
5386
  yield* suspend3(() => sleep(ownerLogin.expired() ? ownerLoginRetryInterval : ownerLoginInterval)).pipe(andThen2(checkOwnerLogin), forever, forkScoped);
5387
5387
  const platform = yield* context();
5388
- const updated = yield* make15();
5388
+ const updated = yield* make16();
5389
5389
  const scope = yield* scope2;
5390
5390
  const startUpdate = (update) => update.pipe(catch_((error) => andThen2(restartOntoUpdate(input.runnerId), fail5(updated, error))), provideContext2(platform), forkIn(scope), asVoid);
5391
5391
  const refusedForProtocol = container ? updater.stopWhenDrained(new RunnerStopped({ problem: updateRequired })).pipe(catch_((stopped) => fail5(updated, stopped)), forkIn(scope), asVoid) : startUpdate(updater.updateRequired);
@@ -5645,7 +5645,7 @@ function mcpCommand(args) {
5645
5645
  if (command.action === "run") {
5646
5646
  if (command.args.length > 0)
5647
5647
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
5648
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-2scq36fm.js"));
5648
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-zh3djymt.js"));
5649
5649
  return yield* runMcpServerCommand({ flags: command.flags });
5650
5650
  }
5651
5651
  if (command.action !== "setup")
@@ -6145,7 +6145,7 @@ function programLoopCommand(command) {
6145
6145
  return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
6146
6146
  });
6147
6147
  }
6148
- var docsModule = promise(() => import("./chunk-dtgp724s.js"));
6148
+ var docsModule = promise(() => import("./chunk-y4a78x63.js"));
6149
6149
  function docsCommand(args) {
6150
6150
  return gen(function* () {
6151
6151
  const command = parseCommand(args);
@@ -7149,7 +7149,7 @@ function changeRequestCommand(args) {
7149
7149
  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}`);
7150
7150
  });
7151
7151
  }
7152
- var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-yecj64ke.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
7152
+ var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-rns9z6k9.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
7153
7153
  var loopOutline = (command) => gen(function* () {
7154
7154
  const path = yield* Path;
7155
7155
  const loop = requiredArg(command, "a Loop id");
@@ -7169,9 +7169,9 @@ var loopOutline = (command) => gen(function* () {
7169
7169
  `).pipe(mapError2((error) => new CliError({ message: error.message })));
7170
7170
  yield* log(`Wrote the outline of ${loop} to ${out}`);
7171
7171
  });
7172
- var KitWriter = map9(promise(() => import("./chunk-yecj64ke.js")), (build) => build.writeKit);
7172
+ var KitWriter = map9(promise(() => import("./chunk-rns9z6k9.js")), (build) => build.writeKit);
7173
7173
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
7174
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-yecj64ke.js")), (build) => build.buildKit(directory))
7174
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-rns9z6k9.js")), (build) => build.buildKit(directory))
7175
7175
  });
7176
7176
  var uploadKit = (client, workspaceId, built) => gen(function* () {
7177
7177
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -13,11 +13,11 @@ import {
13
13
  ArraySchema,
14
14
  decodeJsonStringOption,
15
15
  encodeUnknownJsonStringSync
16
- } from "./chunk-ew07nt2d.js";
16
+ } from "./chunk-h2f26xbd.js";
17
17
  import {
18
18
  replaceSecretReferences,
19
19
  secretReferencesIn
20
- } from "./chunk-qvpkwnky.js";
20
+ } from "./chunk-4qjfn1sa.js";
21
21
 
22
22
  // packages/agent-runtime/src/srt-step.ts
23
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -12,7 +12,7 @@ import {
12
12
  empty3,
13
13
  add,
14
14
  getOrUndefined2,
15
- get3,
15
+ get4,
16
16
  merge3,
17
17
  Reference,
18
18
  fromInputUnsafe,
@@ -138,12 +138,12 @@ import {
138
138
  toJsonSchemaDocument,
139
139
  toCodecJson,
140
140
  Json
141
- } from "./chunk-ew07nt2d.js";
141
+ } from "./chunk-h2f26xbd.js";
142
142
  import {
143
143
  getCurrent,
144
144
  runForEach,
145
145
  FileSystem
146
- } from "./chunk-kntnw6r0.js";
146
+ } from "./chunk-63cyj9dh.js";
147
147
  import {
148
148
  currentTimeMillis,
149
149
  WebCrypto,
@@ -181,18 +181,18 @@ import {
181
181
  StepManifest,
182
182
  KitSetup,
183
183
  RunnerRpcError
184
- } from "./chunk-535m9qxp.js";
184
+ } from "./chunk-bgwp50wv.js";
185
185
  import {
186
186
  splitQuestionOptions,
187
187
  recommendationProblem,
188
188
  questionAdvice
189
- } from "./chunk-haq904fk.js";
189
+ } from "./chunk-tsx0347c.js";
190
190
  import {
191
191
  guard,
192
192
  Id,
193
193
  Timestamp,
194
194
  ActorType
195
- } from "./chunk-qvpkwnky.js";
195
+ } from "./chunk-4qjfn1sa.js";
196
196
  var __defProp = Object.defineProperty;
197
197
  var __returnValue = (v) => v;
198
198
  function __exportSetter(name, newValue) {
@@ -769,7 +769,7 @@ class Suspended extends (/* @__PURE__ */ Class2("effect/workflow/Workflow/Suspen
769
769
  [ResultTypeId] = ResultTypeId;
770
770
  }
771
771
  var wrapActivityResult = (effect, isSuspend) => contextWith((context) => {
772
- const instance = get3(context, InstanceTag);
772
+ const instance = get4(context, InstanceTag);
773
773
  return acquireUseRelease(sync2(() => adoptActivityUnsafe(context, instance) ?? registerActivityUnsafe(instance)), () => effect, (registration, exit) => {
774
774
  releaseActivityUnsafe(registration);
775
775
  const isSuspended = isSuccess2(exit) && isSuspend(exit.value);
@@ -1420,7 +1420,7 @@ var scopingActivities = (engine) => ({
1420
1420
  }),
1421
1421
  activityExecute: (activity, attempt) => gen(function* () {
1422
1422
  const scope = yield* StepScope;
1423
- if (scope === "" || get3(activity.annotations, ActivityNamed))
1423
+ if (scope === "" || get4(activity.annotations, ActivityNamed))
1424
1424
  return yield* engine.activityExecute(activity, attempt);
1425
1425
  return yield* engine.activityExecute(renamed(activity, scopedName(scope, activity.name)), attempt);
1426
1426
  })
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-3wct0tsd.js";
7
+ } from "./chunk-q3kvaas4.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -4,7 +4,7 @@ import {
4
4
  Path,
5
5
  optionalEnv,
6
6
  tempDirectoryScoped
7
- } from "./chunk-kntnw6r0.js";
7
+ } from "./chunk-63cyj9dh.js";
8
8
  import {
9
9
  Reference,
10
10
  TaggedError,
@@ -31,15 +31,15 @@ import {
31
31
  isString2,
32
32
  encodePrettyJsonString,
33
33
  decodeJsonStringSync
34
- } from "./chunk-ew07nt2d.js";
34
+ } from "./chunk-h2f26xbd.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-535m9qxp.js";
39
+ } from "./chunk-bgwp50wv.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-s9fwm42m.js";
42
+ } from "./chunk-5gx52vjz.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {