@opencode/server 0.0.0-dev-1032 → 0.0.0-dev-1035

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 (118) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{routes-059rbh9c.js → fetch-059rbh9c.js} +1 -1
  4. package/dist/chunks/{routes-p83m65n5.js → fetch-065pppgn.js} +2 -2
  5. package/dist/chunks/{routes-4zkx9wb3.js → fetch-0tp9bckc.js} +1 -1
  6. package/dist/chunks/{routes-5jm9kajg.js → fetch-27f8nny0.js} +2 -2
  7. package/dist/chunks/{routes-hk9crnsa.js → fetch-2b13xzyt.js} +2 -2
  8. package/dist/chunks/{routes-yty6dk04.js → fetch-2q06e3dd.js} +1 -1
  9. package/dist/chunks/{routes-19v80edx.js → fetch-316w8ap0.js} +2 -2
  10. package/dist/chunks/{routes-2rb1ee6g.js → fetch-3svx81fb.js} +3 -3
  11. package/dist/chunks/{routes-y60jfeab.js → fetch-500wz90y.js} +2 -2
  12. package/dist/chunks/{routes-snymtg2z.js → fetch-64hg0krh.js} +3 -3
  13. package/dist/chunks/{routes-gq4jwh93.js → fetch-669rq3zn.js} +3 -3
  14. package/dist/chunks/{routes-yx2bnf2t.js → fetch-6zq6kf53.js} +4 -4
  15. package/dist/chunks/{routes-78rcgzsr.js → fetch-78rcgzsr.js} +1 -1
  16. package/dist/chunks/{routes-7b9xm1qg.js → fetch-7b9xm1qg.js} +1 -1
  17. package/dist/chunks/{routes-7qpea5x7.js → fetch-7qpea5x7.js} +2 -2
  18. package/dist/chunks/{routes-zjmacp9c.js → fetch-8pn9ceqg.js} +3 -3
  19. package/dist/chunks/{routes-e6fa1pnt.js → fetch-9epy4pks.js} +4 -4
  20. package/dist/chunks/{routes-1r438we2.js → fetch-a8cqszfj.js} +6 -6
  21. package/dist/chunks/{routes-ah2sj2pr.js → fetch-ah2sj2pr.js} +1 -1
  22. package/dist/chunks/{routes-100nc7c0.js → fetch-ahhjt1wh.js} +2 -2
  23. package/dist/chunks/{routes-jmmhprac.js → fetch-c0pd5awd.js} +2 -2
  24. package/dist/chunks/{routes-2cm4dfcc.js → fetch-cx7az6y7.js} +2 -2
  25. package/dist/chunks/{routes-djr0jy89.js → fetch-djr0jy89.js} +1 -1
  26. package/dist/chunks/{routes-e6e4kz0w.js → fetch-e6e4kz0w.js} +1 -1
  27. package/dist/chunks/{routes-8ja97vv6.js → fetch-fhb2ewd9.js} +2 -2
  28. package/dist/chunks/{routes-7jm4dc4a.js → fetch-fn0396kj.js} +4 -4
  29. package/dist/chunks/{routes-2dzr03as.js → fetch-ghcy4ddk.js} +1 -1
  30. package/dist/chunks/{routes-9axn4s7f.js → fetch-hkn0zs69.js} +2 -2
  31. package/dist/chunks/{routes-myqk22k5.js → fetch-hmwn16zp.js} +2 -2
  32. package/dist/chunks/{routes-j4at0y5c.js → fetch-j4at0y5c.js} +1 -1
  33. package/dist/chunks/{routes-d20xfnpc.js → fetch-j9bm09j4.js} +1 -1
  34. package/dist/chunks/{routes-pbrvvrgv.js → fetch-jt77eddp.js} +11 -11
  35. package/dist/chunks/{routes-rp14ddm6.js → fetch-jtpns9d6.js} +5 -5
  36. package/dist/chunks/{routes-rmfb1myj.js → fetch-k3qt4jsw.js} +1 -1
  37. package/dist/chunks/{routes-jr92t6gd.js → fetch-mevm0qpj.js} +4 -4
  38. package/dist/chunks/{routes-ykk3p1r3.js → fetch-n7n1k6t0.js} +2 -2
  39. package/dist/chunks/{routes-4fc68szf.js → fetch-nezkqcz0.js} +2 -2
  40. package/dist/chunks/{routes-az0rwvkq.js → fetch-rhaywv6h.js} +33 -33
  41. package/dist/chunks/{routes-r40v995e.js → fetch-ryf8gt7t.js} +2 -2
  42. package/dist/chunks/{routes-qfyg9gb7.js → fetch-s802fzg1.js} +6 -6
  43. package/dist/chunks/{routes-t32e1bbt.js → fetch-t32e1bbt.js} +1 -1
  44. package/dist/chunks/{routes-vw0q3knq.js → fetch-vw0q3knq.js} +1 -1
  45. package/dist/chunks/{routes-mzs0n5xz.js → fetch-w9jcwh65.js} +7 -7
  46. package/dist/chunks/{routes-prn0chz2.js → fetch-wtrkk6n8.js} +1 -1
  47. package/dist/chunks/{routes-801prsqk.js → fetch-xhsknm82.js} +2 -2
  48. package/dist/chunks/{routes-s3zgwc17.js → fetch-xygx09yd.js} +2 -2
  49. package/dist/chunks/{routes-0w1j27g2.js → fetch-ya5jkc3y.js} +7 -7
  50. package/dist/chunks/{routes-wka57cdm.js → fetch-yr4jk19s.js} +2 -2
  51. package/dist/chunks/{routes-ywn523ee.js → fetch-ywn523ee.js} +1 -1
  52. package/dist/chunks/{routes-w3xmknp7.js → fetch-z030czn6.js} +2 -2
  53. package/dist/chunks/{routes-z3e7v67k.js → fetch-z3e7v67k.js} +1 -1
  54. package/dist/content-headers.js +1 -1
  55. package/dist/cors.js +1 -1
  56. package/dist/event-feed.js +3 -3
  57. package/dist/fetch.js +56 -56
  58. package/dist/handlers/agent.js +6 -6
  59. package/dist/handlers/artifact.js +3 -3
  60. package/dist/handlers/command.js +6 -6
  61. package/dist/handlers/config.js +6 -6
  62. package/dist/handlers/credential.js +7 -7
  63. package/dist/handlers/debug.js +6 -6
  64. package/dist/handlers/event.js +7 -7
  65. package/dist/handlers/form.js +6 -6
  66. package/dist/handlers/fs.js +7 -7
  67. package/dist/handlers/generate.js +6 -6
  68. package/dist/handlers/integration.js +6 -6
  69. package/dist/handlers/job.js +2 -2
  70. package/dist/handlers/location.js +6 -6
  71. package/dist/handlers/mcp.js +8 -8
  72. package/dist/handlers/media.js +2 -2
  73. package/dist/handlers/message.js +7 -7
  74. package/dist/handlers/migration.js +6 -6
  75. package/dist/handlers/model.js +6 -6
  76. package/dist/handlers/permission.js +6 -6
  77. package/dist/handlers/persistent-pty.js +13 -13
  78. package/dist/handlers/plugin.js +6 -6
  79. package/dist/handlers/project.js +6 -6
  80. package/dist/handlers/provider.js +6 -6
  81. package/dist/handlers/pty-socket.js +1 -1
  82. package/dist/handlers/pty.js +8 -8
  83. package/dist/handlers/reference.js +6 -6
  84. package/dist/handlers/rpc.js +6 -6
  85. package/dist/handlers/schedule.js +2 -2
  86. package/dist/handlers/server.js +9 -9
  87. package/dist/handlers/session-error.js +1 -1
  88. package/dist/handlers/session.js +7 -7
  89. package/dist/handlers/shell.js +6 -6
  90. package/dist/handlers/skill.js +6 -6
  91. package/dist/handlers/usage.js +6 -6
  92. package/dist/handlers/vcs.js +6 -6
  93. package/dist/handlers/voice.js +6 -6
  94. package/dist/handlers/websearch.js +6 -6
  95. package/dist/handlers/worktree.js +6 -6
  96. package/dist/handlers.js +50 -50
  97. package/dist/location.js +2 -2
  98. package/dist/media-uri.js +1 -1
  99. package/dist/middleware/authorization.js +2 -2
  100. package/dist/middleware/form-location.js +3 -3
  101. package/dist/middleware/schema-error.js +1 -1
  102. package/dist/middleware/session-location.js +3 -3
  103. package/dist/pairing.js +3 -3
  104. package/dist/process.js +57 -57
  105. package/dist/request-site.js +2 -2
  106. package/dist/request-tracing.js +1 -1
  107. package/dist/routes.js +53 -53
  108. package/dist/server-info.js +1 -1
  109. package/dist/service-status.js +1 -1
  110. package/dist/workerd.js +57 -57
  111. package/package.json +8 -8
  112. /package/dist/chunks/{routes-9rqn6x4v.js → fetch-9rqn6x4v.js} +0 -0
  113. /package/dist/chunks/{routes-bd8755ek.js → fetch-bd8755ek.js} +0 -0
  114. /package/dist/chunks/{routes-q187pxxd.js → fetch-q187pxxd.js} +0 -0
  115. /package/dist/chunks/{routes-q4bn6dy8.js → fetch-q4bn6dy8.js} +0 -0
  116. /package/dist/chunks/{routes-smaf4a18.js → fetch-smaf4a18.js} +0 -0
  117. /package/dist/chunks/{routes-xthc02cw.js → fetch-xthc02cw.js} +0 -0
  118. /package/dist/chunks/{routes-yc7nft6q.js → fetch-yc7nft6q.js} +0 -0
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/routes-zjmacp9c.js";
4
- import"./chunks/routes-vw0q3knq.js";
5
- import"./chunks/routes-ah2sj2pr.js";
6
- import"./chunks/routes-ywn523ee.js";
7
- import"./chunks/routes-smaf4a18.js";
3
+ } from "./chunks/fetch-8pn9ceqg.js";
4
+ import"./chunks/fetch-ah2sj2pr.js";
5
+ import"./chunks/fetch-vw0q3knq.js";
6
+ import"./chunks/fetch-ywn523ee.js";
7
+ import"./chunks/fetch-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/routes-j4at0y5c.js";
10
+ } from "./chunks/fetch-j4at0y5c.js";
11
11
  export {
12
12
  Config2 as Config,
13
13
  SESSION_TTL_SECONDS2 as SESSION_TTL_SECONDS,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./routes-smaf4a18.js";
3
+ } from "./fetch-smaf4a18.js";
4
4
 
5
5
  // src/handlers/schedule.ts
6
6
  import { Permission } from "@opencode/core/permission";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  Api2
6
- } from "./routes-zjmacp9c.js";
6
+ } from "./fetch-8pn9ceqg.js";
7
7
 
8
8
  // src/handlers/provider.ts
9
9
  import { Provider } from "@opencode/core/provider";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./routes-zjmacp9c.js";
3
+ } from "./fetch-8pn9ceqg.js";
4
4
 
5
5
  // src/handlers/project.ts
6
6
  import { Project } from "@opencode/core/project";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  Api2
6
- } from "./routes-zjmacp9c.js";
6
+ } from "./fetch-8pn9ceqg.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 "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  Api2
6
- } from "./routes-zjmacp9c.js";
6
+ } from "./fetch-8pn9ceqg.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 "./routes-zjmacp9c.js";
3
+ } from "./fetch-8pn9ceqg.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
  Api2
3
- } from "./routes-zjmacp9c.js";
3
+ } from "./fetch-8pn9ceqg.js";
4
4
  import {
5
5
  requireConnectable2
6
- } from "./routes-hk9crnsa.js";
6
+ } from "./fetch-2b13xzyt.js";
7
7
 
8
8
  // src/handlers/credential.ts
9
9
  import { Credential } from "@opencode/core/credential";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  missingSession2,
3
3
  failedMessageDecode2
4
- } from "./routes-smaf4a18.js";
4
+ } from "./fetch-smaf4a18.js";
5
5
  import {
6
6
  Api2
7
- } from "./routes-zjmacp9c.js";
7
+ } from "./fetch-8pn9ceqg.js";
8
8
  import {
9
9
  wantsMediaRefs2
10
- } from "./routes-xthc02cw.js";
10
+ } from "./fetch-xthc02cw.js";
11
11
 
12
12
  // src/handlers/message.ts
13
13
  import { SessionMessage } from "@opencode/core/session/message";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  requestRef2
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  Api2
6
- } from "./routes-zjmacp9c.js";
6
+ } from "./fetch-8pn9ceqg.js";
7
7
 
8
8
  // src/handlers/debug.ts
9
9
  import { LocationServiceMap } from "@opencode/core/location-service-map";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  response2
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  Api2
6
- } from "./routes-zjmacp9c.js";
6
+ } from "./fetch-8pn9ceqg.js";
7
7
  import {
8
8
  download2
9
- } from "./routes-t32e1bbt.js";
9
+ } from "./fetch-t32e1bbt.js";
10
10
 
11
11
  // src/handlers/fs.ts
12
12
  import { FileSystem } from "@opencode/core/filesystem";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./routes-smaf4a18.js";
3
+ } from "./fetch-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./routes-ywn523ee.js";
8
+ } from "./fetch-ywn523ee.js";
9
9
  import {
10
10
  Api2
11
- } from "./routes-zjmacp9c.js";
11
+ } from "./fetch-8pn9ceqg.js";
12
12
 
13
13
  // src/handlers/permission.ts
14
14
  import { Instance } from "@opencode/core/instance/service";
@@ -3,16 +3,16 @@ import {
3
3
  missingMessage2,
4
4
  failedMessageDecode2,
5
5
  failedSnapshot2
6
- } from "./routes-smaf4a18.js";
6
+ } from "./fetch-smaf4a18.js";
7
7
  import {
8
8
  locationErrors2
9
- } from "./routes-ywn523ee.js";
9
+ } from "./fetch-ywn523ee.js";
10
10
  import {
11
11
  Api2
12
- } from "./routes-zjmacp9c.js";
12
+ } from "./fetch-8pn9ceqg.js";
13
13
  import {
14
14
  wantsMediaRefs2
15
- } from "./routes-xthc02cw.js";
15
+ } from "./fetch-xthc02cw.js";
16
16
 
17
17
  // src/handlers/session.ts
18
18
  import { Instance } from "@opencode/core/instance/service";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./routes-smaf4a18.js";
3
+ } from "./fetch-smaf4a18.js";
4
4
 
5
5
  // src/handlers/job.ts
6
6
  import { Job } from "@opencode/core/job";
@@ -4,7 +4,7 @@ import {
4
4
  authorized2,
5
5
  verifySession2,
6
6
  sessionCookieName2
7
- } from "./routes-j4at0y5c.js";
7
+ } from "./fetch-j4at0y5c.js";
8
8
 
9
9
  // src/middleware/authorization.ts
10
10
  import { UnauthorizedError } from "@opencode/protocol/errors";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./routes-smaf4a18.js";
3
+ } from "./fetch-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  requestRef2
8
- } from "./routes-ywn523ee.js";
8
+ } from "./fetch-ywn523ee.js";
9
9
 
10
10
  // src/handlers/artifact.ts
11
11
  import { Artifact } from "@opencode/core/artifact";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./routes-ah2sj2pr.js";
6
+ } from "./fetch-ah2sj2pr.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./routes-vw0q3knq.js";
9
+ } from "./fetch-vw0q3knq.js";
10
10
 
11
11
  // src/api.ts
12
12
  import { makeDefaultApi } from "@opencode/protocol/api";
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./routes-ywn523ee.js";
5
+ } from "./fetch-ywn523ee.js";
6
6
  import {
7
7
  Api2
8
- } from "./routes-zjmacp9c.js";
8
+ } from "./fetch-8pn9ceqg.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./routes-q4bn6dy8.js";
12
+ } from "./fetch-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./routes-q187pxxd.js";
16
+ } from "./fetch-q187pxxd.js";
17
17
 
18
18
  // src/handlers/mcp.ts
19
19
  import { Location } from "@opencode/core/location";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Api2
3
- } from "./routes-zjmacp9c.js";
3
+ } from "./fetch-8pn9ceqg.js";
4
4
  import {
5
5
  SESSION_TTL_SECONDS2,
6
6
  Config2,
7
7
  issueSession2,
8
8
  sessionCookieName2
9
- } from "./routes-j4at0y5c.js";
9
+ } from "./fetch-j4at0y5c.js";
10
10
  import {
11
11
  Service2
12
- } from "./routes-z3e7v67k.js";
12
+ } from "./fetch-z3e7v67k.js";
13
13
  import {
14
- Service4
15
- } from "./routes-mzs0n5xz.js";
14
+ Service3
15
+ } from "./fetch-w9jcwh65.js";
16
16
 
17
17
  // src/handlers/server.ts
18
18
  import { hostname } from "node:os";
@@ -22,7 +22,7 @@ import { HttpApiBuilder } from "effect/http-api";
22
22
  import { PersistentPty } from "@opencode/core/persistent-pty";
23
23
  import { UnauthorizedError } from "@opencode/protocol/errors";
24
24
  var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => Effect.gen(function* () {
25
- const pairing = yield* Service4;
25
+ const pairing = yield* Service3;
26
26
  const auth = yield* Config2;
27
27
  return handlers.handle("server.info", () => Effect.gen(function* () {
28
28
  const info = yield* Service2;
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./routes-ywn523ee.js";
5
+ } from "./fetch-ywn523ee.js";
6
6
 
7
7
  // src/middleware/form-location.ts
8
8
  import { Instance } from "@opencode/core/instance/service";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  Api2
6
- } from "./routes-zjmacp9c.js";
6
+ } from "./fetch-8pn9ceqg.js";
7
7
 
8
8
  // src/handlers/model.ts
9
9
  import { Model } from "@opencode/core/model";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  Api2
6
- } from "./routes-zjmacp9c.js";
6
+ } from "./fetch-8pn9ceqg.js";
7
7
 
8
8
  // src/handlers/skill.ts
9
9
  import { Skill } from "@opencode/core/skill";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  Api2
6
- } from "./routes-zjmacp9c.js";
6
+ } from "./fetch-8pn9ceqg.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
  CONTENT_SECURITY_POLICY2,
3
3
  disposition2
4
- } from "./routes-t32e1bbt.js";
4
+ } from "./fetch-t32e1bbt.js";
5
5
 
6
6
  // src/handlers/media.ts
7
7
  import { Database } from "@opencode/core/database/database";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./routes-9rqn6x4v.js";
3
+ } from "./fetch-9rqn6x4v.js";
4
4
 
5
5
  // src/service-status.ts
6
6
  var exports_service_status = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  Api2
6
- } from "./routes-zjmacp9c.js";
6
+ } from "./fetch-8pn9ceqg.js";
7
7
 
8
8
  // src/handlers/websearch.ts
9
9
  import { WebSearch } from "@opencode/core/websearch";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./routes-zjmacp9c.js";
3
+ } from "./fetch-8pn9ceqg.js";
4
4
  import {
5
- Service3,
5
+ Service4,
6
6
  frame2
7
- } from "./routes-qfyg9gb7.js";
7
+ } from "./fetch-s802fzg1.js";
8
8
 
9
9
  // src/handlers/event.ts
10
10
  import { Event } from "@opencode/schema/event";
@@ -12,7 +12,7 @@ import { Effect, Stream } from "effect";
12
12
  import { HttpServerResponse } from "effect/http";
13
13
  import { HttpApiBuilder } from "effect/http-api";
14
14
  var EventHandler2 = HttpApiBuilder.group(Api2, "server.event", (handlers) => Effect.gen(function* () {
15
- const feed = yield* Service3;
15
+ const feed = yield* Service4;
16
16
  return handlers.handleRaw("event.subscribe", (ctx) => Effect.gen(function* () {
17
17
  const connected = {
18
18
  id: Event.ID.create(),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./routes-zjmacp9c.js";
3
+ } from "./fetch-8pn9ceqg.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
  locationErrors2
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  Api2
6
- } from "./routes-zjmacp9c.js";
6
+ } from "./fetch-8pn9ceqg.js";
7
7
 
8
8
  // src/handlers/generate.ts
9
9
  import { Generate } from "@opencode/core/generate";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  isAllowedRequestOrigin2
3
- } from "./routes-q4bn6dy8.js";
3
+ } from "./fetch-q4bn6dy8.js";
4
4
  import {
5
5
  __export
6
- } from "./routes-9rqn6x4v.js";
6
+ } from "./fetch-9rqn6x4v.js";
7
7
 
8
8
  // src/request-site.ts
9
9
  var exports_request_site = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./routes-9rqn6x4v.js";
3
+ } from "./fetch-9rqn6x4v.js";
4
4
 
5
5
  // src/auth.ts
6
6
  var exports_auth = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./routes-zjmacp9c.js";
3
+ } from "./fetch-8pn9ceqg.js";
4
4
 
5
5
  // src/handlers/config.ts
6
6
  import { Config } from "@opencode/core/config";
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  layer4
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./routes-ah2sj2pr.js";
6
+ } from "./fetch-ah2sj2pr.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./routes-vw0q3knq.js";
9
+ } from "./fetch-vw0q3knq.js";
10
10
  import {
11
11
  Api2
12
- } from "./routes-zjmacp9c.js";
12
+ } from "./fetch-8pn9ceqg.js";
13
13
  import {
14
14
  Config2
15
- } from "./routes-j4at0y5c.js";
15
+ } from "./fetch-j4at0y5c.js";
16
16
  import {
17
17
  CorsConfig2
18
- } from "./routes-q4bn6dy8.js";
18
+ } from "./fetch-q4bn6dy8.js";
19
19
  import {
20
20
  layer2
21
- } from "./routes-z3e7v67k.js";
21
+ } from "./fetch-z3e7v67k.js";
22
22
  import {
23
23
  node2
24
- } from "./routes-mzs0n5xz.js";
24
+ } from "./fetch-w9jcwh65.js";
25
25
  import {
26
26
  handlers2
27
- } from "./routes-az0rwvkq.js";
27
+ } from "./fetch-rhaywv6h.js";
28
28
  import {
29
29
  authorizationLayer2
30
- } from "./routes-7b9xm1qg.js";
30
+ } from "./fetch-7b9xm1qg.js";
31
31
  import {
32
32
  schemaErrorLayer2
33
- } from "./routes-bd8755ek.js";
33
+ } from "./fetch-bd8755ek.js";
34
34
 
35
35
  // src/routes.ts
36
36
  import { Database } from "@opencode/core/database/database";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  isAllowedCorsOrigin2
3
- } from "./routes-q4bn6dy8.js";
3
+ } from "./fetch-q4bn6dy8.js";
4
4
  import {
5
5
  middleware2
6
- } from "./routes-myqk22k5.js";
6
+ } from "./fetch-hmwn16zp.js";
7
7
  import {
8
8
  withoutParentSpan2
9
- } from "./routes-yc7nft6q.js";
9
+ } from "./fetch-yc7nft6q.js";
10
10
  import {
11
11
  createRoutes2
12
- } from "./routes-pbrvvrgv.js";
12
+ } from "./fetch-jt77eddp.js";
13
13
  import {
14
14
  __export
15
- } from "./routes-9rqn6x4v.js";
15
+ } from "./fetch-9rqn6x4v.js";
16
16
 
17
17
  // src/fetch.ts
18
18
  var exports_fetch = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./routes-zjmacp9c.js";
3
+ } from "./fetch-8pn9ceqg.js";
4
4
 
5
5
  // src/handlers/rpc.ts
6
6
  import { Rpc } from "@opencode/core/rpc";
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./routes-ywn523ee.js";
5
+ } from "./fetch-ywn523ee.js";
6
6
  import {
7
7
  Api2
8
- } from "./routes-zjmacp9c.js";
8
+ } from "./fetch-8pn9ceqg.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./routes-q4bn6dy8.js";
12
+ } from "./fetch-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./routes-q187pxxd.js";
16
+ } from "./fetch-q187pxxd.js";
17
17
 
18
18
  // src/handlers/pty.ts
19
19
  import { Pty } from "@opencode/core/pty";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  Api2
6
- } from "./routes-zjmacp9c.js";
6
+ } from "./fetch-8pn9ceqg.js";
7
7
 
8
8
  // src/handlers/usage.ts
9
9
  import { UsageLimits } from "@opencode/core/usage-limits";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./routes-ywn523ee.js";
3
+ } from "./fetch-ywn523ee.js";
4
4
  import {
5
5
  Api2
6
- } from "./routes-zjmacp9c.js";
6
+ } from "./fetch-8pn9ceqg.js";
7
7
 
8
8
  // src/handlers/agent.ts
9
9
  import { Agent } from "@opencode/core/agent";