@opencode/server 0.0.0-dev-20933 → 0.0.0-dev-20935

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 (102) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{fetch-t88h5pdf.js → process-079gnksc.js} +2 -2
  4. package/dist/chunks/{fetch-kr61w04k.js → process-0chp8crd.js} +4 -4
  5. package/dist/chunks/{fetch-j66ekhc9.js → process-0znmasm1.js} +2 -2
  6. package/dist/chunks/{fetch-xt7xrv1r.js → process-10kexchg.js} +2 -2
  7. package/dist/chunks/{fetch-nmcxqxxx.js → process-1qc831kp.js} +2 -2
  8. package/dist/chunks/{fetch-vzx91wtx.js → process-22kf63df.js} +3 -3
  9. package/dist/chunks/{fetch-ksvmmk2r.js → process-2e16a9cc.js} +1 -1
  10. package/dist/chunks/{fetch-j3626vk8.js → process-2f9g7rg2.js} +2 -2
  11. package/dist/chunks/{fetch-1ahadpvw.js → process-3154e7fk.js} +1 -1
  12. package/dist/chunks/{fetch-2s3n8phw.js → process-5adf1am9.js} +2 -2
  13. package/dist/chunks/{fetch-5bchp9s2.js → process-5ewqf72w.js} +2 -2
  14. package/dist/chunks/{fetch-19w49db9.js → process-615a2q42.js} +3 -3
  15. package/dist/chunks/{fetch-hxgz4x38.js → process-6e6jjne7.js} +2 -2
  16. package/dist/chunks/{fetch-7q8ata5b.js → process-6tj91hdj.js} +1 -1
  17. package/dist/chunks/{fetch-vdf55c08.js → process-78he6fre.js} +7 -7
  18. package/dist/chunks/{fetch-scq1j2yg.js → process-7qrtcnv4.js} +1 -1
  19. package/dist/chunks/{fetch-93wjydnn.js → process-93wjydnn.js} +1 -1
  20. package/dist/chunks/{fetch-rrf9gkkq.js → process-a30hykaf.js} +2 -2
  21. package/dist/chunks/{fetch-zmnx26pb.js → process-ahcwp08v.js} +17 -17
  22. package/dist/chunks/{fetch-anm12x33.js → process-anm12x33.js} +1 -1
  23. package/dist/chunks/{fetch-zfjz2b4g.js → process-c2hv5jmf.js} +1 -1
  24. package/dist/chunks/{fetch-708fxgcg.js → process-cg8bqzng.js} +4 -4
  25. package/dist/chunks/{fetch-gqq6kfhc.js → process-gymtz25n.js} +3 -3
  26. package/dist/chunks/{fetch-n3hqkreg.js → process-hwdnjend.js} +2 -2
  27. package/dist/chunks/{fetch-56rkpa1p.js → process-j3461ttv.js} +2 -2
  28. package/dist/chunks/{fetch-g1bp01xw.js → process-jwf0kwqx.js} +2 -2
  29. package/dist/chunks/{fetch-qbrxhger.js → process-krqg3gd2.js} +1 -1
  30. package/dist/chunks/{fetch-450eabmk.js → process-mnc5m808.js} +4 -4
  31. package/dist/chunks/{fetch-4vaqgjp8.js → process-pf9k0dqe.js} +2 -2
  32. package/dist/chunks/{fetch-026wrard.js → process-r82dtfrk.js} +3 -3
  33. package/dist/chunks/{fetch-e2cx9grb.js → process-rj8tbp10.js} +1 -1
  34. package/dist/chunks/{fetch-75p39rq5.js → process-v5r2n6q4.js} +3 -3
  35. package/dist/chunks/{fetch-vg73xc24.js → process-vg0x3zn0.js} +1 -1
  36. package/dist/chunks/{fetch-5w24ch67.js → process-vpz7f20y.js} +4 -4
  37. package/dist/chunks/{fetch-dc18tjnc.js → process-wmbygr0d.js} +3 -3
  38. package/dist/chunks/{fetch-bkk2wfbz.js → process-wv5twc2g.js} +8 -8
  39. package/dist/chunks/{fetch-yet0vexm.js → process-x74w7e1f.js} +1 -1
  40. package/dist/chunks/{fetch-vkgak0vv.js → process-xcxwzp6z.js} +2 -2
  41. package/dist/chunks/{fetch-yfz2nrjq.js → process-yfz2nrjq.js} +1 -1
  42. package/dist/chunks/{fetch-54sczv30.js → process-yq68fvq0.js} +10 -10
  43. package/dist/chunks/{fetch-7vb49f3s.js → process-yxtp5cbk.js} +33 -33
  44. package/dist/chunks/{fetch-aajxxgqb.js → process-yzwm8eeq.js} +2 -2
  45. package/dist/chunks/{fetch-y7p3rgqn.js → process-z554rpg5.js} +2 -2
  46. package/dist/chunks/{fetch-t7dxwnb0.js → process-z9g9xjb3.js} +2 -2
  47. package/dist/cors.js +1 -1
  48. package/dist/event-feed.js +7 -7
  49. package/dist/fetch.js +47 -47
  50. package/dist/handlers/agent.js +6 -6
  51. package/dist/handlers/command.js +6 -6
  52. package/dist/handlers/config.js +6 -6
  53. package/dist/handlers/credential.js +6 -6
  54. package/dist/handlers/debug.js +6 -6
  55. package/dist/handlers/event.js +7 -7
  56. package/dist/handlers/form.js +6 -6
  57. package/dist/handlers/fs.js +6 -6
  58. package/dist/handlers/generate.js +6 -6
  59. package/dist/handlers/integration.js +6 -6
  60. package/dist/handlers/location.js +6 -6
  61. package/dist/handlers/mcp.js +6 -6
  62. package/dist/handlers/message.js +6 -6
  63. package/dist/handlers/migration.js +6 -6
  64. package/dist/handlers/model.js +6 -6
  65. package/dist/handlers/permission.js +6 -6
  66. package/dist/handlers/persistent-pty.js +8 -8
  67. package/dist/handlers/plugin.js +6 -6
  68. package/dist/handlers/project.js +6 -6
  69. package/dist/handlers/provider.js +6 -6
  70. package/dist/handlers/pty-socket.js +1 -1
  71. package/dist/handlers/pty.js +9 -9
  72. package/dist/handlers/reference.js +6 -6
  73. package/dist/handlers/rpc.js +6 -6
  74. package/dist/handlers/server.js +9 -9
  75. package/dist/handlers/session-error.js +1 -1
  76. package/dist/handlers/session.js +6 -6
  77. package/dist/handlers/shell.js +6 -6
  78. package/dist/handlers/skill.js +6 -6
  79. package/dist/handlers/vcs.js +6 -6
  80. package/dist/handlers/websearch.js +6 -6
  81. package/dist/handlers/worktree.js +6 -6
  82. package/dist/handlers.js +43 -43
  83. package/dist/location.js +4 -4
  84. package/dist/middleware/authorization.js +2 -2
  85. package/dist/middleware/form-location.js +3 -3
  86. package/dist/middleware/schema-error.js +1 -1
  87. package/dist/middleware/session-location.js +3 -3
  88. package/dist/pairing.js +3 -3
  89. package/dist/process.js +51 -51
  90. package/dist/pty-environment.js +7 -7
  91. package/dist/request-tracing.js +1 -1
  92. package/dist/routes.js +46 -46
  93. package/dist/server-info.js +1 -1
  94. package/dist/service-status.js +3 -3
  95. package/dist/workerd.js +48 -48
  96. package/package.json +8 -8
  97. /package/dist/chunks/{fetch-9rqn6x4v.js → process-9rqn6x4v.js} +0 -0
  98. /package/dist/chunks/{fetch-erzfdgke.js → process-erzfdgke.js} +0 -0
  99. /package/dist/chunks/{fetch-h6rt5k9s.js → process-h6rt5k9s.js} +0 -0
  100. /package/dist/chunks/{fetch-q4bn6dy8.js → process-q4bn6dy8.js} +0 -0
  101. /package/dist/chunks/{fetch-smaf4a18.js → process-smaf4a18.js} +0 -0
  102. /package/dist/chunks/{fetch-yc7nft6q.js → process-yc7nft6q.js} +0 -0
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/fetch-026wrard.js";
4
- import"./chunks/fetch-yet0vexm.js";
5
- import"./chunks/fetch-1ahadpvw.js";
6
- import"./chunks/fetch-gqq6kfhc.js";
7
- import"./chunks/fetch-smaf4a18.js";
3
+ } from "./chunks/process-r82dtfrk.js";
4
+ import"./chunks/process-x74w7e1f.js";
5
+ import"./chunks/process-3154e7fk.js";
6
+ import"./chunks/process-gymtz25n.js";
7
+ import"./chunks/process-smaf4a18.js";
8
8
  export {
9
9
  Api2 as Api
10
10
  };
package/dist/auth.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  verifySession2,
8
8
  sessionCookieName2,
9
9
  exports_auth
10
- } from "./chunks/fetch-anm12x33.js";
10
+ } from "./chunks/process-anm12x33.js";
11
11
  export {
12
12
  Config2 as Config,
13
13
  SESSION_TTL_SECONDS2 as SESSION_TTL_SECONDS,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-026wrard.js";
6
+ } from "./process-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/websearch.ts
9
9
  import { WebSearch } from "@opencode/core/websearch";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./fetch-9rqn6x4v.js";
3
+ } from "./process-9rqn6x4v.js";
4
4
 
5
5
  // src/pairing.ts
6
6
  var exports_pairing = {};
7
7
  __export(exports_pairing, {
8
8
  ServerPairing: () => exports_pairing,
9
9
  Service: () => Service3,
10
- node: () => node3
10
+ node: () => node2
11
11
  });
12
12
  import { Cache, Context, Duration, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -30,6 +30,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
30
30
  })
31
31
  });
32
32
  }));
33
- var node3 = makeGlobalNode({ service: Service3, layer, deps: [] });
33
+ var node2 = makeGlobalNode({ service: Service3, layer, deps: [] });
34
34
 
35
- export { Service3, node3, exports_pairing };
35
+ export { Service3, node2, exports_pairing };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-026wrard.js";
6
+ } from "./process-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/skill.ts
9
9
  import { Skill } from "@opencode/core/skill";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-026wrard.js";
6
+ } from "./process-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/reference.ts
9
9
  import { Reference } from "@opencode/core/reference";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-026wrard.js";
6
+ } from "./process-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/vcs.ts
9
9
  import { Vcs } from "@opencode/core/vcs";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./fetch-smaf4a18.js";
3
+ } from "./process-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./fetch-gqq6kfhc.js";
8
+ } from "./process-gymtz25n.js";
9
9
  import {
10
10
  Api2
11
- } from "./fetch-026wrard.js";
11
+ } from "./process-r82dtfrk.js";
12
12
 
13
13
  // src/handlers/permission.ts
14
14
  import { Instance } from "@opencode/core/instance/service";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-026wrard.js";
3
+ } from "./process-r82dtfrk.js";
4
4
 
5
5
  // src/handlers/rpc.ts
6
6
  import { Rpc } from "@opencode/core/rpc";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  requestRef2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-026wrard.js";
6
+ } from "./process-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/debug.ts
9
9
  import { LocationServiceMap } from "@opencode/core/location-service-map";
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./fetch-gqq6kfhc.js";
5
+ } from "./process-gymtz25n.js";
6
6
 
7
7
  // src/middleware/form-location.ts
8
8
  import { Instance } from "@opencode/core/instance/service";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-026wrard.js";
6
+ } from "./process-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/form.ts
9
9
  import { Form } from "@opencode/core/form";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-026wrard.js";
6
+ } from "./process-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/provider.ts
9
9
  import { Provider } from "@opencode/core/provider";
@@ -3,13 +3,13 @@ import {
3
3
  missingMessage2,
4
4
  failedMessageDecode2,
5
5
  failedSnapshot2
6
- } from "./fetch-smaf4a18.js";
6
+ } from "./process-smaf4a18.js";
7
7
  import {
8
8
  locationErrors2
9
- } from "./fetch-gqq6kfhc.js";
9
+ } from "./process-gymtz25n.js";
10
10
  import {
11
11
  Api2
12
- } from "./fetch-026wrard.js";
12
+ } from "./process-r82dtfrk.js";
13
13
 
14
14
  // src/handlers/session.ts
15
15
  import { Session } from "@opencode/core/session";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-026wrard.js";
6
+ } from "./process-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/shell.ts
9
9
  import { Shell } from "@opencode/core/shell";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-026wrard.js";
3
+ } from "./process-r82dtfrk.js";
4
4
 
5
5
  // src/handlers/worktree.ts
6
6
  import { Git } from "@opencode/core/git";
@@ -2,20 +2,20 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./fetch-gqq6kfhc.js";
5
+ } from "./process-gymtz25n.js";
6
6
  import {
7
7
  Api2
8
- } from "./fetch-026wrard.js";
8
+ } from "./process-r82dtfrk.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./fetch-q4bn6dy8.js";
12
+ } from "./process-q4bn6dy8.js";
13
13
  import {
14
- Service2
15
- } from "./fetch-bkk2wfbz.js";
14
+ Service5
15
+ } from "./process-wv5twc2g.js";
16
16
  import {
17
17
  runPtySocket2
18
- } from "./fetch-h6rt5k9s.js";
18
+ } from "./process-h6rt5k9s.js";
19
19
 
20
20
  // src/handlers/pty.ts
21
21
  import { Pty } from "@opencode/core/pty";
@@ -41,7 +41,7 @@ var PtyHandler2 = HttpApiBuilder.group(Api2, "server.pty", (handlers) => Effect.
41
41
  const locations = yield* LocationServiceMap.Service;
42
42
  const tickets = yield* PtyTicket.Service;
43
43
  const cors = yield* CorsConfig2;
44
- const environment = yield* Service2;
44
+ const environment = yield* Service5;
45
45
  return handlers.handle("pty.list", Effect.fn(function* () {
46
46
  const pty = yield* Pty.Service;
47
47
  return yield* response2(pty.list());
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-026wrard.js";
3
+ } from "./process-r82dtfrk.js";
4
4
 
5
5
  // src/handlers/project.ts
6
6
  import { Project } from "@opencode/core/project";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./fetch-9rqn6x4v.js";
3
+ } from "./process-9rqn6x4v.js";
4
4
 
5
5
  // src/server-info.ts
6
6
  var exports_server_info = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-026wrard.js";
6
+ } from "./process-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/fs.ts
9
9
  import { FileSystem } from "@opencode/core/filesystem";
@@ -1,39 +1,39 @@
1
1
  import {
2
- layer3
3
- } from "./fetch-gqq6kfhc.js";
2
+ layer2
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./fetch-1ahadpvw.js";
6
+ } from "./process-3154e7fk.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./fetch-yet0vexm.js";
9
+ } from "./process-x74w7e1f.js";
10
10
  import {
11
11
  Api2
12
- } from "./fetch-026wrard.js";
12
+ } from "./process-r82dtfrk.js";
13
13
  import {
14
14
  Config2
15
- } from "./fetch-anm12x33.js";
15
+ } from "./process-anm12x33.js";
16
16
  import {
17
17
  CorsConfig2
18
- } from "./fetch-q4bn6dy8.js";
18
+ } from "./process-q4bn6dy8.js";
19
19
  import {
20
20
  layer4
21
- } from "./fetch-93wjydnn.js";
22
- import {
23
- node3
24
- } from "./fetch-kr61w04k.js";
21
+ } from "./process-93wjydnn.js";
25
22
  import {
26
23
  node2
27
- } from "./fetch-bkk2wfbz.js";
24
+ } from "./process-0chp8crd.js";
25
+ import {
26
+ node3
27
+ } from "./process-wv5twc2g.js";
28
28
  import {
29
29
  handlers2
30
- } from "./fetch-7vb49f3s.js";
30
+ } from "./process-yxtp5cbk.js";
31
31
  import {
32
32
  authorizationLayer2
33
- } from "./fetch-yfz2nrjq.js";
33
+ } from "./process-yfz2nrjq.js";
34
34
  import {
35
35
  schemaErrorLayer2
36
- } from "./fetch-erzfdgke.js";
36
+ } from "./process-erzfdgke.js";
37
37
 
38
38
  // src/routes.ts
39
39
  import { Database } from "@opencode/core/database/database";
@@ -92,8 +92,8 @@ var applicationServiceNodes = [
92
92
  PersistentPty.node,
93
93
  Credential.node,
94
94
  WellKnown.node,
95
- node2,
96
95
  node3,
96
+ node2,
97
97
  LocationServiceMap.node,
98
98
  LocationActivity.node,
99
99
  SessionRestart.node,
@@ -146,7 +146,7 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
146
146
  return serviceLayer.pipe(Layer.flatMap((context) => {
147
147
  const services = Layer.succeedContext(context);
148
148
  const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer4(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
149
- const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(layer3), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
149
+ const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(layer2), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
150
150
  return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
151
151
  }));
152
152
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./fetch-9rqn6x4v.js";
3
+ } from "./process-9rqn6x4v.js";
4
4
 
5
5
  // src/auth.ts
6
6
  var exports_auth = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-026wrard.js";
3
+ } from "./process-r82dtfrk.js";
4
4
 
5
5
  // src/handlers/config.ts
6
6
  import { Config } from "@opencode/core/config";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-026wrard.js";
3
+ } from "./process-r82dtfrk.js";
4
4
  import {
5
5
  SESSION_TTL_SECONDS2,
6
6
  Config2,
7
7
  issueSession2,
8
8
  sessionCookieName2
9
- } from "./fetch-anm12x33.js";
9
+ } from "./process-anm12x33.js";
10
10
  import {
11
11
  Service4
12
- } from "./fetch-93wjydnn.js";
12
+ } from "./process-93wjydnn.js";
13
13
  import {
14
14
  Service3
15
- } from "./fetch-kr61w04k.js";
15
+ } from "./process-0chp8crd.js";
16
16
 
17
17
  // src/handlers/server.ts
18
18
  import { Duration, Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./fetch-smaf4a18.js";
3
+ } from "./process-smaf4a18.js";
4
4
 
5
5
  // src/location.ts
6
6
  import { FileSystem } from "@opencode/core/filesystem";
@@ -59,7 +59,7 @@ function decode(input) {
59
59
  return input;
60
60
  }
61
61
  }
62
- var layer3 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
62
+ var layer2 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
63
63
  const locations = yield* LocationServiceMap.Service;
64
64
  return LocationMiddleware2.of((effect) => Effect.gen(function* () {
65
65
  const request = yield* HttpServerRequest.HttpServerRequest;
@@ -67,4 +67,4 @@ var layer3 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
67
67
  }));
68
68
  }));
69
69
 
70
- export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2, layer3 };
70
+ export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2, layer2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-026wrard.js";
6
+ } from "./process-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/mcp.ts
9
9
  import { Mcp } from "@opencode/core/mcp/index";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  missingSession2,
3
3
  failedMessageDecode2
4
- } from "./fetch-smaf4a18.js";
4
+ } from "./process-smaf4a18.js";
5
5
  import {
6
6
  Api2
7
- } from "./fetch-026wrard.js";
7
+ } from "./process-r82dtfrk.js";
8
8
 
9
9
  // src/handlers/message.ts
10
10
  import { SessionMessage } from "@opencode/core/session/message";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-026wrard.js";
6
+ } from "./process-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/plugin.ts
9
9
  import { Plugin } from "@opencode/core/plugin";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-026wrard.js";
3
+ } from "./process-r82dtfrk.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-026wrard.js";
3
+ } from "./process-r82dtfrk.js";
4
4
  import {
5
- Service5,
5
+ Service2,
6
6
  frame2
7
- } from "./fetch-54sczv30.js";
7
+ } from "./process-yq68fvq0.js";
8
8
 
9
9
  // src/handlers/event.ts
10
10
  import { Event } from "@opencode/schema/event";
@@ -12,7 +12,7 @@ import { Effect, Stream } from "effect";
12
12
  import { HttpServerResponse } from "effect/http";
13
13
  import { HttpApiBuilder } from "effect/http-api";
14
14
  var EventHandler2 = HttpApiBuilder.group(Api2, "server.event", (handlers) => Effect.gen(function* () {
15
- const feed = yield* Service5;
15
+ const feed = yield* Service2;
16
16
  return handlers.handleRaw("event.subscribe", () => Effect.gen(function* () {
17
17
  const connected = {
18
18
  id: Event.ID.create(),
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-026wrard.js";
6
+ } from "./process-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/integration.ts
9
9
  import { Integration } from "@opencode/core/integration";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./process-gymtz25n.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./fetch-1ahadpvw.js";
6
+ } from "./process-3154e7fk.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./fetch-yet0vexm.js";
9
+ } from "./process-x74w7e1f.js";
10
10
 
11
11
  // src/api.ts
12
12
  import { makeDefaultApi } from "@opencode/protocol/api";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-026wrard.js";
3
+ } from "./process-r82dtfrk.js";
4
4
 
5
5
  // src/handlers/credential.ts
6
6
  import { Credential } from "@opencode/core/credential";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  isAllowedCorsOrigin2
3
- } from "./fetch-q4bn6dy8.js";
3
+ } from "./process-q4bn6dy8.js";
4
4
  import {
5
5
  createRoutes2
6
- } from "./fetch-zmnx26pb.js";
6
+ } from "./process-ahcwp08v.js";
7
7
  import {
8
8
  __export
9
- } from "./fetch-9rqn6x4v.js";
9
+ } from "./process-9rqn6x4v.js";
10
10
 
11
11
  // src/fetch.ts
12
12
  var exports_fetch = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-026wrard.js";
3
+ } from "./process-r82dtfrk.js";
4
4
 
5
5
  // src/handlers/migration.ts
6
6
  import { V1Migration } from "@opencode/core/database/v1-migration";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./fetch-9rqn6x4v.js";
3
+ } from "./process-9rqn6x4v.js";
4
4
 
5
5
  // src/service-status.ts
6
6
  var exports_service_status = {};
7
7
  __export(exports_service_status, {
8
8
  Status: () => exports_service_status,
9
- make: () => make3
9
+ make: () => make4
10
10
  });
11
11
  import { Effect, Ref } from "effect";
12
- var make3 = Effect.fnUntraced(function* (options = {}) {
12
+ var make4 = Effect.fnUntraced(function* (options = {}) {
13
13
  const current = yield* Ref.make(options.initial ?? { type: "starting" });
14
14
  const beginStopping = Ref.update(current, (status) => status.type === "stopping" ? status : { type: "stopping" });
15
15
  return {
@@ -20,4 +20,4 @@ var make3 = Effect.fnUntraced(function* (options = {}) {
20
20
  };
21
21
  });
22
22
 
23
- export { make3, exports_service_status };
23
+ export { make4, exports_service_status };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-026wrard.js";
3
+ } from "./process-r82dtfrk.js";
4
4
  import {
5
5
  CorsConfig2,
6
6
  isAllowedRequestOrigin2
7
- } from "./fetch-q4bn6dy8.js";
7
+ } from "./process-q4bn6dy8.js";
8
8
  import {
9
9
  runPtySocket2
10
- } from "./fetch-h6rt5k9s.js";
10
+ } from "./process-h6rt5k9s.js";
11
11
 
12
12
  // src/handlers/persistent-pty.ts
13
13
  import { PersistentPty } from "@opencode/core/persistent-pty";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  __export
3
- } from "./fetch-9rqn6x4v.js";
3
+ } from "./process-9rqn6x4v.js";
4
4
 
5
5
  // src/pty-environment.ts
6
6
  var exports_pty_environment = {};
7
7
  __export(exports_pty_environment, {
8
8
  PtyEnvironment: () => exports_pty_environment,
9
- Service: () => Service2,
10
- layer: () => layer2,
11
- node: () => node2
9
+ Service: () => Service5,
10
+ layer: () => layer5,
11
+ node: () => node3
12
12
  });
13
13
  import { Context, Effect, Layer } from "effect";
14
14
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service2 extends Context.Service()("@opencode/ServerPtyEnvironment") {
16
+ class Service5 extends Context.Service()("@opencode/ServerPtyEnvironment") {
17
17
  }
18
- var layer2 = Layer.succeed(Service2, Service2.of({
18
+ var layer5 = Layer.succeed(Service5, Service5.of({
19
19
  get: () => Effect.succeed({})
20
20
  }));
21
- var node2 = makeGlobalNode({ service: Service2, layer: layer2, deps: [] });
21
+ var node3 = makeGlobalNode({ service: Service5, layer: layer5, deps: [] });
22
22
 
23
- export { Service2, layer2, node2, exports_pty_environment };
23
+ export { Service5, layer5, node3, exports_pty_environment };