@opencode/server 0.0.0-dev-44 → 0.0.0-dev-51

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 (85) hide show
  1. package/dist/api.js +4 -4
  2. package/dist/chunks/{options-s9k7mqbm.js → options-1h63dkgz.js} +10 -10
  3. package/dist/chunks/{options-e9906t2e.js → options-32zxn73z.js} +1 -1
  4. package/dist/chunks/{options-e6e4kz0w.js → options-39nnfjx1.js} +3 -3
  5. package/dist/chunks/{options-5pdfedjd.js → options-3te71694.js} +3 -3
  6. package/dist/chunks/{options-22wspztn.js → options-4xzps9pr.js} +2 -2
  7. package/dist/chunks/{options-wcfd0w14.js → options-57bnbjk6.js} +2 -2
  8. package/dist/chunks/{options-hax1v4bv.js → options-62bfwtjc.js} +2 -2
  9. package/dist/chunks/{options-xe9t9xr4.js → options-85kbrn7y.js} +2 -2
  10. package/dist/chunks/{options-6vs5sqy6.js → options-9q55v56g.js} +2 -2
  11. package/dist/chunks/{options-e46y0tfd.js → options-axx4wwen.js} +2 -2
  12. package/dist/chunks/{options-nha9c8fp.js → options-bknbvq67.js} +2 -2
  13. package/dist/chunks/{options-be53s2qz.js → options-dags6vpm.js} +1 -1
  14. package/dist/chunks/{options-gk0yxcp6.js → options-ddnay6e1.js} +1 -1
  15. package/dist/chunks/{options-b2k9041j.js → options-e0z6mnzj.js} +1 -1
  16. package/dist/chunks/{options-zgt2tacv.js → options-ey9m07rx.js} +1 -1
  17. package/dist/chunks/{options-h072q2hm.js → options-f0kpaq89.js} +1 -1
  18. package/dist/chunks/{options-yr4wsvrw.js → options-f96zeczf.js} +2 -2
  19. package/dist/chunks/{options-gqq6kfhc.js → options-gymtz25n.js} +2 -2
  20. package/dist/chunks/{options-2xcc0x05.js → options-hr24310e.js} +1 -1
  21. package/dist/chunks/{options-17ecnfcg.js → options-j5nctpa6.js} +2 -2
  22. package/dist/chunks/{options-x8dgc261.js → options-j6d0mxrp.js} +2 -2
  23. package/dist/chunks/{options-dk68ymtv.js → options-mam5ppd3.js} +1 -1
  24. package/dist/chunks/{options-fqnn17ss.js → options-mftrjw1x.js} +32 -32
  25. package/dist/chunks/{options-kffvskmv.js → options-nzrkt0f5.js} +2 -2
  26. package/dist/chunks/{options-vj2c9626.js → options-pbxe02h0.js} +2 -2
  27. package/dist/chunks/{options-xga54a1t.js → options-pf68b6b2.js} +1 -1
  28. package/dist/chunks/{options-ppma8fcc.js → options-q7gnt7ra.js} +2 -2
  29. package/dist/chunks/{options-khcas2q2.js → options-sst5eg8z.js} +4 -4
  30. package/dist/chunks/{options-r6vmgwff.js → options-tgb4pddq.js} +2 -2
  31. package/dist/chunks/{options-awjv4jq4.js → options-v4jqkmz1.js} +2 -2
  32. package/dist/chunks/{options-9c4eyh8m.js → options-v7p1kzzd.js} +3 -3
  33. package/dist/chunks/{options-j9gxd9me.js → options-va7wgp70.js} +2 -2
  34. package/dist/chunks/{options-m5rae7m4.js → options-vyzvby0b.js} +2 -2
  35. package/dist/chunks/{options-yet0vexm.js → options-x74w7e1f.js} +1 -1
  36. package/dist/chunks/{options-hnheq3hv.js → options-xad49dn3.js} +2 -2
  37. package/dist/chunks/{options-wxj3d9av.js → options-xfynz25m.js} +2 -2
  38. package/dist/chunks/{options-1je14sn4.js → options-xwy6frfd.js} +1 -1
  39. package/dist/chunks/{options-0a5jm2na.js → options-y56ann6c.js} +2 -2
  40. package/dist/chunks/{options-h9rcwvg0.js → options-z48nkxh0.js} +1 -1
  41. package/dist/chunks/{options-z59gyc0x.js → options-zzxz7279.js} +2 -2
  42. package/dist/chunks/{options-zjy4sw3d.js → options-zzyy0zrw.js} +2 -2
  43. package/dist/fetch.js +45 -45
  44. package/dist/handlers/agent.js +5 -5
  45. package/dist/handlers/command.js +5 -5
  46. package/dist/handlers/config.js +5 -5
  47. package/dist/handlers/credential.js +5 -5
  48. package/dist/handlers/debug.js +5 -5
  49. package/dist/handlers/event.js +5 -5
  50. package/dist/handlers/form.js +5 -5
  51. package/dist/handlers/fs.js +5 -5
  52. package/dist/handlers/generate.js +5 -5
  53. package/dist/handlers/integration.js +5 -5
  54. package/dist/handlers/location.js +5 -5
  55. package/dist/handlers/mcp.js +6 -6
  56. package/dist/handlers/message.js +6 -6
  57. package/dist/handlers/migration.js +5 -5
  58. package/dist/handlers/model.js +5 -5
  59. package/dist/handlers/permission.js +5 -5
  60. package/dist/handlers/persistent-pty.js +6 -6
  61. package/dist/handlers/plugin.js +5 -5
  62. package/dist/handlers/project.js +5 -5
  63. package/dist/handlers/provider.js +5 -5
  64. package/dist/handlers/pty.js +6 -6
  65. package/dist/handlers/reference.js +5 -5
  66. package/dist/handlers/rpc.js +5 -5
  67. package/dist/handlers/server.js +6 -6
  68. package/dist/handlers/session.js +6 -6
  69. package/dist/handlers/shell.js +5 -5
  70. package/dist/handlers/skill.js +5 -5
  71. package/dist/handlers/usage.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 +40 -40
  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/process.js +42 -42
  81. package/dist/routes.js +42 -42
  82. package/dist/server-info.js +3 -3
  83. package/dist/service-status.js +3 -3
  84. package/dist/workerd.js +42 -42
  85. package/package.json +8 -8
package/dist/api.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/options-9c4eyh8m.js";
4
- import"./chunks/options-yet0vexm.js";
5
- import"./chunks/options-gk0yxcp6.js";
6
- import"./chunks/options-gqq6kfhc.js";
3
+ } from "./chunks/options-v7p1kzzd.js";
4
+ import"./chunks/options-ddnay6e1.js";
5
+ import"./chunks/options-x74w7e1f.js";
6
+ import"./chunks/options-gymtz25n.js";
7
7
  import"./chunks/options-smaf4a18.js";
8
8
  export {
9
9
  Api2 as Api
@@ -1,15 +1,15 @@
1
1
  import {
2
- layer3
3
- } from "./options-gqq6kfhc.js";
2
+ layer2
3
+ } from "./options-gymtz25n.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./options-gk0yxcp6.js";
6
+ } from "./options-ddnay6e1.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./options-yet0vexm.js";
9
+ } from "./options-x74w7e1f.js";
10
10
  import {
11
11
  Api2
12
- } from "./options-9c4eyh8m.js";
12
+ } from "./options-v7p1kzzd.js";
13
13
  import {
14
14
  Config2
15
15
  } from "./options-peg0afvz.js";
@@ -17,14 +17,14 @@ import {
17
17
  CorsConfig2
18
18
  } from "./options-q4bn6dy8.js";
19
19
  import {
20
- layer2
21
- } from "./options-5pdfedjd.js";
20
+ layer3
21
+ } from "./options-3te71694.js";
22
22
  import {
23
23
  node2
24
24
  } from "./options-kqr36gas.js";
25
25
  import {
26
26
  handlers2
27
- } from "./options-fqnn17ss.js";
27
+ } from "./options-mftrjw1x.js";
28
28
  import {
29
29
  authorizationLayer2
30
30
  } from "./options-9tsb9bht.js";
@@ -149,8 +149,8 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
149
149
  })) : build(overrides);
150
150
  return serviceLayer.pipe(Layer.flatMap((context) => {
151
151
  const services = Layer.succeedContext(context);
152
- const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer2(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
153
- 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));
152
+ const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer3(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
153
+ 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));
154
154
  return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
155
155
  }));
156
156
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-9c4eyh8m.js";
3
+ } from "./options-v7p1kzzd.js";
4
4
  import {
5
5
  Service4,
6
6
  frame2
@@ -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: () => make3
9
+ make: () => make2
10
10
  });
11
11
  import { Effect, Ref } from "effect";
12
- var make3 = Effect.fnUntraced(function* (options = {}) {
12
+ var make2 = 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 { make2, exports_service_status };
@@ -8,14 +8,14 @@ __export(exports_server_info, {
8
8
  ServerInfo: () => exports_server_info,
9
9
  Service: () => Service3,
10
10
  connectionURLs: () => connectionURLs2,
11
- layer: () => layer2
11
+ layer: () => layer3
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { networkInterfaces } from "node:os";
15
15
 
16
16
  class Service3 extends Context.Service()("@opencode/server/ServerInfo") {
17
17
  }
18
- function layer2(urls, tmp, app = {}) {
18
+ function layer3(urls, tmp, app = {}) {
19
19
  return Layer.succeed(Service3, Service3.of({ urls, app, paths: { tmp } }));
20
20
  }
21
21
  function connectionURLs2(value, requestedHostname) {
@@ -38,4 +38,4 @@ function connectionURLs2(value, requestedHostname) {
38
38
  ];
39
39
  }
40
40
 
41
- export { Service3, layer2, connectionURLs2, exports_server_info };
41
+ export { Service3, layer3, connectionURLs2, exports_server_info };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-gqq6kfhc.js";
3
+ } from "./options-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-9c4eyh8m.js";
6
+ } from "./options-v7p1kzzd.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 "./options-9c4eyh8m.js";
3
+ } from "./options-v7p1kzzd.js";
4
4
  import {
5
5
  SESSION_TTL_SECONDS2,
6
6
  Config2,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./options-peg0afvz.js";
10
10
  import {
11
11
  Service3
12
- } from "./options-5pdfedjd.js";
12
+ } from "./options-3te71694.js";
13
13
  import {
14
14
  Service2
15
15
  } from "./options-kqr36gas.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./options-gqq6kfhc.js";
4
+ } from "./options-gymtz25n.js";
5
5
  import {
6
6
  Api2
7
- } from "./options-9c4eyh8m.js";
7
+ } from "./options-v7p1kzzd.js";
8
8
 
9
9
  // src/handlers/provider.ts
10
10
  import { Provider } from "@opencode/core/provider";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-gqq6kfhc.js";
3
+ } from "./options-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-9c4eyh8m.js";
6
+ } from "./options-v7p1kzzd.js";
7
7
 
8
8
  // src/handlers/vcs.ts
9
9
  import { Vcs } from "@opencode/core/vcs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-gqq6kfhc.js";
3
+ } from "./options-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-9c4eyh8m.js";
6
+ } from "./options-v7p1kzzd.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 "./options-gqq6kfhc.js";
4
+ } from "./options-gymtz25n.js";
5
5
  import {
6
6
  Api2
7
- } from "./options-9c4eyh8m.js";
7
+ } from "./options-v7p1kzzd.js";
8
8
 
9
9
  // src/handlers/websearch.ts
10
10
  import { WebSearch } from "@opencode/core/websearch";
@@ -2,10 +2,10 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./options-gqq6kfhc.js";
5
+ } from "./options-gymtz25n.js";
6
6
  import {
7
7
  Api2
8
- } from "./options-9c4eyh8m.js";
8
+ } from "./options-v7p1kzzd.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-9c4eyh8m.js";
3
+ } from "./options-v7p1kzzd.js";
4
4
 
5
5
  // src/handlers/credential.ts
6
6
  import { Credential } from "@opencode/core/credential";
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./options-gqq6kfhc.js";
5
+ } from "./options-gymtz25n.js";
6
6
 
7
7
  // src/middleware/form-location.ts
8
8
  import { Instance } from "@opencode/core/instance/service";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-9c4eyh8m.js";
3
+ } from "./options-v7p1kzzd.js";
4
4
 
5
5
  // src/handlers/config.ts
6
6
  import { Config } from "@opencode/core/config";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./options-smaf4a18.js";
5
5
  import {
6
6
  Api2
7
- } from "./options-9c4eyh8m.js";
7
+ } from "./options-v7p1kzzd.js";
8
8
  import {
9
9
  wantsMediaRefs2
10
10
  } from "./options-xthc02cw.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-9c4eyh8m.js";
3
+ } from "./options-v7p1kzzd.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-gqq6kfhc.js";
3
+ } from "./options-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-9c4eyh8m.js";
6
+ } from "./options-v7p1kzzd.js";
7
7
 
8
8
  // src/handlers/reference.ts
9
9
  import { Reference } from "@opencode/core/reference";
@@ -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,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-9c4eyh8m.js";
3
+ } from "./options-v7p1kzzd.js";
4
4
 
5
5
  // src/handlers/rpc.ts
6
6
  import { Rpc } from "@opencode/core/rpc";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  awaitPlugins2
4
- } from "./options-gqq6kfhc.js";
4
+ } from "./options-gymtz25n.js";
5
5
  import {
6
6
  Api2
7
- } from "./options-9c4eyh8m.js";
7
+ } from "./options-v7p1kzzd.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
  requestRef2
3
- } from "./options-gqq6kfhc.js";
3
+ } from "./options-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-9c4eyh8m.js";
6
+ } from "./options-v7p1kzzd.js";
7
7
 
8
8
  // src/handlers/debug.ts
9
9
  import { LocationServiceMap } from "@opencode/core/location-service-map";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-9c4eyh8m.js";
3
+ } from "./options-v7p1kzzd.js";
4
4
 
5
5
  // src/handlers/project.ts
6
6
  import { Project } from "@opencode/core/project";
@@ -1,102 +1,102 @@
1
1
  import {
2
2
  GenerateHandler2
3
- } from "./options-17ecnfcg.js";
3
+ } from "./options-j5nctpa6.js";
4
4
  import {
5
5
  VoiceHandler2
6
- } from "./options-wxj3d9av.js";
6
+ } from "./options-xfynz25m.js";
7
7
  import {
8
8
  MessageHandler2
9
- } from "./options-zgt2tacv.js";
9
+ } from "./options-ey9m07rx.js";
10
10
  import {
11
11
  ModelHandler2
12
- } from "./options-0a5jm2na.js";
12
+ } from "./options-y56ann6c.js";
13
13
  import {
14
14
  ProviderHandler2
15
- } from "./options-hax1v4bv.js";
15
+ } from "./options-62bfwtjc.js";
16
16
  import {
17
17
  SessionHandler2
18
- } from "./options-kffvskmv.js";
18
+ } from "./options-nzrkt0f5.js";
19
19
  import {
20
20
  PermissionHandler2
21
- } from "./options-ppma8fcc.js";
21
+ } from "./options-q7gnt7ra.js";
22
22
  import {
23
23
  FileSystemHandler2
24
- } from "./options-r6vmgwff.js";
24
+ } from "./options-tgb4pddq.js";
25
25
  import {
26
26
  FormHandler2
27
- } from "./options-m5rae7m4.js";
27
+ } from "./options-vyzvby0b.js";
28
28
  import {
29
29
  CommandHandler2
30
- } from "./options-z59gyc0x.js";
30
+ } from "./options-zzxz7279.js";
31
31
  import {
32
32
  SkillHandler2
33
- } from "./options-6vs5sqy6.js";
33
+ } from "./options-9q55v56g.js";
34
34
  import {
35
35
  RpcHandler2
36
- } from "./options-2xcc0x05.js";
36
+ } from "./options-hr24310e.js";
37
37
  import {
38
38
  layer4
39
39
  } from "./options-wecgp61r.js";
40
40
  import {
41
41
  EventHandler2
42
- } from "./options-e9906t2e.js";
42
+ } from "./options-32zxn73z.js";
43
43
  import {
44
44
  AgentHandler2
45
- } from "./options-hnheq3hv.js";
45
+ } from "./options-xad49dn3.js";
46
46
  import {
47
47
  PluginHandler2
48
- } from "./options-awjv4jq4.js";
48
+ } from "./options-v4jqkmz1.js";
49
49
  import {
50
50
  ServerHandler2
51
- } from "./options-wcfd0w14.js";
51
+ } from "./options-57bnbjk6.js";
52
52
  import {
53
53
  DebugHandler2
54
- } from "./options-x8dgc261.js";
54
+ } from "./options-j6d0mxrp.js";
55
55
  import {
56
56
  PtyHandler2
57
- } from "./options-vj2c9626.js";
57
+ } from "./options-pbxe02h0.js";
58
58
  import {
59
59
  PersistentPtyHandler2
60
- } from "./options-xga54a1t.js";
60
+ } from "./options-pf68b6b2.js";
61
61
  import {
62
62
  ShellHandler2
63
- } from "./options-22wspztn.js";
63
+ } from "./options-4xzps9pr.js";
64
64
  import {
65
65
  ReferenceHandler2
66
- } from "./options-yr4wsvrw.js";
66
+ } from "./options-f96zeczf.js";
67
67
  import {
68
68
  LocationHandler2
69
- } from "./options-h072q2hm.js";
69
+ } from "./options-f0kpaq89.js";
70
70
  import {
71
71
  IntegrationHandler2
72
- } from "./options-zjy4sw3d.js";
72
+ } from "./options-zzyy0zrw.js";
73
73
  import {
74
74
  WebSearchHandler2
75
- } from "./options-e46y0tfd.js";
75
+ } from "./options-axx4wwen.js";
76
76
  import {
77
77
  UsageHandler2
78
- } from "./options-j9gxd9me.js";
78
+ } from "./options-va7wgp70.js";
79
79
  import {
80
80
  McpHandler2
81
- } from "./options-nha9c8fp.js";
81
+ } from "./options-bknbvq67.js";
82
82
  import {
83
83
  CredentialHandler2
84
- } from "./options-be53s2qz.js";
84
+ } from "./options-dags6vpm.js";
85
85
  import {
86
86
  ProjectHandler2
87
- } from "./options-dk68ymtv.js";
87
+ } from "./options-mam5ppd3.js";
88
88
  import {
89
89
  WorktreeHandler2
90
- } from "./options-h9rcwvg0.js";
90
+ } from "./options-z48nkxh0.js";
91
91
  import {
92
92
  VcsHandler2
93
- } from "./options-xe9t9xr4.js";
93
+ } from "./options-85kbrn7y.js";
94
94
  import {
95
95
  MigrationHandler2
96
- } from "./options-1je14sn4.js";
96
+ } from "./options-xwy6frfd.js";
97
97
  import {
98
98
  ConfigHandler2
99
- } from "./options-b2k9041j.js";
99
+ } from "./options-e0z6mnzj.js";
100
100
 
101
101
  // src/handlers.ts
102
102
  import { Layer } from "effect";
@@ -6,10 +6,10 @@ import {
6
6
  } from "./options-smaf4a18.js";
7
7
  import {
8
8
  locationErrors2
9
- } from "./options-gqq6kfhc.js";
9
+ } from "./options-gymtz25n.js";
10
10
  import {
11
11
  Api2
12
- } from "./options-9c4eyh8m.js";
12
+ } from "./options-v7p1kzzd.js";
13
13
  import {
14
14
  wantsMediaRefs2
15
15
  } from "./options-xthc02cw.js";
@@ -2,10 +2,10 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./options-gqq6kfhc.js";
5
+ } from "./options-gymtz25n.js";
6
6
  import {
7
7
  Api2
8
- } from "./options-9c4eyh8m.js";
8
+ } from "./options-v7p1kzzd.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-9c4eyh8m.js";
3
+ } from "./options-v7p1kzzd.js";
4
4
  import {
5
5
  CorsConfig2,
6
6
  isAllowedRequestOrigin2
@@ -5,10 +5,10 @@ import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./options-gqq6kfhc.js";
8
+ } from "./options-gymtz25n.js";
9
9
  import {
10
10
  Api2
11
- } from "./options-9c4eyh8m.js";
11
+ } from "./options-v7p1kzzd.js";
12
12
 
13
13
  // src/handlers/permission.ts
14
14
  import { Instance } from "@opencode/core/instance/service";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./options-q4bn6dy8.js";
4
4
  import {
5
5
  createRoutes2
6
- } from "./options-s9k7mqbm.js";
6
+ } from "./options-1h63dkgz.js";
7
7
  import {
8
8
  __export
9
9
  } from "./options-9rqn6x4v.js";
@@ -12,15 +12,15 @@ import {
12
12
  var exports_fetch = {};
13
13
  __export(exports_fetch, {
14
14
  ServerFetch: () => exports_fetch,
15
- make: () => make2
15
+ make: () => make3
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 make2 = Effect.fn("ServerFetch.make")(function* (options = {}, boot = {}) {
20
+ var make3 = 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 { make2, exports_fetch };
26
+ export { make3, exports_fetch };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-gqq6kfhc.js";
3
+ } from "./options-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-9c4eyh8m.js";
6
+ } from "./options-v7p1kzzd.js";
7
7
 
8
8
  // src/handlers/fs.ts
9
9
  import { FileSystem } from "@opencode/core/filesystem";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-gqq6kfhc.js";
3
+ } from "./options-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-9c4eyh8m.js";
6
+ } from "./options-v7p1kzzd.js";
7
7
 
8
8
  // src/handlers/plugin.ts
9
9
  import { Plugin } from "@opencode/core/plugin";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./options-gqq6kfhc.js";
3
+ } from "./options-gymtz25n.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./options-gk0yxcp6.js";
6
+ } from "./options-ddnay6e1.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./options-yet0vexm.js";
9
+ } from "./options-x74w7e1f.js";
10
10
 
11
11
  // src/api.ts
12
12
  import { makeDefaultApi } from "@opencode/protocol/api";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./options-gqq6kfhc.js";
4
+ } from "./options-gymtz25n.js";
5
5
  import {
6
6
  Api2
7
- } from "./options-9c4eyh8m.js";
7
+ } from "./options-v7p1kzzd.js";
8
8
 
9
9
  // src/handlers/usage.ts
10
10
  import { UsageLimits } from "@opencode/core/usage-limits";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-gqq6kfhc.js";
3
+ } from "./options-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-9c4eyh8m.js";
6
+ } from "./options-v7p1kzzd.js";
7
7
 
8
8
  // src/handlers/form.ts
9
9
  import { Form } from "@opencode/core/form";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  sessionInfo2
4
- } from "./options-gqq6kfhc.js";
4
+ } from "./options-gymtz25n.js";
5
5
 
6
6
  // src/middleware/session-location.ts
7
7
  import { Instance } from "@opencode/core/instance/service";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./options-gqq6kfhc.js";
4
+ } from "./options-gymtz25n.js";
5
5
  import {
6
6
  Api2
7
- } from "./options-9c4eyh8m.js";
7
+ } from "./options-v7p1kzzd.js";
8
8
 
9
9
  // src/handlers/agent.ts
10
10
  import { Agent } from "@opencode/core/agent";