@opencode/server 0.0.0-dev-55 → 0.0.0-dev-56

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 (108) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{event-feed-rfdwk27n.js → options-0c5s68vs.js} +2 -2
  4. package/dist/chunks/{event-feed-s62wjkvx.js → options-1v577ncx.js} +2 -2
  5. package/dist/chunks/{event-feed-kafd488q.js → options-2eaky32g.js} +12 -3
  6. package/dist/chunks/{event-feed-0ey2b45p.js → options-2h6qktqa.js} +2 -2
  7. package/dist/chunks/{event-feed-4953j2kd.js → options-2mzs8tn8.js} +4 -4
  8. package/dist/chunks/{event-feed-39nnfjx1.js → options-39nnfjx1.js} +1 -1
  9. package/dist/chunks/{event-feed-r6xkfcdx.js → options-4fy84009.js} +1 -1
  10. package/dist/chunks/{event-feed-b4mqtccx.js → options-4q6e7fh8.js} +2 -2
  11. package/dist/chunks/{event-feed-50bbk3b2.js → options-50bbk3b2.js} +1 -1
  12. package/dist/chunks/{event-feed-m119esdv.js → options-58psf7ej.js} +3 -3
  13. package/dist/chunks/{event-feed-djj5asqw.js → options-5b42hxrf.js} +1 -1
  14. package/dist/chunks/{event-feed-nz17qv97.js → options-5s6gh8sx.js} +2 -2
  15. package/dist/chunks/{event-feed-x4b2rtcb.js → options-6z9pvq7p.js} +1 -1
  16. package/dist/chunks/{event-feed-7b9xm1qg.js → options-7b9xm1qg.js} +1 -1
  17. package/dist/chunks/{event-feed-05c5061t.js → options-a8jcac9a.js} +1 -1
  18. package/dist/chunks/{event-feed-9grnt8dc.js → options-az0609r6.js} +2 -2
  19. package/dist/chunks/{event-feed-89egwzf3.js → options-b105zy65.js} +2 -2
  20. package/dist/chunks/{event-feed-b3bmdkga.js → options-b3bmdkga.js} +1 -1
  21. package/dist/chunks/{event-feed-kg0ybx4v.js → options-btahnm2b.js} +3 -3
  22. package/dist/chunks/{event-feed-qa4stgpe.js → options-c36yv9q3.js} +13 -13
  23. package/dist/chunks/{event-feed-hx8bsq9d.js → options-cezwbsk5.js} +1 -1
  24. package/dist/chunks/{event-feed-et00mhwf.js → options-d0edqfxx.js} +2 -2
  25. package/dist/chunks/{event-feed-8wqj6mpn.js → options-e5dc5tv0.js} +4 -4
  26. package/dist/chunks/{event-feed-v8aqacn3.js → options-f559fakr.js} +2 -2
  27. package/dist/chunks/{event-feed-gkb2rnpp.js → options-fbe1g88z.js} +3 -3
  28. package/dist/chunks/{event-feed-s802fzg1.js → options-fvpjvjpp.js} +7 -7
  29. package/dist/chunks/{event-feed-28ztppy1.js → options-h29xjj1e.js} +2 -2
  30. package/dist/chunks/{event-feed-zvbhqxt5.js → options-htj50t1a.js} +4 -4
  31. package/dist/chunks/{event-feed-htyf2qs7.js → options-htyf2qs7.js} +1 -1
  32. package/dist/chunks/{event-feed-j4at0y5c.js → options-j4at0y5c.js} +1 -1
  33. package/dist/chunks/{event-feed-0e81et3m.js → options-j87xz9bt.js} +3 -3
  34. package/dist/chunks/{event-feed-dx89xydc.js → options-kkdkqt8j.js} +2 -2
  35. package/dist/chunks/{event-feed-q44yktpv.js → options-ny1j968n.js} +2 -2
  36. package/dist/chunks/{event-feed-h1thjy6x.js → options-qcg3sqtb.js} +2 -2
  37. package/dist/chunks/{event-feed-f8r9p2vr.js → options-qd0r787n.js} +2 -2
  38. package/dist/chunks/{event-feed-4p2y0qs3.js → options-rha2aq18.js} +2 -2
  39. package/dist/chunks/{event-feed-te9nzjz5.js → options-s0qhkr43.js} +35 -35
  40. package/dist/chunks/{event-feed-0n4tjm17.js → options-s282vggx.js} +1 -1
  41. package/dist/chunks/{event-feed-s9tkswmw.js → options-te8jwba1.js} +2 -2
  42. package/dist/chunks/{event-feed-9e5240rj.js → options-vxzqjhkq.js} +8 -8
  43. package/dist/chunks/{event-feed-kqr36gas.js → options-w9jcwh65.js} +7 -7
  44. package/dist/chunks/{event-feed-mzqcpmk1.js → options-wd7hxrwh.js} +4 -4
  45. package/dist/chunks/{event-feed-5pdfedjd.js → options-yjbzmfhm.js} +7 -7
  46. package/dist/chunks/{event-feed-zbe9jfhy.js → options-zcvan105.js} +1 -1
  47. package/dist/chunks/{event-feed-fehxjhae.js → options-zd7h3c1z.js} +4 -4
  48. package/dist/cors.js +1 -1
  49. package/dist/event-feed.js +5 -5
  50. package/dist/fetch.js +50 -50
  51. package/dist/handlers/agent.js +6 -6
  52. package/dist/handlers/command.js +6 -6
  53. package/dist/handlers/config.js +6 -6
  54. package/dist/handlers/credential.js +6 -6
  55. package/dist/handlers/debug.js +6 -6
  56. package/dist/handlers/event.js +7 -7
  57. package/dist/handlers/form.js +6 -6
  58. package/dist/handlers/fs.js +6 -6
  59. package/dist/handlers/generate.js +6 -6
  60. package/dist/handlers/integration.js +6 -6
  61. package/dist/handlers/location.js +6 -6
  62. package/dist/handlers/mcp.js +8 -8
  63. package/dist/handlers/media.js +1 -1
  64. package/dist/handlers/message.js +7 -7
  65. package/dist/handlers/migration.js +6 -6
  66. package/dist/handlers/model.js +6 -6
  67. package/dist/handlers/permission.js +6 -6
  68. package/dist/handlers/persistent-pty.js +9 -9
  69. package/dist/handlers/plugin.js +6 -6
  70. package/dist/handlers/project.js +6 -6
  71. package/dist/handlers/provider.js +6 -6
  72. package/dist/handlers/pty-socket.js +1 -1
  73. package/dist/handlers/pty.js +8 -8
  74. package/dist/handlers/reference.js +6 -6
  75. package/dist/handlers/rpc.js +6 -6
  76. package/dist/handlers/server.js +9 -9
  77. package/dist/handlers/session-error.js +1 -1
  78. package/dist/handlers/session.js +7 -7
  79. package/dist/handlers/shell.js +6 -6
  80. package/dist/handlers/skill.js +6 -6
  81. package/dist/handlers/usage.js +6 -6
  82. package/dist/handlers/vcs.js +6 -6
  83. package/dist/handlers/voice.js +6 -6
  84. package/dist/handlers/websearch.js +6 -6
  85. package/dist/handlers/worktree.js +6 -6
  86. package/dist/handlers.js +46 -46
  87. package/dist/location.js +2 -2
  88. package/dist/media-uri.js +1 -1
  89. package/dist/middleware/authorization.js +2 -2
  90. package/dist/middleware/form-location.js +3 -3
  91. package/dist/middleware/schema-error.js +1 -1
  92. package/dist/middleware/session-location.js +3 -3
  93. package/dist/pairing.js +3 -3
  94. package/dist/process.js +52 -52
  95. package/dist/request-tracing.js +1 -1
  96. package/dist/routes.js +49 -49
  97. package/dist/server-info.js +5 -5
  98. package/dist/service-status.js +1 -1
  99. package/dist/workerd.js +51 -51
  100. package/package.json +8 -8
  101. /package/dist/chunks/{event-feed-9rqn6x4v.js → options-9rqn6x4v.js} +0 -0
  102. /package/dist/chunks/{event-feed-erzfdgke.js → options-erzfdgke.js} +0 -0
  103. /package/dist/chunks/{event-feed-h6rt5k9s.js → options-h6rt5k9s.js} +0 -0
  104. /package/dist/chunks/{event-feed-n321d8vm.js → options-n321d8vm.js} +0 -0
  105. /package/dist/chunks/{event-feed-q4bn6dy8.js → options-q4bn6dy8.js} +0 -0
  106. /package/dist/chunks/{event-feed-smaf4a18.js → options-smaf4a18.js} +0 -0
  107. /package/dist/chunks/{event-feed-xthc02cw.js → options-xthc02cw.js} +0 -0
  108. /package/dist/chunks/{event-feed-yc7nft6q.js → options-yc7nft6q.js} +0 -0
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/event-feed-0e81et3m.js";
4
- import"./chunks/event-feed-b3bmdkga.js";
5
- import"./chunks/event-feed-htyf2qs7.js";
6
- import"./chunks/event-feed-50bbk3b2.js";
7
- import"./chunks/event-feed-smaf4a18.js";
3
+ } from "./chunks/options-j87xz9bt.js";
4
+ import"./chunks/options-htyf2qs7.js";
5
+ import"./chunks/options-b3bmdkga.js";
6
+ import"./chunks/options-50bbk3b2.js";
7
+ import"./chunks/options-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/event-feed-j4at0y5c.js";
10
+ } from "./chunks/options-j4at0y5c.js";
11
11
  export {
12
12
  Config2 as Config,
13
13
  SESSION_TTL_SECONDS2 as SESSION_TTL_SECONDS,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  awaitPlugins2
4
- } from "./event-feed-50bbk3b2.js";
4
+ } from "./options-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./event-feed-0e81et3m.js";
7
+ } from "./options-j87xz9bt.js";
8
8
 
9
9
  // src/handlers/generate.ts
10
10
  import { Generate } from "@opencode/core/generate";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./event-feed-50bbk3b2.js";
4
+ } from "./options-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./event-feed-0e81et3m.js";
7
+ } from "./options-j87xz9bt.js";
8
8
 
9
9
  // src/handlers/agent.ts
10
10
  import { Agent } from "@opencode/core/agent";
@@ -1,18 +1,27 @@
1
1
  import {
2
2
  response2
3
- } from "./event-feed-50bbk3b2.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./event-feed-0e81et3m.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/plugin.ts
9
9
  import { Plugin } from "@opencode/core/plugin";
10
10
  import { PluginUpdate } from "@opencode/core/plugin/update";
11
- import { InvalidRequestError, ServiceUnavailableError } from "@opencode/protocol/errors";
11
+ import { InvalidRequestError, PluginNotFoundError, ServiceUnavailableError } from "@opencode/protocol/errors";
12
12
  import { Cause, Effect, Exit } from "effect";
13
13
  import { HttpApiBuilder } from "effect/http-api";
14
14
  var PluginHandler2 = HttpApiBuilder.group(Api2, "server.plugin", (handlers) => handlers.handle("plugin.list", () => Effect.gen(function* () {
15
15
  return yield* response2(Plugin.Service.use((plugin) => plugin.list()));
16
+ })).handle("plugin.gui", (ctx) => Effect.gen(function* () {
17
+ const plugins = yield* Plugin.Service;
18
+ const bundle = yield* plugins.gui(ctx.query.id);
19
+ if (!bundle)
20
+ return yield* new PluginNotFoundError({
21
+ pluginID: ctx.query.id,
22
+ message: `No active plugin with a ./gui-experimental bundle: ${ctx.query.id}`
23
+ });
24
+ return yield* response2(Effect.succeed(bundle));
16
25
  })).handle("plugin.check", (ctx) => Effect.gen(function* () {
17
26
  const plugins = yield* Plugin.Service;
18
27
  const inventory = yield* plugins.list();
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./event-feed-50bbk3b2.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./event-feed-0e81et3m.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/fs.ts
9
9
  import { FileSystem } from "@opencode/core/filesystem";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Api2
3
- } from "./event-feed-0e81et3m.js";
3
+ } from "./options-j87xz9bt.js";
4
4
  import {
5
5
  CorsConfig2,
6
6
  isAllowedRequestOrigin2
7
- } from "./event-feed-q4bn6dy8.js";
7
+ } from "./options-q4bn6dy8.js";
8
8
  import {
9
9
  makeMediaGet2
10
- } from "./event-feed-n321d8vm.js";
10
+ } from "./options-n321d8vm.js";
11
11
  import {
12
12
  runPtySocket2
13
- } from "./event-feed-h6rt5k9s.js";
13
+ } from "./options-h6rt5k9s.js";
14
14
 
15
15
  // src/handlers/persistent-pty.ts
16
16
  import { PersistentPty } from "@opencode/core/persistent-pty";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-feed-9rqn6x4v.js";
3
+ } from "./options-9rqn6x4v.js";
4
4
 
5
5
  // src/service-status.ts
6
6
  var exports_service_status = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./event-feed-0e81et3m.js";
3
+ } from "./options-j87xz9bt.js";
4
4
 
5
5
  // src/handlers/worktree.ts
6
6
  import { Git } from "@opencode/core/git";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./event-feed-50bbk3b2.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./event-feed-0e81et3m.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/command.ts
9
9
  import { Command } from "@opencode/core/command";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./event-feed-smaf4a18.js";
3
+ } from "./options-smaf4a18.js";
4
4
 
5
5
  // src/location.ts
6
6
  import { FileSystem } from "@opencode/core/filesystem";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  missingSession2,
3
3
  failedMessageDecode2
4
- } from "./event-feed-smaf4a18.js";
4
+ } from "./options-smaf4a18.js";
5
5
  import {
6
6
  Api2
7
- } from "./event-feed-0e81et3m.js";
7
+ } from "./options-j87xz9bt.js";
8
8
  import {
9
9
  wantsMediaRefs2
10
- } from "./event-feed-xthc02cw.js";
10
+ } from "./options-xthc02cw.js";
11
11
 
12
12
  // src/handlers/message.ts
13
13
  import { SessionMessage } from "@opencode/core/session/message";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./event-feed-0e81et3m.js";
3
+ } from "./options-j87xz9bt.js";
4
4
 
5
5
  // src/handlers/credential.ts
6
6
  import { Credential } from "@opencode/core/credential";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./event-feed-50bbk3b2.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./event-feed-0e81et3m.js";
6
+ } from "./options-j87xz9bt.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 "./event-feed-0e81et3m.js";
3
+ } from "./options-j87xz9bt.js";
4
4
 
5
5
  // src/handlers/migration.ts
6
6
  import { V1Migration } from "@opencode/core/database/v1-migration";
@@ -4,7 +4,7 @@ import {
4
4
  authorized2,
5
5
  verifySession2,
6
6
  sessionCookieName2
7
- } from "./event-feed-j4at0y5c.js";
7
+ } from "./options-j4at0y5c.js";
8
8
 
9
9
  // src/middleware/authorization.ts
10
10
  import { UnauthorizedError } from "@opencode/protocol/errors";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./event-feed-0e81et3m.js";
3
+ } from "./options-j87xz9bt.js";
4
4
 
5
5
  // src/handlers/project.ts
6
6
  import { Project } from "@opencode/core/project";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./event-feed-50bbk3b2.js";
4
+ } from "./options-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./event-feed-0e81et3m.js";
7
+ } from "./options-j87xz9bt.js";
8
8
 
9
9
  // src/handlers/provider.ts
10
10
  import { Provider } from "@opencode/core/provider";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./event-feed-50bbk3b2.js";
4
+ } from "./options-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./event-feed-0e81et3m.js";
7
+ } from "./options-j87xz9bt.js";
8
8
 
9
9
  // src/handlers/usage.ts
10
10
  import { UsageLimits } from "@opencode/core/usage-limits";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  sessionInfo2
4
- } from "./event-feed-50bbk3b2.js";
4
+ } from "./options-50bbk3b2.js";
5
5
 
6
6
  // src/middleware/session-location.ts
7
7
  import { Instance } from "@opencode/core/instance/service";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./event-feed-smaf4a18.js";
3
+ } from "./options-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./event-feed-50bbk3b2.js";
8
+ } from "./options-50bbk3b2.js";
9
9
  import {
10
10
  Api2
11
- } from "./event-feed-0e81et3m.js";
11
+ } from "./options-j87xz9bt.js";
12
12
 
13
13
  // src/handlers/permission.ts
14
14
  import { Instance } from "@opencode/core/instance/service";
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  layer4
3
- } from "./event-feed-50bbk3b2.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./event-feed-htyf2qs7.js";
6
+ } from "./options-htyf2qs7.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./event-feed-b3bmdkga.js";
9
+ } from "./options-b3bmdkga.js";
10
10
  import {
11
11
  Api2
12
- } from "./event-feed-0e81et3m.js";
12
+ } from "./options-j87xz9bt.js";
13
13
  import {
14
14
  Config2
15
- } from "./event-feed-j4at0y5c.js";
15
+ } from "./options-j4at0y5c.js";
16
16
  import {
17
17
  CorsConfig2
18
- } from "./event-feed-q4bn6dy8.js";
18
+ } from "./options-q4bn6dy8.js";
19
19
  import {
20
- layer2
21
- } from "./event-feed-5pdfedjd.js";
20
+ layer3
21
+ } from "./options-yjbzmfhm.js";
22
22
  import {
23
23
  node2
24
- } from "./event-feed-kqr36gas.js";
24
+ } from "./options-w9jcwh65.js";
25
25
  import {
26
26
  handlers2
27
- } from "./event-feed-te9nzjz5.js";
27
+ } from "./options-s0qhkr43.js";
28
28
  import {
29
29
  authorizationLayer2
30
- } from "./event-feed-7b9xm1qg.js";
30
+ } from "./options-7b9xm1qg.js";
31
31
  import {
32
32
  schemaErrorLayer2
33
- } from "./event-feed-erzfdgke.js";
33
+ } from "./options-erzfdgke.js";
34
34
 
35
35
  // src/routes.ts
36
36
  import { Database } from "@opencode/core/database/database";
@@ -149,7 +149,7 @@ 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));
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
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(layer4), 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
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./event-feed-0e81et3m.js";
3
+ } from "./options-j87xz9bt.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 "./event-feed-50bbk3b2.js";
4
+ } from "./options-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./event-feed-0e81et3m.js";
7
+ } from "./options-j87xz9bt.js";
8
8
 
9
9
  // src/handlers/voice.ts
10
10
  import { Location } from "@opencode/core/location";
@@ -2,17 +2,17 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./event-feed-50bbk3b2.js";
5
+ } from "./options-50bbk3b2.js";
6
6
  import {
7
7
  Api2
8
- } from "./event-feed-0e81et3m.js";
8
+ } from "./options-j87xz9bt.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./event-feed-q4bn6dy8.js";
12
+ } from "./options-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2
15
- } from "./event-feed-h6rt5k9s.js";
15
+ } from "./options-h6rt5k9s.js";
16
16
 
17
17
  // src/handlers/pty.ts
18
18
  import { Pty } from "@opencode/core/pty";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./event-feed-50bbk3b2.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./event-feed-0e81et3m.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/form.ts
9
9
  import { Form } from "@opencode/core/form";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  isAllowedCorsOrigin2
3
- } from "./event-feed-q4bn6dy8.js";
3
+ } from "./options-q4bn6dy8.js";
4
4
  import {
5
5
  createRoutes2
6
- } from "./event-feed-qa4stgpe.js";
6
+ } from "./options-c36yv9q3.js";
7
7
  import {
8
8
  __export
9
- } from "./event-feed-9rqn6x4v.js";
9
+ } from "./options-9rqn6x4v.js";
10
10
 
11
11
  // src/fetch.ts
12
12
  var exports_fetch = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./event-feed-9rqn6x4v.js";
3
+ } from "./options-9rqn6x4v.js";
4
4
 
5
5
  // src/event-feed.ts
6
6
  var exports_event_feed = {};
7
7
  __export(exports_event_feed, {
8
8
  EncodingError: () => EncodingError2,
9
9
  EventFeed: () => exports_event_feed,
10
- Service: () => Service4,
10
+ Service: () => Service2,
11
11
  SubscriberCapacity: () => SubscriberCapacity2,
12
12
  SubscriberOverflowError: () => SubscriberOverflowError2,
13
13
  frame: () => frame2,
14
- layer: () => layer3,
14
+ layer: () => layer2,
15
15
  make: () => make4
16
16
  });
17
17
  import { Bus } from "@opencode/core/bus";
@@ -30,7 +30,7 @@ class EncodingError2 extends Schema.TaggedError()("EventFeed.EncodingError", {
30
30
  }) {
31
31
  }
32
32
 
33
- class Service4 extends Context.Service()("@opencode/server/EventFeed") {
33
+ class Service2 extends Context.Service()("@opencode/server/EventFeed") {
34
34
  }
35
35
  function frame2(event) {
36
36
  return `data: ${JSON.stringify(event)}
@@ -72,13 +72,13 @@ var make4 = Effect.fn("EventFeed.make")(function* (observe, options) {
72
72
  });
73
73
  const unsubscribe = yield* observe(publish);
74
74
  yield* Effect.addFinalizer(() => unsubscribe);
75
- return Service4.of({
75
+ return Service2.of({
76
76
  subscribe: (types) => Effect.acquireRelease(Queue.dropping(capacity).pipe(Effect.tap((queue) => Effect.sync(() => subscribers.set(queue, types?.length ? new Set(types) : undefined)))), (queue) => Effect.sync(() => subscribers.delete(queue)).pipe(Effect.andThen(Queue.shutdown(queue)), Effect.asVoid)).pipe(Effect.map(Stream.fromQueue))
77
77
  });
78
78
  });
79
- var layer3 = Layer.effect(Service4, Effect.gen(function* () {
79
+ var layer2 = Layer.effect(Service2, Effect.gen(function* () {
80
80
  const bus = yield* Bus.Service;
81
81
  return yield* make4(bus.listen);
82
82
  }));
83
83
 
84
- export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service4, frame2, make4, layer3, exports_event_feed };
84
+ export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service2, frame2, make4, layer2, exports_event_feed };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./event-feed-50bbk3b2.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./event-feed-0e81et3m.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/integration.ts
9
9
  import { Integration } from "@opencode/core/integration";
@@ -3,16 +3,16 @@ import {
3
3
  missingMessage2,
4
4
  failedMessageDecode2,
5
5
  failedSnapshot2
6
- } from "./event-feed-smaf4a18.js";
6
+ } from "./options-smaf4a18.js";
7
7
  import {
8
8
  locationErrors2
9
- } from "./event-feed-50bbk3b2.js";
9
+ } from "./options-50bbk3b2.js";
10
10
  import {
11
11
  Api2
12
- } from "./event-feed-0e81et3m.js";
12
+ } from "./options-j87xz9bt.js";
13
13
  import {
14
14
  wantsMediaRefs2
15
- } from "./event-feed-xthc02cw.js";
15
+ } from "./options-xthc02cw.js";
16
16
 
17
17
  // src/handlers/session.ts
18
18
  import { Instance } from "@opencode/core/instance/service";
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./event-feed-50bbk3b2.js";
5
+ } from "./options-50bbk3b2.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
  __export
3
- } from "./event-feed-9rqn6x4v.js";
3
+ } from "./options-9rqn6x4v.js";
4
4
 
5
5
  // src/auth.ts
6
6
  var exports_auth = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./event-feed-50bbk3b2.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./event-feed-htyf2qs7.js";
6
+ } from "./options-htyf2qs7.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./event-feed-b3bmdkga.js";
9
+ } from "./options-b3bmdkga.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 "./event-feed-50bbk3b2.js";
4
+ } from "./options-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./event-feed-0e81et3m.js";
7
+ } from "./options-j87xz9bt.js";
8
8
 
9
9
  // src/handlers/websearch.ts
10
10
  import { WebSearch } from "@opencode/core/websearch";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./event-feed-50bbk3b2.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./event-feed-0e81et3m.js";
6
+ } from "./options-j87xz9bt.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
  requestRef2
3
- } from "./event-feed-50bbk3b2.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./event-feed-0e81et3m.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/debug.ts
9
9
  import { LocationServiceMap } from "@opencode/core/location-service-map";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./event-feed-50bbk3b2.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./event-feed-0e81et3m.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/shell.ts
9
9
  import { Shell } from "@opencode/core/shell";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./event-feed-50bbk3b2.js";
4
+ } from "./options-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./event-feed-0e81et3m.js";
7
+ } from "./options-j87xz9bt.js";
8
8
 
9
9
  // src/handlers/model.ts
10
10
  import { Model } from "@opencode/core/model";