@opencode/server 0.0.0-dev-21400 → 0.0.0-dev-21406

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 (86) hide show
  1. package/dist/api.d.ts +491 -491
  2. package/dist/api.js +4 -4
  3. package/dist/chunks/{workerd-n60r5keb.js → workerd-08x9tjee.js} +1 -1
  4. package/dist/chunks/{workerd-k8rzy6d4.js → workerd-0d864bga.js} +1 -1
  5. package/dist/chunks/{workerd-9mfgjndz.js → workerd-33prfkkd.js} +2 -2
  6. package/dist/chunks/{workerd-gsqctp76.js → workerd-43r48nqn.js} +2 -2
  7. package/dist/chunks/{workerd-w0jn068c.js → workerd-4d1eemzq.js} +2 -2
  8. package/dist/chunks/{workerd-6ypp9np2.js → workerd-4dv9a668.js} +2 -2
  9. package/dist/chunks/{workerd-4gnb9897.js → workerd-4hhhes7w.js} +1 -1
  10. package/dist/chunks/{workerd-5gpz4xk2.js → workerd-4jm073jw.js} +31 -31
  11. package/dist/chunks/{workerd-81hr024p.js → workerd-4nbhqhnb.js} +11 -11
  12. package/dist/chunks/{workerd-xsrtpxyd.js → workerd-5w24ch67.js} +3 -3
  13. package/dist/chunks/{workerd-ez8kk7rt.js → workerd-5zsr2h86.js} +1 -1
  14. package/dist/chunks/{workerd-jqrn6kzd.js → workerd-686p2xfa.js} +2 -2
  15. package/dist/chunks/{workerd-tp1rntzw.js → workerd-7vd5668a.js} +1 -1
  16. package/dist/chunks/{workerd-w6m4c3ew.js → workerd-7xrpjd7z.js} +4 -4
  17. package/dist/chunks/{workerd-0cppk2bc.js → workerd-8137b89p.js} +2 -2
  18. package/dist/chunks/{workerd-g0rzwe5g.js → workerd-93wjydnn.js} +6 -6
  19. package/dist/chunks/{workerd-gx9nwmym.js → workerd-97eb2r3v.js} +2 -2
  20. package/dist/chunks/{workerd-q8n44kky.js → workerd-9snwnvf8.js} +3 -3
  21. package/dist/chunks/{workerd-7j4237sy.js → workerd-aey6dvfz.js} +1 -1
  22. package/dist/chunks/{workerd-50bbk3b2.js → workerd-b56hqv74.js} +2 -2
  23. package/dist/chunks/{workerd-krpsczf8.js → workerd-bx47k33v.js} +2 -2
  24. package/dist/chunks/{workerd-vdtx70fv.js → workerd-cv0ajwc9.js} +2 -2
  25. package/dist/chunks/{workerd-ceenvzwe.js → workerd-e6x69dv2.js} +7 -7
  26. package/dist/chunks/{workerd-yv9sxhn9.js → workerd-ewe1fzkk.js} +2 -2
  27. package/dist/chunks/{workerd-mhfbkkb7.js → workerd-ftaz8n62.js} +2 -2
  28. package/dist/chunks/{workerd-3aej5azy.js → workerd-h8ws5ssa.js} +1 -1
  29. package/dist/chunks/{workerd-wm8t00a5.js → workerd-hdxm18kv.js} +1 -1
  30. package/dist/chunks/{workerd-b3bmdkga.js → workerd-j4zqsxgy.js} +1 -1
  31. package/dist/chunks/{workerd-mahm5rvs.js → workerd-ptey1p5v.js} +2 -2
  32. package/dist/chunks/{workerd-rc3nk1bx.js → workerd-qbh90c1d.js} +2 -2
  33. package/dist/chunks/{workerd-vbanrv0z.js → workerd-rf01ee6q.js} +1 -1
  34. package/dist/chunks/{workerd-mk2mz66m.js → workerd-rntbwr87.js} +2 -2
  35. package/dist/chunks/{workerd-byt4hbw9.js → workerd-sstsrjtg.js} +6 -6
  36. package/dist/chunks/{workerd-j1p3e665.js → workerd-ssyxw8nc.js} +2 -2
  37. package/dist/chunks/{workerd-3atcw39t.js → workerd-vb5yx5r0.js} +1 -1
  38. package/dist/chunks/{workerd-esbdfpyn.js → workerd-vbzm2jgm.js} +2 -2
  39. package/dist/chunks/{workerd-dr1f0hkr.js → workerd-wk806w00.js} +2 -2
  40. package/dist/chunks/{workerd-362ehr12.js → workerd-y2y8dnb4.js} +2 -2
  41. package/dist/chunks/{workerd-eaxk76q8.js → workerd-yehasrps.js} +2 -2
  42. package/dist/chunks/{workerd-7b00qdf6.js → workerd-z6sxg6td.js} +1 -1
  43. package/dist/chunks/{workerd-p6ct2ak8.js → workerd-zessacar.js} +2 -2
  44. package/dist/fetch.js +43 -43
  45. package/dist/handlers/agent.js +5 -5
  46. package/dist/handlers/command.js +5 -5
  47. package/dist/handlers/config.js +5 -5
  48. package/dist/handlers/credential.js +5 -5
  49. package/dist/handlers/debug.js +5 -5
  50. package/dist/handlers/event.js +5 -5
  51. package/dist/handlers/form.js +5 -5
  52. package/dist/handlers/fs.js +5 -5
  53. package/dist/handlers/generate.js +5 -5
  54. package/dist/handlers/integration.js +5 -5
  55. package/dist/handlers/location.js +5 -5
  56. package/dist/handlers/mcp.js +5 -5
  57. package/dist/handlers/message.js +5 -5
  58. package/dist/handlers/migration.js +5 -5
  59. package/dist/handlers/model.js +5 -5
  60. package/dist/handlers/permission.js +5 -5
  61. package/dist/handlers/persistent-pty.js +5 -5
  62. package/dist/handlers/plugin.js +5 -5
  63. package/dist/handlers/project.js +5 -5
  64. package/dist/handlers/provider.js +5 -5
  65. package/dist/handlers/pty.js +5 -5
  66. package/dist/handlers/reference.js +5 -5
  67. package/dist/handlers/rpc.js +5 -5
  68. package/dist/handlers/server.js +7 -7
  69. package/dist/handlers/session.js +5 -5
  70. package/dist/handlers/shell.js +5 -5
  71. package/dist/handlers/skill.js +5 -5
  72. package/dist/handlers/vcs.js +5 -5
  73. package/dist/handlers/voice.js +5 -5
  74. package/dist/handlers/websearch.js +5 -5
  75. package/dist/handlers/worktree.js +5 -5
  76. package/dist/handlers.js +39 -39
  77. package/dist/location.js +3 -3
  78. package/dist/middleware/form-location.js +2 -2
  79. package/dist/middleware/session-location.js +2 -2
  80. package/dist/pairing.js +3 -3
  81. package/dist/process.js +42 -42
  82. package/dist/routes.js +40 -40
  83. package/dist/server-info.js +5 -5
  84. package/dist/service-status.js +3 -3
  85. package/dist/workerd.js +42 -42
  86. package/package.json +8 -8
package/dist/api.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/workerd-q8n44kky.js";
4
- import"./chunks/workerd-b3bmdkga.js";
5
- import"./chunks/workerd-4gnb9897.js";
6
- import"./chunks/workerd-50bbk3b2.js";
3
+ } from "./chunks/workerd-9snwnvf8.js";
4
+ import"./chunks/workerd-j4zqsxgy.js";
5
+ import"./chunks/workerd-4hhhes7w.js";
6
+ import"./chunks/workerd-b56hqv74.js";
7
7
  import"./chunks/workerd-smaf4a18.js";
8
8
  export {
9
9
  Api2 as Api
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./workerd-q8n44kky.js";
3
+ } from "./workerd-9snwnvf8.js";
4
4
 
5
5
  // src/handlers/credential.ts
6
6
  import { Credential } from "@opencode/core/credential";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./workerd-q8n44kky.js";
3
+ } from "./workerd-9snwnvf8.js";
4
4
 
5
5
  // src/handlers/project.ts
6
6
  import { Project } from "@opencode/core/project";
@@ -5,10 +5,10 @@ import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./workerd-50bbk3b2.js";
8
+ } from "./workerd-b56hqv74.js";
9
9
  import {
10
10
  Api2
11
- } from "./workerd-q8n44kky.js";
11
+ } from "./workerd-9snwnvf8.js";
12
12
 
13
13
  // src/handlers/permission.ts
14
14
  import { Instance } from "@opencode/core/instance/service";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./workerd-50bbk3b2.js";
3
+ } from "./workerd-b56hqv74.js";
4
4
  import {
5
5
  Api2
6
- } from "./workerd-q8n44kky.js";
6
+ } from "./workerd-9snwnvf8.js";
7
7
 
8
8
  // src/handlers/form.ts
9
9
  import { Form } from "@opencode/core/form";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  awaitPlugins2
4
- } from "./workerd-50bbk3b2.js";
4
+ } from "./workerd-b56hqv74.js";
5
5
  import {
6
6
  Api2
7
- } from "./workerd-q8n44kky.js";
7
+ } from "./workerd-9snwnvf8.js";
8
8
 
9
9
  // src/handlers/generate.ts
10
10
  import { Generate } from "@opencode/core/generate";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./workerd-50bbk3b2.js";
3
+ } from "./workerd-b56hqv74.js";
4
4
  import {
5
5
  Api2
6
- } from "./workerd-q8n44kky.js";
6
+ } from "./workerd-9snwnvf8.js";
7
7
 
8
8
  // src/handlers/shell.ts
9
9
  import { Shell } from "@opencode/core/shell";
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./workerd-50bbk3b2.js";
5
+ } from "./workerd-b56hqv74.js";
6
6
 
7
7
  // src/middleware/form-location.ts
8
8
  import { Instance } from "@opencode/core/instance/service";
@@ -1,99 +1,99 @@
1
1
  import {
2
2
  GenerateHandler2
3
- } from "./workerd-w0jn068c.js";
3
+ } from "./workerd-4d1eemzq.js";
4
4
  import {
5
5
  VoiceHandler2
6
- } from "./workerd-jqrn6kzd.js";
6
+ } from "./workerd-686p2xfa.js";
7
7
  import {
8
8
  MessageHandler2
9
- } from "./workerd-3atcw39t.js";
9
+ } from "./workerd-vb5yx5r0.js";
10
10
  import {
11
11
  ModelHandler2
12
- } from "./workerd-yv9sxhn9.js";
12
+ } from "./workerd-ewe1fzkk.js";
13
13
  import {
14
14
  ProviderHandler2
15
- } from "./workerd-gx9nwmym.js";
15
+ } from "./workerd-97eb2r3v.js";
16
16
  import {
17
17
  SessionHandler2
18
- } from "./workerd-dr1f0hkr.js";
18
+ } from "./workerd-wk806w00.js";
19
19
  import {
20
20
  PermissionHandler2
21
- } from "./workerd-9mfgjndz.js";
21
+ } from "./workerd-33prfkkd.js";
22
22
  import {
23
23
  FileSystemHandler2
24
- } from "./workerd-j1p3e665.js";
24
+ } from "./workerd-ssyxw8nc.js";
25
25
  import {
26
26
  FormHandler2
27
- } from "./workerd-gsqctp76.js";
27
+ } from "./workerd-43r48nqn.js";
28
28
  import {
29
29
  CommandHandler2
30
- } from "./workerd-mahm5rvs.js";
30
+ } from "./workerd-ptey1p5v.js";
31
31
  import {
32
32
  SkillHandler2
33
- } from "./workerd-krpsczf8.js";
33
+ } from "./workerd-bx47k33v.js";
34
34
  import {
35
35
  RpcHandler2
36
- } from "./workerd-7b00qdf6.js";
36
+ } from "./workerd-z6sxg6td.js";
37
37
  import {
38
38
  layer3
39
39
  } from "./workerd-rjpqaa8h.js";
40
40
  import {
41
41
  EventHandler2
42
- } from "./workerd-wm8t00a5.js";
42
+ } from "./workerd-hdxm18kv.js";
43
43
  import {
44
44
  AgentHandler2
45
- } from "./workerd-mk2mz66m.js";
45
+ } from "./workerd-rntbwr87.js";
46
46
  import {
47
47
  PluginHandler2
48
- } from "./workerd-0cppk2bc.js";
48
+ } from "./workerd-8137b89p.js";
49
49
  import {
50
50
  ServerHandler2
51
- } from "./workerd-ceenvzwe.js";
51
+ } from "./workerd-e6x69dv2.js";
52
52
  import {
53
53
  DebugHandler2
54
- } from "./workerd-esbdfpyn.js";
54
+ } from "./workerd-vbzm2jgm.js";
55
55
  import {
56
56
  PtyHandler2
57
- } from "./workerd-362ehr12.js";
57
+ } from "./workerd-y2y8dnb4.js";
58
58
  import {
59
59
  PersistentPtyHandler2
60
- } from "./workerd-7j4237sy.js";
60
+ } from "./workerd-aey6dvfz.js";
61
61
  import {
62
62
  ShellHandler2
63
- } from "./workerd-6ypp9np2.js";
63
+ } from "./workerd-4dv9a668.js";
64
64
  import {
65
65
  ReferenceHandler2
66
- } from "./workerd-eaxk76q8.js";
66
+ } from "./workerd-yehasrps.js";
67
67
  import {
68
68
  LocationHandler2
69
- } from "./workerd-3aej5azy.js";
69
+ } from "./workerd-h8ws5ssa.js";
70
70
  import {
71
71
  IntegrationHandler2
72
- } from "./workerd-mhfbkkb7.js";
72
+ } from "./workerd-ftaz8n62.js";
73
73
  import {
74
74
  WebSearchHandler2
75
- } from "./workerd-vdtx70fv.js";
75
+ } from "./workerd-cv0ajwc9.js";
76
76
  import {
77
77
  McpHandler2
78
- } from "./workerd-p6ct2ak8.js";
78
+ } from "./workerd-zessacar.js";
79
79
  import {
80
80
  CredentialHandler2
81
- } from "./workerd-n60r5keb.js";
81
+ } from "./workerd-08x9tjee.js";
82
82
  import {
83
83
  ProjectHandler2
84
- } from "./workerd-k8rzy6d4.js";
84
+ } from "./workerd-0d864bga.js";
85
85
  import {
86
86
  WorktreeHandler2
87
- } from "./workerd-tp1rntzw.js";
87
+ } from "./workerd-7vd5668a.js";
88
88
  import {
89
89
  VcsHandler2
90
- } from "./workerd-rc3nk1bx.js";
90
+ } from "./workerd-qbh90c1d.js";
91
91
  import {
92
92
  MigrationHandler2
93
- } from "./workerd-vbanrv0z.js";
93
+ } from "./workerd-rf01ee6q.js";
94
94
  import {
95
95
  ConfigHandler2
96
- } from "./workerd-ez8kk7rt.js";
96
+ } from "./workerd-5zsr2h86.js";
97
97
 
98
98
  // src/handlers.ts
99
99
  import { Layer } from "effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
- layer4
3
- } from "./workerd-50bbk3b2.js";
2
+ layer5
3
+ } from "./workerd-b56hqv74.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./workerd-4gnb9897.js";
6
+ } from "./workerd-4hhhes7w.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./workerd-b3bmdkga.js";
9
+ } from "./workerd-j4zqsxgy.js";
10
10
  import {
11
11
  Api2
12
- } from "./workerd-q8n44kky.js";
12
+ } from "./workerd-9snwnvf8.js";
13
13
  import {
14
14
  Config2
15
15
  } from "./workerd-anm12x33.js";
@@ -17,17 +17,17 @@ import {
17
17
  CorsConfig2
18
18
  } from "./workerd-q4bn6dy8.js";
19
19
  import {
20
- layer5
21
- } from "./workerd-g0rzwe5g.js";
20
+ layer4
21
+ } from "./workerd-93wjydnn.js";
22
22
  import {
23
23
  node3
24
- } from "./workerd-byt4hbw9.js";
24
+ } from "./workerd-sstsrjtg.js";
25
25
  import {
26
26
  node2
27
27
  } from "./workerd-bkk2wfbz.js";
28
28
  import {
29
29
  handlers2
30
- } from "./workerd-5gpz4xk2.js";
30
+ } from "./workerd-4jm073jw.js";
31
31
  import {
32
32
  authorizationLayer2
33
33
  } from "./workerd-yfz2nrjq.js";
@@ -146,8 +146,8 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
146
146
  })) : build(overrides);
147
147
  return serviceLayer.pipe(Layer.flatMap((context) => {
148
148
  const services = Layer.succeedContext(context);
149
- const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer5(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
150
- 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(layer4), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
149
+ 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));
150
+ 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(layer5), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
151
151
  return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
152
152
  }));
153
153
  }
@@ -6,10 +6,10 @@ import {
6
6
  var exports_service_status = {};
7
7
  __export(exports_service_status, {
8
8
  Status: () => exports_service_status,
9
- make: () => make2
9
+ make: () => make3
10
10
  });
11
11
  import { Effect, Ref } from "effect";
12
- var make2 = Effect.fnUntraced(function* (options = {}) {
12
+ var make3 = 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 make2 = Effect.fnUntraced(function* (options = {}) {
20
20
  };
21
21
  });
22
22
 
23
- export { make2, exports_service_status };
23
+ export { make3, exports_service_status };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./workerd-q8n44kky.js";
3
+ } from "./workerd-9snwnvf8.js";
4
4
 
5
5
  // src/handlers/config.ts
6
6
  import { Config } from "@opencode/core/config";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  awaitPlugins2
4
- } from "./workerd-50bbk3b2.js";
4
+ } from "./workerd-b56hqv74.js";
5
5
  import {
6
6
  Api2
7
- } from "./workerd-q8n44kky.js";
7
+ } from "./workerd-9snwnvf8.js";
8
8
 
9
9
  // src/handlers/voice.ts
10
10
  import { Location } from "@opencode/core/location";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./workerd-q8n44kky.js";
3
+ } from "./workerd-9snwnvf8.js";
4
4
 
5
5
  // src/handlers/worktree.ts
6
6
  import { Git } from "@opencode/core/git";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./workerd-q4bn6dy8.js";
4
4
  import {
5
5
  createRoutes2
6
- } from "./workerd-81hr024p.js";
6
+ } from "./workerd-4nbhqhnb.js";
7
7
  import {
8
8
  __export
9
9
  } from "./workerd-9rqn6x4v.js";
@@ -12,15 +12,15 @@ import {
12
12
  var exports_fetch = {};
13
13
  __export(exports_fetch, {
14
14
  ServerFetch: () => exports_fetch,
15
- make: () => make3
15
+ make: () => make2
16
16
  });
17
17
  import { Context, Effect, Layer } from "effect";
18
18
  import { HttpEffect, HttpMiddleware, HttpRouter, HttpServer } from "effect/http";
19
19
  import { SessionRestart } from "@opencode/core/session/execution/restart";
20
- var make3 = Effect.fn("ServerFetch.make")(function* (options = {}, boot = {}) {
20
+ var make2 = Effect.fn("ServerFetch.make")(function* (options = {}, boot = {}) {
21
21
  const context = yield* Layer.build(createRoutes2(options, () => [], boot.overrides ?? []).pipe(Layer.provide(HttpServer.layerServices)));
22
22
  yield* Effect.forkDetach(Context.get(context, SessionRestart.Service).resumeSuspendedSessions);
23
23
  return Context.get(context, HttpRouter.HttpRouter).asHttpEffect().pipe(HttpMiddleware.cors({ allowedOrigins: (origin) => isAllowedCorsOrigin2(origin, options), maxAge: 86400 }), HttpEffect.toWebHandlerWith(context));
24
24
  });
25
25
 
26
- export { make3, exports_fetch };
26
+ export { make2, exports_fetch };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./workerd-50bbk3b2.js";
3
+ } from "./workerd-b56hqv74.js";
4
4
  import {
5
5
  Api2
6
- } from "./workerd-q8n44kky.js";
6
+ } from "./workerd-9snwnvf8.js";
7
7
 
8
8
  // src/handlers/plugin.ts
9
9
  import { Plugin } from "@opencode/core/plugin";
@@ -6,17 +6,17 @@ import {
6
6
  var exports_server_info = {};
7
7
  __export(exports_server_info, {
8
8
  ServerInfo: () => exports_server_info,
9
- Service: () => Service5,
9
+ Service: () => Service4,
10
10
  connectionURLs: () => connectionURLs2,
11
- layer: () => layer5
11
+ layer: () => layer4
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { networkInterfaces } from "node:os";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/server/ServerInfo") {
16
+ class Service4 extends Context.Service()("@opencode/server/ServerInfo") {
17
17
  }
18
- function layer5(urls, tmp, app = {}) {
19
- return Layer.succeed(Service5, Service5.of({ urls, app, paths: { tmp } }));
18
+ function layer4(urls, tmp, app = {}) {
19
+ return Layer.succeed(Service4, Service4.of({ urls, app, paths: { tmp } }));
20
20
  }
21
21
  function connectionURLs2(value, requestedHostname) {
22
22
  const url = new URL(value);
@@ -38,4 +38,4 @@ function connectionURLs2(value, requestedHostname) {
38
38
  ];
39
39
  }
40
40
 
41
- export { Service5, layer5, connectionURLs2, exports_server_info };
41
+ export { Service4, layer4, connectionURLs2, exports_server_info };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./workerd-50bbk3b2.js";
3
+ } from "./workerd-b56hqv74.js";
4
4
  import {
5
5
  Api2
6
- } from "./workerd-q8n44kky.js";
6
+ } from "./workerd-9snwnvf8.js";
7
7
 
8
8
  // src/handlers/provider.ts
9
9
  import { Provider } from "@opencode/core/provider";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./workerd-50bbk3b2.js";
3
+ } from "./workerd-b56hqv74.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./workerd-4gnb9897.js";
6
+ } from "./workerd-4hhhes7w.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./workerd-b3bmdkga.js";
9
+ } from "./workerd-j4zqsxgy.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 "./workerd-q8n44kky.js";
3
+ } from "./workerd-9snwnvf8.js";
4
4
  import {
5
5
  CorsConfig2,
6
6
  isAllowedRequestOrigin2
@@ -59,7 +59,7 @@ function decode(input) {
59
59
  return input;
60
60
  }
61
61
  }
62
- var layer4 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
62
+ var layer5 = 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 layer4 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
67
67
  }));
68
68
  }));
69
69
 
70
- export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2, layer4 };
70
+ export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2, layer5 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./workerd-50bbk3b2.js";
3
+ } from "./workerd-b56hqv74.js";
4
4
  import {
5
5
  Api2
6
- } from "./workerd-q8n44kky.js";
6
+ } from "./workerd-9snwnvf8.js";
7
7
 
8
8
  // src/handlers/skill.ts
9
9
  import { Skill } from "@opencode/core/skill";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./workerd-50bbk3b2.js";
4
+ } from "./workerd-b56hqv74.js";
5
5
  import {
6
6
  Api2
7
- } from "./workerd-q8n44kky.js";
7
+ } from "./workerd-9snwnvf8.js";
8
8
 
9
9
  // src/handlers/websearch.ts
10
10
  import { WebSearch } from "@opencode/core/websearch";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Api2
3
- } from "./workerd-q8n44kky.js";
3
+ } from "./workerd-9snwnvf8.js";
4
4
  import {
5
5
  SESSION_TTL_SECONDS2,
6
6
  Config2,
7
7
  issueSession2,
8
8
  sessionCookieName2
9
9
  } from "./workerd-anm12x33.js";
10
- import {
11
- Service5
12
- } from "./workerd-g0rzwe5g.js";
13
10
  import {
14
11
  Service4
15
- } from "./workerd-byt4hbw9.js";
12
+ } from "./workerd-93wjydnn.js";
13
+ import {
14
+ Service5
15
+ } from "./workerd-sstsrjtg.js";
16
16
 
17
17
  // src/handlers/server.ts
18
18
  import { Duration, Effect } from "effect";
@@ -21,10 +21,10 @@ import { HttpApiBuilder } from "effect/http-api";
21
21
  import { PersistentPty } from "@opencode/core/persistent-pty";
22
22
  import { UnauthorizedError } from "@opencode/protocol/errors";
23
23
  var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => Effect.gen(function* () {
24
- const pairing = yield* Service4;
24
+ const pairing = yield* Service5;
25
25
  const auth = yield* Config2;
26
26
  return handlers.handle("server.info", () => Effect.gen(function* () {
27
- const info = yield* Service5;
27
+ const info = yield* Service4;
28
28
  return {
29
29
  version: info.app.version ?? "unknown",
30
30
  pid: process.pid ?? 0,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./workerd-50bbk3b2.js";
4
+ } from "./workerd-b56hqv74.js";
5
5
  import {
6
6
  Api2
7
- } from "./workerd-q8n44kky.js";
7
+ } from "./workerd-9snwnvf8.js";
8
8
 
9
9
  // src/handlers/model.ts
10
10
  import { Model } from "@opencode/core/model";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./workerd-50bbk3b2.js";
3
+ } from "./workerd-b56hqv74.js";
4
4
  import {
5
5
  Api2
6
- } from "./workerd-q8n44kky.js";
6
+ } from "./workerd-9snwnvf8.js";
7
7
 
8
8
  // src/handlers/integration.ts
9
9
  import { Integration } from "@opencode/core/integration";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./workerd-q8n44kky.js";
3
+ } from "./workerd-9snwnvf8.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./workerd-q8n44kky.js";
3
+ } from "./workerd-9snwnvf8.js";
4
4
  import {
5
5
  Service3,
6
6
  frame2
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  sessionInfo2
4
- } from "./workerd-50bbk3b2.js";
4
+ } from "./workerd-b56hqv74.js";
5
5
 
6
6
  // src/middleware/session-location.ts
7
7
  import { Instance } from "@opencode/core/instance/service";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./workerd-50bbk3b2.js";
3
+ } from "./workerd-b56hqv74.js";
4
4
  import {
5
5
  Api2
6
- } from "./workerd-q8n44kky.js";
6
+ } from "./workerd-9snwnvf8.js";
7
7
 
8
8
  // src/handlers/command.ts
9
9
  import { Command } from "@opencode/core/command";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./workerd-50bbk3b2.js";
3
+ } from "./workerd-b56hqv74.js";
4
4
  import {
5
5
  Api2
6
- } from "./workerd-q8n44kky.js";
6
+ } from "./workerd-9snwnvf8.js";
7
7
 
8
8
  // src/handlers/vcs.ts
9
9
  import { Vcs } from "@opencode/core/vcs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./workerd-q8n44kky.js";
3
+ } from "./workerd-9snwnvf8.js";
4
4
 
5
5
  // src/handlers/migration.ts
6
6
  import { V1Migration } from "@opencode/core/database/v1-migration";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./workerd-50bbk3b2.js";
3
+ } from "./workerd-b56hqv74.js";
4
4
  import {
5
5
  Api2
6
- } from "./workerd-q8n44kky.js";
6
+ } from "./workerd-9snwnvf8.js";
7
7
 
8
8
  // src/handlers/agent.ts
9
9
  import { Agent } from "@opencode/core/agent";