@opencode/server 0.0.0-dev-1227 → 0.0.0-dev-1228

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 (119) hide show
  1. package/dist/api.d.ts +72 -1
  2. package/dist/api.js +5 -5
  3. package/dist/auth.js +1 -1
  4. package/dist/chunks/{process-059rbh9c.js → options-059rbh9c.js} +1 -1
  5. package/dist/chunks/{process-jqvq1ywe.js → options-09kw3a77.js} +2 -2
  6. package/dist/chunks/{process-wh109kze.js → options-1esj6h6r.js} +8 -8
  7. package/dist/chunks/{process-fbdv47za.js → options-1ndv3m9h.js} +4 -4
  8. package/dist/chunks/{process-sqxx1p54.js → options-2eaky32g.js} +2 -2
  9. package/dist/chunks/{process-7dtbad8d.js → options-3te71694.js} +7 -7
  10. package/dist/chunks/{process-xpg37vzc.js → options-4q6e7fh8.js} +2 -2
  11. package/dist/chunks/{process-gqq6kfhc.js → options-50bbk3b2.js} +3 -3
  12. package/dist/chunks/{process-rcmctvp9.js → options-5cpb32hf.js} +1 -1
  13. package/dist/chunks/{process-ac10qb5k.js → options-5s0wnsg4.js} +3 -3
  14. package/dist/chunks/{process-vvp99hc9.js → options-6z9pvq7p.js} +1 -1
  15. package/dist/chunks/{process-78rcgzsr.js → options-78rcgzsr.js} +1 -1
  16. package/dist/chunks/{process-7b9xm1qg.js → options-7b9xm1qg.js} +1 -1
  17. package/dist/chunks/{process-p3f060n2.js → options-8mj7kvhm.js} +2 -2
  18. package/dist/chunks/{process-amndpc82.js → options-91858wp1.js} +2 -2
  19. package/dist/chunks/{process-zmgfywqd.js → options-a8jcac9a.js} +1 -1
  20. package/dist/chunks/{process-vtfzy3at.js → options-az0609r6.js} +2 -2
  21. package/dist/chunks/{process-yet0vexm.js → options-b3bmdkga.js} +1 -1
  22. package/dist/chunks/{process-50xc6x42.js → options-btahnm2b.js} +3 -3
  23. package/dist/chunks/{process-61k00zvj.js → options-c4cg7a3y.js} +33 -33
  24. package/dist/chunks/{process-0e4fm4yw.js → options-cezwbsk5.js} +1 -1
  25. package/dist/chunks/{process-2835150m.js → options-d0edqfxx.js} +2 -2
  26. package/dist/chunks/{process-djr0jy89.js → options-djr0jy89.js} +1 -1
  27. package/dist/chunks/{process-e6e4kz0w.js → options-e6e4kz0w.js} +1 -1
  28. package/dist/chunks/{process-zds85vps.js → options-enp1bp7r.js} +1 -1
  29. package/dist/chunks/{process-7x1re4zg.js → options-f559fakr.js} +2 -2
  30. package/dist/chunks/{process-3p9jwgak.js → options-fvpjvjpp.js} +6 -6
  31. package/dist/chunks/{process-cp79kecq.js → options-fxf3p1yq.js} +15 -15
  32. package/dist/chunks/{process-xj86e20n.js → options-gyryr0mf.js} +4 -4
  33. package/dist/chunks/{process-gk0yxcp6.js → options-htyf2qs7.js} +1 -1
  34. package/dist/chunks/{process-j4at0y5c.js → options-j4at0y5c.js} +1 -1
  35. package/dist/chunks/{process-r5696se6.js → options-j87xz9bt.js} +3 -3
  36. package/dist/chunks/{process-7cd61xtm.js → options-kkdkqt8j.js} +2 -2
  37. package/dist/chunks/{process-q589sc96.js → options-m5mv4r4e.js} +7 -7
  38. package/dist/chunks/{process-myqk22k5.js → options-myqk22k5.js} +2 -2
  39. package/dist/chunks/{process-kqr36gas.js → options-mzs0n5xz.js} +7 -7
  40. package/dist/chunks/{process-xbqm7mpj.js → options-ny1j968n.js} +2 -2
  41. package/dist/chunks/{process-w5yp0ga8.js → options-p86kew8c.js} +2 -2
  42. package/dist/chunks/{process-qpzkqgwj.js → options-psw29prz.js} +4 -4
  43. package/dist/chunks/{process-jc2vwkyw.js → options-qcg3sqtb.js} +2 -2
  44. package/dist/chunks/{process-rxyx8sa0.js → options-qd0r787n.js} +2 -2
  45. package/dist/chunks/{process-370cpmna.js → options-rha2aq18.js} +2 -2
  46. package/dist/chunks/{process-agenqygg.js → options-rs3v36hp.js} +2 -2
  47. package/dist/chunks/{process-t32e1bbt.js → options-t32e1bbt.js} +1 -1
  48. package/dist/chunks/{process-skcryrty.js → options-te8jwba1.js} +2 -2
  49. package/dist/chunks/{process-qsfn57wq.js → options-wpgpd41b.js} +4 -4
  50. package/dist/chunks/{process-gj786cm1.js → options-y6b5qq9t.js} +3 -3
  51. package/dist/chunks/{process-1vxxxmgg.js → options-yk755swr.js} +2 -2
  52. package/dist/chunks/{process-wqv43pj9.js → options-yqhefp4s.js} +2 -2
  53. package/dist/chunks/{process-hq6zbqvq.js → options-yxab1164.js} +5 -5
  54. package/dist/chunks/{process-74kxthdf.js → options-zcvan105.js} +1 -1
  55. package/dist/content-headers.js +1 -1
  56. package/dist/cors.js +1 -1
  57. package/dist/event-feed.js +3 -3
  58. package/dist/fetch.js +56 -56
  59. package/dist/handlers/agent.js +6 -6
  60. package/dist/handlers/artifact.js +3 -3
  61. package/dist/handlers/command.js +6 -6
  62. package/dist/handlers/config.js +6 -6
  63. package/dist/handlers/credential.js +7 -7
  64. package/dist/handlers/debug.js +6 -6
  65. package/dist/handlers/event.js +7 -7
  66. package/dist/handlers/form.js +6 -6
  67. package/dist/handlers/fs.js +7 -7
  68. package/dist/handlers/generate.js +6 -6
  69. package/dist/handlers/integration.js +6 -6
  70. package/dist/handlers/job.js +2 -2
  71. package/dist/handlers/location.js +6 -6
  72. package/dist/handlers/mcp.js +8 -8
  73. package/dist/handlers/media.js +2 -2
  74. package/dist/handlers/message.js +7 -7
  75. package/dist/handlers/migration.js +6 -6
  76. package/dist/handlers/model.js +6 -6
  77. package/dist/handlers/permission.js +6 -6
  78. package/dist/handlers/persistent-pty.js +13 -13
  79. package/dist/handlers/plugin.js +6 -6
  80. package/dist/handlers/project.js +6 -6
  81. package/dist/handlers/provider.js +6 -6
  82. package/dist/handlers/pty-socket.js +1 -1
  83. package/dist/handlers/pty.js +8 -8
  84. package/dist/handlers/reference.js +6 -6
  85. package/dist/handlers/rpc.js +6 -6
  86. package/dist/handlers/schedule.js +2 -2
  87. package/dist/handlers/server.js +9 -9
  88. package/dist/handlers/session-error.js +1 -1
  89. package/dist/handlers/session.js +7 -7
  90. package/dist/handlers/shell.js +6 -6
  91. package/dist/handlers/skill.js +6 -6
  92. package/dist/handlers/usage.js +6 -6
  93. package/dist/handlers/vcs.js +6 -6
  94. package/dist/handlers/voice.js +6 -6
  95. package/dist/handlers/websearch.js +6 -6
  96. package/dist/handlers/worktree.js +6 -6
  97. package/dist/handlers.js +50 -50
  98. package/dist/location.js +4 -4
  99. package/dist/media-uri.js +1 -1
  100. package/dist/middleware/authorization.js +2 -2
  101. package/dist/middleware/form-location.js +3 -3
  102. package/dist/middleware/schema-error.js +1 -1
  103. package/dist/middleware/session-location.js +3 -3
  104. package/dist/pairing.js +3 -3
  105. package/dist/process.js +57 -57
  106. package/dist/request-site.js +2 -2
  107. package/dist/request-tracing.js +1 -1
  108. package/dist/routes.js +53 -53
  109. package/dist/server-info.js +5 -5
  110. package/dist/service-status.js +1 -1
  111. package/dist/workerd.js +57 -57
  112. package/package.json +8 -8
  113. /package/dist/chunks/{process-9rqn6x4v.js → options-9rqn6x4v.js} +0 -0
  114. /package/dist/chunks/{process-bd8755ek.js → options-bd8755ek.js} +0 -0
  115. /package/dist/chunks/{process-q187pxxd.js → options-q187pxxd.js} +0 -0
  116. /package/dist/chunks/{process-q4bn6dy8.js → options-q4bn6dy8.js} +0 -0
  117. /package/dist/chunks/{process-smaf4a18.js → options-smaf4a18.js} +0 -0
  118. /package/dist/chunks/{process-xthc02cw.js → options-xthc02cw.js} +0 -0
  119. /package/dist/chunks/{process-yc7nft6q.js → options-yc7nft6q.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-r5696se6.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/form.ts
9
9
  import { Form } from "@opencode/core/form";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./process-9rqn6x4v.js";
3
+ } from "./options-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,
@@ -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 layer2 = 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, layer2, exports_event_feed };
84
+ export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service2, frame2, make4, layer2, exports_event_feed };
@@ -1,36 +1,36 @@
1
1
  import {
2
- layer3
3
- } from "./process-gqq6kfhc.js";
2
+ layer4
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./process-gk0yxcp6.js";
6
+ } from "./options-htyf2qs7.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./process-yet0vexm.js";
9
+ } from "./options-b3bmdkga.js";
10
10
  import {
11
11
  Api2
12
- } from "./process-r5696se6.js";
12
+ } from "./options-j87xz9bt.js";
13
13
  import {
14
14
  Config2
15
- } from "./process-j4at0y5c.js";
15
+ } from "./options-j4at0y5c.js";
16
16
  import {
17
17
  CorsConfig2
18
- } from "./process-q4bn6dy8.js";
18
+ } from "./options-q4bn6dy8.js";
19
19
  import {
20
- layer4
21
- } from "./process-7dtbad8d.js";
20
+ layer3
21
+ } from "./options-3te71694.js";
22
22
  import {
23
23
  node2
24
- } from "./process-kqr36gas.js";
24
+ } from "./options-mzs0n5xz.js";
25
25
  import {
26
26
  handlers2
27
- } from "./process-61k00zvj.js";
27
+ } from "./options-c4cg7a3y.js";
28
28
  import {
29
29
  authorizationLayer2
30
- } from "./process-7b9xm1qg.js";
30
+ } from "./options-7b9xm1qg.js";
31
31
  import {
32
32
  schemaErrorLayer2
33
- } from "./process-bd8755ek.js";
33
+ } from "./options-bd8755ek.js";
34
34
 
35
35
  // src/routes.ts
36
36
  import { Database } from "@opencode/core/database/database";
@@ -157,8 +157,8 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
157
157
  })) : build(overrides);
158
158
  return serviceLayer.pipe(Layer.flatMap((context) => {
159
159
  const services = Layer.succeedContext(context);
160
- 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));
161
- 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.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
160
+ 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));
161
+ 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.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
162
162
  return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
163
163
  }));
164
164
  }
@@ -3,16 +3,16 @@ import {
3
3
  missingMessage2,
4
4
  failedMessageDecode2,
5
5
  failedSnapshot2
6
- } from "./process-smaf4a18.js";
6
+ } from "./options-smaf4a18.js";
7
7
  import {
8
8
  locationErrors2
9
- } from "./process-gqq6kfhc.js";
9
+ } from "./options-50bbk3b2.js";
10
10
  import {
11
11
  Api2
12
- } from "./process-r5696se6.js";
12
+ } from "./options-j87xz9bt.js";
13
13
  import {
14
14
  wantsMediaRefs2
15
- } from "./process-xthc02cw.js";
15
+ } from "./options-xthc02cw.js";
16
16
 
17
17
  // src/handlers/session.ts
18
18
  import { Instance } from "@opencode/core/instance/service";
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./process-gqq6kfhc.js";
5
+ } from "./options-50bbk3b2.js";
6
6
 
7
7
  // src/middleware/form-location.ts
8
8
  import { Instance } from "@opencode/core/instance/service";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./process-9rqn6x4v.js";
3
+ } from "./options-9rqn6x4v.js";
4
4
 
5
5
  // src/auth.ts
6
6
  var exports_auth = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./process-gk0yxcp6.js";
6
+ } from "./options-htyf2qs7.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./process-yet0vexm.js";
9
+ } from "./options-b3bmdkga.js";
10
10
 
11
11
  // src/api.ts
12
12
  import { makeDefaultApi } from "@opencode/protocol/api";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./process-gqq6kfhc.js";
4
+ } from "./options-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./process-r5696se6.js";
7
+ } from "./options-j87xz9bt.js";
8
8
 
9
9
  // src/handlers/websearch.ts
10
10
  import { WebSearch } from "@opencode/core/websearch";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-r5696se6.js";
3
+ } from "./options-j87xz9bt.js";
4
4
  import {
5
5
  CorsConfig2,
6
6
  isAllowedRequestOrigin2
7
- } from "./process-q4bn6dy8.js";
7
+ } from "./options-q4bn6dy8.js";
8
8
  import {
9
9
  makeArtifact2
10
- } from "./process-w5yp0ga8.js";
10
+ } from "./options-p86kew8c.js";
11
11
  import {
12
12
  makeJob2
13
- } from "./process-78rcgzsr.js";
13
+ } from "./options-78rcgzsr.js";
14
14
  import {
15
15
  makeMediaGet2
16
- } from "./process-djr0jy89.js";
16
+ } from "./options-djr0jy89.js";
17
17
  import {
18
18
  runPtySocket2
19
- } from "./process-q187pxxd.js";
19
+ } from "./options-q187pxxd.js";
20
20
  import {
21
21
  makeSchedule2
22
- } from "./process-059rbh9c.js";
22
+ } from "./options-059rbh9c.js";
23
23
 
24
24
  // src/handlers/persistent-pty.ts
25
25
  import { PersistentPty } from "@opencode/core/persistent-pty";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  isAllowedRequestOrigin2
3
- } from "./process-q4bn6dy8.js";
3
+ } from "./options-q4bn6dy8.js";
4
4
  import {
5
5
  __export
6
- } from "./process-9rqn6x4v.js";
6
+ } from "./options-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 "./process-9rqn6x4v.js";
3
+ } from "./options-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: () => Service2,
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 Service2 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(Service2, 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 Service2.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(Service2, Effect.gen(function* () {
30
30
  })
31
31
  });
32
32
  }));
33
- var node2 = makeGlobalNode({ service: Service2, layer, deps: [] });
33
+ var node2 = makeGlobalNode({ service: Service4, layer, deps: [] });
34
34
 
35
- export { Service2, node2, exports_pairing };
35
+ export { Service4, node2, exports_pairing };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-r5696se6.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/skill.ts
9
9
  import { Skill } from "@opencode/core/skill";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./process-smaf4a18.js";
3
+ } from "./options-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  requestRef2
8
- } from "./process-gqq6kfhc.js";
8
+ } from "./options-50bbk3b2.js";
9
9
 
10
10
  // src/handlers/artifact.ts
11
11
  import { Artifact } from "@opencode/core/artifact";
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./process-gqq6kfhc.js";
5
+ } from "./options-50bbk3b2.js";
6
6
  import {
7
7
  Api2
8
- } from "./process-r5696se6.js";
8
+ } from "./options-j87xz9bt.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./process-q4bn6dy8.js";
12
+ } from "./options-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./process-q187pxxd.js";
16
+ } from "./options-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
  requestRef2
3
- } from "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-r5696se6.js";
6
+ } from "./options-j87xz9bt.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 "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-r5696se6.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/shell.ts
9
9
  import { Shell } from "@opencode/core/shell";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./process-gqq6kfhc.js";
4
+ } from "./options-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./process-r5696se6.js";
7
+ } from "./options-j87xz9bt.js";
8
8
 
9
9
  // src/handlers/model.ts
10
10
  import { Model } from "@opencode/core/model";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-r5696se6.js";
6
+ } from "./options-j87xz9bt.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
  __export
3
- } from "./process-9rqn6x4v.js";
3
+ } from "./options-9rqn6x4v.js";
4
4
 
5
5
  // src/content-headers.ts
6
6
  var exports_content_headers = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-r5696se6.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/reference.ts
9
9
  import { Reference } from "@opencode/core/reference";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-r5696se6.js";
3
+ } from "./options-j87xz9bt.js";
4
4
  import {
5
- Service3,
5
+ Service2,
6
6
  frame2
7
- } from "./process-3p9jwgak.js";
7
+ } from "./options-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,12 +1,12 @@
1
1
  import {
2
2
  response2
3
- } from "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-r5696se6.js";
6
+ } from "./options-j87xz9bt.js";
7
7
  import {
8
8
  download2
9
- } from "./process-t32e1bbt.js";
9
+ } from "./options-t32e1bbt.js";
10
10
 
11
11
  // src/handlers/fs.ts
12
12
  import { FileSystem } from "@opencode/core/filesystem";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-r5696se6.js";
3
+ } from "./options-j87xz9bt.js";
4
4
  import {
5
5
  requireConnectable2
6
- } from "./process-amndpc82.js";
6
+ } from "./options-91858wp1.js";
7
7
 
8
8
  // src/handlers/credential.ts
9
9
  import { Credential } from "@opencode/core/credential";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  awaitPlugins2
4
- } from "./process-gqq6kfhc.js";
4
+ } from "./options-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./process-r5696se6.js";
7
+ } from "./options-j87xz9bt.js";
8
8
 
9
9
  // src/handlers/generate.ts
10
10
  import { Generate } from "@opencode/core/generate";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  isAllowedCorsOrigin2
3
- } from "./process-q4bn6dy8.js";
3
+ } from "./options-q4bn6dy8.js";
4
4
  import {
5
5
  middleware2
6
- } from "./process-myqk22k5.js";
6
+ } from "./options-myqk22k5.js";
7
7
  import {
8
8
  withoutParentSpan2
9
- } from "./process-yc7nft6q.js";
9
+ } from "./options-yc7nft6q.js";
10
10
  import {
11
11
  createRoutes2
12
- } from "./process-cp79kecq.js";
12
+ } from "./options-fxf3p1yq.js";
13
13
  import {
14
14
  __export
15
- } from "./process-9rqn6x4v.js";
15
+ } from "./options-9rqn6x4v.js";
16
16
 
17
17
  // src/fetch.ts
18
18
  var exports_fetch = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-r5696se6.js";
3
+ } from "./options-j87xz9bt.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/process-t32e1bbt.js";
6
+ } from "./chunks/options-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/process-q4bn6dy8.js";
5
+ } from "./chunks/options-q4bn6dy8.js";
6
6
  export {
7
7
  CorsConfig2 as CorsConfig,
8
8
  isAllowedCorsOrigin2 as isAllowedCorsOrigin,
@@ -2,16 +2,16 @@ import {
2
2
  SubscriberCapacity2,
3
3
  SubscriberOverflowError2,
4
4
  EncodingError2,
5
- Service3,
5
+ Service2,
6
6
  frame2,
7
7
  make4,
8
8
  layer2,
9
9
  exports_event_feed
10
- } from "./chunks/process-3p9jwgak.js";
10
+ } from "./chunks/options-fvpjvjpp.js";
11
11
  export {
12
12
  EncodingError2 as EncodingError,
13
13
  exports_event_feed as EventFeed,
14
- Service3 as Service,
14
+ Service2 as Service,
15
15
  SubscriberCapacity2 as SubscriberCapacity,
16
16
  SubscriberOverflowError2 as SubscriberOverflowError,
17
17
  frame2 as frame,