@kitman-sh/cli 0.10.73 → 0.10.75

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 (26) hide show
  1. package/dist/{chunk-h89p59p6.js → chunk-0e3t90fs.js} +8 -8
  2. package/dist/{chunk-tkmp48ha.js → chunk-1zt1yeme.js} +4 -4
  3. package/dist/{chunk-cmatdpfy.js → chunk-3teaa3qx.js} +3 -3
  4. package/dist/{chunk-rrnee9mk.js → chunk-545b129z.js} +38 -5
  5. package/dist/{chunk-q3c7vmby.js → chunk-76ctrqm6.js} +1 -1
  6. package/dist/{chunk-0rzh8yfd.js → chunk-89547s8p.js} +647 -75
  7. package/dist/{chunk-1rry0tsn.js → chunk-98sg1yyd.js} +2 -2
  8. package/dist/{chunk-60333x3q.js → chunk-9zd52pda.js} +5 -5
  9. package/dist/{chunk-3edjgnxf.js → chunk-b0cscqbw.js} +25 -3
  10. package/dist/{chunk-9e452fhe.js → chunk-bcbne0ek.js} +51 -6
  11. package/dist/{chunk-4wqjxfbv.js → chunk-e3dmkypq.js} +5 -5
  12. package/dist/{chunk-csbf77zs.js → chunk-e8zm8z3a.js} +4 -4
  13. package/dist/{chunk-zwec6t49.js → chunk-f0stxany.js} +48 -9
  14. package/dist/{chunk-rm83dbpv.js → chunk-fq47a5yd.js} +2 -2
  15. package/dist/{chunk-hr9vd6dj.js → chunk-fqhxxxmp.js} +3 -3
  16. package/dist/{chunk-gxnpdpjz.js → chunk-h3y4z2c0.js} +7 -7
  17. package/dist/{chunk-x1zqfxve.js → chunk-jb01khjp.js} +4 -4
  18. package/dist/{chunk-d3ksv8y1.js → chunk-jbwk6k6m.js} +44 -7
  19. package/dist/{chunk-5n121vsj.js → chunk-p8g8qyev.js} +4 -4
  20. package/dist/{chunk-r8rcfjag.js → chunk-qs6h506g.js} +36 -15
  21. package/dist/{chunk-gmnqchsc.js → chunk-t07tn0ay.js} +4 -4
  22. package/dist/{chunk-t1z7atrq.js → chunk-tv3fkqb9.js} +17 -17
  23. package/dist/{chunk-v01c0k6j.js → chunk-tzz4fv17.js} +1 -1
  24. package/dist/{chunk-dk0ftqwg.js → chunk-xb70ys3n.js} +1 -1
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -22,7 +22,7 @@ import {
22
22
  map8,
23
23
  raceFirst,
24
24
  scoped
25
- } from "./chunk-d3ksv8y1.js";
25
+ } from "./chunk-jbwk6k6m.js";
26
26
  import {
27
27
  unwrap,
28
28
  drainFork,
@@ -31,7 +31,7 @@ import {
31
31
  runCollect,
32
32
  runDrain,
33
33
  mkString
34
- } from "./chunk-dk0ftqwg.js";
34
+ } from "./chunk-xb70ys3n.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;
@@ -7,11 +7,11 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-csbf77zs.js";
11
- import"./chunk-1rry0tsn.js";
12
- import"./chunk-v01c0k6j.js";
13
- import"./chunk-dk0ftqwg.js";
14
- import"./chunk-d3ksv8y1.js";
10
+ } from "./chunk-e8zm8z3a.js";
11
+ import"./chunk-98sg1yyd.js";
12
+ import"./chunk-tzz4fv17.js";
13
+ import"./chunk-xb70ys3n.js";
14
+ import"./chunk-jbwk6k6m.js";
15
15
  export {
16
16
  decoded2 as decoded,
17
17
  decodedOption2 as decodedOption,
@@ -1,6 +1,8 @@
1
1
  // @bun
2
2
  import {
3
+ getOrElse,
3
4
  getOrUndefined,
5
+ liftThrowable,
4
6
  flatMap,
5
7
  toArray,
6
8
  decodeUnknownOption,
@@ -11,11 +13,11 @@ import {
11
13
  ArraySchema,
12
14
  decodeJsonStringOption,
13
15
  encodeUnknownJsonStringSync
14
- } from "./chunk-d3ksv8y1.js";
16
+ } from "./chunk-jbwk6k6m.js";
15
17
  import {
16
18
  replaceSecretReferences,
17
19
  secretReferencesIn
18
- } from "./chunk-rrnee9mk.js";
20
+ } from "./chunk-545b129z.js";
19
21
 
20
22
  // packages/agent-runtime/src/srt-step.ts
21
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -40,6 +42,20 @@ if (false)
40
42
 
41
43
  // packages/agent-runtime/src/secret-proxy.ts
42
44
  var basicPrefix = /^basic\s+/i;
45
+ var tokenIssuingEndpoints = [
46
+ { path: "/copilot_internal/v2/token" },
47
+ { path: "/auto", hosts: ["*.githubcopilot.com", "api.githubcopilot.com"] },
48
+ { path: "/api/oauth/claude_cli/create_api_key" }
49
+ ];
50
+ var normalizedPath = (target) => {
51
+ const path = (URL.canParse(target) ? new URL(target).pathname : target).split(/[?#]/, 1)[0] ?? "";
52
+ const decoded = getOrElse(liftThrowable(decodeURIComponent)(path), () => path);
53
+ return `/${decoded.toLowerCase().split("/").filter(Boolean).join("/")}`;
54
+ };
55
+ var issuesTokens = (request) => {
56
+ const path = normalizedPath(request.target);
57
+ return tokenIssuingEndpoints.some((endpoint) => (path === endpoint.path || path.startsWith(`${endpoint.path}/`)) && (endpoint.hosts === undefined || egressAllowed(endpoint.hosts, request.host, request.port)));
58
+ };
43
59
  var basicCredential = (value) => {
44
60
  if (!basicPrefix.test(value))
45
61
  return;
@@ -63,13 +79,19 @@ var decideSecretRequest = (request, readRegistry) => {
63
79
  if (carrying.length === 0 && inTarget.length === 0)
64
80
  return { action: "allow" };
65
81
  const registry = readRegistry();
82
+ const carried = [...new Set(carrying.flatMap((header) => header.references))];
66
83
  const refusals = [
67
84
  ...inTarget.map((reference) => ({
68
85
  reference,
69
86
  host: request.host,
70
87
  reason: "A reference is swapped only in a header, never in a URL."
71
88
  })),
72
- ...[...new Set(carrying.flatMap((header) => header.references))].flatMap((reference) => {
89
+ ...issuesTokens(request) ? carried.map((reference) => ({
90
+ reference,
91
+ host: request.host,
92
+ reason: "This endpoint answers with a new token, which the Runner obtains itself outside the sandbox."
93
+ })) : [],
94
+ ...carried.flatMap((reference) => {
73
95
  const entry = registry?.[reference];
74
96
  const reason = entry === undefined ? "The reference is unknown or revoked." : request.scheme !== "https" ? "A reference is swapped only over HTTPS." : !egressAllowed(entry.hosts, request.host, request.port) ? `The Secret may be sent only to ${entry.hosts.join(", ")}.` : undefined;
75
97
  return reason === undefined ? [] : [{ reference, host: request.host, reason }];
@@ -248,7 +248,7 @@ import {
248
248
  decodeJsonStringOption,
249
249
  encodeJsonStringSync,
250
250
  encodePrettyJsonString
251
- } from "./chunk-d3ksv8y1.js";
251
+ } from "./chunk-jbwk6k6m.js";
252
252
  import {
253
253
  map,
254
254
  makeEquivalence,
@@ -315,7 +315,7 @@ import {
315
315
  String2,
316
316
  optionalEnv,
317
317
  harnessesUnsupportedInSrt2
318
- } from "./chunk-dk0ftqwg.js";
318
+ } from "./chunk-xb70ys3n.js";
319
319
  import {
320
320
  isDateTime,
321
321
  Numeric,
@@ -327,7 +327,7 @@ import {
327
327
  SecretName,
328
328
  SecretScope,
329
329
  SecretHosts
330
- } from "./chunk-rrnee9mk.js";
330
+ } from "./chunk-545b129z.js";
331
331
  import {
332
332
  toJsonValue,
333
333
  isOneOf,
@@ -341,7 +341,7 @@ import {
341
341
  isSymbol,
342
342
  isUndefined,
343
343
  kindOf
344
- } from "./chunk-v01c0k6j.js";
344
+ } from "./chunk-tzz4fv17.js";
345
345
  import {
346
346
  isRedacted,
347
347
  make,
@@ -355,7 +355,7 @@ import {
355
355
  make3,
356
356
  parseFdName,
357
357
  fdName
358
- } from "./chunk-1rry0tsn.js";
358
+ } from "./chunk-98sg1yyd.js";
359
359
 
360
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
361
361
  var makeEquivalence3 = Tuple;
@@ -2958,6 +2958,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2958
2958
  }
2959
2959
  return make23(params);
2960
2960
  });
2961
+ var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2961
2962
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2962
2963
  const patterns = Array.isArray(key) ? key : [key];
2963
2964
  return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
@@ -7127,6 +7128,20 @@ var RunnerTeamGrantList = Struct({
7127
7128
  var RunnerTeamGrantDeleteResult = Struct({
7128
7129
  removed: Boolean2
7129
7130
  });
7131
+ var RunnerWorkspaceAttachment = Struct({
7132
+ runnerId: Id,
7133
+ workspaceId: Id,
7134
+ createdAt: Timestamp
7135
+ });
7136
+ var RunnerWorkspaceAttachmentCreate = Struct({
7137
+ workspaceId: Id
7138
+ });
7139
+ var RunnerWorkspaceAttachmentList = Struct({
7140
+ items: ArraySchema(RunnerWorkspaceAttachment)
7141
+ });
7142
+ var RunnerWorkspaceAttachmentDeleteResult = Struct({
7143
+ removed: Boolean2
7144
+ });
7130
7145
  var RunnerReplicaPlacement = Struct({
7131
7146
  kind: String4.check(isMinLength(1), isMaxLength(80)),
7132
7147
  label: optionalKey(String4.check(isMinLength(1), isMaxLength(160))),
@@ -9360,6 +9375,18 @@ var uint8Array = (body, contentType) => new Uint8Array2(body, contentType ?? "ap
9360
9375
  var encoder = /* @__PURE__ */ new TextEncoder;
9361
9376
  var buffer = globalThis.Buffer;
9362
9377
  var encodeText = buffer !== undefined ? (body) => buffer.from(body, "utf8") : (body) => encoder.encode(body);
9378
+ var text = (body, contentType) => {
9379
+ if (typeof body !== "string") {
9380
+ body = body === undefined ? "" : String(body);
9381
+ }
9382
+ if (buffer !== undefined) {
9383
+ return new Uint8Array2(undefined, contentType ?? "text/plain", buffer.byteLength(body, "utf8"), body);
9384
+ }
9385
+ const bytes = encoder.encode(body);
9386
+ return new Uint8Array2(bytes, contentType ?? "text/plain", bytes.length, body);
9387
+ };
9388
+ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?? "application/json");
9389
+ var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
9363
9390
 
9364
9391
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
9365
9392
  var TypeId9 = "~effect/http/HttpClientError";
@@ -9579,6 +9606,7 @@ var make5 = (method) => (url, options) => modify(empty6, {
9579
9606
  ...options ?? undefined
9580
9607
  });
9581
9608
  var get = /* @__PURE__ */ make5("GET");
9609
+ var post = /* @__PURE__ */ make5("POST");
9582
9610
  var put = /* @__PURE__ */ make5("PUT");
9583
9611
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9584
9612
  let result = self;
@@ -9630,6 +9658,8 @@ var setBody = /* @__PURE__ */ dual(2, (self, body) => {
9630
9658
  return makeWith(self.method, self.url, self.urlParams, self.hash, updateHeaders(self.headers, body), body);
9631
9659
  });
9632
9660
  var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0]), (self, body, contentType) => setBody(self, uint8Array(body, contentType)));
9661
+ var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
9662
+ var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
9633
9663
  function toUrl(self) {
9634
9664
  const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
9635
9665
  if (isSuccess(r)) {
@@ -12379,6 +12409,21 @@ class KitmanEffectClient {
12379
12409
  headers: this.headers()
12380
12410
  });
12381
12411
  }
12412
+ attachRunnerWorkspace(runnerId, input) {
12413
+ return this.request("attachRunnerWorkspace", `/runners/${segment(runnerId)}/workspace-attachments`, {
12414
+ method: "POST",
12415
+ headers: this.headers(true),
12416
+ body: JSON.stringify(input)
12417
+ });
12418
+ }
12419
+ listRunnerWorkspaceAttachments(runnerId) {
12420
+ return this.request("listRunnerWorkspaceAttachments", `/runners/${segment(runnerId)}/workspace-attachments`, {
12421
+ headers: this.headers()
12422
+ });
12423
+ }
12424
+ detachRunnerWorkspace(runnerId, workspaceId) {
12425
+ return this.request("detachRunnerWorkspace", `/runners/${segment(runnerId)}/workspace-attachments/${segment(workspaceId)}`, { method: "DELETE", headers: this.headers() });
12426
+ }
12382
12427
  listRunnerControlCommands(runnerId, input, traceparent) {
12383
12428
  return this.request("listRunnerControlCommands", `/runners/${segment(runnerId)}/control-commands`, {
12384
12429
  method: "POST",
@@ -15551,4 +15596,4 @@ function checkServices(declaration) {
15551
15596
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
15552
15597
  }
15553
15598
 
15554
- export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, put, setHeaders, bodyUint8Array, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
15599
+ export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
@@ -23,24 +23,24 @@ import {
23
23
  fnUntraced,
24
24
  encodePrettyJsonString,
25
25
  decodeJsonStringSync
26
- } from "./chunk-d3ksv8y1.js";
26
+ } from "./chunk-jbwk6k6m.js";
27
27
  import {
28
28
  isJsonObject,
29
29
  isString
30
- } from "./chunk-v01c0k6j.js";
30
+ } from "./chunk-tzz4fv17.js";
31
31
  import {
32
32
  FileSystem,
33
33
  Path,
34
34
  optionalEnv
35
- } from "./chunk-dk0ftqwg.js";
35
+ } from "./chunk-xb70ys3n.js";
36
36
  import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-9e452fhe.js";
40
+ } from "./chunk-bcbne0ek.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-hr9vd6dj.js";
43
+ } from "./chunk-fqhxxxmp.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -22,21 +22,21 @@ import {
22
22
  NullOr,
23
23
  Finite,
24
24
  encodeUnknownJsonStringSync
25
- } from "./chunk-d3ksv8y1.js";
25
+ } from "./chunk-jbwk6k6m.js";
26
26
  import {
27
27
  isNumber,
28
28
  isJsonObject,
29
29
  isString
30
- } from "./chunk-v01c0k6j.js";
30
+ } from "./chunk-tzz4fv17.js";
31
31
  import {
32
32
  make11,
33
33
  runForEach,
34
34
  compiled2
35
- } from "./chunk-dk0ftqwg.js";
35
+ } from "./chunk-xb70ys3n.js";
36
36
  import {
37
37
  ChildProcessSpawner,
38
38
  make3
39
- } from "./chunk-1rry0tsn.js";
39
+ } from "./chunk-98sg1yyd.js";
40
40
 
41
41
  // packages/agent-runtime/src/opencode-store.ts
42
42
  import { lstatSync, readFileSync, realpathSync } from "fs";