@opencode/server 0.0.0-dev-1343 → 0.0.0-dev-1345

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 (127) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{request-tracing-0rzj25w4.js → content-headers-017ycvbx.js} +1 -1
  4. package/dist/chunks/{request-tracing-42gz2497.js → content-headers-0kaqar26.js} +8 -8
  5. package/dist/chunks/{request-tracing-9qbtnftt.js → content-headers-1f6ax3cs.js} +2 -2
  6. package/dist/chunks/{request-tracing-h8savpc9.js → content-headers-25mmthfq.js} +1 -1
  7. package/dist/chunks/{request-tracing-tybmb1m6.js → content-headers-2m89k77v.js} +35 -35
  8. package/dist/chunks/{request-tracing-e6e4kz0w.js → content-headers-39nnfjx1.js} +4 -4
  9. package/dist/chunks/{request-tracing-xzvqye02.js → content-headers-4wdpym7a.js} +2 -2
  10. package/dist/chunks/{request-tracing-j2hee7a4.js → content-headers-674bvqhj.js} +1 -1
  11. package/dist/chunks/{request-tracing-v1nm30fe.js → content-headers-7176hv4r.js} +2 -2
  12. package/dist/chunks/{request-tracing-pcsx5fe9.js → content-headers-71k5tcrt.js} +2 -2
  13. package/dist/chunks/{request-tracing-z3e7v67k.js → content-headers-7dtbad8d.js} +7 -7
  14. package/dist/chunks/{request-tracing-7ydfwv45.js → content-headers-7ydfwv45.js} +1 -1
  15. package/dist/chunks/{request-tracing-fqfqd37z.js → content-headers-8hpbtmk8.js} +9 -9
  16. package/dist/chunks/{request-tracing-8sb6qqpn.js → content-headers-8sb6qqpn.js} +1 -1
  17. package/dist/chunks/{request-tracing-ta6eh4bd.js → content-headers-9s74ga54.js} +3 -3
  18. package/dist/chunks/{request-tracing-7p3x2xdt.js → content-headers-agvqxz1m.js} +1 -1
  19. package/dist/chunks/{request-tracing-jr0zs68z.js → content-headers-ahr7p3hr.js} +2 -2
  20. package/dist/chunks/{request-tracing-2qpg9hy1.js → content-headers-arc6yb3k.js} +4 -4
  21. package/dist/chunks/{request-tracing-t62b1gmw.js → content-headers-aw6r5m46.js} +2 -2
  22. package/dist/chunks/{request-tracing-7w7s37ab.js → content-headers-bn6f9jps.js} +2 -2
  23. package/dist/chunks/{request-tracing-s4qxpf1p.js → content-headers-dcacvbbe.js} +2 -2
  24. package/dist/chunks/{request-tracing-z3gjns4k.js → content-headers-dg1y36d1.js} +1 -1
  25. package/dist/chunks/{request-tracing-djr0jy89.js → content-headers-djr0jy89.js} +1 -1
  26. package/dist/chunks/{request-tracing-1xf02gcb.js → content-headers-f29ya2cy.js} +16 -16
  27. package/dist/chunks/{request-tracing-tze85g2y.js → content-headers-fnnh1ev4.js} +2 -2
  28. package/dist/chunks/{request-tracing-b6cxph1w.js → content-headers-fqrs7w45.js} +4 -4
  29. package/dist/chunks/{request-tracing-42tqx64k.js → content-headers-g13c3tyy.js} +1 -1
  30. package/dist/chunks/{request-tracing-g23ffrnz.js → content-headers-g23ffrnz.js} +2 -2
  31. package/dist/chunks/{request-tracing-xtk9sf9r.js → content-headers-ggn61yz4.js} +8 -8
  32. package/dist/chunks/{request-tracing-52x44xqp.js → content-headers-gyrgba8r.js} +2 -2
  33. package/dist/chunks/{request-tracing-hgrkvk6s.js → content-headers-hgrkvk6s.js} +1 -1
  34. package/dist/chunks/{request-tracing-j4at0y5c.js → content-headers-j4at0y5c.js} +1 -1
  35. package/dist/chunks/{request-tracing-mzs0n5xz.js → content-headers-kqr36gas.js} +7 -7
  36. package/dist/chunks/{request-tracing-n6ypjnhz.js → content-headers-kstarh2s.js} +1 -1
  37. package/dist/chunks/{request-tracing-qdrpva4m.js → content-headers-mbkcewfs.js} +2 -2
  38. package/dist/chunks/{request-tracing-12zwgdzg.js → content-headers-mnjrntg3.js} +2 -2
  39. package/dist/chunks/{request-tracing-n0a33cnc.js → content-headers-mtybqmvz.js} +3 -3
  40. package/dist/chunks/{request-tracing-hmwn16zp.js → content-headers-myqk22k5.js} +2 -2
  41. package/dist/chunks/{request-tracing-b315n07t.js → content-headers-n9zx89nc.js} +2 -2
  42. package/dist/chunks/{request-tracing-8yrm3yp0.js → content-headers-nmkkhhz8.js} +1 -1
  43. package/dist/chunks/{request-tracing-xa0sy2cm.js → content-headers-p4xb9931.js} +4 -4
  44. package/dist/chunks/{request-tracing-6kxghskv.js → content-headers-pes81x25.js} +2 -2
  45. package/dist/chunks/{request-tracing-qd05162x.js → content-headers-qfyg9gb7.js} +4 -4
  46. package/dist/chunks/{request-tracing-rktygpea.js → content-headers-rktygpea.js} +1 -1
  47. package/dist/chunks/{request-tracing-wnw6k7m6.js → content-headers-srk55cb1.js} +3 -3
  48. package/dist/chunks/{request-tracing-t32e1bbt.js → content-headers-t32e1bbt.js} +1 -1
  49. package/dist/chunks/{request-tracing-j80tzjj3.js → content-headers-tdwf54y9.js} +3 -3
  50. package/dist/chunks/{request-tracing-pmr95crm.js → content-headers-tkemr0cm.js} +2 -2
  51. package/dist/chunks/{request-tracing-vq9qd4v4.js → content-headers-vx0m627p.js} +4 -4
  52. package/dist/chunks/{request-tracing-xtx0rz3e.js → content-headers-vxjh2fe4.js} +2 -2
  53. package/dist/chunks/{request-tracing-4zne1sdj.js → content-headers-wk8g2q53.js} +2 -2
  54. package/dist/chunks/{request-tracing-7nstrb2v.js → content-headers-yadfhm4m.js} +2 -2
  55. package/dist/chunks/{request-tracing-8g1x5cgg.js → content-headers-ycmcs5f0.js} +2 -2
  56. package/dist/chunks/{request-tracing-qahj7606.js → content-headers-ytyf0yt4.js} +1 -1
  57. package/dist/content-headers.js +1 -1
  58. package/dist/cors.js +1 -1
  59. package/dist/event-feed.js +3 -3
  60. package/dist/fetch.js +62 -62
  61. package/dist/handlers/agent.js +6 -6
  62. package/dist/handlers/artifact.js +3 -3
  63. package/dist/handlers/automation.js +2 -2
  64. package/dist/handlers/blob.js +3 -3
  65. package/dist/handlers/command.js +6 -6
  66. package/dist/handlers/config.js +6 -6
  67. package/dist/handlers/credential.js +7 -7
  68. package/dist/handlers/debug.js +6 -6
  69. package/dist/handlers/event.js +7 -7
  70. package/dist/handlers/form.js +6 -6
  71. package/dist/handlers/fs.js +8 -8
  72. package/dist/handlers/generate.js +6 -6
  73. package/dist/handlers/integration.js +6 -6
  74. package/dist/handlers/job.js +2 -2
  75. package/dist/handlers/location.js +6 -6
  76. package/dist/handlers/machine.js +1 -1
  77. package/dist/handlers/mcp.js +8 -8
  78. package/dist/handlers/media.js +2 -2
  79. package/dist/handlers/message.js +7 -7
  80. package/dist/handlers/migration.js +6 -6
  81. package/dist/handlers/model.js +6 -6
  82. package/dist/handlers/permission.js +6 -6
  83. package/dist/handlers/persistent-pty.js +16 -16
  84. package/dist/handlers/plugin.js +6 -6
  85. package/dist/handlers/project.js +6 -6
  86. package/dist/handlers/provider.js +6 -6
  87. package/dist/handlers/pty-socket.js +1 -1
  88. package/dist/handlers/pty.js +8 -8
  89. package/dist/handlers/reference.js +6 -6
  90. package/dist/handlers/rpc.js +6 -6
  91. package/dist/handlers/server.js +9 -9
  92. package/dist/handlers/session-error.js +1 -1
  93. package/dist/handlers/session.js +7 -7
  94. package/dist/handlers/shell.js +6 -6
  95. package/dist/handlers/skill.js +6 -6
  96. package/dist/handlers/usage.js +6 -6
  97. package/dist/handlers/vcs.js +6 -6
  98. package/dist/handlers/voice.js +6 -6
  99. package/dist/handlers/websearch.js +6 -6
  100. package/dist/handlers/worktree.js +6 -6
  101. package/dist/handlers.js +53 -53
  102. package/dist/location.js +4 -4
  103. package/dist/media-uri.js +1 -1
  104. package/dist/middleware/authorization.js +2 -2
  105. package/dist/middleware/defect-response.js +1 -1
  106. package/dist/middleware/form-location.js +3 -3
  107. package/dist/middleware/schema-error.js +1 -1
  108. package/dist/middleware/session-location.js +3 -3
  109. package/dist/pairing.js +3 -3
  110. package/dist/process.js +63 -63
  111. package/dist/range.js +1 -1
  112. package/dist/request-site.js +2 -2
  113. package/dist/request-tracing.js +1 -1
  114. package/dist/routes.d.ts +2 -2
  115. package/dist/routes.js +57 -57
  116. package/dist/server-info.js +5 -5
  117. package/dist/service-status.js +3 -3
  118. package/dist/workerd.js +63 -63
  119. package/package.json +8 -8
  120. /package/dist/chunks/{request-tracing-9rqn6x4v.js → content-headers-9rqn6x4v.js} +0 -0
  121. /package/dist/chunks/{request-tracing-bd8755ek.js → content-headers-bd8755ek.js} +0 -0
  122. /package/dist/chunks/{request-tracing-n26yr6pw.js → content-headers-n26yr6pw.js} +0 -0
  123. /package/dist/chunks/{request-tracing-q187pxxd.js → content-headers-q187pxxd.js} +0 -0
  124. /package/dist/chunks/{request-tracing-q4bn6dy8.js → content-headers-q4bn6dy8.js} +0 -0
  125. /package/dist/chunks/{request-tracing-smaf4a18.js → content-headers-smaf4a18.js} +0 -0
  126. /package/dist/chunks/{request-tracing-xthc02cw.js → content-headers-xthc02cw.js} +0 -0
  127. /package/dist/chunks/{request-tracing-yc7nft6q.js → content-headers-yc7nft6q.js} +0 -0
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./request-tracing-j80tzjj3.js";
5
+ } from "./content-headers-tdwf54y9.js";
6
6
  import {
7
7
  Api2
8
- } from "./request-tracing-n0a33cnc.js";
8
+ } from "./content-headers-mtybqmvz.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./request-tracing-q4bn6dy8.js";
12
+ } from "./content-headers-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./request-tracing-q187pxxd.js";
16
+ } from "./content-headers-q187pxxd.js";
17
17
 
18
18
  // src/handlers/mcp.ts
19
19
  import { Location } from "@opencode/core/location";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./request-tracing-n0a33cnc.js";
3
+ } from "./content-headers-mtybqmvz.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
  download2
3
- } from "./request-tracing-t32e1bbt.js";
3
+ } from "./content-headers-t32e1bbt.js";
4
4
  import {
5
5
  parse2
6
- } from "./request-tracing-8sb6qqpn.js";
6
+ } from "./content-headers-8sb6qqpn.js";
7
7
 
8
8
  // src/handlers/blob.ts
9
9
  import { BlobStore } from "@opencode/core/blob-store";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Api2
3
- } from "./request-tracing-n0a33cnc.js";
3
+ } from "./content-headers-mtybqmvz.js";
4
4
  import {
5
5
  SESSION_TTL_SECONDS2,
6
6
  Config2,
7
7
  issueSession2,
8
8
  sessionCookieName2
9
- } from "./request-tracing-j4at0y5c.js";
10
- import {
11
- Service2
12
- } from "./request-tracing-z3e7v67k.js";
9
+ } from "./content-headers-j4at0y5c.js";
13
10
  import {
14
11
  Service4
15
- } from "./request-tracing-mzs0n5xz.js";
12
+ } from "./content-headers-7dtbad8d.js";
13
+ import {
14
+ Service2
15
+ } from "./content-headers-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* Service4;
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
  locationErrors2
3
- } from "./request-tracing-j80tzjj3.js";
3
+ } from "./content-headers-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./request-tracing-n0a33cnc.js";
6
+ } from "./content-headers-mtybqmvz.js";
7
7
 
8
8
  // src/handlers/generate.ts
9
9
  import { Generate } from "@opencode/core/generate";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./request-tracing-smaf4a18.js";
3
+ } from "./content-headers-smaf4a18.js";
4
4
 
5
5
  // src/handlers/automation.ts
6
6
  import { Automation } from "@opencode/core/automation";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./request-tracing-9rqn6x4v.js";
3
+ } from "./content-headers-9rqn6x4v.js";
4
4
 
5
5
  // src/auth.ts
6
6
  var exports_auth = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./request-tracing-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: () => 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 };
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./request-tracing-j80tzjj3.js";
5
+ } from "./content-headers-tdwf54y9.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 "./request-tracing-j80tzjj3.js";
3
+ } from "./content-headers-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./request-tracing-n0a33cnc.js";
6
+ } from "./content-headers-mtybqmvz.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 "./request-tracing-j80tzjj3.js";
3
+ } from "./content-headers-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./request-tracing-n0a33cnc.js";
6
+ } from "./content-headers-mtybqmvz.js";
7
7
 
8
8
  // src/handlers/skill.ts
9
9
  import { Skill } from "@opencode/core/skill";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./request-tracing-j80tzjj3.js";
3
+ } from "./content-headers-tdwf54y9.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./request-tracing-n6ypjnhz.js";
6
+ } from "./content-headers-kstarh2s.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./request-tracing-qahj7606.js";
9
+ } from "./content-headers-ytyf0yt4.js";
10
10
 
11
11
  // src/api.ts
12
12
  import { makeDefaultApi } from "@opencode/protocol/api";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  isAllowedRequestOrigin2
3
- } from "./request-tracing-q4bn6dy8.js";
3
+ } from "./content-headers-q4bn6dy8.js";
4
4
  import {
5
5
  __export
6
- } from "./request-tracing-9rqn6x4v.js";
6
+ } from "./content-headers-9rqn6x4v.js";
7
7
 
8
8
  // src/request-site.ts
9
9
  var exports_request_site = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./request-tracing-j80tzjj3.js";
3
+ } from "./content-headers-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./request-tracing-n0a33cnc.js";
6
+ } from "./content-headers-mtybqmvz.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
  Api2
3
- } from "./request-tracing-n0a33cnc.js";
3
+ } from "./content-headers-mtybqmvz.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./request-tracing-j80tzjj3.js";
5
+ } from "./content-headers-tdwf54y9.js";
6
6
  import {
7
7
  Api2
8
- } from "./request-tracing-n0a33cnc.js";
8
+ } from "./content-headers-mtybqmvz.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./request-tracing-q4bn6dy8.js";
12
+ } from "./content-headers-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./request-tracing-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
  response2
3
- } from "./request-tracing-j80tzjj3.js";
3
+ } from "./content-headers-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./request-tracing-n0a33cnc.js";
6
+ } from "./content-headers-mtybqmvz.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 "./request-tracing-9rqn6x4v.js";
3
+ } from "./content-headers-9rqn6x4v.js";
4
4
 
5
5
  // src/event-feed.ts
6
6
  var exports_event_feed = {};
@@ -11,7 +11,7 @@ __export(exports_event_feed, {
11
11
  SubscriberCapacity: () => SubscriberCapacity2,
12
12
  SubscriberOverflowError: () => SubscriberOverflowError2,
13
13
  frame: () => frame2,
14
- layer: () => layer4,
14
+ layer: () => layer3,
15
15
  make: () => make4
16
16
  });
17
17
  import { Bus } from "@opencode/core/bus";
@@ -76,9 +76,9 @@ var make4 = Effect.fn("EventFeed.make")(function* (observe, options) {
76
76
  subscribe: (types) => Effect.acquireRelease(Queue.dropping(capacity).pipe(Effect.tap((queue) => Effect.sync(() => subscribers.set(queue, types?.length ? new Set(types) : undefined)))), (queue) => Effect.sync(() => subscribers.delete(queue)).pipe(Effect.andThen(Queue.shutdown(queue)), Effect.asVoid)).pipe(Effect.map(Stream.fromQueue))
77
77
  });
78
78
  });
79
- var layer4 = Layer.effect(Service3, Effect.gen(function* () {
79
+ var layer3 = Layer.effect(Service3, Effect.gen(function* () {
80
80
  const bus = yield* Bus.Service;
81
81
  return yield* make4(bus.listen);
82
82
  }));
83
83
 
84
- export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service3, frame2, make4, layer4, exports_event_feed };
84
+ export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service3, frame2, make4, layer3, exports_event_feed };
@@ -4,7 +4,7 @@ import {
4
4
  authorized2,
5
5
  verifySession2,
6
6
  sessionCookieName2
7
- } from "./request-tracing-j4at0y5c.js";
7
+ } from "./content-headers-j4at0y5c.js";
8
8
 
9
9
  // src/middleware/authorization.ts
10
10
  import { UnauthorizedError } from "@opencode/protocol/errors";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./request-tracing-smaf4a18.js";
3
+ } from "./content-headers-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./request-tracing-j80tzjj3.js";
8
+ } from "./content-headers-tdwf54y9.js";
9
9
  import {
10
10
  Api2
11
- } from "./request-tracing-n0a33cnc.js";
11
+ } from "./content-headers-mtybqmvz.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 "./request-tracing-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
  missingSession2
3
- } from "./request-tracing-smaf4a18.js";
3
+ } from "./content-headers-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 layer3 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
54
+ var layer2 = 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 layer3 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
59
59
  }));
60
60
  }));
61
61
 
62
- export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2, layer3 };
62
+ export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2, layer2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./request-tracing-j80tzjj3.js";
3
+ } from "./content-headers-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./request-tracing-n0a33cnc.js";
6
+ } from "./content-headers-mtybqmvz.js";
7
7
 
8
8
  // src/handlers/reference.ts
9
9
  import { Reference } from "@opencode/core/reference";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  response2
3
- } from "./request-tracing-j80tzjj3.js";
3
+ } from "./content-headers-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./request-tracing-n0a33cnc.js";
6
+ } from "./content-headers-mtybqmvz.js";
7
7
  import {
8
8
  download2
9
- } from "./request-tracing-t32e1bbt.js";
9
+ } from "./content-headers-t32e1bbt.js";
10
10
  import {
11
11
  parse2
12
- } from "./request-tracing-8sb6qqpn.js";
12
+ } from "./content-headers-8sb6qqpn.js";
13
13
 
14
14
  // src/handlers/fs.ts
15
15
  import { FileSystem } from "@opencode/core/filesystem";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./request-tracing-j80tzjj3.js";
3
+ } from "./content-headers-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./request-tracing-n0a33cnc.js";
6
+ } from "./content-headers-mtybqmvz.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 "./request-tracing-j80tzjj3.js";
3
+ } from "./content-headers-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./request-tracing-n0a33cnc.js";
6
+ } from "./content-headers-mtybqmvz.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 "./request-tracing-j80tzjj3.js";
3
+ } from "./content-headers-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./request-tracing-n0a33cnc.js";
6
+ } from "./content-headers-mtybqmvz.js";
7
7
 
8
8
  // src/handlers/vcs.ts
9
9
  import { Vcs } from "@opencode/core/vcs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./request-tracing-j80tzjj3.js";
3
+ } from "./content-headers-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./request-tracing-n0a33cnc.js";
6
+ } from "./content-headers-mtybqmvz.js";
7
7
 
8
8
  // src/handlers/plugin.ts
9
9
  import { Plugin } from "@opencode/core/plugin";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  sessionInfo2
4
- } from "./request-tracing-j80tzjj3.js";
4
+ } from "./content-headers-tdwf54y9.js";
5
5
 
6
6
  // src/middleware/session-location.ts
7
7
  import { Instance } from "@opencode/core/instance/service";
@@ -3,7 +3,7 @@ import {
3
3
  download2,
4
4
  disposition2,
5
5
  exports_content_headers
6
- } from "./chunks/request-tracing-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/request-tracing-q4bn6dy8.js";
5
+ } from "./chunks/content-headers-q4bn6dy8.js";
6
6
  export {
7
7
  CorsConfig2 as CorsConfig,
8
8
  isAllowedCorsOrigin2 as isAllowedCorsOrigin,
@@ -5,9 +5,9 @@ import {
5
5
  Service3,
6
6
  frame2,
7
7
  make4,
8
- layer4,
8
+ layer3,
9
9
  exports_event_feed
10
- } from "./chunks/request-tracing-qd05162x.js";
10
+ } from "./chunks/content-headers-qfyg9gb7.js";
11
11
  export {
12
12
  EncodingError2 as EncodingError,
13
13
  exports_event_feed as EventFeed,
@@ -15,6 +15,6 @@ export {
15
15
  SubscriberCapacity2 as SubscriberCapacity,
16
16
  SubscriberOverflowError2 as SubscriberOverflowError,
17
17
  frame2 as frame,
18
- layer4 as layer,
18
+ layer3 as layer,
19
19
  make4 as make
20
20
  };