@opencode/server 0.0.0-dev-1311 → 0.0.0-dev-1313

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 (125) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{api-84dqjc6j.js → server-info-1s2hfsfr.js} +4 -4
  4. package/dist/chunks/{api-qn8kkfq6.js → server-info-20wvj9q6.js} +2 -2
  5. package/dist/chunks/{api-39nnfjx1.js → server-info-39nnfjx1.js} +1 -1
  6. package/dist/chunks/{api-6vs5sqy6.js → server-info-4apj6a8e.js} +2 -2
  7. package/dist/chunks/{api-4d0zahrw.js → server-info-4d81c38p.js} +4 -4
  8. package/dist/chunks/{api-b0sezs8j.js → server-info-4gbck4qg.js} +2 -2
  9. package/dist/chunks/{api-r3h1014p.js → server-info-4r2ye500.js} +2 -2
  10. package/dist/chunks/{api-50kbksvb.js → server-info-50kbksvb.js} +2 -2
  11. package/dist/chunks/{api-3z6z4adb.js → server-info-58twjv3r.js} +14 -14
  12. package/dist/chunks/{api-b1prsepx.js → server-info-5pdfedjd.js} +4 -4
  13. package/dist/chunks/{api-prdak4hd.js → server-info-6s1v5h8n.js} +4 -4
  14. package/dist/chunks/{api-hax1v4bv.js → server-info-6t6fd9bq.js} +2 -4
  15. package/dist/chunks/{api-78rcgzsr.js → server-info-78rcgzsr.js} +1 -1
  16. package/dist/chunks/{api-7b9xm1qg.js → server-info-7b9xm1qg.js} +1 -1
  17. package/dist/chunks/{api-e46y0tfd.js → server-info-7x6cg3xs.js} +2 -4
  18. package/dist/chunks/{api-ppma8fcc.js → server-info-8n1ypg70.js} +3 -3
  19. package/dist/chunks/{api-8sb6qqpn.js → server-info-8sb6qqpn.js} +1 -1
  20. package/dist/chunks/{api-9cd3a4b8.js → server-info-9cd3a4b8.js} +1 -1
  21. package/dist/chunks/{api-452na7zm.js → server-info-9wqhmdh7.js} +2 -2
  22. package/dist/chunks/{api-22wspztn.js → server-info-b1x3j2e8.js} +2 -2
  23. package/dist/chunks/{api-x8dgc261.js → server-info-b7yt2ykh.js} +2 -2
  24. package/dist/chunks/{api-z59gyc0x.js → server-info-b87bs0cf.js} +2 -2
  25. package/dist/chunks/{api-0a5jm2na.js → server-info-d0advawr.js} +2 -5
  26. package/dist/chunks/{api-djr0jy89.js → server-info-djr0jy89.js} +1 -1
  27. package/dist/chunks/{api-2q11qvwk.js → server-info-dvxxj8f2.js} +35 -35
  28. package/dist/chunks/{api-1xwg7d8k.js → server-info-e44cjq9e.js} +6 -6
  29. package/dist/chunks/{api-dk68ymtv.js → server-info-edwk6ehd.js} +1 -1
  30. package/dist/chunks/{api-4vqvqsgg.js → server-info-g80pvn6e.js} +2 -2
  31. package/dist/chunks/{api-b2k9041j.js → server-info-g97h7k0s.js} +1 -1
  32. package/dist/chunks/{api-zgt2tacv.js → server-info-gp51b0m6.js} +3 -3
  33. package/dist/chunks/{api-j4at0y5c.js → server-info-j4at0y5c.js} +1 -1
  34. package/dist/chunks/{api-gqq6kfhc.js → server-info-j80tzjj3.js} +3 -11
  35. package/dist/chunks/{api-zdv005zd.js → server-info-jcw94z5n.js} +8 -8
  36. package/dist/chunks/{api-np3ws677.js → server-info-k26h7zjg.js} +2 -2
  37. package/dist/chunks/{api-mzs0n5xz.js → server-info-kqr36gas.js} +7 -7
  38. package/dist/chunks/{api-myqk22k5.js → server-info-myqk22k5.js} +2 -2
  39. package/dist/chunks/{api-gk0yxcp6.js → server-info-n6ypjnhz.js} +1 -1
  40. package/dist/chunks/{api-z7gkfgax.js → server-info-p4zkxzv7.js} +1 -1
  41. package/dist/chunks/{api-41yet3w7.js → server-info-p9wp66hf.js} +1 -1
  42. package/dist/chunks/{api-1je14sn4.js → server-info-pv4dnzzq.js} +1 -1
  43. package/dist/chunks/{api-yet0vexm.js → server-info-qahj7606.js} +1 -1
  44. package/dist/chunks/{api-jfjg0q42.js → server-info-qy4aakr9.js} +3 -8
  45. package/dist/chunks/{api-9c4eyh8m.js → server-info-s8t5gq7c.js} +3 -3
  46. package/dist/chunks/{api-t32e1bbt.js → server-info-t32e1bbt.js} +1 -1
  47. package/dist/chunks/{api-w5yp0ga8.js → server-info-t62b1gmw.js} +2 -2
  48. package/dist/chunks/{api-yr4wsvrw.js → server-info-t8azv5ge.js} +2 -2
  49. package/dist/chunks/{api-wxj3d9av.js → server-info-v0z8pce5.js} +3 -6
  50. package/dist/chunks/{api-34xzc0ha.js → server-info-w0qzmhfg.js} +4 -4
  51. package/dist/chunks/{api-fvpjvjpp.js → server-info-wecgp61r.js} +7 -7
  52. package/dist/chunks/{api-h072q2hm.js → server-info-wh07bcjv.js} +1 -1
  53. package/dist/chunks/{api-296sv0gc.js → server-info-x0gby756.js} +4 -4
  54. package/dist/chunks/{api-48ba7vwf.js → server-info-xfbejptx.js} +5 -5
  55. package/dist/chunks/{api-m5rae7m4.js → server-info-zrptb2x8.js} +2 -2
  56. package/dist/content-headers.js +1 -1
  57. package/dist/cors.js +1 -1
  58. package/dist/event-feed.js +5 -5
  59. package/dist/fetch.js +59 -59
  60. package/dist/handlers/agent.js +6 -6
  61. package/dist/handlers/artifact.js +3 -3
  62. package/dist/handlers/automation.js +2 -2
  63. package/dist/handlers/blob.js +3 -3
  64. package/dist/handlers/command.js +6 -6
  65. package/dist/handlers/config.js +6 -6
  66. package/dist/handlers/credential.js +7 -7
  67. package/dist/handlers/debug.js +6 -6
  68. package/dist/handlers/event.js +7 -7
  69. package/dist/handlers/form.js +6 -6
  70. package/dist/handlers/fs.js +8 -8
  71. package/dist/handlers/generate.js +6 -6
  72. package/dist/handlers/integration.js +6 -6
  73. package/dist/handlers/job.js +2 -2
  74. package/dist/handlers/location.js +6 -6
  75. package/dist/handlers/mcp.js +8 -8
  76. package/dist/handlers/media.js +2 -2
  77. package/dist/handlers/message.js +7 -7
  78. package/dist/handlers/migration.js +6 -6
  79. package/dist/handlers/model.js +6 -6
  80. package/dist/handlers/permission.js +6 -6
  81. package/dist/handlers/persistent-pty.js +15 -15
  82. package/dist/handlers/plugin.js +6 -6
  83. package/dist/handlers/project.js +6 -6
  84. package/dist/handlers/provider.js +6 -6
  85. package/dist/handlers/pty-socket.js +1 -1
  86. package/dist/handlers/pty.js +8 -8
  87. package/dist/handlers/reference.js +6 -6
  88. package/dist/handlers/rpc.js +6 -6
  89. package/dist/handlers/server.js +9 -9
  90. package/dist/handlers/session-error.js +1 -1
  91. package/dist/handlers/session.js +7 -7
  92. package/dist/handlers/shell.js +6 -6
  93. package/dist/handlers/skill.js +6 -6
  94. package/dist/handlers/usage.js +6 -6
  95. package/dist/handlers/vcs.js +6 -6
  96. package/dist/handlers/voice.js +6 -6
  97. package/dist/handlers/websearch.js +6 -6
  98. package/dist/handlers/worktree.js +6 -6
  99. package/dist/handlers.js +52 -52
  100. package/dist/location.d.ts +1 -3
  101. package/dist/location.js +2 -4
  102. package/dist/media-uri.js +1 -1
  103. package/dist/middleware/authorization.js +2 -2
  104. package/dist/middleware/defect-response.js +1 -1
  105. package/dist/middleware/form-location.js +3 -3
  106. package/dist/middleware/schema-error.js +1 -1
  107. package/dist/middleware/session-location.js +3 -3
  108. package/dist/pairing.js +3 -3
  109. package/dist/process.js +60 -60
  110. package/dist/range.js +1 -1
  111. package/dist/request-site.js +2 -2
  112. package/dist/request-tracing.js +1 -1
  113. package/dist/routes.js +56 -56
  114. package/dist/server-info.js +3 -3
  115. package/dist/service-status.js +1 -1
  116. package/dist/workerd.js +60 -60
  117. package/package.json +8 -8
  118. /package/dist/chunks/{api-9rqn6x4v.js → server-info-9rqn6x4v.js} +0 -0
  119. /package/dist/chunks/{api-bd8755ek.js → server-info-bd8755ek.js} +0 -0
  120. /package/dist/chunks/{api-n26yr6pw.js → server-info-n26yr6pw.js} +0 -0
  121. /package/dist/chunks/{api-q187pxxd.js → server-info-q187pxxd.js} +0 -0
  122. /package/dist/chunks/{api-q4bn6dy8.js → server-info-q4bn6dy8.js} +0 -0
  123. /package/dist/chunks/{api-smaf4a18.js → server-info-smaf4a18.js} +0 -0
  124. /package/dist/chunks/{api-xthc02cw.js → server-info-xthc02cw.js} +0 -0
  125. /package/dist/chunks/{api-yc7nft6q.js → server-info-yc7nft6q.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./api-9c4eyh8m.js";
3
+ } from "./server-info-s8t5gq7c.js";
4
4
 
5
5
  // src/handlers/config.ts
6
6
  import { Config } from "@opencode/core/config";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  missingSession2,
3
3
  failedMessageDecode2
4
- } from "./api-smaf4a18.js";
4
+ } from "./server-info-smaf4a18.js";
5
5
  import {
6
6
  Api2
7
- } from "./api-9c4eyh8m.js";
7
+ } from "./server-info-s8t5gq7c.js";
8
8
  import {
9
9
  wantsMediaRefs2
10
- } from "./api-xthc02cw.js";
10
+ } from "./server-info-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
  __export
3
- } from "./api-9rqn6x4v.js";
3
+ } from "./server-info-9rqn6x4v.js";
4
4
 
5
5
  // src/auth.ts
6
6
  var exports_auth = {};
@@ -1,15 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./api-smaf4a18.js";
3
+ } from "./server-info-smaf4a18.js";
4
4
 
5
5
  // src/location.ts
6
6
  import { FileSystem } from "@opencode/core/filesystem";
7
7
  import { Location } from "@opencode/core/location";
8
- import { Plugin } from "@opencode/core/plugin";
9
8
  import { LocationServiceMap } from "@opencode/core/location-services";
10
9
  import { AbsolutePath } from "@opencode/core/schema";
11
10
  import { Session } from "@opencode/core/session";
12
- import { LocationNotFoundError, InvalidRequestError, ServiceUnavailableError } from "@opencode/protocol/errors";
11
+ import { LocationNotFoundError, InvalidRequestError } from "@opencode/protocol/errors";
13
12
  import { Effect, Layer, Schema } from "effect";
14
13
  import { HttpServerRequest } from "effect/http";
15
14
  import { HttpApiMiddleware } from "effect/http-api";
@@ -21,13 +20,6 @@ function locationErrors2(effect) {
21
20
  message: `Location not found: ${error.directory}`
22
21
  }))));
23
22
  }
24
- var awaitPlugins2 = Plugin.awaitActivation.pipe(Effect.timeoutOrElse({
25
- duration: "5 seconds",
26
- orElse: () => Effect.fail(new ServiceUnavailableError({
27
- message: "Location plugins did not finish activating",
28
- service: "plugin"
29
- }))
30
- }));
31
23
  function response2(data) {
32
24
  return Effect.gen(function* () {
33
25
  const location = yield* Location.Service;
@@ -67,4 +59,4 @@ var layer3 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
67
59
  }));
68
60
  }));
69
61
 
70
- export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2, layer3 };
62
+ export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2, layer3 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Api2
3
- } from "./api-9c4eyh8m.js";
3
+ } from "./server-info-s8t5gq7c.js";
4
4
  import {
5
5
  CorsConfig2,
6
6
  isAllowedRequestOrigin2
7
- } from "./api-q4bn6dy8.js";
7
+ } from "./server-info-q4bn6dy8.js";
8
8
  import {
9
9
  makeArtifact2
10
- } from "./api-w5yp0ga8.js";
10
+ } from "./server-info-t62b1gmw.js";
11
11
  import {
12
12
  makeBlobGet2
13
- } from "./api-50kbksvb.js";
13
+ } from "./server-info-50kbksvb.js";
14
14
  import {
15
15
  makeAutomation2
16
- } from "./api-9cd3a4b8.js";
16
+ } from "./server-info-9cd3a4b8.js";
17
17
  import {
18
18
  makeJob2
19
- } from "./api-78rcgzsr.js";
19
+ } from "./server-info-78rcgzsr.js";
20
20
  import {
21
21
  makeMediaGet2
22
- } from "./api-djr0jy89.js";
22
+ } from "./server-info-djr0jy89.js";
23
23
  import {
24
24
  runPtySocket2
25
- } from "./api-q187pxxd.js";
25
+ } from "./server-info-q187pxxd.js";
26
26
 
27
27
  // src/handlers/persistent-pty.ts
28
28
  import { PersistentPty } from "@opencode/core/persistent-pty";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./api-gqq6kfhc.js";
3
+ } from "./server-info-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./api-9c4eyh8m.js";
6
+ } from "./server-info-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/agent.ts
9
9
  import { Agent } from "@opencode/core/agent";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./api-9rqn6x4v.js";
3
+ } from "./server-info-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
- Service: () => Service4,
9
+ Service: () => Service2,
10
10
  node: () => node2
11
11
  });
12
12
  import { Cache, Context, Duration, Effect, Layer } from "effect";
@@ -14,12 +14,12 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
  import { randomBytes } from "node:crypto";
15
15
  var TTL = Duration.minutes(5);
16
16
 
17
- class Service4 extends Context.Service()("@opencode/ServerPairing") {
17
+ class Service2 extends Context.Service()("@opencode/ServerPairing") {
18
18
  }
19
19
  var noLookup = () => Effect.die(new Error("ServerPairing cache must be used via set/invalidateWhen, never get"));
20
- var layer = Layer.effect(Service4, Effect.gen(function* () {
20
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
21
21
  const cache = yield* Cache.make({ capacity: 1000, lookup: noLookup, timeToLive: TTL });
22
- return Service4.of({
22
+ return Service2.of({
23
23
  issue: Effect.fn("ServerPairing.issue")(function* () {
24
24
  const code = randomBytes(16).toString("base64url");
25
25
  yield* Cache.set(cache, code, true);
@@ -30,6 +30,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
30
30
  })
31
31
  });
32
32
  }));
33
- var node2 = makeGlobalNode({ service: Service4, layer, deps: [] });
33
+ var node2 = makeGlobalNode({ service: Service2, layer, deps: [] });
34
34
 
35
- export { Service4, node2, exports_pairing };
35
+ export { Service2, node2, exports_pairing };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  isAllowedRequestOrigin2
3
- } from "./api-q4bn6dy8.js";
3
+ } from "./server-info-q4bn6dy8.js";
4
4
  import {
5
5
  __export
6
- } from "./api-9rqn6x4v.js";
6
+ } from "./server-info-9rqn6x4v.js";
7
7
 
8
8
  // src/request-site.ts
9
9
  var exports_request_site = {};
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./api-gqq6kfhc.js";
5
+ } from "./server-info-j80tzjj3.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 "./api-9c4eyh8m.js";
3
+ } from "./server-info-s8t5gq7c.js";
4
4
 
5
5
  // src/handlers/rpc.ts
6
6
  import { Rpc } from "@opencode/core/rpc";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./api-9c4eyh8m.js";
3
+ } from "./server-info-s8t5gq7c.js";
4
4
 
5
5
  // src/handlers/worktree.ts
6
6
  import { Git } from "@opencode/core/git";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./api-9c4eyh8m.js";
3
+ } from "./server-info-s8t5gq7c.js";
4
4
 
5
5
  // src/handlers/migration.ts
6
6
  import { V1Migration } from "@opencode/core/database/v1-migration";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  sessionInfo2
4
- } from "./api-gqq6kfhc.js";
4
+ } from "./server-info-j80tzjj3.js";
5
5
 
6
6
  // src/middleware/session-location.ts
7
7
  import { Instance } from "@opencode/core/instance/service";
@@ -1,10 +1,9 @@
1
1
  import {
2
- locationErrors2,
3
- awaitPlugins2
4
- } from "./api-gqq6kfhc.js";
2
+ locationErrors2
3
+ } from "./server-info-j80tzjj3.js";
5
4
  import {
6
5
  Api2
7
- } from "./api-9c4eyh8m.js";
6
+ } from "./server-info-s8t5gq7c.js";
8
7
 
9
8
  // src/handlers/generate.ts
10
9
  import { Flag } from "@opencode/core/flag";
@@ -31,12 +30,10 @@ var GenerateHandler2 = HttpApiBuilder.group(Api2, "server.generate", (handlers)
31
30
  const videos = yield* VideoGeneration.Service;
32
31
  const services = locations.get(Location.Ref.make({ directory: AbsolutePath.make(global.config) }));
33
32
  const text = Effect.fn("server.generate.text")(function* (request) {
34
- yield* awaitPlugins2;
35
33
  const generate = yield* Generate.Service;
36
34
  return { data: { text: yield* generate.text(request.payload).pipe(Effect.mapError(generateError)) } };
37
35
  }, Effect.provide(services), locationErrors2);
38
36
  const image = Effect.fn("server.generate.image")(function* (request) {
39
- yield* awaitPlugins2;
40
37
  const generate = yield* Generate.Service;
41
38
  return { data: yield* generate.image(request.payload).pipe(Effect.mapError(generateError)) };
42
39
  }, Effect.provide(services), locationErrors2);
@@ -47,7 +44,6 @@ var GenerateHandler2 = HttpApiBuilder.group(Api2, "server.generate", (handlers)
47
44
  message: "Decision question names must be unique",
48
45
  field: "questions"
49
46
  });
50
- yield* awaitPlugins2;
51
47
  const generate = yield* Generate.Service;
52
48
  return { data: yield* generate.decisions(request.payload).pipe(Effect.mapError(generateError)) };
53
49
  }, Effect.provide(services), locationErrors2);
@@ -58,7 +54,6 @@ var GenerateHandler2 = HttpApiBuilder.group(Api2, "server.generate", (handlers)
58
54
  });
59
55
  const videoCreate = Effect.fn("server.generate.video.create")(function* (request) {
60
56
  yield* videoEnabled;
61
- yield* awaitPlugins2;
62
57
  return { data: yield* videos.start(request.payload).pipe(Effect.mapError(generateError)) };
63
58
  }, Effect.provide(services), locationErrors2);
64
59
  const videoGet = Effect.fn("server.generate.video.get")(function* (request) {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./api-gqq6kfhc.js";
3
+ } from "./server-info-j80tzjj3.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./api-gk0yxcp6.js";
6
+ } from "./server-info-n6ypjnhz.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./api-yet0vexm.js";
9
+ } from "./server-info-qahj7606.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
  __export
3
- } from "./api-9rqn6x4v.js";
3
+ } from "./server-info-9rqn6x4v.js";
4
4
 
5
5
  // src/content-headers.ts
6
6
  var exports_content_headers = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./api-smaf4a18.js";
3
+ } from "./server-info-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  requestRef2
8
- } from "./api-gqq6kfhc.js";
8
+ } from "./server-info-j80tzjj3.js";
9
9
 
10
10
  // src/handlers/artifact.ts
11
11
  import { Artifact } from "@opencode/core/artifact";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./api-gqq6kfhc.js";
3
+ } from "./server-info-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./api-9c4eyh8m.js";
6
+ } from "./server-info-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/reference.ts
9
9
  import { Reference } from "@opencode/core/reference";
@@ -1,10 +1,9 @@
1
1
  import {
2
- locationErrors2,
3
- awaitPlugins2
4
- } from "./api-gqq6kfhc.js";
2
+ locationErrors2
3
+ } from "./server-info-j80tzjj3.js";
5
4
  import {
6
5
  Api2
7
- } from "./api-9c4eyh8m.js";
6
+ } from "./server-info-s8t5gq7c.js";
8
7
 
9
8
  // src/handlers/voice.ts
10
9
  import { Location } from "@opencode/core/location";
@@ -20,11 +19,9 @@ var VoiceHandler2 = HttpApiBuilder.group(Api2, "server.voice", (handlers) => Eff
20
19
  const locations = yield* LocationServiceMap.Service;
21
20
  const services = locations.get(Location.Ref.make({ directory: AbsolutePath.make(global.config) }));
22
21
  return handlers.handle("voice.models", Effect.fn("server.voice.models")(function* () {
23
- yield* awaitPlugins2;
24
22
  const voice = yield* Voice.Service;
25
23
  return { data: yield* voice.models() };
26
24
  }, Effect.provide(services), locationErrors2)).handle("voice.session", Effect.fn("server.voice.session")(function* (request) {
27
- yield* awaitPlugins2;
28
25
  const voice = yield* Voice.Service;
29
26
  const transport = yield* voice.session(request.payload).pipe(Effect.mapError((error) => error._tag === "Voice.InvalidRequestError" ? new InvalidRequestError({ message: error.message }) : new ServiceUnavailableError({ message: error.message, service: error.service })));
30
27
  return { data: { transport } };
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./api-gqq6kfhc.js";
5
+ } from "./server-info-j80tzjj3.js";
6
6
  import {
7
7
  Api2
8
- } from "./api-9c4eyh8m.js";
8
+ } from "./server-info-s8t5gq7c.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./api-q4bn6dy8.js";
12
+ } from "./server-info-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./api-q187pxxd.js";
16
+ } from "./server-info-q187pxxd.js";
17
17
 
18
18
  // src/handlers/mcp.ts
19
19
  import { Location } from "@opencode/core/location";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./api-9rqn6x4v.js";
3
+ } from "./server-info-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: () => Service2,
10
+ Service: () => Service4,
11
11
  SubscriberCapacity: () => SubscriberCapacity2,
12
12
  SubscriberOverflowError: () => SubscriberOverflowError2,
13
13
  frame: () => frame2,
14
- layer: () => layer2,
14
+ layer: () => layer4,
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 Service2 extends Context.Service()("@opencode/server/EventFeed") {
33
+ class Service4 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 Service2.of({
75
+ return Service4.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 layer2 = Layer.effect(Service2, Effect.gen(function* () {
79
+ var layer4 = Layer.effect(Service4, 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, Service2, frame2, make4, layer2, exports_event_feed };
84
+ export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service4, frame2, make4, layer4, exports_event_feed };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./api-9c4eyh8m.js";
3
+ } from "./server-info-s8t5gq7c.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  response2
3
- } from "./api-gqq6kfhc.js";
3
+ } from "./server-info-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./api-9c4eyh8m.js";
6
+ } from "./server-info-s8t5gq7c.js";
7
7
  import {
8
8
  download2
9
- } from "./api-t32e1bbt.js";
9
+ } from "./server-info-t32e1bbt.js";
10
10
  import {
11
11
  parse2
12
- } from "./api-8sb6qqpn.js";
12
+ } from "./server-info-8sb6qqpn.js";
13
13
 
14
14
  // src/handlers/fs.ts
15
15
  import { FileSystem } from "@opencode/core/filesystem";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  isAllowedCorsOrigin2
3
- } from "./api-q4bn6dy8.js";
3
+ } from "./server-info-q4bn6dy8.js";
4
4
  import {
5
5
  middleware2
6
- } from "./api-myqk22k5.js";
6
+ } from "./server-info-myqk22k5.js";
7
7
  import {
8
8
  withoutParentSpan2
9
- } from "./api-yc7nft6q.js";
9
+ } from "./server-info-yc7nft6q.js";
10
10
  import {
11
11
  createRoutes2
12
- } from "./api-3z6z4adb.js";
12
+ } from "./server-info-58twjv3r.js";
13
13
  import {
14
14
  __export
15
- } from "./api-9rqn6x4v.js";
15
+ } from "./server-info-9rqn6x4v.js";
16
16
 
17
17
  // src/fetch.ts
18
18
  var exports_fetch = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./api-gqq6kfhc.js";
3
+ } from "./server-info-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./api-9c4eyh8m.js";
6
+ } from "./server-info-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/form.ts
9
9
  import { Form } from "@opencode/core/form";
@@ -3,7 +3,7 @@ import {
3
3
  download2,
4
4
  disposition2,
5
5
  exports_content_headers
6
- } from "./chunks/api-t32e1bbt.js";
6
+ } from "./chunks/server-info-t32e1bbt.js";
7
7
  export {
8
8
  CONTENT_SECURITY_POLICY2 as CONTENT_SECURITY_POLICY,
9
9
  exports_content_headers as ContentHeaders,
package/dist/cors.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  CorsConfig2,
3
3
  isAllowedCorsOrigin2,
4
4
  isAllowedRequestOrigin2
5
- } from "./chunks/api-q4bn6dy8.js";
5
+ } from "./chunks/server-info-q4bn6dy8.js";
6
6
  export {
7
7
  CorsConfig2 as CorsConfig,
8
8
  isAllowedCorsOrigin2 as isAllowedCorsOrigin,
@@ -2,19 +2,19 @@ import {
2
2
  SubscriberCapacity2,
3
3
  SubscriberOverflowError2,
4
4
  EncodingError2,
5
- Service2,
5
+ Service4,
6
6
  frame2,
7
7
  make4,
8
- layer2,
8
+ layer4,
9
9
  exports_event_feed
10
- } from "./chunks/api-fvpjvjpp.js";
10
+ } from "./chunks/server-info-wecgp61r.js";
11
11
  export {
12
12
  EncodingError2 as EncodingError,
13
13
  exports_event_feed as EventFeed,
14
- Service2 as Service,
14
+ Service4 as Service,
15
15
  SubscriberCapacity2 as SubscriberCapacity,
16
16
  SubscriberOverflowError2 as SubscriberOverflowError,
17
17
  frame2 as frame,
18
- layer2 as layer,
18
+ layer4 as layer,
19
19
  make4 as make
20
20
  };