@opencode/server 0.0.0-dev-1365 → 0.0.0-dev-1366

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-a7c8a9w3.js → content-headers-1kqc9805.js} +5 -5
  4. package/dist/chunks/{media-uri-4th25279.js → content-headers-1nsytpdt.js} +4 -4
  5. package/dist/chunks/{media-uri-8xwrz458.js → content-headers-21qqm769.js} +12 -12
  6. package/dist/chunks/{media-uri-29nx48hm.js → content-headers-29nx48hm.js} +1 -1
  7. package/dist/chunks/{media-uri-7dtbad8d.js → content-headers-3te71694.js} +7 -7
  8. package/dist/chunks/{media-uri-j605n900.js → content-headers-3w2mqh28.js} +2 -2
  9. package/dist/chunks/{media-uri-g23ffrnz.js → content-headers-50kbksvb.js} +2 -2
  10. package/dist/chunks/{media-uri-ws2ckpmb.js → content-headers-5ky8bme5.js} +3 -3
  11. package/dist/chunks/{media-uri-k12h8tw9.js → content-headers-6anyjjh1.js} +1 -1
  12. package/dist/chunks/{media-uri-zy859vyn.js → content-headers-6n31atta.js} +35 -35
  13. package/dist/chunks/{media-uri-6pm6ek88.js → content-headers-6pm6ek88.js} +1 -1
  14. package/dist/chunks/{media-uri-yvy5qft7.js → content-headers-7r996r31.js} +2 -2
  15. package/dist/chunks/{media-uri-py78bw87.js → content-headers-8a8vhjqy.js} +8 -8
  16. package/dist/chunks/{media-uri-8sb6qqpn.js → content-headers-8sb6qqpn.js} +1 -1
  17. package/dist/chunks/{media-uri-3xfmgb6c.js → content-headers-8xffg4dw.js} +2 -2
  18. package/dist/chunks/{media-uri-341zm3rs.js → content-headers-8y9zssdg.js} +2 -2
  19. package/dist/chunks/{media-uri-ggw25rqf.js → content-headers-ar950k47.js} +1 -1
  20. package/dist/chunks/{media-uri-72bf7qt9.js → content-headers-br4x4prt.js} +3 -3
  21. package/dist/chunks/{media-uri-r5yb7twv.js → content-headers-c6ktqe09.js} +2 -2
  22. package/dist/chunks/{media-uri-0dfmev2z.js → content-headers-ca564221.js} +1 -1
  23. package/dist/chunks/{media-uri-qgjb3f4w.js → content-headers-cj97w75w.js} +2 -2
  24. package/dist/chunks/{media-uri-844nmnmk.js → content-headers-ddhjwr2w.js} +2 -2
  25. package/dist/chunks/{media-uri-kc553r92.js → content-headers-df03ef4a.js} +2 -2
  26. package/dist/chunks/{media-uri-djr0jy89.js → content-headers-djr0jy89.js} +1 -1
  27. package/dist/chunks/{media-uri-e6e4kz0w.js → content-headers-e6e4kz0w.js} +1 -1
  28. package/dist/chunks/{media-uri-2h3x7256.js → content-headers-eacgzt6w.js} +1 -1
  29. package/dist/chunks/{media-uri-fsvp99pe.js → content-headers-ehyp3zqd.js} +1 -1
  30. package/dist/chunks/{media-uri-qcnb494j.js → content-headers-esvnag9e.js} +2 -2
  31. package/dist/chunks/{media-uri-ttd4mjws.js → content-headers-f1tstpac.js} +17 -17
  32. package/dist/chunks/{media-uri-tktas153.js → content-headers-f412ctvv.js} +2 -2
  33. package/dist/chunks/{media-uri-fmkwyf76.js → content-headers-fmkwyf76.js} +1 -1
  34. package/dist/chunks/{media-uri-r9w3a44p.js → content-headers-g9qy0kb1.js} +2 -2
  35. package/dist/chunks/{media-uri-hs3dbf8w.js → content-headers-hs3dbf8w.js} +1 -1
  36. package/dist/chunks/{media-uri-zs3a96ke.js → content-headers-htk4x1jk.js} +2 -2
  37. package/dist/chunks/{media-uri-j4at0y5c.js → content-headers-j4at0y5c.js} +1 -1
  38. package/dist/chunks/{media-uri-j6y32kmq.js → content-headers-javgytnb.js} +2 -2
  39. package/dist/chunks/{media-uri-8y4d9f30.js → content-headers-jhs8rzvk.js} +3 -3
  40. package/dist/chunks/{media-uri-vyjhrbg0.js → content-headers-ka2mtp6f.js} +2 -2
  41. package/dist/chunks/{media-uri-r1mf3bzp.js → content-headers-maarxay5.js} +4 -4
  42. package/dist/chunks/{media-uri-9vfv9n1y.js → content-headers-mq10h3bj.js} +4 -4
  43. package/dist/chunks/{media-uri-myqk22k5.js → content-headers-myqk22k5.js} +2 -2
  44. package/dist/chunks/{media-uri-w9jcwh65.js → content-headers-mzs0n5xz.js} +7 -7
  45. package/dist/chunks/{media-uri-a7k393fm.js → content-headers-nfrn9zxf.js} +2 -2
  46. package/dist/chunks/{media-uri-raj3p8q0.js → content-headers-nh63c3gg.js} +3 -3
  47. package/dist/chunks/{media-uri-cgcw2b0e.js → content-headers-phgds112.js} +2 -2
  48. package/dist/chunks/{media-uri-dyvstyyh.js → content-headers-qagtm26v.js} +4 -4
  49. package/dist/chunks/{media-uri-zmrq0y42.js → content-headers-r682v2h3.js} +2 -2
  50. package/dist/chunks/{media-uri-z564cb4b.js → content-headers-r6qsbz4y.js} +2 -2
  51. package/dist/chunks/{media-uri-fcw485c9.js → content-headers-rg932pab.js} +2 -2
  52. package/dist/chunks/{media-uri-t32e1bbt.js → content-headers-t32e1bbt.js} +1 -1
  53. package/dist/chunks/{media-uri-v60tcbt5.js → content-headers-v60tcbt5.js} +1 -1
  54. package/dist/chunks/{media-uri-fegnxd42.js → content-headers-wjh98yw2.js} +1 -1
  55. package/dist/chunks/{media-uri-x2qy7jg1.js → content-headers-x2qy7jg1.js} +1 -1
  56. package/dist/chunks/{media-uri-sn8sqewc.js → content-headers-y8sa9sbe.js} +2 -2
  57. package/dist/chunks/{media-uri-7tv8nec1.js → content-headers-ykr4m3zx.js} +1 -1
  58. package/dist/chunks/{media-uri-gqstb6bx.js → content-headers-z0v7xmc8.js} +2 -2
  59. package/dist/chunks/{media-uri-sbde0s13.js → content-headers-z80wqx10.js} +1 -1
  60. package/dist/content-headers.js +1 -1
  61. package/dist/cors.js +1 -1
  62. package/dist/event-feed.js +1 -1
  63. package/dist/fetch.js +65 -65
  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 +66 -66
  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 +1 -1
  124. package/dist/space-store.js +1 -1
  125. package/dist/workerd.js +68 -77
  126. package/package.json +8 -8
  127. /package/dist/chunks/{media-uri-017ycvbx.js → content-headers-017ycvbx.js} +0 -0
  128. /package/dist/chunks/{media-uri-9rqn6x4v.js → content-headers-9rqn6x4v.js} +0 -0
  129. /package/dist/chunks/{media-uri-bd8755ek.js → content-headers-bd8755ek.js} +0 -0
  130. /package/dist/chunks/{media-uri-n26yr6pw.js → content-headers-n26yr6pw.js} +0 -0
  131. /package/dist/chunks/{media-uri-q187pxxd.js → content-headers-q187pxxd.js} +0 -0
  132. /package/dist/chunks/{media-uri-q4bn6dy8.js → content-headers-q4bn6dy8.js} +0 -0
  133. /package/dist/chunks/{media-uri-qpnw2qd1.js → content-headers-qpnw2qd1.js} +0 -0
  134. /package/dist/chunks/{media-uri-rqgv9x42.js → content-headers-rqgv9x42.js} +0 -0
  135. /package/dist/chunks/{media-uri-xthc02cw.js → content-headers-xthc02cw.js} +0 -0
  136. /package/dist/chunks/{media-uri-yc7nft6q.js → content-headers-yc7nft6q.js} +0 -0
@@ -1,42 +1,42 @@
1
1
  import {
2
- layer3
3
- } from "./media-uri-72bf7qt9.js";
2
+ layer4
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./media-uri-0dfmev2z.js";
6
+ } from "./content-headers-ca564221.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./media-uri-fsvp99pe.js";
9
+ } from "./content-headers-ehyp3zqd.js";
10
10
  import {
11
11
  Api2
12
- } from "./media-uri-8y4d9f30.js";
12
+ } from "./content-headers-jhs8rzvk.js";
13
13
  import {
14
14
  Config2
15
- } from "./media-uri-j4at0y5c.js";
15
+ } from "./content-headers-j4at0y5c.js";
16
16
  import {
17
17
  node3
18
- } from "./media-uri-fmkwyf76.js";
18
+ } from "./content-headers-fmkwyf76.js";
19
19
  import {
20
20
  CorsConfig2
21
- } from "./media-uri-q4bn6dy8.js";
21
+ } from "./content-headers-q4bn6dy8.js";
22
22
  import {
23
- layer4
24
- } from "./media-uri-7dtbad8d.js";
23
+ layer3
24
+ } from "./content-headers-3te71694.js";
25
25
  import {
26
26
  node2
27
- } from "./media-uri-w9jcwh65.js";
27
+ } from "./content-headers-mzs0n5xz.js";
28
28
  import {
29
29
  handlers2
30
- } from "./media-uri-zy859vyn.js";
30
+ } from "./content-headers-6n31atta.js";
31
31
  import {
32
32
  authorizationLayer2
33
- } from "./media-uri-29nx48hm.js";
33
+ } from "./content-headers-29nx48hm.js";
34
34
  import {
35
35
  schemaErrorLayer2
36
- } from "./media-uri-bd8755ek.js";
36
+ } from "./content-headers-bd8755ek.js";
37
37
  import {
38
38
  defectResponseLayer2
39
- } from "./media-uri-n26yr6pw.js";
39
+ } from "./content-headers-n26yr6pw.js";
40
40
 
41
41
  // src/routes.ts
42
42
  import { Database } from "@opencode/core/database/database";
@@ -203,8 +203,8 @@ function makeRoutes(password, options, serviceURLs, overrides, instances) {
203
203
  })) : build(overrides);
204
204
  return serviceLayer.pipe(Layer.flatMap((context) => {
205
205
  const services = Layer.succeedContext(context);
206
- 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));
207
- 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(layer3), 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(() => {
206
+ const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer3(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
207
+ 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(() => {
208
208
  internal = Context.get(context, HttpRouter.HttpRouter).asHttpEffect().pipe(HttpEffect.toWebHandlerWith(context));
209
209
  })));
210
210
  return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./media-uri-72bf7qt9.js";
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-8y4d9f30.js";
6
+ } from "./content-headers-jhs8rzvk.js";
7
7
 
8
8
  // src/handlers/agent.ts
9
9
  import { Agent } from "@opencode/core/agent";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./media-uri-9rqn6x4v.js";
3
+ } from "./content-headers-9rqn6x4v.js";
4
4
 
5
5
  // src/space-store.ts
6
6
  var exports_space_store = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./media-uri-72bf7qt9.js";
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-8y4d9f30.js";
6
+ } from "./content-headers-jhs8rzvk.js";
7
7
 
8
8
  // src/handlers/skill.ts
9
9
  import { Skill } from "@opencode/core/skill";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./media-uri-9rqn6x4v.js";
3
+ } from "./content-headers-9rqn6x4v.js";
4
4
 
5
5
  // src/event-feed.ts
6
6
  var exports_event_feed = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./media-uri-72bf7qt9.js";
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-8y4d9f30.js";
6
+ } from "./content-headers-jhs8rzvk.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
  __export
3
- } from "./media-uri-9rqn6x4v.js";
3
+ } from "./content-headers-9rqn6x4v.js";
4
4
 
5
5
  // src/auth.ts
6
6
  var exports_auth = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./media-uri-rqgv9x42.js";
3
+ } from "./content-headers-rqgv9x42.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  requestRef2
8
- } from "./media-uri-72bf7qt9.js";
8
+ } from "./content-headers-br4x4prt.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 "./media-uri-72bf7qt9.js";
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./media-uri-0dfmev2z.js";
6
+ } from "./content-headers-ca564221.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./media-uri-fsvp99pe.js";
9
+ } from "./content-headers-ehyp3zqd.js";
10
10
 
11
11
  // src/api.ts
12
12
  import { makeDefaultApi } from "@opencode/protocol/api";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  CorsConfig2,
3
3
  isAllowedRequestOrigin2
4
- } from "./media-uri-q4bn6dy8.js";
4
+ } from "./content-headers-q4bn6dy8.js";
5
5
  import {
6
6
  locationErrors2,
7
7
  requestRef2
8
- } from "./media-uri-72bf7qt9.js";
8
+ } from "./content-headers-br4x4prt.js";
9
9
 
10
10
  // src/handlers/experimental/browser-tunnel.ts
11
11
  import { NodeHttpServerRequest } from "@effect/platform-node";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  response2
3
- } from "./media-uri-72bf7qt9.js";
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-8y4d9f30.js";
6
+ } from "./content-headers-jhs8rzvk.js";
7
7
  import {
8
8
  download2
9
- } from "./media-uri-t32e1bbt.js";
9
+ } from "./content-headers-t32e1bbt.js";
10
10
  import {
11
11
  parse2
12
- } from "./media-uri-8sb6qqpn.js";
12
+ } from "./content-headers-8sb6qqpn.js";
13
13
 
14
14
  // src/handlers/fs.ts
15
15
  import { Environment } from "@opencode/core/environment/index";
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./media-uri-72bf7qt9.js";
5
+ } from "./content-headers-br4x4prt.js";
6
6
  import {
7
7
  Api2
8
- } from "./media-uri-8y4d9f30.js";
8
+ } from "./content-headers-jhs8rzvk.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./media-uri-q4bn6dy8.js";
12
+ } from "./content-headers-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./media-uri-q187pxxd.js";
16
+ } from "./content-headers-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
  isAllowedRequestOrigin2
3
- } from "./media-uri-q4bn6dy8.js";
3
+ } from "./content-headers-q4bn6dy8.js";
4
4
  import {
5
5
  __export
6
- } from "./media-uri-9rqn6x4v.js";
6
+ } from "./content-headers-9rqn6x4v.js";
7
7
 
8
8
  // src/request-site.ts
9
9
  var exports_request_site = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./media-uri-9rqn6x4v.js";
3
+ } from "./content-headers-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: () => Service3,
9
+ Service: () => Service4,
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 Service3 extends Context.Service()("@opencode/ServerPairing") {
17
+ class Service4 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(Service3, Effect.gen(function* () {
20
+ var layer = Layer.effect(Service4, Effect.gen(function* () {
21
21
  const cache = yield* Cache.make({ capacity: 1000, lookup: noLookup, timeToLive: TTL });
22
- return Service3.of({
22
+ return Service4.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(Service3, Effect.gen(function* () {
30
30
  })
31
31
  });
32
32
  }));
33
- var node2 = makeGlobalNode({ service: Service3, layer, deps: [] });
33
+ var node2 = makeGlobalNode({ service: Service4, layer, deps: [] });
34
34
 
35
- export { Service3, node2, exports_pairing };
35
+ export { Service4, node2, exports_pairing };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  requestRef2
3
- } from "./media-uri-72bf7qt9.js";
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-8y4d9f30.js";
6
+ } from "./content-headers-jhs8rzvk.js";
7
7
 
8
8
  // src/handlers/debug.ts
9
9
  import { LocationServiceMap } from "@opencode/core/location-service-map";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  missingSession2,
3
3
  failedMessageDecode2
4
- } from "./media-uri-rqgv9x42.js";
4
+ } from "./content-headers-rqgv9x42.js";
5
5
  import {
6
6
  Api2
7
- } from "./media-uri-8y4d9f30.js";
7
+ } from "./content-headers-jhs8rzvk.js";
8
8
  import {
9
9
  wantsMediaRefs2
10
- } from "./media-uri-xthc02cw.js";
10
+ } from "./content-headers-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
  locationErrors2
3
- } from "./media-uri-72bf7qt9.js";
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-8y4d9f30.js";
6
+ } from "./content-headers-jhs8rzvk.js";
7
7
 
8
8
  // src/handlers/voice.ts
9
9
  import { Location } from "@opencode/core/location";
@@ -4,16 +4,16 @@ import {
4
4
  missingMessage2,
5
5
  failedMessageDecode2,
6
6
  failedSnapshot2
7
- } from "./media-uri-rqgv9x42.js";
7
+ } from "./content-headers-rqgv9x42.js";
8
8
  import {
9
9
  locationErrors2
10
- } from "./media-uri-72bf7qt9.js";
10
+ } from "./content-headers-br4x4prt.js";
11
11
  import {
12
12
  Api2
13
- } from "./media-uri-8y4d9f30.js";
13
+ } from "./content-headers-jhs8rzvk.js";
14
14
  import {
15
15
  wantsMediaRefs2
16
- } from "./media-uri-xthc02cw.js";
16
+ } from "./content-headers-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
  locationErrors2
3
- } from "./media-uri-72bf7qt9.js";
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-8y4d9f30.js";
6
+ } from "./content-headers-jhs8rzvk.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
  response2
3
- } from "./media-uri-72bf7qt9.js";
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-8y4d9f30.js";
6
+ } from "./content-headers-jhs8rzvk.js";
7
7
 
8
8
  // src/handlers/flag.ts
9
9
  import { Flag } from "@opencode/core/flag";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./media-uri-72bf7qt9.js";
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-8y4d9f30.js";
6
+ } from "./content-headers-jhs8rzvk.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
  __export
3
- } from "./media-uri-9rqn6x4v.js";
3
+ } from "./content-headers-9rqn6x4v.js";
4
4
 
5
5
  // src/content-headers.ts
6
6
  var exports_content_headers = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Service5
3
- } from "./media-uri-fmkwyf76.js";
3
+ } from "./content-headers-fmkwyf76.js";
4
4
 
5
5
  // src/handlers/space.ts
6
6
  import { InvalidRequestError } from "@opencode/protocol/errors";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./media-uri-8y4d9f30.js";
3
+ } from "./content-headers-jhs8rzvk.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 "./content-headers-rqgv9x42.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
  response2
3
- } from "./media-uri-72bf7qt9.js";
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-8y4d9f30.js";
6
+ } from "./content-headers-jhs8rzvk.js";
7
7
 
8
8
  // src/handlers/model.ts
9
9
  import { Model } from "@opencode/core/model";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./media-uri-8y4d9f30.js";
3
+ } from "./content-headers-jhs8rzvk.js";
4
4
 
5
5
  // src/handlers/worktree.ts
6
6
  import { Git } from "@opencode/core/git";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./media-uri-72bf7qt9.js";
3
+ } from "./content-headers-br4x4prt.js";
4
4
  import {
5
5
  Api2
6
- } from "./media-uri-8y4d9f30.js";
6
+ } from "./content-headers-jhs8rzvk.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
  Api2
3
- } from "./media-uri-8y4d9f30.js";
3
+ } from "./content-headers-jhs8rzvk.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -3,7 +3,7 @@ import {
3
3
  download2,
4
4
  disposition2,
5
5
  exports_content_headers
6
- } from "./chunks/media-uri-t32e1bbt.js";
6
+ } from "./chunks/content-headers-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/media-uri-q4bn6dy8.js";
5
+ } from "./chunks/content-headers-q4bn6dy8.js";
6
6
  export {
7
7
  CorsConfig2 as CorsConfig,
8
8
  isAllowedCorsOrigin2 as isAllowedCorsOrigin,
@@ -7,7 +7,7 @@ import {
7
7
  make4,
8
8
  layer2,
9
9
  exports_event_feed
10
- } from "./chunks/media-uri-hs3dbf8w.js";
10
+ } from "./chunks/content-headers-hs3dbf8w.js";
11
11
  export {
12
12
  EncodingError2 as EncodingError,
13
13
  exports_event_feed as EventFeed,