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

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 (126) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{content-headers-0kaqar26.js → media-uri-202t0v28.js} +5 -5
  4. package/dist/chunks/{content-headers-ycmcs5f0.js → media-uri-20wvj9q6.js} +2 -2
  5. package/dist/chunks/{content-headers-39nnfjx1.js → media-uri-39nnfjx1.js} +1 -1
  6. package/dist/chunks/{content-headers-mnjrntg3.js → media-uri-4apj6a8e.js} +2 -2
  7. package/dist/chunks/{content-headers-mbkcewfs.js → media-uri-4gbck4qg.js} +2 -2
  8. package/dist/chunks/{content-headers-fnnh1ev4.js → media-uri-4r2ye500.js} +2 -2
  9. package/dist/chunks/{content-headers-g23ffrnz.js → media-uri-50kbksvb.js} +2 -2
  10. package/dist/chunks/{content-headers-7176hv4r.js → media-uri-6t6fd9bq.js} +2 -2
  11. package/dist/chunks/{content-headers-7dtbad8d.js → media-uri-7dtbad8d.js} +1 -1
  12. package/dist/chunks/{content-headers-pes81x25.js → media-uri-7x6cg3xs.js} +2 -2
  13. package/dist/chunks/{content-headers-7ydfwv45.js → media-uri-7ydfwv45.js} +1 -1
  14. package/dist/chunks/{content-headers-dcacvbbe.js → media-uri-86dz2n4m.js} +2 -2
  15. package/dist/chunks/{content-headers-gyrgba8r.js → media-uri-8mfdzabk.js} +2 -2
  16. package/dist/chunks/{content-headers-srk55cb1.js → media-uri-8n1ypg70.js} +3 -3
  17. package/dist/chunks/{content-headers-8sb6qqpn.js → media-uri-8sb6qqpn.js} +1 -1
  18. package/dist/chunks/{content-headers-4wdpym7a.js → media-uri-ad35pjas.js} +4 -4
  19. package/dist/chunks/{content-headers-1f6ax3cs.js → media-uri-b1x3j2e8.js} +2 -2
  20. package/dist/chunks/{content-headers-71k5tcrt.js → media-uri-b7yt2ykh.js} +2 -2
  21. package/dist/chunks/{content-headers-wk8g2q53.js → media-uri-b87bs0cf.js} +2 -2
  22. package/dist/chunks/{content-headers-vx0m627p.js → media-uri-baxwenvw.js} +4 -4
  23. package/dist/chunks/{content-headers-vxjh2fe4.js → media-uri-d0advawr.js} +2 -2
  24. package/dist/chunks/{content-headers-djr0jy89.js → media-uri-djr0jy89.js} +1 -1
  25. package/dist/chunks/{content-headers-arc6yb3k.js → media-uri-dqfyxmp4.js} +4 -4
  26. package/dist/chunks/{content-headers-agvqxz1m.js → media-uri-edwk6ehd.js} +1 -1
  27. package/dist/chunks/{content-headers-qfyg9gb7.js → media-uri-fvpjvjpp.js} +7 -7
  28. package/dist/chunks/{content-headers-8hpbtmk8.js → media-uri-fyve7tsy.js} +9 -9
  29. package/dist/chunks/{content-headers-yadfhm4m.js → media-uri-g80pvn6e.js} +2 -2
  30. package/dist/chunks/{content-headers-dg1y36d1.js → media-uri-g97h7k0s.js} +1 -1
  31. package/dist/chunks/{content-headers-hgrkvk6s.js → media-uri-hgrkvk6s.js} +1 -1
  32. package/dist/chunks/{content-headers-p4xb9931.js → media-uri-hvn8tnxr.js} +4 -4
  33. package/dist/chunks/{content-headers-j4at0y5c.js → media-uri-j4at0y5c.js} +1 -1
  34. package/dist/chunks/{content-headers-tdwf54y9.js → media-uri-j80tzjj3.js} +3 -3
  35. package/dist/chunks/{content-headers-bn6f9jps.js → media-uri-k26h7zjg.js} +2 -2
  36. package/dist/chunks/{content-headers-myqk22k5.js → media-uri-myqk22k5.js} +2 -2
  37. package/dist/chunks/{content-headers-kstarh2s.js → media-uri-n6ypjnhz.js} +1 -1
  38. package/dist/chunks/{content-headers-f29ya2cy.js → media-uri-n74dt79t.js} +14 -14
  39. package/dist/chunks/{content-headers-674bvqhj.js → media-uri-p4zkxzv7.js} +1 -1
  40. package/dist/chunks/{content-headers-25mmthfq.js → media-uri-p9wp66hf.js} +1 -1
  41. package/dist/chunks/{content-headers-g13c3tyy.js → media-uri-pv4dnzzq.js} +1 -1
  42. package/dist/chunks/{content-headers-fqrs7w45.js → media-uri-q8jgva1w.js} +4 -4
  43. package/dist/chunks/{content-headers-ytyf0yt4.js → media-uri-qahj7606.js} +1 -1
  44. package/dist/chunks/{content-headers-rktygpea.js → media-uri-rktygpea.js} +1 -1
  45. package/dist/chunks/{content-headers-mtybqmvz.js → media-uri-s8t5gq7c.js} +3 -3
  46. package/dist/chunks/{content-headers-t32e1bbt.js → media-uri-t32e1bbt.js} +1 -1
  47. package/dist/chunks/{content-headers-aw6r5m46.js → media-uri-t62b1gmw.js} +2 -2
  48. package/dist/chunks/{content-headers-tkemr0cm.js → media-uri-t8azv5ge.js} +2 -2
  49. package/dist/chunks/{content-headers-ahr7p3hr.js → media-uri-v0z8pce5.js} +2 -2
  50. package/dist/chunks/{content-headers-ggn61yz4.js → media-uri-vh37ha9e.js} +6 -6
  51. package/dist/chunks/{content-headers-9s74ga54.js → media-uri-w13ad1dk.js} +3 -3
  52. package/dist/chunks/{content-headers-kqr36gas.js → media-uri-w9jcwh65.js} +7 -7
  53. package/dist/chunks/{content-headers-nmkkhhz8.js → media-uri-wh07bcjv.js} +1 -1
  54. package/dist/chunks/{content-headers-n9zx89nc.js → media-uri-zrptb2x8.js} +2 -2
  55. package/dist/chunks/{content-headers-2m89k77v.js → media-uri-zwmx42kw.js} +35 -35
  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 +60 -60
  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/machine.js +1 -1
  76. package/dist/handlers/mcp.js +8 -8
  77. package/dist/handlers/media.js +2 -2
  78. package/dist/handlers/message.js +7 -7
  79. package/dist/handlers/migration.js +6 -6
  80. package/dist/handlers/model.js +6 -6
  81. package/dist/handlers/permission.js +6 -6
  82. package/dist/handlers/persistent-pty.js +16 -16
  83. package/dist/handlers/plugin.js +6 -6
  84. package/dist/handlers/project.js +6 -6
  85. package/dist/handlers/provider.js +6 -6
  86. package/dist/handlers/pty-socket.js +1 -1
  87. package/dist/handlers/pty.js +8 -8
  88. package/dist/handlers/reference.js +6 -6
  89. package/dist/handlers/rpc.js +6 -6
  90. package/dist/handlers/server.js +9 -9
  91. package/dist/handlers/session-error.js +1 -1
  92. package/dist/handlers/session.js +7 -7
  93. package/dist/handlers/shell.js +6 -6
  94. package/dist/handlers/skill.js +6 -6
  95. package/dist/handlers/usage.js +6 -6
  96. package/dist/handlers/vcs.js +6 -6
  97. package/dist/handlers/voice.js +6 -6
  98. package/dist/handlers/websearch.js +6 -6
  99. package/dist/handlers/worktree.js +6 -6
  100. package/dist/handlers.js +53 -53
  101. package/dist/location.js +4 -4
  102. package/dist/media-uri.js +1 -1
  103. package/dist/middleware/authorization.js +2 -2
  104. package/dist/middleware/defect-response.js +1 -1
  105. package/dist/middleware/form-location.js +3 -3
  106. package/dist/middleware/schema-error.js +1 -1
  107. package/dist/middleware/session-location.js +3 -3
  108. package/dist/pairing.js +3 -3
  109. package/dist/process.js +61 -61
  110. package/dist/range.js +1 -1
  111. package/dist/request-site.js +2 -2
  112. package/dist/request-tracing.js +1 -1
  113. package/dist/routes.js +57 -57
  114. package/dist/server-info.js +1 -1
  115. package/dist/service-status.js +1 -1
  116. package/dist/workerd.js +61 -61
  117. package/package.json +8 -8
  118. /package/dist/chunks/{content-headers-017ycvbx.js → media-uri-017ycvbx.js} +0 -0
  119. /package/dist/chunks/{content-headers-9rqn6x4v.js → media-uri-9rqn6x4v.js} +0 -0
  120. /package/dist/chunks/{content-headers-bd8755ek.js → media-uri-bd8755ek.js} +0 -0
  121. /package/dist/chunks/{content-headers-n26yr6pw.js → media-uri-n26yr6pw.js} +0 -0
  122. /package/dist/chunks/{content-headers-q187pxxd.js → media-uri-q187pxxd.js} +0 -0
  123. /package/dist/chunks/{content-headers-q4bn6dy8.js → media-uri-q4bn6dy8.js} +0 -0
  124. /package/dist/chunks/{content-headers-smaf4a18.js → media-uri-smaf4a18.js} +0 -0
  125. /package/dist/chunks/{content-headers-xthc02cw.js → media-uri-xthc02cw.js} +0 -0
  126. /package/dist/chunks/{content-headers-yc7nft6q.js → media-uri-yc7nft6q.js} +0 -0
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/content-headers-mtybqmvz.js";
4
- import"./chunks/content-headers-ytyf0yt4.js";
5
- import"./chunks/content-headers-kstarh2s.js";
6
- import"./chunks/content-headers-tdwf54y9.js";
7
- import"./chunks/content-headers-smaf4a18.js";
3
+ } from "./chunks/media-uri-s8t5gq7c.js";
4
+ import"./chunks/media-uri-qahj7606.js";
5
+ import"./chunks/media-uri-n6ypjnhz.js";
6
+ import"./chunks/media-uri-j80tzjj3.js";
7
+ import"./chunks/media-uri-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/content-headers-j4at0y5c.js";
10
+ } from "./chunks/media-uri-j4at0y5c.js";
11
11
  export {
12
12
  Config2 as Config,
13
13
  SESSION_TTL_SECONDS2 as SESSION_TTL_SECONDS,
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  isAllowedCorsOrigin2
3
- } from "./content-headers-q4bn6dy8.js";
3
+ } from "./media-uri-q4bn6dy8.js";
4
4
  import {
5
5
  middleware2
6
- } from "./content-headers-myqk22k5.js";
6
+ } from "./media-uri-myqk22k5.js";
7
7
  import {
8
8
  withoutParentSpan2
9
- } from "./content-headers-yc7nft6q.js";
9
+ } from "./media-uri-yc7nft6q.js";
10
10
  import {
11
11
  createRoutes2
12
- } from "./content-headers-f29ya2cy.js";
12
+ } from "./media-uri-n74dt79t.js";
13
13
  import {
14
14
  __export
15
- } from "./content-headers-9rqn6x4v.js";
15
+ } from "./media-uri-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 "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-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 "./content-headers-9rqn6x4v.js";
3
+ } from "./media-uri-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 "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/skill.ts
9
9
  import { Skill } from "@opencode/core/skill";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-s8t5gq7c.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 "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-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 "./content-headers-t32e1bbt.js";
3
+ } from "./media-uri-t32e1bbt.js";
4
4
  import {
5
5
  parse2
6
- } from "./content-headers-8sb6qqpn.js";
6
+ } from "./media-uri-8sb6qqpn.js";
7
7
 
8
8
  // src/handlers/blob.ts
9
9
  import { BlobStore } from "@opencode/core/blob-store";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/provider.ts
9
9
  import { Provider } from "@opencode/core/provider";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./content-headers-9rqn6x4v.js";
3
+ } from "./media-uri-9rqn6x4v.js";
4
4
 
5
5
  // src/server-info.ts
6
6
  var exports_server_info = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-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 "./content-headers-smaf4a18.js";
3
+ } from "./media-uri-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 "./content-headers-mtybqmvz.js";
3
+ } from "./media-uri-s8t5gq7c.js";
4
4
  import {
5
5
  requireConnectable2
6
- } from "./content-headers-fnnh1ev4.js";
6
+ } from "./media-uri-4r2ye500.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
  locationErrors2
3
- } from "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/generate.ts
9
9
  import { Generate } from "@opencode/core/generate";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./content-headers-smaf4a18.js";
3
+ } from "./media-uri-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./content-headers-tdwf54y9.js";
8
+ } from "./media-uri-j80tzjj3.js";
9
9
  import {
10
10
  Api2
11
- } from "./content-headers-mtybqmvz.js";
11
+ } from "./media-uri-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 "./content-headers-9rqn6x4v.js";
3
+ } from "./media-uri-9rqn6x4v.js";
4
4
 
5
5
  // src/range.ts
6
6
  var exports_range = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./content-headers-mtybqmvz.js";
3
+ } from "./media-uri-s8t5gq7c.js";
4
4
  import {
5
- Service3,
5
+ Service2,
6
6
  frame2
7
- } from "./content-headers-qfyg9gb7.js";
7
+ } from "./media-uri-fvpjvjpp.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* Service2;
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 "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-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 "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-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 "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/command.ts
9
9
  import { Command } from "@opencode/core/command";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  response2
3
- } from "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-s8t5gq7c.js";
7
7
  import {
8
8
  download2
9
- } from "./content-headers-t32e1bbt.js";
9
+ } from "./media-uri-t32e1bbt.js";
10
10
  import {
11
11
  parse2
12
- } from "./content-headers-8sb6qqpn.js";
12
+ } from "./media-uri-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 "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-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 "./content-headers-t32e1bbt.js";
4
+ } from "./media-uri-t32e1bbt.js";
5
5
 
6
6
  // src/handlers/media.ts
7
7
  import { Database } from "@opencode/core/database/database";
@@ -3,16 +3,16 @@ import {
3
3
  missingMessage2,
4
4
  failedMessageDecode2,
5
5
  failedSnapshot2
6
- } from "./content-headers-smaf4a18.js";
6
+ } from "./media-uri-smaf4a18.js";
7
7
  import {
8
8
  locationErrors2
9
- } from "./content-headers-tdwf54y9.js";
9
+ } from "./media-uri-j80tzjj3.js";
10
10
  import {
11
11
  Api2
12
- } from "./content-headers-mtybqmvz.js";
12
+ } from "./media-uri-s8t5gq7c.js";
13
13
  import {
14
14
  wantsMediaRefs2
15
- } from "./content-headers-xthc02cw.js";
15
+ } from "./media-uri-xthc02cw.js";
16
16
 
17
17
  // src/handlers/session.ts
18
18
  import { Instance } from "@opencode/core/instance/service";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./content-headers-mtybqmvz.js";
3
+ } from "./media-uri-s8t5gq7c.js";
4
4
 
5
5
  // src/handlers/project.ts
6
6
  import { Project } from "@opencode/core/project";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./content-headers-9rqn6x4v.js";
3
+ } from "./media-uri-9rqn6x4v.js";
4
4
 
5
5
  // src/event-feed.ts
6
6
  var exports_event_feed = {};
7
7
  __export(exports_event_feed, {
8
8
  EncodingError: () => EncodingError2,
9
9
  EventFeed: () => exports_event_feed,
10
- Service: () => Service3,
10
+ Service: () => Service2,
11
11
  SubscriberCapacity: () => SubscriberCapacity2,
12
12
  SubscriberOverflowError: () => SubscriberOverflowError2,
13
13
  frame: () => frame2,
14
- layer: () => layer3,
14
+ layer: () => layer2,
15
15
  make: () => make4
16
16
  });
17
17
  import { Bus } from "@opencode/core/bus";
@@ -30,7 +30,7 @@ class EncodingError2 extends Schema.TaggedError()("EventFeed.EncodingError", {
30
30
  }) {
31
31
  }
32
32
 
33
- class Service3 extends Context.Service()("@opencode/server/EventFeed") {
33
+ class Service2 extends Context.Service()("@opencode/server/EventFeed") {
34
34
  }
35
35
  function frame2(event) {
36
36
  return `data: ${JSON.stringify(event)}
@@ -72,13 +72,13 @@ var make4 = Effect.fn("EventFeed.make")(function* (observe, options) {
72
72
  });
73
73
  const unsubscribe = yield* observe(publish);
74
74
  yield* Effect.addFinalizer(() => unsubscribe);
75
- return Service3.of({
75
+ return Service2.of({
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 layer3 = Layer.effect(Service3, Effect.gen(function* () {
79
+ var layer2 = Layer.effect(Service2, 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, layer3, exports_event_feed };
84
+ export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service2, frame2, make4, layer2, exports_event_feed };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Api2
3
- } from "./content-headers-mtybqmvz.js";
3
+ } from "./media-uri-s8t5gq7c.js";
4
4
  import {
5
5
  CorsConfig2,
6
6
  isAllowedRequestOrigin2
7
- } from "./content-headers-q4bn6dy8.js";
7
+ } from "./media-uri-q4bn6dy8.js";
8
8
  import {
9
9
  makeArtifact2
10
- } from "./content-headers-aw6r5m46.js";
10
+ } from "./media-uri-t62b1gmw.js";
11
11
  import {
12
12
  makeBlobGet2
13
- } from "./content-headers-g23ffrnz.js";
13
+ } from "./media-uri-50kbksvb.js";
14
14
  import {
15
15
  makeAutomation2
16
- } from "./content-headers-hgrkvk6s.js";
16
+ } from "./media-uri-hgrkvk6s.js";
17
17
  import {
18
18
  makeJob2
19
- } from "./content-headers-7ydfwv45.js";
19
+ } from "./media-uri-7ydfwv45.js";
20
20
  import {
21
21
  makeMachineLink2,
22
22
  makeMachine2
23
- } from "./content-headers-017ycvbx.js";
23
+ } from "./media-uri-017ycvbx.js";
24
24
  import {
25
25
  makeMediaGet2
26
- } from "./content-headers-djr0jy89.js";
26
+ } from "./media-uri-djr0jy89.js";
27
27
  import {
28
28
  runPtySocket2
29
- } from "./content-headers-q187pxxd.js";
29
+ } from "./media-uri-q187pxxd.js";
30
30
 
31
31
  // src/handlers/persistent-pty.ts
32
32
  import { PersistentPty } from "@opencode/core/persistent-pty";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-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 "./content-headers-mtybqmvz.js";
3
+ } from "./media-uri-s8t5gq7c.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 "./content-headers-smaf4a18.js";
3
+ } from "./media-uri-smaf4a18.js";
4
4
 
5
5
  // src/handlers/automation.ts
6
6
  import { Automation } from "@opencode/core/automation";
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./content-headers-tdwf54y9.js";
5
+ } from "./media-uri-j80tzjj3.js";
6
6
  import {
7
7
  Api2
8
- } from "./content-headers-mtybqmvz.js";
8
+ } from "./media-uri-s8t5gq7c.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./content-headers-q4bn6dy8.js";
12
+ } from "./media-uri-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./content-headers-q187pxxd.js";
16
+ } from "./media-uri-q187pxxd.js";
17
17
 
18
18
  // src/handlers/pty.ts
19
19
  import { Pty } from "@opencode/core/pty";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./content-headers-9rqn6x4v.js";
3
+ } from "./media-uri-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 "./content-headers-smaf4a18.js";
3
+ } from "./media-uri-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 layer2 = 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 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, layer3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./content-headers-tdwf54y9.js";
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-mtybqmvz.js";
6
+ } from "./media-uri-s8t5gq7c.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
  isAllowedRequestOrigin2
3
- } from "./content-headers-q4bn6dy8.js";
3
+ } from "./media-uri-q4bn6dy8.js";
4
4
  import {
5
5
  __export
6
- } from "./content-headers-9rqn6x4v.js";
6
+ } from "./media-uri-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 "./content-headers-tdwf54y9.js";
5
+ } from "./media-uri-j80tzjj3.js";
6
6
 
7
7
  // src/middleware/form-location.ts
8
8
  import { Instance } from "@opencode/core/instance/service";
@@ -1,39 +1,39 @@
1
1
  import {
2
- layer2
3
- } from "./content-headers-tdwf54y9.js";
2
+ layer3
3
+ } from "./media-uri-j80tzjj3.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./content-headers-kstarh2s.js";
6
+ } from "./media-uri-n6ypjnhz.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./content-headers-ytyf0yt4.js";
9
+ } from "./media-uri-qahj7606.js";
10
10
  import {
11
11
  Api2
12
- } from "./content-headers-mtybqmvz.js";
12
+ } from "./media-uri-s8t5gq7c.js";
13
13
  import {
14
14
  Config2
15
- } from "./content-headers-j4at0y5c.js";
15
+ } from "./media-uri-j4at0y5c.js";
16
16
  import {
17
17
  CorsConfig2
18
- } from "./content-headers-q4bn6dy8.js";
18
+ } from "./media-uri-q4bn6dy8.js";
19
19
  import {
20
20
  layer4
21
- } from "./content-headers-7dtbad8d.js";
21
+ } from "./media-uri-7dtbad8d.js";
22
22
  import {
23
23
  node2
24
- } from "./content-headers-kqr36gas.js";
24
+ } from "./media-uri-w9jcwh65.js";
25
25
  import {
26
26
  handlers2
27
- } from "./content-headers-2m89k77v.js";
27
+ } from "./media-uri-zwmx42kw.js";
28
28
  import {
29
29
  authorizationLayer2
30
- } from "./content-headers-rktygpea.js";
30
+ } from "./media-uri-rktygpea.js";
31
31
  import {
32
32
  schemaErrorLayer2
33
- } from "./content-headers-bd8755ek.js";
33
+ } from "./media-uri-bd8755ek.js";
34
34
  import {
35
35
  defectResponseLayer2
36
- } from "./content-headers-n26yr6pw.js";
36
+ } from "./media-uri-n26yr6pw.js";
37
37
 
38
38
  // src/routes.ts
39
39
  import { Database } from "@opencode/core/database/database";
@@ -193,7 +193,7 @@ function makeRoutes(password, options, serviceURLs, overrides, instances) {
193
193
  return serviceLayer.pipe(Layer.flatMap((context) => {
194
194
  const services = Layer.succeedContext(context);
195
195
  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));
196
- 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), Layer.tap((context) => Effect.sync(() => {
196
+ 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), Layer.tap((context) => Effect.sync(() => {
197
197
  internal = Context.get(context, HttpRouter.HttpRouter).asHttpEffect().pipe(HttpEffect.toWebHandlerWith(context));
198
198
  })));
199
199
  return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));