@kitman-sh/cli 0.14.2 → 0.14.3

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/LICENSE.md +10 -0
  2. package/dist/{chunk-avhqm9p0.js → chunk-2w9a76nr.js} +34 -183
  3. package/dist/{chunk-ryxff0xk.js → chunk-34748vfg.js} +337 -181
  4. package/dist/{chunk-gwz39037.js → chunk-3f6mzrm7.js} +1 -1
  5. package/dist/{chunk-m9x7feh0.js → chunk-44kx62t6.js} +7 -7
  6. package/dist/{chunk-t9chwen8.js → chunk-65dpe0ev.js} +2 -2
  7. package/dist/{chunk-ge9qjp6s.js → chunk-7q3t3x0x.js} +6 -6
  8. package/dist/{chunk-jzfy127y.js → chunk-7v1n7a6k.js} +4 -4
  9. package/dist/{chunk-v86jpzpr.js → chunk-91j33xf2.js} +9 -9
  10. package/dist/{chunk-4xez238w.js → chunk-9anvghq2.js} +2 -2
  11. package/dist/{chunk-h6kd80nr.js → chunk-9avbsbvk.js} +1 -6
  12. package/dist/{chunk-q4ch3t9q.js → chunk-a4mkjaxa.js} +6 -6
  13. package/dist/{chunk-scdr623z.js → chunk-bbf0jzsc.js} +1 -1
  14. package/dist/{chunk-vfw3xn1e.js → chunk-ctpgfdzf.js} +3 -3
  15. package/dist/{chunk-80vwvv5x.js → chunk-daem5h1c.js} +28 -28
  16. package/dist/{chunk-39pdxhcv.js → chunk-dhtx14r5.js} +3 -3
  17. package/dist/{chunk-z7c2ndfg.js → chunk-er9n65mh.js} +11 -11
  18. package/dist/{chunk-0r9tp5pz.js → chunk-f96vy2h9.js} +4 -4
  19. package/dist/{chunk-ffq8vvvx.js → chunk-hasfatd4.js} +5 -5
  20. package/dist/{chunk-hza25m2e.js → chunk-my9vcmfw.js} +31 -31
  21. package/dist/{chunk-24j1cmsm.js → chunk-rgrpvnwg.js} +21 -21
  22. package/dist/{chunk-3csj1ve1.js → chunk-rvnem2bt.js} +4 -4
  23. package/dist/{chunk-yfag1eey.js → chunk-tebzffha.js} +19 -19
  24. package/dist/{chunk-e024f8af.js → chunk-y0y2gg8d.js} +2 -2
  25. package/dist/{chunk-1jabs81x.js → chunk-zpp4jg4a.js} +59 -101
  26. package/dist/{chunk-qqmxhk9w.js → chunk-zxmx605h.js} +60 -14
  27. package/dist/index.js +4 -4
  28. package/package.json +4 -3
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-t9chwen8.js";
7
+ } from "./chunk-65dpe0ev.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -13,27 +13,27 @@ import {
13
13
  isJsonObject,
14
14
  decodeJsonString,
15
15
  encodePrettyJsonString
16
- } from "./chunk-1jabs81x.js";
17
- import"./chunk-h6kd80nr.js";
16
+ } from "./chunk-zpp4jg4a.js";
18
17
  import {
19
18
  FileSystem,
20
19
  Path
21
- } from "./chunk-avhqm9p0.js";
20
+ } from "./chunk-2w9a76nr.js";
22
21
  import {
23
22
  tomlTableHeader2,
24
23
  tomlKeyPath2,
25
24
  kitmanSkillEntry,
26
25
  isPathWithin2
27
- } from "./chunk-0r9tp5pz.js";
26
+ } from "./chunk-f96vy2h9.js";
28
27
  import {
29
28
  instructionsStart,
30
29
  instructionsEnd,
31
30
  renderMcpServer,
32
31
  materializeKitSetup,
33
32
  tomlInline
34
- } from "./chunk-ryxff0xk.js";
35
- import"./chunk-39pdxhcv.js";
36
- import"./chunk-qqmxhk9w.js";
33
+ } from "./chunk-34748vfg.js";
34
+ import"./chunk-dhtx14r5.js";
35
+ import"./chunk-zxmx605h.js";
36
+ import"./chunk-9avbsbvk.js";
37
37
 
38
38
  // packages/agent-runtime/src/kit-setup-sync.ts
39
39
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -57,7 +57,7 @@ kitman verify add test "bun run test"
57
57
  For a repository whose forge runs no pipeline, approve the command that runs it as its pipeline. Shepherd runs it on a Runner for each ChangeRequest head and reports the result:
58
58
 
59
59
  \`\`\`sh
60
- kitman verify add platform-quality scripts/ci-job.sh platform:quality --pipeline
60
+ kitman verify add quality scripts/check.sh --pipeline
61
61
  \`\`\`
62
62
 
63
63
  Approve a check that reads the target branch, such as a migration history test that compares the branch's migrations with the target's, with \`--reads-target\`. Kitman holds a check's result per tree and reuses it, but this one's result holds only for the target it read, so it runs at every verify. Shepherd also runs it again when the target moves while a ChangeRequest waits for a person to merge, and merges the target in when it fails:
@@ -1555,7 +1555,7 @@ var pathOfLink = (link) => {
1555
1555
  return page === null ? link : page[1] || "index";
1556
1556
  };
1557
1557
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
1558
- var pinnedLink2 = (link, version = "0.14.2") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1558
+ var pinnedLink2 = (link, version = "0.14.3") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1559
1559
  var pageOf = (path) => path.split("#")[0];
1560
1560
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
1561
1561
  function excerpt(text, queryTerms) {
@@ -75,10 +75,7 @@ import {
75
75
  toEquivalence,
76
76
  toCodecJson,
77
77
  Json
78
- } from "./chunk-1jabs81x.js";
79
- import {
80
- guard
81
- } from "./chunk-h6kd80nr.js";
78
+ } from "./chunk-zpp4jg4a.js";
82
79
  import {
83
80
  currentTimeMillis,
84
81
  WebCrypto,
@@ -105,11 +102,14 @@ import {
105
102
  KitDigest,
106
103
  KitSetup,
107
104
  RunnerRpcError
108
- } from "./chunk-ryxff0xk.js";
105
+ } from "./chunk-34748vfg.js";
109
106
  import {
110
107
  runForEach,
111
108
  FileSystem
112
- } from "./chunk-avhqm9p0.js";
109
+ } from "./chunk-2w9a76nr.js";
110
+ import {
111
+ guard
112
+ } from "./chunk-9avbsbvk.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");
@@ -7,10 +7,10 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-ffq8vvvx.js";
11
- import"./chunk-qqmxhk9w.js";
12
- import"./chunk-avhqm9p0.js";
13
- import"./chunk-1jabs81x.js";
10
+ } from "./chunk-hasfatd4.js";
11
+ import"./chunk-zxmx605h.js";
12
+ import"./chunk-2w9a76nr.js";
13
+ import"./chunk-zpp4jg4a.js";
14
14
  export {
15
15
  decoded2 as decoded,
16
16
  decodedOption2 as decodedOption,
@@ -6,10 +6,7 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-1jabs81x.js";
10
- import {
11
- runForEach
12
- } from "./chunk-avhqm9p0.js";
9
+ } from "./chunk-zpp4jg4a.js";
13
10
  import {
14
11
  WebSocketConstructor,
15
12
  layerWebSocketConstructorGlobal,
@@ -19,13 +16,16 @@ import {
19
16
  RunnerReplicaRpcs,
20
17
  RunnerRunFileRpcs,
21
18
  ProgramRpcs
22
- } from "./chunk-ryxff0xk.js";
19
+ } from "./chunk-34748vfg.js";
20
+ import {
21
+ runForEach
22
+ } from "./chunk-2w9a76nr.js";
23
23
  import {
24
24
  layerJson,
25
- make3,
25
+ make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-yfag1eey.js";
28
+ } from "./chunk-tebzffha.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -46,7 +46,7 @@ var authorizer = (options) => (call) => flatMap3(options.bearer, (token) => with
46
46
  var RunnerProcessRpcs = RunnerReplicaRpcs.merge(RunnerRunFileRpcs);
47
47
  var makeRunnerRpcClient2 = (options) => gen(function* () {
48
48
  const protocol = yield* build(options.protocol);
49
- const client = yield* make3(RunnerProcessRpcs).pipe(provideContext2(protocol));
49
+ const client = yield* make4(RunnerProcessRpcs).pipe(provideContext2(protocol));
50
50
  const authorized = authorizer(options);
51
51
  return {
52
52
  claim: (input) => authorized(client.Claim(input)),
@@ -74,7 +74,7 @@ var makeRunnerRpcClient2 = (options) => gen(function* () {
74
74
  });
75
75
  var makeProgramRpcClient2 = (options) => gen(function* () {
76
76
  const protocol = yield* build(options.protocol);
77
- const client = yield* make3(ProgramRpcs).pipe(provideContext2(protocol));
77
+ const client = yield* make4(ProgramRpcs).pipe(provideContext2(protocol));
78
78
  const authorized = authorizer(options);
79
79
  return {
80
80
  recordActivity: (input) => authorized(client.RecordActivity(input)),
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-avhqm9p0.js";
18
- import"./chunk-1jabs81x.js";
17
+ } from "./chunk-2w9a76nr.js";
18
+ import"./chunk-zpp4jg4a.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
@@ -18,12 +18,7 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-1jabs81x.js";
22
-
23
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
24
- var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
25
- var DRAFT_07_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "deprecated"];
26
- var OPEN_API_30_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "$comment", "$id", "$schema", "const", "contains", "contentEncoding", "contentMediaType", "else", "examples", "if", "patternProperties", "propertyNames", "then"];
21
+ } from "./chunk-zpp4jg4a.js";
27
22
 
28
23
  // packages/core/src/schema.ts
29
24
  var Days = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-v86jpzpr.js";
8
- import"./chunk-yfag1eey.js";
9
- import"./chunk-ryxff0xk.js";
10
- import"./chunk-h6kd80nr.js";
11
- import"./chunk-avhqm9p0.js";
12
- import"./chunk-1jabs81x.js";
7
+ } from "./chunk-91j33xf2.js";
8
+ import"./chunk-tebzffha.js";
9
+ import"./chunk-34748vfg.js";
10
+ import"./chunk-9avbsbvk.js";
11
+ import"./chunk-2w9a76nr.js";
12
+ import"./chunk-zpp4jg4a.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-1jabs81x.js";
6
+ } from "./chunk-zpp4jg4a.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -4,9 +4,9 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-e024f8af.js";
8
- import"./chunk-h6kd80nr.js";
9
- import"./chunk-1jabs81x.js";
7
+ } from "./chunk-y0y2gg8d.js";
8
+ import"./chunk-9avbsbvk.js";
9
+ import"./chunk-zpp4jg4a.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -118,7 +118,7 @@ import {
118
118
  decodeJsonStringOption,
119
119
  encodeJsonStringSync,
120
120
  encodePrettyJsonString
121
- } from "./chunk-1jabs81x.js";
121
+ } from "./chunk-zpp4jg4a.js";
122
122
  import {
123
123
  currentTimeMillis,
124
124
  SecureRandom,
@@ -158,8 +158,8 @@ import {
158
158
  sessionForApi,
159
159
  readAuthStore,
160
160
  agentCredentialForApi,
161
- make5,
162
161
  make6,
162
+ make7,
163
163
  Service,
164
164
  shouldRefresh,
165
165
  refreshSession,
@@ -170,13 +170,7 @@ import {
170
170
  runMcpEffect,
171
171
  createAgentAuthSignedFetch,
172
172
  setupMcpAgentCredential
173
- } from "./chunk-ryxff0xk.js";
174
- import {
175
- guard,
176
- Id,
177
- Timestamp,
178
- ActorType
179
- } from "./chunk-h6kd80nr.js";
173
+ } from "./chunk-34748vfg.js";
180
174
  import {
181
175
  join,
182
176
  interrupt,
@@ -193,21 +187,27 @@ import {
193
187
  withDefault,
194
188
  option,
195
189
  String2
196
- } from "./chunk-avhqm9p0.js";
190
+ } from "./chunk-2w9a76nr.js";
197
191
  import {
198
192
  searchDocs2,
199
193
  readDoc2
200
- } from "./chunk-t9chwen8.js";
194
+ } from "./chunk-65dpe0ev.js";
201
195
  import {
202
196
  nextInt
203
- } from "./chunk-scdr623z.js";
197
+ } from "./chunk-bbf0jzsc.js";
204
198
  import {
205
199
  layerJson,
206
- make3,
200
+ make4,
207
201
  withHeaders,
208
202
  layerProtocolSocket,
209
203
  ConnectionHooks
210
- } from "./chunk-yfag1eey.js";
204
+ } from "./chunk-tebzffha.js";
205
+ import {
206
+ guard,
207
+ Id,
208
+ Timestamp,
209
+ ActorType
210
+ } from "./chunk-9avbsbvk.js";
211
211
 
212
212
  // apps/cli/src/mcp.ts
213
213
  import { tmpdir as tmpdir2 } from "os";
@@ -1959,56 +1959,56 @@ var LivePresenceSubscriptionMessage = Union([
1959
1959
  LivePresenceSubscriptionUpdate
1960
1960
  ]);
1961
1961
 
1962
- class LiveRpcs extends make6(make5("Session", {
1962
+ class LiveRpcs extends make7(make6("Session", {
1963
1963
  success: Struct({ workspaceId: String4, clientKind: String4 }),
1964
1964
  error: LiveRpcError
1965
- }), make5("Subscribe", {
1965
+ }), make6("Subscribe", {
1966
1966
  payload: LiveSubscribeInput,
1967
1967
  success: LiveSubscriptionMessage,
1968
1968
  error: LiveRpcError,
1969
1969
  stream: true
1970
- }), make5("Replay", {
1970
+ }), make6("Replay", {
1971
1971
  payload: LiveReplayInput,
1972
1972
  success: ArraySchema(LiveEvent),
1973
1973
  error: LiveRpcError
1974
- }), make5("Ack", {
1974
+ }), make6("Ack", {
1975
1975
  payload: LiveAckInput,
1976
1976
  success: LiveAckResult,
1977
1977
  error: LiveRpcError
1978
- }), make5("SubscribeWeb", {
1978
+ }), make6("SubscribeWeb", {
1979
1979
  payload: LiveWebSubscribeInput,
1980
1980
  success: LiveWebSubscriptionMessage,
1981
1981
  error: LiveRpcError,
1982
1982
  stream: true
1983
- }), make5("SubscriptionStatus", {
1983
+ }), make6("SubscriptionStatus", {
1984
1984
  payload: { subscriptionId: String4 },
1985
1985
  success: LiveSubscriptionStatus,
1986
1986
  error: LiveRpcError
1987
- }), make5("ReplayWeb", {
1987
+ }), make6("ReplayWeb", {
1988
1988
  payload: LiveWebReplayInput,
1989
1989
  success: LiveWebReplayResult,
1990
1990
  error: LiveRpcError
1991
- }), make5("AckWeb", {
1991
+ }), make6("AckWeb", {
1992
1992
  payload: LiveWebAckInput,
1993
1993
  success: LiveWebAckResult,
1994
1994
  error: LiveRpcError
1995
- }), make5("PublishPresence", {
1995
+ }), make6("PublishPresence", {
1996
1996
  payload: LivePresencePublishInput,
1997
1997
  success: LivePresenceEntry,
1998
1998
  error: LiveRpcError
1999
- }), make5("SubscribePresence", {
1999
+ }), make6("SubscribePresence", {
2000
2000
  payload: LivePresenceSubscribeInput,
2001
2001
  success: LivePresenceSubscriptionMessage,
2002
2002
  error: LiveRpcError,
2003
2003
  stream: true
2004
- }), make5("ClearPresence", {
2004
+ }), make6("ClearPresence", {
2005
2005
  payload: { scope: optional(LiveScope) },
2006
2006
  error: LiveRpcError
2007
- }), make5("RecordSessionUpdate", {
2007
+ }), make6("RecordSessionUpdate", {
2008
2008
  payload: { sessionId: String4, input: SessionUpdateCreate },
2009
2009
  success: SessionUpdate,
2010
2010
  error: LiveRpcError
2011
- }), make5("EndSession", {
2011
+ }), make6("EndSession", {
2012
2012
  payload: { sessionId: String4, input: SessionEnd },
2013
2013
  success: Session,
2014
2014
  error: LiveRpcError
@@ -2060,7 +2060,7 @@ function connectKitmanLiveRoot(protocol) {
2060
2060
  })
2061
2061
  });
2062
2062
  const layer = (isString2(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
2063
- const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make3(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2063
+ const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make4(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2064
2064
  let abandon = () => {};
2065
2065
  const abandoned = new Promise((_resolve, reject) => {
2066
2066
  abandon = reject;
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-1jabs81x.js";
27
+ } from "./chunk-zpp4jg4a.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-avhqm9p0.js";
31
+ } from "./chunk-2w9a76nr.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-ryxff0xk.js";
42
+ } from "./chunk-34748vfg.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -32,8 +32,7 @@ import {
32
32
  toCodecJson,
33
33
  Json,
34
34
  encodePrettyJsonString
35
- } from "./chunk-1jabs81x.js";
36
- import"./chunk-h6kd80nr.js";
35
+ } from "./chunk-zpp4jg4a.js";
37
36
  import {
38
37
  SecureRandom,
39
38
  layerWebCrypto,
@@ -45,7 +44,7 @@ import {
45
44
  layer4,
46
45
  kitmanMcpServer,
47
46
  RunnerRpcProtocolVersion
48
- } from "./chunk-ryxff0xk.js";
47
+ } from "./chunk-34748vfg.js";
49
48
  import {
50
49
  decodeText,
51
50
  mkString,
@@ -53,23 +52,24 @@ import {
53
52
  Path,
54
53
  withDefault,
55
54
  String2
56
- } from "./chunk-avhqm9p0.js";
55
+ } from "./chunk-2w9a76nr.js";
57
56
  import {
58
57
  Packument,
59
58
  tarballMatches
60
- } from "./chunk-39pdxhcv.js";
61
- import"./chunk-v86jpzpr.js";
59
+ } from "./chunk-dhtx14r5.js";
60
+ import"./chunk-91j33xf2.js";
62
61
  import {
63
62
  AgentDeclaration,
64
63
  KitDeclarations,
65
64
  describeFlag,
66
65
  Described
67
- } from "./chunk-ge9qjp6s.js";
66
+ } from "./chunk-7q3t3x0x.js";
68
67
  import {
69
68
  ChildProcessSpawner,
70
- make2
71
- } from "./chunk-qqmxhk9w.js";
72
- import"./chunk-yfag1eey.js";
69
+ make3
70
+ } from "./chunk-zxmx605h.js";
71
+ import"./chunk-tebzffha.js";
72
+ import"./chunk-9avbsbvk.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(make2(command, args, { cwd, stdin: "ignore" }));
111
+ const handle = yield* spawner.spawn(make3(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)),
@@ -25,21 +25,21 @@ import {
25
25
  isString2,
26
26
  encodePrettyJsonString,
27
27
  decodeJsonStringSync
28
- } from "./chunk-1jabs81x.js";
28
+ } from "./chunk-zpp4jg4a.js";
29
29
  import {
30
30
  FileSystem,
31
31
  Path,
32
32
  optionalEnv,
33
33
  tempDirectoryScoped
34
- } from "./chunk-avhqm9p0.js";
34
+ } from "./chunk-2w9a76nr.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-ryxff0xk.js";
39
+ } from "./chunk-34748vfg.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-39pdxhcv.js";
42
+ } from "./chunk-dhtx14r5.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -25,16 +25,16 @@ import {
25
25
  isJsonObject,
26
26
  isString2,
27
27
  encodeUnknownJsonStringSync
28
- } from "./chunk-1jabs81x.js";
28
+ } from "./chunk-zpp4jg4a.js";
29
29
  import {
30
30
  make10,
31
31
  runForEach,
32
32
  compiled2
33
- } from "./chunk-avhqm9p0.js";
33
+ } from "./chunk-2w9a76nr.js";
34
34
  import {
35
35
  ChildProcessSpawner,
36
- make2
37
- } from "./chunk-qqmxhk9w.js";
36
+ make3
37
+ } from "./chunk-zxmx605h.js";
38
38
 
39
39
  // packages/agent-runtime/src/opencode-store.ts
40
40
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -172,7 +172,7 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
172
172
  var isolatedRead = (store, name, input) => gen(function* () {
173
173
  const spawner = yield* ChildProcessSpawner;
174
174
  const [command, ...args] = opencodeReaderCommand();
175
- const handle = yield* spawner.spawn(make2(command, args, {
175
+ const handle = yield* spawner.spawn(make3(command, args, {
176
176
  stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
177
177
  stderr: "ignore",
178
178
  extendEnv: false,