@opencode/server 0.0.0-dev-1323 → 0.0.0-dev-1324

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 (124) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{options-r40v995e.js → routes-20wvj9q6.js} +2 -2
  4. package/dist/chunks/{options-39nnfjx1.js → routes-39nnfjx1.js} +1 -1
  5. package/dist/chunks/{options-jmmhprac.js → routes-4apj6a8e.js} +2 -2
  6. package/dist/chunks/{options-nva2vd23.js → routes-4d81c38p.js} +4 -4
  7. package/dist/chunks/{options-ykk3p1r3.js → routes-4gbck4qg.js} +2 -2
  8. package/dist/chunks/{options-2rfef8d1.js → routes-4gdxfk9h.js} +8 -8
  9. package/dist/chunks/{options-hk9crnsa.js → routes-4r2ye500.js} +2 -2
  10. package/dist/chunks/{options-g23ffrnz.js → routes-50kbksvb.js} +2 -2
  11. package/dist/chunks/{options-z3e7v67k.js → routes-5pdfedjd.js} +5 -5
  12. package/dist/chunks/{options-8vayf59r.js → routes-6s1v5h8n.js} +4 -4
  13. package/dist/chunks/{options-p83m65n5.js → routes-6t6fd9bq.js} +2 -2
  14. package/dist/chunks/{options-7b9xm1qg.js → routes-7b9xm1qg.js} +1 -1
  15. package/dist/chunks/{options-8ja97vv6.js → routes-7x6cg3xs.js} +2 -2
  16. package/dist/chunks/{options-7ydfwv45.js → routes-7ydfwv45.js} +1 -1
  17. package/dist/chunks/{options-9t07vtvz.js → routes-86dz2n4m.js} +2 -2
  18. package/dist/chunks/{options-gq4jwh93.js → routes-8n1ypg70.js} +3 -3
  19. package/dist/chunks/{options-8sb6qqpn.js → routes-8sb6qqpn.js} +1 -1
  20. package/dist/chunks/{options-9cd3a4b8.js → routes-9cd3a4b8.js} +1 -1
  21. package/dist/chunks/{options-801prsqk.js → routes-b1x3j2e8.js} +2 -2
  22. package/dist/chunks/{options-y60jfeab.js → routes-b7yt2ykh.js} +2 -2
  23. package/dist/chunks/{options-5jm9kajg.js → routes-b87bs0cf.js} +2 -2
  24. package/dist/chunks/{options-bjh20vhp.js → routes-bvm82fhd.js} +4 -4
  25. package/dist/chunks/{options-100nc7c0.js → routes-d0advawr.js} +2 -2
  26. package/dist/chunks/{options-djr0jy89.js → routes-djr0jy89.js} +1 -1
  27. package/dist/chunks/{options-4zkx9wb3.js → routes-edwk6ehd.js} +1 -1
  28. package/dist/chunks/{options-9sw5vvdr.js → routes-g329ycmh.js} +5 -5
  29. package/dist/chunks/{options-w3xmknp7.js → routes-g80pvn6e.js} +2 -2
  30. package/dist/chunks/{options-d20xfnpc.js → routes-g97h7k0s.js} +1 -1
  31. package/dist/chunks/{options-vcgrt9yw.js → routes-gp51b0m6.js} +3 -3
  32. package/dist/chunks/{options-j4at0y5c.js → routes-j4at0y5c.js} +1 -1
  33. package/dist/chunks/{options-ywn523ee.js → routes-j80tzjj3.js} +3 -3
  34. package/dist/chunks/{options-4fc68szf.js → routes-k26h7zjg.js} +2 -2
  35. package/dist/chunks/{options-mzs0n5xz.js → routes-kqr36gas.js} +7 -7
  36. package/dist/chunks/{options-myqk22k5.js → routes-myqk22k5.js} +2 -2
  37. package/dist/chunks/{options-ah2sj2pr.js → routes-n6ypjnhz.js} +1 -1
  38. package/dist/chunks/{options-r6zj4kgb.js → routes-nkfbbfe7.js} +4 -4
  39. package/dist/chunks/{options-ccr1pbeb.js → routes-p3ekc874.js} +2 -2
  40. package/dist/chunks/{options-rmfb1myj.js → routes-p4zkxzv7.js} +1 -1
  41. package/dist/chunks/{options-qpv1afdg.js → routes-p89q26vy.js} +35 -35
  42. package/dist/chunks/{options-yty6dk04.js → routes-p9wp66hf.js} +1 -1
  43. package/dist/chunks/{options-2dzr03as.js → routes-pv4dnzzq.js} +1 -1
  44. package/dist/chunks/{options-vw0q3knq.js → routes-qahj7606.js} +1 -1
  45. package/dist/chunks/{options-hp2vd1c8.js → routes-r90c0ath.js} +14 -14
  46. package/dist/chunks/{options-3mqk6r53.js → routes-s8cv2y4y.js} +8 -8
  47. package/dist/chunks/{options-zjmacp9c.js → routes-s8t5gq7c.js} +3 -3
  48. package/dist/chunks/{options-t32e1bbt.js → routes-t32e1bbt.js} +1 -1
  49. package/dist/chunks/{options-7qpea5x7.js → routes-t62b1gmw.js} +2 -2
  50. package/dist/chunks/{options-wka57cdm.js → routes-t8azv5ge.js} +2 -2
  51. package/dist/chunks/{options-s3zgwc17.js → routes-v0z8pce5.js} +2 -2
  52. package/dist/chunks/{options-hhxfczrt.js → routes-wbrxtn62.js} +4 -4
  53. package/dist/chunks/{options-qfyg9gb7.js → routes-wecgp61r.js} +7 -7
  54. package/dist/chunks/{options-prn0chz2.js → routes-wh07bcjv.js} +1 -1
  55. package/dist/chunks/{options-2cm4dfcc.js → routes-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.js +4 -4
  101. package/dist/media-uri.js +1 -1
  102. package/dist/middleware/authorization.js +2 -2
  103. package/dist/middleware/defect-response.js +1 -1
  104. package/dist/middleware/form-location.js +3 -3
  105. package/dist/middleware/schema-error.js +1 -1
  106. package/dist/middleware/session-location.js +3 -3
  107. package/dist/pairing.js +3 -3
  108. package/dist/process.js +60 -60
  109. package/dist/range.js +1 -1
  110. package/dist/request-site.js +2 -2
  111. package/dist/request-tracing.js +1 -1
  112. package/dist/routes.js +56 -56
  113. package/dist/server-info.js +3 -3
  114. package/dist/service-status.js +1 -1
  115. package/dist/workerd.js +60 -60
  116. package/package.json +8 -8
  117. /package/dist/chunks/{options-9rqn6x4v.js → routes-9rqn6x4v.js} +0 -0
  118. /package/dist/chunks/{options-bd8755ek.js → routes-bd8755ek.js} +0 -0
  119. /package/dist/chunks/{options-n26yr6pw.js → routes-n26yr6pw.js} +0 -0
  120. /package/dist/chunks/{options-q187pxxd.js → routes-q187pxxd.js} +0 -0
  121. /package/dist/chunks/{options-q4bn6dy8.js → routes-q4bn6dy8.js} +0 -0
  122. /package/dist/chunks/{options-smaf4a18.js → routes-smaf4a18.js} +0 -0
  123. /package/dist/chunks/{options-xthc02cw.js → routes-xthc02cw.js} +0 -0
  124. /package/dist/chunks/{options-yc7nft6q.js → routes-yc7nft6q.js} +0 -0
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/options-zjmacp9c.js";
4
- import"./chunks/options-vw0q3knq.js";
5
- import"./chunks/options-ah2sj2pr.js";
6
- import"./chunks/options-ywn523ee.js";
7
- import"./chunks/options-smaf4a18.js";
3
+ } from "./chunks/routes-s8t5gq7c.js";
4
+ import"./chunks/routes-qahj7606.js";
5
+ import"./chunks/routes-n6ypjnhz.js";
6
+ import"./chunks/routes-j80tzjj3.js";
7
+ import"./chunks/routes-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/options-j4at0y5c.js";
10
+ } from "./chunks/routes-j4at0y5c.js";
11
11
  export {
12
12
  Config2 as Config,
13
13
  SESSION_TTL_SECONDS2 as SESSION_TTL_SECONDS,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/plugin.ts
9
9
  import { Plugin } from "@opencode/core/plugin";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./options-9rqn6x4v.js";
3
+ } from "./routes-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 "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/skill.ts
9
9
  import { Skill } from "@opencode/core/skill";
@@ -3,16 +3,16 @@ import {
3
3
  missingMessage2,
4
4
  failedMessageDecode2,
5
5
  failedSnapshot2
6
- } from "./options-smaf4a18.js";
6
+ } from "./routes-smaf4a18.js";
7
7
  import {
8
8
  locationErrors2
9
- } from "./options-ywn523ee.js";
9
+ } from "./routes-j80tzjj3.js";
10
10
  import {
11
11
  Api2
12
- } from "./options-zjmacp9c.js";
12
+ } from "./routes-s8t5gq7c.js";
13
13
  import {
14
14
  wantsMediaRefs2
15
- } from "./options-xthc02cw.js";
15
+ } from "./routes-xthc02cw.js";
16
16
 
17
17
  // src/handlers/session.ts
18
18
  import { Instance } from "@opencode/core/instance/service";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/usage.ts
9
9
  import { UsageLimits } from "@opencode/core/usage-limits";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-zjmacp9c.js";
3
+ } from "./routes-s8t5gq7c.js";
4
4
  import {
5
5
  SESSION_TTL_SECONDS2,
6
6
  Config2,
7
7
  issueSession2,
8
8
  sessionCookieName2
9
- } from "./options-j4at0y5c.js";
9
+ } from "./routes-j4at0y5c.js";
10
10
  import {
11
- Service2
12
- } from "./options-z3e7v67k.js";
11
+ Service3
12
+ } from "./routes-5pdfedjd.js";
13
13
  import {
14
- Service4
15
- } from "./options-mzs0n5xz.js";
14
+ Service2
15
+ } from "./routes-kqr36gas.js";
16
16
 
17
17
  // src/handlers/server.ts
18
18
  import { hostname } from "node:os";
@@ -22,10 +22,10 @@ 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* Service2;
26
26
  const auth = yield* Config2;
27
27
  return handlers.handle("server.info", () => Effect.gen(function* () {
28
- const info = yield* Service2;
28
+ const info = yield* Service3;
29
29
  return {
30
30
  version: info.app.version ?? "unknown",
31
31
  pid: process.pid ?? 0,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/integration.ts
9
9
  import { Integration } from "@opencode/core/integration";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  download2
3
- } from "./options-t32e1bbt.js";
3
+ } from "./routes-t32e1bbt.js";
4
4
  import {
5
5
  parse2
6
- } from "./options-8sb6qqpn.js";
6
+ } from "./routes-8sb6qqpn.js";
7
7
 
8
8
  // src/handlers/blob.ts
9
9
  import { BlobStore } from "@opencode/core/blob-store";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./options-9rqn6x4v.js";
3
+ } from "./routes-9rqn6x4v.js";
4
4
 
5
5
  // src/server-info.ts
6
6
  var exports_server_info = {};
7
7
  __export(exports_server_info, {
8
8
  ServerInfo: () => exports_server_info,
9
- Service: () => Service2,
9
+ Service: () => Service3,
10
10
  connectionURLs: () => connectionURLs2,
11
11
  layer: () => layer2
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { networkInterfaces } from "node:os";
15
15
 
16
- class Service2 extends Context.Service()("@opencode/server/ServerInfo") {
16
+ class Service3 extends Context.Service()("@opencode/server/ServerInfo") {
17
17
  }
18
18
  function layer2(urls, tmp, app = {}) {
19
- return Layer.succeed(Service2, Service2.of({ urls, app, paths: { tmp } }));
19
+ return Layer.succeed(Service3, Service3.of({ urls, app, paths: { tmp } }));
20
20
  }
21
21
  function connectionURLs2(value, requestedHostname) {
22
22
  const url = new URL(value);
@@ -38,4 +38,4 @@ function connectionURLs2(value, requestedHostname) {
38
38
  ];
39
39
  }
40
40
 
41
- export { Service2, layer2, connectionURLs2, exports_server_info };
41
+ export { Service3, layer2, connectionURLs2, exports_server_info };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-zjmacp9c.js";
3
+ } from "./routes-s8t5gq7c.js";
4
4
  import {
5
- Service3,
5
+ Service4,
6
6
  frame2
7
- } from "./options-qfyg9gb7.js";
7
+ } from "./routes-wecgp61r.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,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/provider.ts
9
9
  import { Provider } from "@opencode/core/provider";
@@ -4,7 +4,7 @@ import {
4
4
  authorized2,
5
5
  verifySession2,
6
6
  sessionCookieName2
7
- } from "./options-j4at0y5c.js";
7
+ } from "./routes-j4at0y5c.js";
8
8
 
9
9
  // src/middleware/authorization.ts
10
10
  import { UnauthorizedError } from "@opencode/protocol/errors";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/websearch.ts
9
9
  import { WebSearch } from "@opencode/core/websearch";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./options-smaf4a18.js";
3
+ } from "./routes-smaf4a18.js";
4
4
 
5
5
  // src/handlers/job.ts
6
6
  import { Job } from "@opencode/core/job";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-zjmacp9c.js";
3
+ } from "./routes-s8t5gq7c.js";
4
4
  import {
5
5
  requireConnectable2
6
- } from "./options-hk9crnsa.js";
6
+ } from "./routes-4r2ye500.js";
7
7
 
8
8
  // src/handlers/credential.ts
9
9
  import { Credential } from "@opencode/core/credential";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./options-smaf4a18.js";
3
+ } from "./routes-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./options-ywn523ee.js";
8
+ } from "./routes-j80tzjj3.js";
9
9
  import {
10
10
  Api2
11
- } from "./options-zjmacp9c.js";
11
+ } from "./routes-s8t5gq7c.js";
12
12
 
13
13
  // src/handlers/permission.ts
14
14
  import { Instance } from "@opencode/core/instance/service";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./options-9rqn6x4v.js";
3
+ } from "./routes-9rqn6x4v.js";
4
4
 
5
5
  // src/range.ts
6
6
  var exports_range = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./options-smaf4a18.js";
3
+ } from "./routes-smaf4a18.js";
4
4
 
5
5
  // src/handlers/automation.ts
6
6
  import { Automation } from "@opencode/core/automation";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/shell.ts
9
9
  import { Shell } from "@opencode/core/shell";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  requestRef2
3
- } from "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-s8t5gq7c.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 "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/command.ts
9
9
  import { Command } from "@opencode/core/command";
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./options-ywn523ee.js";
5
+ } from "./routes-j80tzjj3.js";
6
6
  import {
7
7
  Api2
8
- } from "./options-zjmacp9c.js";
8
+ } from "./routes-s8t5gq7c.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./options-q4bn6dy8.js";
12
+ } from "./routes-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./options-q187pxxd.js";
16
+ } from "./routes-q187pxxd.js";
17
17
 
18
18
  // src/handlers/mcp.ts
19
19
  import { Location } from "@opencode/core/location";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/model.ts
9
9
  import { Model } from "@opencode/core/model";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CONTENT_SECURITY_POLICY2,
3
3
  disposition2
4
- } from "./options-t32e1bbt.js";
4
+ } from "./routes-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
  Api2
3
- } from "./options-zjmacp9c.js";
3
+ } from "./routes-s8t5gq7c.js";
4
4
 
5
5
  // src/handlers/project.ts
6
6
  import { Project } from "@opencode/core/project";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  isAllowedCorsOrigin2
3
- } from "./options-q4bn6dy8.js";
3
+ } from "./routes-q4bn6dy8.js";
4
4
  import {
5
5
  middleware2
6
- } from "./options-myqk22k5.js";
6
+ } from "./routes-myqk22k5.js";
7
7
  import {
8
8
  withoutParentSpan2
9
- } from "./options-yc7nft6q.js";
9
+ } from "./routes-yc7nft6q.js";
10
10
  import {
11
11
  createRoutes2
12
- } from "./options-hp2vd1c8.js";
12
+ } from "./routes-r90c0ath.js";
13
13
  import {
14
14
  __export
15
- } from "./options-9rqn6x4v.js";
15
+ } from "./routes-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 "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-s8t5gq7c.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 "./options-zjmacp9c.js";
3
+ } from "./routes-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 "./options-smaf4a18.js";
4
+ } from "./routes-smaf4a18.js";
5
5
  import {
6
6
  Api2
7
- } from "./options-zjmacp9c.js";
7
+ } from "./routes-s8t5gq7c.js";
8
8
  import {
9
9
  wantsMediaRefs2
10
- } from "./options-xthc02cw.js";
10
+ } from "./routes-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 "./options-9rqn6x4v.js";
3
+ } from "./routes-9rqn6x4v.js";
4
4
 
5
5
  // src/auth.ts
6
6
  var exports_auth = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./options-smaf4a18.js";
3
+ } from "./routes-smaf4a18.js";
4
4
 
5
5
  // src/location.ts
6
6
  import { FileSystem } from "@opencode/core/filesystem";
@@ -51,7 +51,7 @@ function decode(input) {
51
51
  return input;
52
52
  }
53
53
  }
54
- var layer4 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
54
+ var layer3 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
55
55
  const locations = yield* LocationServiceMap.Service;
56
56
  return LocationMiddleware2.of((effect) => Effect.gen(function* () {
57
57
  const request = yield* HttpServerRequest.HttpServerRequest;
@@ -59,4 +59,4 @@ var layer4 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
59
59
  }));
60
60
  }));
61
61
 
62
- export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2, layer4 };
62
+ export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2, layer3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-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 "./options-9rqn6x4v.js";
3
+ } from "./routes-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 "./options-q4bn6dy8.js";
3
+ } from "./routes-q4bn6dy8.js";
4
4
  import {
5
5
  __export
6
- } from "./options-9rqn6x4v.js";
6
+ } from "./routes-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 "./options-ywn523ee.js";
5
+ } from "./routes-j80tzjj3.js";
6
6
 
7
7
  // src/middleware/form-location.ts
8
8
  import { Instance } from "@opencode/core/instance/service";
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./options-ywn523ee.js";
5
+ } from "./routes-j80tzjj3.js";
6
6
  import {
7
7
  Api2
8
- } from "./options-zjmacp9c.js";
8
+ } from "./routes-s8t5gq7c.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./options-q4bn6dy8.js";
12
+ } from "./routes-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./options-q187pxxd.js";
16
+ } from "./routes-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
  locationErrors2
3
- } from "./options-ywn523ee.js";
3
+ } from "./routes-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-zjmacp9c.js";
6
+ } from "./routes-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/generate.ts
9
9
  import { Flag } from "@opencode/core/flag";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-zjmacp9c.js";
3
+ } from "./routes-s8t5gq7c.js";
4
4
 
5
5
  // src/handlers/rpc.ts
6
6
  import { Rpc } from "@opencode/core/rpc";