@opencode/server 0.0.0-dev-1367 → 0.0.0-dev-1368

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 (136) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{media-uri-t6q8af35.js → workerd-0vqsbvsa.js} +4 -4
  4. package/dist/chunks/{media-uri-mf0jv62d.js → workerd-0wjm8gvs.js} +2 -2
  5. package/dist/chunks/{media-uri-23bsg0bb.js → workerd-10sj2tcf.js} +1 -1
  6. package/dist/chunks/{media-uri-4abt2dvn.js → workerd-1g4xykqx.js} +4 -4
  7. package/dist/chunks/{media-uri-d77v3xnm.js → workerd-1pbjpk0f.js} +2 -2
  8. package/dist/chunks/{media-uri-3sdebxp3.js → workerd-23n65c7j.js} +3 -3
  9. package/dist/chunks/{media-uri-29nx48hm.js → workerd-29nx48hm.js} +1 -1
  10. package/dist/chunks/{media-uri-dxh72p2c.js → workerd-2tmcamrc.js} +2 -2
  11. package/dist/chunks/{media-uri-0q7s66m2.js → workerd-39nnfjx1.js} +4 -4
  12. package/dist/chunks/{media-uri-7qa33b41.js → workerd-3xkwxcke.js} +2 -2
  13. package/dist/chunks/{media-uri-g23ffrnz.js → workerd-50kbksvb.js} +2 -2
  14. package/dist/chunks/{media-uri-megkv1kf.js → workerd-5pdfedjd.js} +7 -7
  15. package/dist/chunks/{media-uri-6pm6ek88.js → workerd-6pm6ek88.js} +1 -1
  16. package/dist/chunks/{media-uri-t6ryhghb.js → workerd-784gqmc7.js} +2 -2
  17. package/dist/chunks/{media-uri-j4hk2st6.js → workerd-7dkb5ks8.js} +2 -2
  18. package/dist/chunks/{media-uri-npqc081y.js → workerd-8nezxn08.js} +1 -1
  19. package/dist/chunks/{media-uri-gk96xf2h.js → workerd-8qsq6tbs.js} +2 -2
  20. package/dist/chunks/{media-uri-8sb6qqpn.js → workerd-8sb6qqpn.js} +1 -1
  21. package/dist/chunks/{media-uri-sar77n3p.js → workerd-8xdajgpr.js} +2 -2
  22. package/dist/chunks/{media-uri-0xhepbgy.js → workerd-9hynp6rm.js} +2 -2
  23. package/dist/chunks/{media-uri-0nzx8p8z.js → workerd-9tw35sfc.js} +12 -12
  24. package/dist/chunks/{media-uri-0wwbgx8t.js → workerd-a6b7h8n6.js} +17 -17
  25. package/dist/chunks/{media-uri-4a2eztcc.js → workerd-am27j67f.js} +1 -1
  26. package/dist/chunks/{media-uri-stx1bw5w.js → workerd-br4x4prt.js} +3 -3
  27. package/dist/chunks/{media-uri-jy2ammbg.js → workerd-ca564221.js} +1 -1
  28. package/dist/chunks/{media-uri-djr0jy89.js → workerd-djr0jy89.js} +1 -1
  29. package/dist/chunks/{media-uri-tg713d3t.js → workerd-dsxhsz16.js} +8 -8
  30. package/dist/chunks/{media-uri-sh3ejx5x.js → workerd-e3jd9akj.js} +1 -1
  31. package/dist/chunks/{media-uri-aexh791j.js → workerd-ehyp3zqd.js} +1 -1
  32. package/dist/chunks/{media-uri-nfv0r61b.js → workerd-em7ed65n.js} +2 -2
  33. package/dist/chunks/{media-uri-07adkgh3.js → workerd-epfdwcja.js} +4 -4
  34. package/dist/chunks/{media-uri-r3c5pb1c.js → workerd-exwy1kbj.js} +2 -2
  35. package/dist/chunks/{media-uri-ezydv7x1.js → workerd-f3gr6hfv.js} +2 -2
  36. package/dist/chunks/{media-uri-katdrqa2.js → workerd-hfbw093d.js} +35 -35
  37. package/dist/chunks/{media-uri-j4at0y5c.js → workerd-j4at0y5c.js} +1 -1
  38. package/dist/chunks/{media-uri-sqfq92mf.js → workerd-javgytnb.js} +2 -2
  39. package/dist/chunks/{media-uri-4dcft65w.js → workerd-k74zefsg.js} +1 -1
  40. package/dist/chunks/{media-uri-44zzbkrb.js → workerd-ka2mtp6f.js} +2 -2
  41. package/dist/chunks/{media-uri-hj8z77wc.js → workerd-kmwr1xw9.js} +3 -3
  42. package/dist/chunks/{media-uri-mj1ewmp1.js → workerd-mj1ewmp1.js} +1 -1
  43. package/dist/chunks/{media-uri-hmwn16zp.js → workerd-myqk22k5.js} +2 -2
  44. package/dist/chunks/{media-uri-kxxxzk43.js → workerd-n2zyxnzr.js} +1 -1
  45. package/dist/chunks/{media-uri-kpw06y11.js → workerd-prwd5gwt.js} +2 -2
  46. package/dist/chunks/{media-uri-g1wjh7qe.js → workerd-qq3f8fnn.js} +2 -2
  47. package/dist/chunks/{media-uri-njmm6d43.js → workerd-r8tdr8qd.js} +8 -8
  48. package/dist/chunks/{media-uri-20m6qdhp.js → workerd-rgbnpstw.js} +2 -2
  49. package/dist/chunks/{media-uri-44ywgpsx.js → workerd-rjhxbsc4.js} +2 -2
  50. package/dist/chunks/{media-uri-ej8k6nk6.js → workerd-rm5kndzh.js} +4 -4
  51. package/dist/chunks/{media-uri-1qgvww4g.js → workerd-s0zgx365.js} +2 -2
  52. package/dist/chunks/{media-uri-t32e1bbt.js → workerd-t32e1bbt.js} +1 -1
  53. package/dist/chunks/{media-uri-vb61dkrm.js → workerd-v9t81kwn.js} +7 -7
  54. package/dist/chunks/{media-uri-p8x80wn6.js → workerd-whvq72as.js} +3 -3
  55. package/dist/chunks/{media-uri-9bpmwzvq.js → workerd-wsvmph03.js} +2 -2
  56. package/dist/chunks/{media-uri-x2qy7jg1.js → workerd-x2qy7jg1.js} +1 -1
  57. package/dist/chunks/{media-uri-xw05m515.js → workerd-xw05m515.js} +1 -1
  58. package/dist/chunks/{media-uri-61xgwjgp.js → workerd-yc92za0p.js} +2 -2
  59. package/dist/chunks/{media-uri-gb9bc2v4.js → workerd-z5c20bjd.js} +5 -5
  60. package/dist/content-headers.js +1 -1
  61. package/dist/cors.js +1 -1
  62. package/dist/event-feed.js +3 -3
  63. package/dist/fetch.js +67 -67
  64. package/dist/handlers/agent.js +6 -6
  65. package/dist/handlers/artifact.js +3 -3
  66. package/dist/handlers/automation.js +2 -2
  67. package/dist/handlers/blob.js +3 -3
  68. package/dist/handlers/command.js +6 -6
  69. package/dist/handlers/config.js +6 -6
  70. package/dist/handlers/credential.js +7 -7
  71. package/dist/handlers/debug.js +6 -6
  72. package/dist/handlers/event.js +7 -7
  73. package/dist/handlers/experimental/browser-tunnel.js +4 -4
  74. package/dist/handlers/flag.js +6 -6
  75. package/dist/handlers/form.js +6 -6
  76. package/dist/handlers/fs.js +8 -8
  77. package/dist/handlers/generate.js +6 -6
  78. package/dist/handlers/integration.js +6 -6
  79. package/dist/handlers/job.js +2 -2
  80. package/dist/handlers/location.js +6 -6
  81. package/dist/handlers/machine.js +1 -1
  82. package/dist/handlers/mcp.js +8 -8
  83. package/dist/handlers/media.js +2 -2
  84. package/dist/handlers/message.js +7 -7
  85. package/dist/handlers/migration.js +6 -6
  86. package/dist/handlers/model.js +6 -6
  87. package/dist/handlers/permission.js +6 -6
  88. package/dist/handlers/persistent-pty.js +20 -20
  89. package/dist/handlers/plugin.js +6 -6
  90. package/dist/handlers/project.js +6 -6
  91. package/dist/handlers/provider.js +6 -6
  92. package/dist/handlers/pty-socket.js +1 -1
  93. package/dist/handlers/pty.js +8 -8
  94. package/dist/handlers/push.js +1 -1
  95. package/dist/handlers/reference.js +6 -6
  96. package/dist/handlers/rpc.js +6 -6
  97. package/dist/handlers/server.js +9 -9
  98. package/dist/handlers/session-error.js +1 -1
  99. package/dist/handlers/session.js +7 -7
  100. package/dist/handlers/shell.js +6 -6
  101. package/dist/handlers/skill.js +6 -6
  102. package/dist/handlers/space.js +2 -2
  103. package/dist/handlers/usage.js +6 -6
  104. package/dist/handlers/vcs.js +6 -6
  105. package/dist/handlers/voice.js +6 -6
  106. package/dist/handlers/websearch.js +6 -6
  107. package/dist/handlers/worktree.js +6 -6
  108. package/dist/handlers.js +58 -58
  109. package/dist/location.js +4 -4
  110. package/dist/media-uri.js +1 -1
  111. package/dist/middleware/authorization.js +2 -2
  112. package/dist/middleware/defect-response.js +1 -1
  113. package/dist/middleware/form-location.js +3 -3
  114. package/dist/middleware/schema-error.js +1 -1
  115. package/dist/middleware/session-location.js +3 -3
  116. package/dist/pairing.js +3 -3
  117. package/dist/process.js +68 -68
  118. package/dist/range.js +1 -1
  119. package/dist/request-site.js +2 -2
  120. package/dist/request-tracing.js +1 -1
  121. package/dist/routes.js +62 -62
  122. package/dist/server-info.js +5 -5
  123. package/dist/service-status.js +3 -3
  124. package/dist/space-store.js +1 -1
  125. package/dist/workerd.js +66 -66
  126. package/package.json +8 -8
  127. /package/dist/chunks/{media-uri-017ycvbx.js → workerd-017ycvbx.js} +0 -0
  128. /package/dist/chunks/{media-uri-9rqn6x4v.js → workerd-9rqn6x4v.js} +0 -0
  129. /package/dist/chunks/{media-uri-bd8755ek.js → workerd-bd8755ek.js} +0 -0
  130. /package/dist/chunks/{media-uri-n26yr6pw.js → workerd-n26yr6pw.js} +0 -0
  131. /package/dist/chunks/{media-uri-q187pxxd.js → workerd-q187pxxd.js} +0 -0
  132. /package/dist/chunks/{media-uri-q4bn6dy8.js → workerd-q4bn6dy8.js} +0 -0
  133. /package/dist/chunks/{media-uri-qpnw2qd1.js → workerd-qpnw2qd1.js} +0 -0
  134. /package/dist/chunks/{media-uri-rqgv9x42.js → workerd-rqgv9x42.js} +0 -0
  135. /package/dist/chunks/{media-uri-xthc02cw.js → workerd-xthc02cw.js} +0 -0
  136. /package/dist/chunks/{media-uri-yc7nft6q.js → workerd-yc7nft6q.js} +0 -0
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/media-uri-p8x80wn6.js";
4
- import"./chunks/media-uri-jy2ammbg.js";
5
- import"./chunks/media-uri-aexh791j.js";
6
- import"./chunks/media-uri-stx1bw5w.js";
7
- import"./chunks/media-uri-rqgv9x42.js";
3
+ } from "./chunks/workerd-whvq72as.js";
4
+ import"./chunks/workerd-ehyp3zqd.js";
5
+ import"./chunks/workerd-ca564221.js";
6
+ import"./chunks/workerd-br4x4prt.js";
7
+ import"./chunks/workerd-rqgv9x42.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/media-uri-j4at0y5c.js";
10
+ } from "./chunks/workerd-j4at0y5c.js";
11
11
  export {
12
12
  Config2 as Config,
13
13
  SESSION_TTL_SECONDS2 as SESSION_TTL_SECONDS,
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./media-uri-stx1bw5w.js";
5
+ } from "./workerd-br4x4prt.js";
6
6
  import {
7
7
  Api2
8
- } from "./media-uri-p8x80wn6.js";
8
+ } from "./workerd-whvq72as.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./media-uri-q4bn6dy8.js";
12
+ } from "./workerd-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./media-uri-q187pxxd.js";
16
+ } from "./workerd-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 "./media-uri-stx1bw5w.js";
3
+ } from "./workerd-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-p8x80wn6.js";
6
+ } from "./workerd-whvq72as.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 "./media-uri-p8x80wn6.js";
3
+ } from "./workerd-whvq72as.js";
4
4
 
5
5
  // src/handlers/migration.ts
6
6
  import { V1Migration } from "@opencode/core/database/v1-migration";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  response2
3
- } from "./media-uri-stx1bw5w.js";
3
+ } from "./workerd-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-p8x80wn6.js";
6
+ } from "./workerd-whvq72as.js";
7
7
  import {
8
8
  download2
9
- } from "./media-uri-t32e1bbt.js";
9
+ } from "./workerd-t32e1bbt.js";
10
10
  import {
11
11
  parse2
12
- } from "./media-uri-8sb6qqpn.js";
12
+ } from "./workerd-8sb6qqpn.js";
13
13
 
14
14
  // src/handlers/fs.ts
15
15
  import { Environment } from "@opencode/core/environment/index";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./media-uri-p8x80wn6.js";
3
+ } from "./workerd-whvq72as.js";
4
4
  import {
5
5
  Service4,
6
6
  frame2
7
- } from "./media-uri-gb9bc2v4.js";
7
+ } from "./workerd-z5c20bjd.js";
8
8
 
9
9
  // src/handlers/event.ts
10
10
  import { Event } from "@opencode/schema/event";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  missingSession2,
3
3
  failedMessageDecode2
4
- } from "./media-uri-rqgv9x42.js";
4
+ } from "./workerd-rqgv9x42.js";
5
5
  import {
6
6
  Api2
7
- } from "./media-uri-p8x80wn6.js";
7
+ } from "./workerd-whvq72as.js";
8
8
  import {
9
9
  wantsMediaRefs2
10
- } from "./media-uri-xthc02cw.js";
10
+ } from "./workerd-xthc02cw.js";
11
11
 
12
12
  // src/handlers/message.ts
13
13
  import { SessionMessage } from "@opencode/core/session/message";
@@ -4,7 +4,7 @@ import {
4
4
  authorized2,
5
5
  verifySession2,
6
6
  sessionCookieName2
7
- } from "./media-uri-j4at0y5c.js";
7
+ } from "./workerd-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 "./media-uri-stx1bw5w.js";
3
+ } from "./workerd-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-p8x80wn6.js";
6
+ } from "./workerd-whvq72as.js";
7
7
 
8
8
  // src/handlers/integration.ts
9
9
  import { Integration } from "@opencode/core/integration";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./media-uri-9rqn6x4v.js";
3
+ } from "./workerd-9rqn6x4v.js";
4
4
 
5
5
  // src/service-status.ts
6
6
  var exports_service_status = {};
7
7
  __export(exports_service_status, {
8
8
  Status: () => exports_service_status,
9
- make: () => make4
9
+ make: () => make2
10
10
  });
11
11
  import { Effect, Ref } from "effect";
12
- var make4 = Effect.fnUntraced(function* (options = {}) {
12
+ var make2 = Effect.fnUntraced(function* (options = {}) {
13
13
  const current = yield* Ref.make(options.initial ?? { type: "starting" });
14
14
  const beginStopping = Ref.update(current, (status) => status.type === "stopping" ? status : { type: "stopping" });
15
15
  return {
@@ -20,4 +20,4 @@ var make4 = Effect.fnUntraced(function* (options = {}) {
20
20
  };
21
21
  });
22
22
 
23
- export { make4, exports_service_status };
23
+ export { make2, exports_service_status };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./media-uri-stx1bw5w.js";
3
+ } from "./workerd-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-p8x80wn6.js";
6
+ } from "./workerd-whvq72as.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
  download2
3
- } from "./media-uri-t32e1bbt.js";
3
+ } from "./workerd-t32e1bbt.js";
4
4
  import {
5
5
  parse2
6
- } from "./media-uri-8sb6qqpn.js";
6
+ } from "./workerd-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 "./media-uri-9rqn6x4v.js";
3
+ } from "./workerd-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: () => Service5,
9
+ Service: () => Service3,
10
10
  connectionURLs: () => connectionURLs2,
11
- layer: () => layer4
11
+ layer: () => layer2
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { networkInterfaces } from "node:os";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/server/ServerInfo") {
16
+ class Service3 extends Context.Service()("@opencode/server/ServerInfo") {
17
17
  }
18
- function layer4(urls, tmp, app = {}) {
19
- return Layer.succeed(Service5, Service5.of({ urls, app, paths: { tmp } }));
18
+ function layer2(urls, tmp, app = {}) {
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 { Service5, layer4, connectionURLs2, exports_server_info };
41
+ export { Service3, layer2, connectionURLs2, exports_server_info };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./media-uri-rqgv9x42.js";
3
+ } from "./workerd-rqgv9x42.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
  requestRef2
3
- } from "./media-uri-stx1bw5w.js";
3
+ } from "./workerd-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-p8x80wn6.js";
6
+ } from "./workerd-whvq72as.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 "./media-uri-stx1bw5w.js";
3
+ } from "./workerd-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-p8x80wn6.js";
6
+ } from "./workerd-whvq72as.js";
7
7
 
8
8
  // src/handlers/reference.ts
9
9
  import { Reference } from "@opencode/core/reference";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./media-uri-p8x80wn6.js";
3
+ } from "./workerd-whvq72as.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 "./media-uri-stx1bw5w.js";
3
+ } from "./workerd-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-p8x80wn6.js";
6
+ } from "./workerd-whvq72as.js";
7
7
 
8
8
  // src/handlers/form.ts
9
9
  import { Form } from "@opencode/core/form";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./media-uri-9rqn6x4v.js";
3
+ } from "./workerd-9rqn6x4v.js";
4
4
 
5
5
  // src/range.ts
6
6
  var exports_range = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Api2
3
- } from "./media-uri-p8x80wn6.js";
3
+ } from "./workerd-whvq72as.js";
4
4
  import {
5
5
  requireConnectable2
6
- } from "./media-uri-dxh72p2c.js";
6
+ } from "./workerd-2tmcamrc.js";
7
7
 
8
8
  // src/handlers/credential.ts
9
9
  import { Credential } from "@opencode/core/credential";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./media-uri-stx1bw5w.js";
3
+ } from "./workerd-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-p8x80wn6.js";
6
+ } from "./workerd-whvq72as.js";
7
7
 
8
8
  // src/handlers/flag.ts
9
9
  import { Flag } from "@opencode/core/flag";
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  Api2
3
- } from "./media-uri-p8x80wn6.js";
3
+ } from "./workerd-whvq72as.js";
4
4
  import {
5
5
  CorsConfig2,
6
6
  isAllowedRequestOrigin2
7
- } from "./media-uri-q4bn6dy8.js";
7
+ } from "./workerd-q4bn6dy8.js";
8
8
  import {
9
9
  makeArtifact2
10
- } from "./media-uri-sqfq92mf.js";
10
+ } from "./workerd-javgytnb.js";
11
11
  import {
12
12
  makeBlobGet2
13
- } from "./media-uri-g23ffrnz.js";
13
+ } from "./workerd-50kbksvb.js";
14
14
  import {
15
15
  makeBrowserTunnel2
16
- } from "./media-uri-44zzbkrb.js";
16
+ } from "./workerd-ka2mtp6f.js";
17
17
  import {
18
18
  makeAutomation2
19
- } from "./media-uri-6pm6ek88.js";
19
+ } from "./workerd-6pm6ek88.js";
20
20
  import {
21
21
  makeJob2
22
- } from "./media-uri-x2qy7jg1.js";
22
+ } from "./workerd-x2qy7jg1.js";
23
23
  import {
24
24
  makeMachineLink2,
25
25
  makeMachine2
26
- } from "./media-uri-017ycvbx.js";
26
+ } from "./workerd-017ycvbx.js";
27
27
  import {
28
28
  makeMediaGet2
29
- } from "./media-uri-djr0jy89.js";
29
+ } from "./workerd-djr0jy89.js";
30
30
  import {
31
31
  makePush2
32
- } from "./media-uri-qpnw2qd1.js";
32
+ } from "./workerd-qpnw2qd1.js";
33
33
  import {
34
34
  makeSpace2
35
- } from "./media-uri-xw05m515.js";
35
+ } from "./workerd-xw05m515.js";
36
36
  import {
37
37
  runPtySocket2
38
- } from "./media-uri-q187pxxd.js";
38
+ } from "./workerd-q187pxxd.js";
39
39
 
40
40
  // src/handlers/persistent-pty.ts
41
41
  import { PersistentPty } from "@opencode/core/persistent-pty";
@@ -1,42 +1,42 @@
1
1
  import {
2
- layer2
3
- } from "./media-uri-stx1bw5w.js";
2
+ layer4
3
+ } from "./workerd-br4x4prt.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./media-uri-jy2ammbg.js";
6
+ } from "./workerd-ca564221.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./media-uri-aexh791j.js";
9
+ } from "./workerd-ehyp3zqd.js";
10
10
  import {
11
11
  Api2
12
- } from "./media-uri-p8x80wn6.js";
12
+ } from "./workerd-whvq72as.js";
13
13
  import {
14
14
  Config2
15
- } from "./media-uri-j4at0y5c.js";
15
+ } from "./workerd-j4at0y5c.js";
16
16
  import {
17
17
  node2
18
- } from "./media-uri-mj1ewmp1.js";
18
+ } from "./workerd-mj1ewmp1.js";
19
19
  import {
20
20
  CorsConfig2
21
- } from "./media-uri-q4bn6dy8.js";
21
+ } from "./workerd-q4bn6dy8.js";
22
22
  import {
23
- layer4
24
- } from "./media-uri-megkv1kf.js";
23
+ layer2
24
+ } from "./workerd-5pdfedjd.js";
25
25
  import {
26
26
  node3
27
- } from "./media-uri-vb61dkrm.js";
27
+ } from "./workerd-v9t81kwn.js";
28
28
  import {
29
29
  handlers2
30
- } from "./media-uri-katdrqa2.js";
30
+ } from "./workerd-hfbw093d.js";
31
31
  import {
32
32
  authorizationLayer2
33
- } from "./media-uri-29nx48hm.js";
33
+ } from "./workerd-29nx48hm.js";
34
34
  import {
35
35
  schemaErrorLayer2
36
- } from "./media-uri-bd8755ek.js";
36
+ } from "./workerd-bd8755ek.js";
37
37
  import {
38
38
  defectResponseLayer2
39
- } from "./media-uri-n26yr6pw.js";
39
+ } from "./workerd-n26yr6pw.js";
40
40
 
41
41
  // src/routes.ts
42
42
  import { Database } from "@opencode/core/database/database";
@@ -199,8 +199,8 @@ function makeRoutes(password, options, serviceURLs, overrides) {
199
199
  })) : build(overrides);
200
200
  return serviceLayer.pipe(Layer.flatMap((context) => {
201
201
  const services = Layer.succeedContext(context);
202
- const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer4(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
203
- const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(layer2), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.merge(defectResponseLayer2), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer.pipe(Layer.provide(Layer.succeed(HttpRouter.RouterConfig)({ maxParamLength: 512 })))), Layer.tap((context) => Effect.sync(() => {
202
+ 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));
203
+ 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.merge(defectResponseLayer2), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer.pipe(Layer.provide(Layer.succeed(HttpRouter.RouterConfig)({ maxParamLength: 512 })))), Layer.tap((context) => Effect.sync(() => {
204
204
  internal = Context.get(context, HttpRouter.HttpRouter).asHttpEffect().pipe(HttpEffect.toWebHandlerWith(context));
205
205
  })));
206
206
  return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./media-uri-p8x80wn6.js";
3
+ } from "./workerd-whvq72as.js";
4
4
 
5
5
  // src/handlers/config.ts
6
6
  import { Config } from "@opencode/core/config";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./media-uri-rqgv9x42.js";
3
+ } from "./workerd-rqgv9x42.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 layer2 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
54
+ var layer4 = 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 layer2 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
59
59
  }));
60
60
  }));
61
61
 
62
- export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2, layer2 };
62
+ export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2, layer4 };
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./media-uri-stx1bw5w.js";
5
+ } from "./workerd-br4x4prt.js";
6
6
 
7
7
  // src/middleware/form-location.ts
8
8
  import { Instance } from "@opencode/core/instance/service";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CONTENT_SECURITY_POLICY2,
3
3
  disposition2
4
- } from "./media-uri-t32e1bbt.js";
4
+ } from "./workerd-t32e1bbt.js";
5
5
 
6
6
  // src/handlers/media.ts
7
7
  import { Database } from "@opencode/core/database/database";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Api2
3
- } from "./media-uri-p8x80wn6.js";
3
+ } from "./workerd-whvq72as.js";
4
4
  import {
5
5
  SESSION_TTL_SECONDS2,
6
6
  Config2,
7
7
  issueSession2,
8
8
  sessionCookieName2
9
- } from "./media-uri-j4at0y5c.js";
10
- import {
11
- Service5
12
- } from "./media-uri-megkv1kf.js";
9
+ } from "./workerd-j4at0y5c.js";
13
10
  import {
14
11
  Service3
15
- } from "./media-uri-vb61dkrm.js";
12
+ } from "./workerd-5pdfedjd.js";
13
+ import {
14
+ Service5
15
+ } from "./workerd-v9t81kwn.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* Service3;
25
+ const pairing = yield* Service5;
26
26
  const auth = yield* Config2;
27
27
  return handlers.handle("server.info", () => Effect.gen(function* () {
28
- const info = yield* Service5;
28
+ const info = yield* Service3;
29
29
  return {
30
30
  version: info.app.version ?? "unknown",
31
31
  pid: process.pid ?? 0,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./media-uri-p8x80wn6.js";
3
+ } from "./workerd-whvq72as.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  sessionInfo2
4
- } from "./media-uri-stx1bw5w.js";
4
+ } from "./workerd-br4x4prt.js";
5
5
 
6
6
  // src/middleware/session-location.ts
7
7
  import { Instance } from "@opencode/core/instance/service";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./media-uri-stx1bw5w.js";
3
+ } from "./workerd-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-p8x80wn6.js";
6
+ } from "./workerd-whvq72as.js";
7
7
 
8
8
  // src/handlers/plugin.ts
9
9
  import { Plugin } from "@opencode/core/plugin";
@@ -4,16 +4,16 @@ import {
4
4
  missingMessage2,
5
5
  failedMessageDecode2,
6
6
  failedSnapshot2
7
- } from "./media-uri-rqgv9x42.js";
7
+ } from "./workerd-rqgv9x42.js";
8
8
  import {
9
9
  locationErrors2
10
- } from "./media-uri-stx1bw5w.js";
10
+ } from "./workerd-br4x4prt.js";
11
11
  import {
12
12
  Api2
13
- } from "./media-uri-p8x80wn6.js";
13
+ } from "./workerd-whvq72as.js";
14
14
  import {
15
15
  wantsMediaRefs2
16
- } from "./media-uri-xthc02cw.js";
16
+ } from "./workerd-xthc02cw.js";
17
17
 
18
18
  // src/handlers/session.ts
19
19
  import { Instance } from "@opencode/core/instance/service";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./media-uri-stx1bw5w.js";
3
+ } from "./workerd-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-p8x80wn6.js";
6
+ } from "./workerd-whvq72as.js";
7
7
 
8
8
  // src/handlers/agent.ts
9
9
  import { Agent } from "@opencode/core/agent";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./media-uri-stx1bw5w.js";
3
+ } from "./workerd-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-p8x80wn6.js";
6
+ } from "./workerd-whvq72as.js";
7
7
 
8
8
  // src/handlers/shell.ts
9
9
  import { Shell } from "@opencode/core/shell";