@opencode/server 0.0.0-dev-1325 → 0.0.0-dev-1326

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 (130) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{location-j9bm09j4.js → event-feed-0bzgr4rt.js} +1 -1
  4. package/dist/chunks/{location-z030czn6.js → event-feed-0d9m1wm4.js} +2 -2
  5. package/dist/chunks/{location-wtrkk6n8.js → event-feed-1pw2nrsx.js} +1 -1
  6. package/dist/chunks/{location-ghcy4ddk.js → event-feed-2d18d1yn.js} +1 -1
  7. package/dist/chunks/{location-39nnfjx1.js → event-feed-39nnfjx1.js} +1 -1
  8. package/dist/chunks/{location-3svx81fb.js → event-feed-3cp4agan.js} +3 -3
  9. package/dist/chunks/{location-2b13xzyt.js → event-feed-4vbpeb73.js} +2 -2
  10. package/dist/chunks/{location-cx7az6y7.js → event-feed-55yh37zc.js} +2 -2
  11. package/dist/chunks/{location-nezkqcz0.js → event-feed-5b1w9hwr.js} +2 -2
  12. package/dist/chunks/{location-3d706mcp.js → event-feed-5z0ssrt9.js} +18 -16
  13. package/dist/chunks/{location-n7n1k6t0.js → event-feed-6f7nn4kk.js} +2 -2
  14. package/dist/chunks/{location-20aw7tea.js → event-feed-6jmqkv3t.js} +35 -35
  15. package/dist/chunks/{location-w7qv5azt.js → event-feed-6ptjjp36.js} +2 -2
  16. package/dist/chunks/{location-c0pd5awd.js → event-feed-735y9bwf.js} +2 -2
  17. package/dist/chunks/{location-7ydfwv45.js → event-feed-7ydfwv45.js} +1 -1
  18. package/dist/chunks/{location-xygx09yd.js → event-feed-8ptkdkh0.js} +2 -2
  19. package/dist/chunks/{location-27f8nny0.js → event-feed-8q8t4r9z.js} +2 -2
  20. package/dist/chunks/{location-8sb6qqpn.js → event-feed-8sb6qqpn.js} +1 -1
  21. package/dist/chunks/{location-9cd3a4b8.js → event-feed-9cd3a4b8.js} +1 -1
  22. package/dist/chunks/{location-065pppgn.js → event-feed-9d8cvn0j.js} +2 -2
  23. package/dist/chunks/{location-z4znncxg.js → event-feed-a5hb5213.js} +2 -2
  24. package/dist/chunks/{location-8pn9ceqg.js → event-feed-a9m1qywq.js} +3 -3
  25. package/dist/chunks/{location-fvpjvjpp.js → event-feed-arzv3fj6.js} +4 -4
  26. package/dist/chunks/{location-7qpea5x7.js → event-feed-aw6r5m46.js} +2 -2
  27. package/dist/chunks/{location-3te71694.js → event-feed-b1prsepx.js} +4 -4
  28. package/dist/chunks/{location-669rq3zn.js → event-feed-cha5bc7v.js} +3 -3
  29. package/dist/chunks/{location-bwjy9ex5.js → event-feed-d6gdrha6.js} +2 -2
  30. package/dist/chunks/{location-djr0jy89.js → event-feed-djr0jy89.js} +1 -1
  31. package/dist/chunks/{location-0tp9bckc.js → event-feed-dx59hhqy.js} +1 -1
  32. package/dist/chunks/{location-xhsknm82.js → event-feed-e4amrgg0.js} +2 -2
  33. package/dist/chunks/{location-g23ffrnz.js → event-feed-g23ffrnz.js} +2 -2
  34. package/dist/chunks/{location-2q06e3dd.js → event-feed-harnzwyx.js} +1 -1
  35. package/dist/chunks/{location-j4at0y5c.js → event-feed-j4at0y5c.js} +1 -1
  36. package/dist/chunks/{location-500wz90y.js → event-feed-jdn2h5zy.js} +2 -2
  37. package/dist/chunks/{location-9chkqb53.js → event-feed-knscys1g.js} +4 -4
  38. package/dist/chunks/{location-ah2sj2pr.js → event-feed-kstarh2s.js} +1 -1
  39. package/dist/chunks/{location-k3qt4jsw.js → event-feed-mbf5t0tq.js} +1 -1
  40. package/dist/chunks/{location-ahhjt1wh.js → event-feed-mnk4yp0a.js} +2 -2
  41. package/dist/chunks/{location-myqk22k5.js → event-feed-myqk22k5.js} +2 -2
  42. package/dist/chunks/{location-mzs0n5xz.js → event-feed-mzs0n5xz.js} +1 -1
  43. package/dist/chunks/{location-fhb2ewd9.js → event-feed-p4hr7w7j.js} +2 -2
  44. package/dist/chunks/{location-01ta1g14.js → event-feed-p7f8d9ed.js} +4 -4
  45. package/dist/chunks/{location-7b9xm1qg.js → event-feed-rktygpea.js} +4 -1
  46. package/dist/chunks/{location-9epy4pks.js → event-feed-rxp97434.js} +4 -4
  47. package/dist/chunks/event-feed-syfzpkey.js +144 -0
  48. package/dist/chunks/{location-t32e1bbt.js → event-feed-t32e1bbt.js} +1 -1
  49. package/dist/chunks/{location-2ghz4m36.js → event-feed-tb37vts4.js} +13 -9
  50. package/dist/chunks/{location-ywn523ee.js → event-feed-tdwf54y9.js} +3 -3
  51. package/dist/chunks/{location-66wjg7cg.js → event-feed-tphz28p0.js} +4 -4
  52. package/dist/chunks/{location-yr4jk19s.js → event-feed-vjj7wrqn.js} +2 -2
  53. package/dist/chunks/{location-qzq425w0.js → event-feed-vxnq9y72.js} +5 -5
  54. package/dist/chunks/{location-mevm0qpj.js → event-feed-y50v5y23.js} +4 -4
  55. package/dist/chunks/{location-ryf8gt7t.js → event-feed-ye16b3jy.js} +2 -2
  56. package/dist/chunks/{location-vw0q3knq.js → event-feed-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 +60 -59
  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.d.ts +61 -0
  77. package/dist/handlers/machine.js +16 -0
  78. package/dist/handlers/mcp.js +8 -8
  79. package/dist/handlers/media.js +2 -2
  80. package/dist/handlers/message.js +7 -7
  81. package/dist/handlers/migration.js +6 -6
  82. package/dist/handlers/model.js +6 -6
  83. package/dist/handlers/permission.js +6 -6
  84. package/dist/handlers/persistent-pty.d.ts +1 -1
  85. package/dist/handlers/persistent-pty.js +16 -15
  86. package/dist/handlers/plugin.js +6 -6
  87. package/dist/handlers/project.js +6 -6
  88. package/dist/handlers/provider.js +6 -6
  89. package/dist/handlers/pty-socket.js +1 -1
  90. package/dist/handlers/pty.js +8 -8
  91. package/dist/handlers/reference.js +6 -6
  92. package/dist/handlers/rpc.js +6 -6
  93. package/dist/handlers/server.js +9 -9
  94. package/dist/handlers/session-error.js +1 -1
  95. package/dist/handlers/session.js +7 -7
  96. package/dist/handlers/shell.js +6 -6
  97. package/dist/handlers/skill.js +6 -6
  98. package/dist/handlers/usage.js +6 -6
  99. package/dist/handlers/vcs.js +6 -6
  100. package/dist/handlers/voice.js +6 -6
  101. package/dist/handlers/websearch.js +6 -6
  102. package/dist/handlers/worktree.js +6 -6
  103. package/dist/handlers.d.ts +1 -1
  104. package/dist/handlers.js +53 -52
  105. package/dist/location.js +4 -4
  106. package/dist/media-uri.js +1 -1
  107. package/dist/middleware/authorization.js +2 -2
  108. package/dist/middleware/defect-response.js +1 -1
  109. package/dist/middleware/form-location.js +3 -3
  110. package/dist/middleware/schema-error.js +1 -1
  111. package/dist/middleware/session-location.js +3 -3
  112. package/dist/pairing.js +1 -1
  113. package/dist/process.js +70 -63
  114. package/dist/range.js +1 -1
  115. package/dist/request-site.js +2 -2
  116. package/dist/request-tracing.js +1 -1
  117. package/dist/routes.d.ts +3 -2
  118. package/dist/routes.js +57 -56
  119. package/dist/server-info.js +3 -3
  120. package/dist/service-status.js +1 -1
  121. package/dist/workerd.js +61 -60
  122. package/package.json +8 -8
  123. /package/dist/chunks/{location-9rqn6x4v.js → event-feed-9rqn6x4v.js} +0 -0
  124. /package/dist/chunks/{location-bd8755ek.js → event-feed-bd8755ek.js} +0 -0
  125. /package/dist/chunks/{location-n26yr6pw.js → event-feed-n26yr6pw.js} +0 -0
  126. /package/dist/chunks/{location-q187pxxd.js → event-feed-q187pxxd.js} +0 -0
  127. /package/dist/chunks/{location-q4bn6dy8.js → event-feed-q4bn6dy8.js} +0 -0
  128. /package/dist/chunks/{location-smaf4a18.js → event-feed-smaf4a18.js} +0 -0
  129. /package/dist/chunks/{location-xthc02cw.js → event-feed-xthc02cw.js} +0 -0
  130. /package/dist/chunks/{location-yc7nft6q.js → event-feed-yc7nft6q.js} +0 -0
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/location-8pn9ceqg.js";
4
- import"./chunks/location-ah2sj2pr.js";
5
- import"./chunks/location-vw0q3knq.js";
6
- import"./chunks/location-ywn523ee.js";
7
- import"./chunks/location-smaf4a18.js";
3
+ } from "./chunks/event-feed-a9m1qywq.js";
4
+ import"./chunks/event-feed-kstarh2s.js";
5
+ import"./chunks/event-feed-ytyf0yt4.js";
6
+ import"./chunks/event-feed-tdwf54y9.js";
7
+ import"./chunks/event-feed-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/location-j4at0y5c.js";
10
+ } from "./chunks/event-feed-j4at0y5c.js";
11
11
  export {
12
12
  Config2 as Config,
13
13
  SESSION_TTL_SECONDS2 as SESSION_TTL_SECONDS,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-8pn9ceqg.js";
3
+ } from "./event-feed-a9m1qywq.js";
4
4
 
5
5
  // src/handlers/config.ts
6
6
  import { Config } from "@opencode/core/config";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-ywn523ee.js";
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-8pn9ceqg.js";
6
+ } from "./event-feed-a9m1qywq.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 "./location-8pn9ceqg.js";
3
+ } from "./event-feed-a9m1qywq.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-8pn9ceqg.js";
3
+ } from "./event-feed-a9m1qywq.js";
4
4
 
5
5
  // src/handlers/migration.ts
6
6
  import { V1Migration } from "@opencode/core/database/v1-migration";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./event-feed-9rqn6x4v.js";
4
4
 
5
5
  // src/service-status.ts
6
6
  var exports_service_status = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  missingSession2,
3
3
  failedMessageDecode2
4
- } from "./location-smaf4a18.js";
4
+ } from "./event-feed-smaf4a18.js";
5
5
  import {
6
6
  Api2
7
- } from "./location-8pn9ceqg.js";
7
+ } from "./event-feed-a9m1qywq.js";
8
8
  import {
9
9
  wantsMediaRefs2
10
- } from "./location-xthc02cw.js";
10
+ } from "./event-feed-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
  response2
3
- } from "./location-ywn523ee.js";
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-8pn9ceqg.js";
6
+ } from "./event-feed-a9m1qywq.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
  response2
3
- } from "./location-ywn523ee.js";
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-8pn9ceqg.js";
6
+ } from "./event-feed-a9m1qywq.js";
7
7
 
8
8
  // src/handlers/form.ts
9
9
  import { Form } from "@opencode/core/form";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-ywn523ee.js";
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-8pn9ceqg.js";
6
+ } from "./event-feed-a9m1qywq.js";
7
7
 
8
8
  // src/handlers/agent.ts
9
9
  import { Agent } from "@opencode/core/agent";
@@ -1,39 +1,39 @@
1
1
  import {
2
- layer4
3
- } from "./location-ywn523ee.js";
2
+ layer2
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./location-ah2sj2pr.js";
6
+ } from "./event-feed-kstarh2s.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./location-vw0q3knq.js";
9
+ } from "./event-feed-ytyf0yt4.js";
10
10
  import {
11
11
  Api2
12
- } from "./location-8pn9ceqg.js";
12
+ } from "./event-feed-a9m1qywq.js";
13
13
  import {
14
14
  Config2
15
- } from "./location-j4at0y5c.js";
15
+ } from "./event-feed-j4at0y5c.js";
16
16
  import {
17
17
  CorsConfig2
18
- } from "./location-q4bn6dy8.js";
18
+ } from "./event-feed-q4bn6dy8.js";
19
19
  import {
20
- layer3
21
- } from "./location-3te71694.js";
20
+ layer4
21
+ } from "./event-feed-b1prsepx.js";
22
22
  import {
23
23
  node2
24
- } from "./location-mzs0n5xz.js";
24
+ } from "./event-feed-mzs0n5xz.js";
25
25
  import {
26
26
  handlers2
27
- } from "./location-20aw7tea.js";
27
+ } from "./event-feed-6jmqkv3t.js";
28
28
  import {
29
29
  authorizationLayer2
30
- } from "./location-7b9xm1qg.js";
30
+ } from "./event-feed-rktygpea.js";
31
31
  import {
32
32
  schemaErrorLayer2
33
- } from "./location-bd8755ek.js";
33
+ } from "./event-feed-bd8755ek.js";
34
34
  import {
35
35
  defectResponseLayer2
36
- } from "./location-n26yr6pw.js";
36
+ } from "./event-feed-n26yr6pw.js";
37
37
 
38
38
  // src/routes.ts
39
39
  import { Database } from "@opencode/core/database/database";
@@ -68,6 +68,7 @@ import { FSUtil } from "@opencode/util/fs-util";
68
68
  import { InstructionDiscovery } from "@opencode/core/instruction-discovery";
69
69
  import { LocationServiceMap } from "@opencode/core/location-service-map";
70
70
  import { LocationActivity } from "@opencode/core/location-activity";
71
+ import { Identity } from "@opencode/core/machine/identity";
71
72
  import { Machines } from "@opencode/core/machine/machines";
72
73
  import { SessionSearchBuild } from "@opencode/core/session/search-build";
73
74
  import { ModelsDev } from "@opencode/core/models-dev";
@@ -117,6 +118,7 @@ var applicationServiceNodes = [
117
118
  SessionSearchBuild.node,
118
119
  Workspace.node,
119
120
  Machines.node,
121
+ Identity.node,
120
122
  FileWatch.node
121
123
  ];
122
124
  var applicationServices = LayerNode.group(applicationServiceNodes);
@@ -171,8 +173,8 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
171
173
  })) : build(overrides);
172
174
  return serviceLayer.pipe(Layer.flatMap((context) => {
173
175
  const services = Layer.succeedContext(context);
174
- 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));
175
- 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));
176
+ 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));
177
+ 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));
176
178
  return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
177
179
  }));
178
180
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-ywn523ee.js";
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-8pn9ceqg.js";
6
+ } from "./event-feed-a9m1qywq.js";
7
7
 
8
8
  // src/handlers/usage.ts
9
9
  import { UsageLimits } from "@opencode/core/usage-limits";
@@ -1,105 +1,105 @@
1
1
  import {
2
2
  GenerateHandler2
3
- } from "./location-w7qv5azt.js";
3
+ } from "./event-feed-6ptjjp36.js";
4
4
  import {
5
5
  VoiceHandler2
6
- } from "./location-xygx09yd.js";
6
+ } from "./event-feed-8ptkdkh0.js";
7
7
  import {
8
8
  MessageHandler2
9
- } from "./location-3svx81fb.js";
9
+ } from "./event-feed-3cp4agan.js";
10
10
  import {
11
11
  ModelHandler2
12
- } from "./location-ahhjt1wh.js";
12
+ } from "./event-feed-mnk4yp0a.js";
13
13
  import {
14
14
  ProviderHandler2
15
- } from "./location-065pppgn.js";
15
+ } from "./event-feed-9d8cvn0j.js";
16
16
  import {
17
17
  SessionHandler2
18
- } from "./location-9chkqb53.js";
18
+ } from "./event-feed-knscys1g.js";
19
19
  import {
20
20
  PermissionHandler2
21
- } from "./location-669rq3zn.js";
21
+ } from "./event-feed-cha5bc7v.js";
22
22
  import {
23
23
  FileSystemHandler2
24
- } from "./location-01ta1g14.js";
24
+ } from "./event-feed-p7f8d9ed.js";
25
25
  import {
26
26
  FormHandler2
27
- } from "./location-cx7az6y7.js";
27
+ } from "./event-feed-55yh37zc.js";
28
28
  import {
29
29
  CommandHandler2
30
- } from "./location-27f8nny0.js";
30
+ } from "./event-feed-8q8t4r9z.js";
31
31
  import {
32
32
  SkillHandler2
33
- } from "./location-c0pd5awd.js";
33
+ } from "./event-feed-735y9bwf.js";
34
34
  import {
35
35
  RpcHandler2
36
- } from "./location-k3qt4jsw.js";
36
+ } from "./event-feed-mbf5t0tq.js";
37
37
  import {
38
- layer2
39
- } from "./location-fvpjvjpp.js";
38
+ layer3
39
+ } from "./event-feed-arzv3fj6.js";
40
40
  import {
41
41
  EventHandler2
42
- } from "./location-bwjy9ex5.js";
42
+ } from "./event-feed-d6gdrha6.js";
43
43
  import {
44
44
  AgentHandler2
45
- } from "./location-nezkqcz0.js";
45
+ } from "./event-feed-5b1w9hwr.js";
46
46
  import {
47
47
  PluginHandler2
48
- } from "./location-ryf8gt7t.js";
48
+ } from "./event-feed-ye16b3jy.js";
49
49
  import {
50
50
  ServerHandler2
51
- } from "./location-66wjg7cg.js";
51
+ } from "./event-feed-tphz28p0.js";
52
52
  import {
53
53
  DebugHandler2
54
- } from "./location-500wz90y.js";
54
+ } from "./event-feed-jdn2h5zy.js";
55
55
  import {
56
56
  PtyHandler2
57
- } from "./location-mevm0qpj.js";
57
+ } from "./event-feed-y50v5y23.js";
58
58
  import {
59
59
  PersistentPtyHandler2
60
- } from "./location-2ghz4m36.js";
60
+ } from "./event-feed-tb37vts4.js";
61
61
  import {
62
62
  ShellHandler2
63
- } from "./location-xhsknm82.js";
63
+ } from "./event-feed-e4amrgg0.js";
64
64
  import {
65
65
  ReferenceHandler2
66
- } from "./location-yr4jk19s.js";
66
+ } from "./event-feed-vjj7wrqn.js";
67
67
  import {
68
68
  LocationHandler2
69
- } from "./location-wtrkk6n8.js";
69
+ } from "./event-feed-1pw2nrsx.js";
70
70
  import {
71
71
  IntegrationHandler2
72
- } from "./location-2b13xzyt.js";
72
+ } from "./event-feed-4vbpeb73.js";
73
73
  import {
74
74
  WebSearchHandler2
75
- } from "./location-fhb2ewd9.js";
75
+ } from "./event-feed-p4hr7w7j.js";
76
76
  import {
77
77
  UsageHandler2
78
- } from "./location-n7n1k6t0.js";
78
+ } from "./event-feed-6f7nn4kk.js";
79
79
  import {
80
80
  McpHandler2
81
- } from "./location-9epy4pks.js";
81
+ } from "./event-feed-rxp97434.js";
82
82
  import {
83
83
  CredentialHandler2
84
- } from "./location-z4znncxg.js";
84
+ } from "./event-feed-a5hb5213.js";
85
85
  import {
86
86
  ProjectHandler2
87
- } from "./location-0tp9bckc.js";
87
+ } from "./event-feed-dx59hhqy.js";
88
88
  import {
89
89
  WorktreeHandler2
90
- } from "./location-2q06e3dd.js";
90
+ } from "./event-feed-harnzwyx.js";
91
91
  import {
92
92
  VcsHandler2
93
- } from "./location-z030czn6.js";
93
+ } from "./event-feed-0d9m1wm4.js";
94
94
  import {
95
95
  MigrationHandler2
96
- } from "./location-ghcy4ddk.js";
96
+ } from "./event-feed-2d18d1yn.js";
97
97
  import {
98
98
  ConfigHandler2
99
- } from "./location-j9bm09j4.js";
99
+ } from "./event-feed-0bzgr4rt.js";
100
100
 
101
101
  // src/handlers.ts
102
102
  import { Layer } from "effect";
103
- var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, UsageHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer2)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
103
+ var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, UsageHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer3)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
104
104
 
105
105
  export { handlers2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  locationErrors2
3
- } from "./location-ywn523ee.js";
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-8pn9ceqg.js";
6
+ } from "./event-feed-a9m1qywq.js";
7
7
 
8
8
  // src/handlers/generate.ts
9
9
  import { Flag } from "@opencode/core/flag";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-ywn523ee.js";
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-8pn9ceqg.js";
6
+ } from "./event-feed-a9m1qywq.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
  missingSession2
3
- } from "./location-smaf4a18.js";
3
+ } from "./event-feed-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
  locationErrors2
3
- } from "./location-ywn523ee.js";
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-8pn9ceqg.js";
6
+ } from "./event-feed-a9m1qywq.js";
7
7
 
8
8
  // src/handlers/voice.ts
9
9
  import { Location } from "@opencode/core/location";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-ywn523ee.js";
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-8pn9ceqg.js";
6
+ } from "./event-feed-a9m1qywq.js";
7
7
 
8
8
  // src/handlers/command.ts
9
9
  import { Command } from "@opencode/core/command";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./event-feed-9rqn6x4v.js";
4
4
 
5
5
  // src/range.ts
6
6
  var exports_range = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./location-smaf4a18.js";
3
+ } from "./event-feed-smaf4a18.js";
4
4
 
5
5
  // src/handlers/automation.ts
6
6
  import { Automation } from "@opencode/core/automation";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-ywn523ee.js";
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-8pn9ceqg.js";
6
+ } from "./event-feed-a9m1qywq.js";
7
7
 
8
8
  // src/handlers/provider.ts
9
9
  import { Provider } from "@opencode/core/provider";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-8pn9ceqg.js";
3
+ } from "./event-feed-a9m1qywq.js";
4
4
  import {
5
5
  requireConnectable2
6
- } from "./location-2b13xzyt.js";
6
+ } from "./event-feed-4vbpeb73.js";
7
7
 
8
8
  // src/handlers/credential.ts
9
9
  import { Credential } from "@opencode/core/credential";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./location-ywn523ee.js";
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./location-ah2sj2pr.js";
6
+ } from "./event-feed-kstarh2s.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./location-vw0q3knq.js";
9
+ } from "./event-feed-ytyf0yt4.js";
10
10
 
11
11
  // src/api.ts
12
12
  import { makeDefaultApi } from "@opencode/protocol/api";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./event-feed-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: () => layer2,
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 layer2 = Layer.effect(Service2, Effect.gen(function* () {
79
+ var layer3 = 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, Service2, frame2, make4, layer2, exports_event_feed };
84
+ export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service2, frame2, make4, layer3, exports_event_feed };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./location-smaf4a18.js";
3
+ } from "./event-feed-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  requestRef2
8
- } from "./location-ywn523ee.js";
8
+ } from "./event-feed-tdwf54y9.js";
9
9
 
10
10
  // src/handlers/artifact.ts
11
11
  import { Artifact } from "@opencode/core/artifact";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./event-feed-9rqn6x4v.js";
4
4
 
5
5
  // src/server-info.ts
6
6
  var exports_server_info = {};
@@ -8,14 +8,14 @@ __export(exports_server_info, {
8
8
  ServerInfo: () => exports_server_info,
9
9
  Service: () => Service3,
10
10
  connectionURLs: () => connectionURLs2,
11
- layer: () => layer3
11
+ layer: () => layer4
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { networkInterfaces } from "node:os";
15
15
 
16
16
  class Service3 extends Context.Service()("@opencode/server/ServerInfo") {
17
17
  }
18
- function layer3(urls, tmp, app = {}) {
18
+ function layer4(urls, tmp, app = {}) {
19
19
  return Layer.succeed(Service3, Service3.of({ urls, app, paths: { tmp } }));
20
20
  }
21
21
  function connectionURLs2(value, requestedHostname) {
@@ -38,4 +38,4 @@ function connectionURLs2(value, requestedHostname) {
38
38
  ];
39
39
  }
40
40
 
41
- export { Service3, layer3, connectionURLs2, exports_server_info };
41
+ export { Service3, layer4, connectionURLs2, exports_server_info };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./location-smaf4a18.js";
3
+ } from "./event-feed-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./location-ywn523ee.js";
8
+ } from "./event-feed-tdwf54y9.js";
9
9
  import {
10
10
  Api2
11
- } from "./location-8pn9ceqg.js";
11
+ } from "./event-feed-a9m1qywq.js";
12
12
 
13
13
  // src/handlers/permission.ts
14
14
  import { Instance } from "@opencode/core/instance/service";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-8pn9ceqg.js";
3
+ } from "./event-feed-a9m1qywq.js";
4
4
  import {
5
5
  Service2,
6
6
  frame2
7
- } from "./location-fvpjvjpp.js";
7
+ } from "./event-feed-arzv3fj6.js";
8
8
 
9
9
  // src/handlers/event.ts
10
10
  import { Event } from "@opencode/schema/event";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CONTENT_SECURITY_POLICY2,
3
3
  disposition2
4
- } from "./location-t32e1bbt.js";
4
+ } from "./event-feed-t32e1bbt.js";
5
5
 
6
6
  // src/handlers/media.ts
7
7
  import { Database } from "@opencode/core/database/database";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-8pn9ceqg.js";
3
+ } from "./event-feed-a9m1qywq.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 "./location-ywn523ee.js";
3
+ } from "./event-feed-tdwf54y9.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-8pn9ceqg.js";
6
+ } from "./event-feed-a9m1qywq.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
  download2
3
- } from "./location-t32e1bbt.js";
3
+ } from "./event-feed-t32e1bbt.js";
4
4
  import {
5
5
  parse2
6
- } from "./location-8sb6qqpn.js";
6
+ } from "./event-feed-8sb6qqpn.js";
7
7
 
8
8
  // src/handlers/blob.ts
9
9
  import { BlobStore } from "@opencode/core/blob-store";