@opencode/server 0.0.0-dev-20446 → 0.0.0-dev-20447

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.
@@ -6,18 +6,18 @@ import {
6
6
  var exports_pty_environment = {};
7
7
  __export(exports_pty_environment, {
8
8
  PtyEnvironment: () => exports_pty_environment,
9
- Service: () => Service4,
10
- layer: () => layer4,
9
+ Service: () => Service3,
10
+ layer: () => layer3,
11
11
  node: () => node2
12
12
  });
13
13
  import { Context, Effect, Layer } from "effect";
14
14
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/ServerPtyEnvironment") {
16
+ class Service3 extends Context.Service()("@opencode/ServerPtyEnvironment") {
17
17
  }
18
- var layer4 = Layer.succeed(Service4, Service4.of({
18
+ var layer3 = Layer.succeed(Service3, Service3.of({
19
19
  get: () => Effect.succeed({})
20
20
  }));
21
- var node2 = makeGlobalNode({ service: Service4, layer: layer4, deps: [] });
21
+ var node2 = makeGlobalNode({ service: Service3, layer: layer3, deps: [] });
22
22
 
23
- export { Service4, layer4, node2, exports_pty_environment };
23
+ export { Service3, layer3, node2, exports_pty_environment };
@@ -2,9 +2,9 @@ import {
2
2
  Api2
3
3
  } from "./fetch-ar2c062s.js";
4
4
  import {
5
- Service2,
5
+ Service4,
6
6
  frame2
7
- } from "./fetch-kmrabwkf.js";
7
+ } from "./fetch-n9y13hgv.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/unstable/http";
13
13
  import { HttpApiBuilder } from "effect/unstable/httpapi";
14
14
  var EventHandler2 = HttpApiBuilder.group(Api2, "server.event", (handlers) => Effect.gen(function* () {
15
- const feed = yield* Service2;
15
+ const feed = yield* Service4;
16
16
  return handlers.handleRaw("event.subscribe", () => Effect.gen(function* () {
17
17
  const connected = {
18
18
  id: Event.ID.create(),
@@ -6,10 +6,10 @@ import {
6
6
  var exports_service_status = {};
7
7
  __export(exports_service_status, {
8
8
  Status: () => exports_service_status,
9
- make: () => make4
9
+ make: () => make3
10
10
  });
11
11
  import { Effect, Ref } from "effect";
12
- var make4 = Effect.fnUntraced(function* (options = {}) {
12
+ var make3 = Effect.fnUntraced(function* (options = {}) {
13
13
  const current = yield* Ref.make(options.initial ?? { type: "starting" });
14
14
  const beginStopping = Ref.update(current, (status) => status.type === "stopping" ? status : { type: "stopping" });
15
15
  return {
@@ -20,4 +20,4 @@ var make4 = Effect.fnUntraced(function* (options = {}) {
20
20
  };
21
21
  });
22
22
 
23
- export { make4, exports_service_status };
23
+ export { make3, exports_service_status };
@@ -32,11 +32,11 @@ import {
32
32
  RpcHandler2
33
33
  } from "./fetch-trr1emsb.js";
34
34
  import {
35
- layer2
36
- } from "./fetch-kmrabwkf.js";
35
+ layer4
36
+ } from "./fetch-n9y13hgv.js";
37
37
  import {
38
38
  EventHandler2
39
- } from "./fetch-p01w3ts8.js";
39
+ } from "./fetch-1wmw6sfe.js";
40
40
  import {
41
41
  AgentHandler2
42
42
  } from "./fetch-0658f5hp.js";
@@ -45,13 +45,13 @@ import {
45
45
  } from "./fetch-pz0jzgeb.js";
46
46
  import {
47
47
  ServerHandler2
48
- } from "./fetch-de58mgxb.js";
48
+ } from "./fetch-jvkddkkh.js";
49
49
  import {
50
50
  DebugHandler2
51
51
  } from "./fetch-7cv7ehbj.js";
52
52
  import {
53
53
  PtyHandler2
54
- } from "./fetch-jmeer2a8.js";
54
+ } from "./fetch-qcfjkaqn.js";
55
55
  import {
56
56
  PersistentPtyHandler2
57
57
  } from "./fetch-35z95kj0.js";
@@ -94,6 +94,6 @@ import {
94
94
 
95
95
  // src/handlers.ts
96
96
  import { Layer } from "effect";
97
- var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer2)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
97
+ var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer4)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
98
98
 
99
99
  export { handlers2 };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./fetch-q4bn6dy8.js";
4
4
  import {
5
5
  createRoutes2
6
- } from "./fetch-t3h9sn22.js";
6
+ } from "./fetch-ey9sh4nm.js";
7
7
  import {
8
8
  __export
9
9
  } from "./fetch-9rqn6x4v.js";
@@ -17,17 +17,17 @@ import {
17
17
  CorsConfig2
18
18
  } from "./fetch-q4bn6dy8.js";
19
19
  import {
20
- layer3
21
- } from "./fetch-mzr9gftb.js";
20
+ layer2
21
+ } from "./fetch-s4aja1df.js";
22
22
  import {
23
23
  node3
24
24
  } from "./fetch-sstsrjtg.js";
25
25
  import {
26
26
  node2
27
- } from "./fetch-w06km2r1.js";
27
+ } from "./fetch-0d9kah4z.js";
28
28
  import {
29
29
  handlers2
30
- } from "./fetch-txaja9b1.js";
30
+ } from "./fetch-64g11j8m.js";
31
31
  import {
32
32
  authorizationLayer2
33
33
  } from "./fetch-gtkdacvk.js";
@@ -144,7 +144,7 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
144
144
  })) : build(overrides);
145
145
  return serviceLayer.pipe(Layer.flatMap((context) => {
146
146
  const services = Layer.succeedContext(context);
147
- 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));
147
+ const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer2(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
148
148
  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(layer5), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
149
149
  return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
150
150
  }));
@@ -8,8 +8,8 @@ import {
8
8
  sessionCookieName2
9
9
  } from "./fetch-anm12x33.js";
10
10
  import {
11
- Service3
12
- } from "./fetch-mzr9gftb.js";
11
+ Service2
12
+ } from "./fetch-s4aja1df.js";
13
13
  import {
14
14
  Service5
15
15
  } from "./fetch-sstsrjtg.js";
@@ -23,7 +23,7 @@ var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => E
23
23
  const pairing = yield* Service5;
24
24
  const auth = yield* Config2;
25
25
  return handlers.handle("server.info", () => Effect.gen(function* () {
26
- const info = yield* Service3;
26
+ const info = yield* Service2;
27
27
  return {
28
28
  version: info.app.version ?? "unknown",
29
29
  pid: process.pid ?? 0,
@@ -7,12 +7,12 @@ var exports_event_feed = {};
7
7
  __export(exports_event_feed, {
8
8
  EncodingError: () => EncodingError2,
9
9
  EventFeed: () => exports_event_feed,
10
- Service: () => Service2,
10
+ Service: () => Service4,
11
11
  SubscriberCapacity: () => SubscriberCapacity2,
12
12
  SubscriberOverflowError: () => SubscriberOverflowError2,
13
13
  frame: () => frame2,
14
- layer: () => layer2,
15
- make: () => make3
14
+ layer: () => layer4,
15
+ make: () => make4
16
16
  });
17
17
  import { Bus } from "@opencode/core/bus";
18
18
  import { Event } from "@opencode/schema/event";
@@ -30,14 +30,14 @@ class EncodingError2 extends Schema.TaggedError()("EventFeed.EncodingError", {
30
30
  }) {
31
31
  }
32
32
 
33
- class Service2 extends Context.Service()("@opencode/server/EventFeed") {
33
+ class Service4 extends Context.Service()("@opencode/server/EventFeed") {
34
34
  }
35
35
  function frame2(event) {
36
36
  return `data: ${JSON.stringify(event)}
37
37
 
38
38
  `;
39
39
  }
40
- var make3 = Effect.fn("EventFeed.make")(function* (observe, options) {
40
+ var make4 = Effect.fn("EventFeed.make")(function* (observe, options) {
41
41
  const capacity = options?.capacity ?? SubscriberCapacity2;
42
42
  const render = options?.encode ?? frame2;
43
43
  const subscribers = new Set;
@@ -71,13 +71,13 @@ var make3 = Effect.fn("EventFeed.make")(function* (observe, options) {
71
71
  });
72
72
  const unsubscribe = yield* observe(publish);
73
73
  yield* Effect.addFinalizer(() => unsubscribe);
74
- return Service2.of({
74
+ return Service4.of({
75
75
  subscribe: Effect.acquireRelease(Queue.dropping(capacity).pipe(Effect.tap((queue) => Effect.sync(() => subscribers.add(queue)))), (queue) => Effect.sync(() => subscribers.delete(queue)).pipe(Effect.andThen(Queue.shutdown(queue)), Effect.asVoid)).pipe(Effect.map(Stream.fromQueue))
76
76
  });
77
77
  });
78
- var layer2 = Layer.effect(Service2, Effect.gen(function* () {
78
+ var layer4 = Layer.effect(Service4, Effect.gen(function* () {
79
79
  const bus = yield* Bus.Service;
80
- return yield* make3(bus.listen);
80
+ return yield* make4(bus.listen);
81
81
  }));
82
82
 
83
- export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service2, frame2, make3, layer2, exports_event_feed };
83
+ export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service4, frame2, make4, layer4, exports_event_feed };
@@ -9,8 +9,8 @@ import {
9
9
  isAllowedRequestOrigin2
10
10
  } from "./fetch-q4bn6dy8.js";
11
11
  import {
12
- Service4
13
- } from "./fetch-w06km2r1.js";
12
+ Service3
13
+ } from "./fetch-0d9kah4z.js";
14
14
  import {
15
15
  runPtySocket2
16
16
  } from "./fetch-hezj1jdf.js";
@@ -37,7 +37,7 @@ var ticketScope = Effect.gen(function* () {
37
37
  var PtyHandler2 = HttpApiBuilder.group(Api2, "server.pty", (handlers) => Effect.gen(function* () {
38
38
  const tickets = yield* PtyTicket.Service;
39
39
  const cors = yield* CorsConfig2;
40
- const environment = yield* Service4;
40
+ const environment = yield* Service3;
41
41
  return handlers.handle("pty.list", Effect.fn(function* () {
42
42
  const pty = yield* Pty.Service;
43
43
  return yield* response2(pty.list());
@@ -6,17 +6,17 @@ import {
6
6
  var exports_server_info = {};
7
7
  __export(exports_server_info, {
8
8
  ServerInfo: () => exports_server_info,
9
- Service: () => Service3,
9
+ Service: () => Service2,
10
10
  connectionURLs: () => connectionURLs2,
11
- layer: () => layer3
11
+ layer: () => layer2
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { networkInterfaces } from "node:os";
15
15
 
16
- class Service3 extends Context.Service()("@opencode/server/ServerInfo") {
16
+ class Service2 extends Context.Service()("@opencode/server/ServerInfo") {
17
17
  }
18
- function layer3(urls, tmp, app = {}) {
19
- return Layer.succeed(Service3, Service3.of({ urls, app, paths: { tmp } }));
18
+ function layer2(urls, tmp, app = {}) {
19
+ return Layer.succeed(Service2, Service2.of({ urls, app, paths: { tmp } }));
20
20
  }
21
21
  function connectionURLs2(value, requestedHostname) {
22
22
  const url = new URL(value);
@@ -33,4 +33,4 @@ function connectionURLs2(value, requestedHostname) {
33
33
  ];
34
34
  }
35
35
 
36
- export { Service3, layer3, connectionURLs2, exports_server_info };
36
+ export { Service2, layer2, connectionURLs2, exports_server_info };
@@ -2,19 +2,19 @@ import {
2
2
  SubscriberCapacity2,
3
3
  SubscriberOverflowError2,
4
4
  EncodingError2,
5
- Service2,
5
+ Service4,
6
6
  frame2,
7
- make3,
8
- layer2,
7
+ make4,
8
+ layer4,
9
9
  exports_event_feed
10
- } from "./chunks/fetch-kmrabwkf.js";
10
+ } from "./chunks/fetch-n9y13hgv.js";
11
11
  export {
12
12
  EncodingError2 as EncodingError,
13
13
  exports_event_feed as EventFeed,
14
- Service2 as Service,
14
+ Service4 as Service,
15
15
  SubscriberCapacity2 as SubscriberCapacity,
16
16
  SubscriberOverflowError2 as SubscriberOverflowError,
17
17
  frame2 as frame,
18
- layer2 as layer,
19
- make3 as make
18
+ layer4 as layer,
19
+ make4 as make
20
20
  };
package/dist/fetch.js CHANGED
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  make2,
3
3
  exports_fetch
4
- } from "./chunks/fetch-e7v3rscb.js";
5
- import"./chunks/fetch-t3h9sn22.js";
6
- import"./chunks/fetch-gtkdacvk.js";
4
+ } from "./chunks/fetch-8gk832j8.js";
5
+ import"./chunks/fetch-ey9sh4nm.js";
7
6
  import"./chunks/fetch-t8yzmczr.js";
8
- import"./chunks/fetch-txaja9b1.js";
9
- import"./chunks/fetch-11g6bym3.js";
7
+ import"./chunks/fetch-gtkdacvk.js";
8
+ import"./chunks/fetch-64g11j8m.js";
9
+ import"./chunks/fetch-35z95kj0.js";
10
+ import"./chunks/fetch-7cv7ehbj.js";
10
11
  import"./chunks/fetch-vak2mhq3.js";
11
- import"./chunks/fetch-de58mgxb.js";
12
+ import"./chunks/fetch-rg7j7cph.js";
13
+ import"./chunks/fetch-g404tgwp.js";
12
14
  import"./chunks/fetch-a7ke583f.js";
15
+ import"./chunks/fetch-2nzbqq6w.js";
16
+ import"./chunks/fetch-scvg88rk.js";
17
+ import"./chunks/fetch-qcfjkaqn.js";
18
+ import"./chunks/fetch-96sfj8c0.js";
13
19
  import"./chunks/fetch-vjmrn89t.js";
14
- import"./chunks/fetch-rn5anws3.js";
20
+ import"./chunks/fetch-kqk7gaza.js";
21
+ import"./chunks/fetch-9aabh8fh.js";
15
22
  import"./chunks/fetch-2b206wcs.js";
16
- import"./chunks/fetch-rrt24jy6.js";
17
- import"./chunks/fetch-jmeer2a8.js";
18
- import"./chunks/fetch-w5qev33e.js";
19
- import"./chunks/fetch-7cv7ehbj.js";
20
- import"./chunks/fetch-zhw07218.js";
23
+ import"./chunks/fetch-11g6bym3.js";
21
24
  import"./chunks/fetch-39fhjz78.js";
22
- import"./chunks/fetch-ft04a550.js";
23
- import"./chunks/fetch-9aabh8fh.js";
24
- import"./chunks/fetch-sryvrekq.js";
25
- import"./chunks/fetch-0658f5hp.js";
26
- import"./chunks/fetch-p01w3ts8.js";
27
- import"./chunks/fetch-jk9mr6vp.js";
28
- import"./chunks/fetch-kqk7gaza.js";
29
- import"./chunks/fetch-0h6q40e6.js";
30
- import"./chunks/fetch-2nzbqq6w.js";
31
- import"./chunks/fetch-35z95kj0.js";
32
- import"./chunks/fetch-96sfj8c0.js";
25
+ import"./chunks/fetch-1wmw6sfe.js";
33
26
  import"./chunks/fetch-j4tb0vx8.js";
34
- import"./chunks/fetch-scvg88rk.js";
27
+ import"./chunks/fetch-jk9mr6vp.js";
28
+ import"./chunks/fetch-0658f5hp.js";
35
29
  import"./chunks/fetch-pz0jzgeb.js";
36
- import"./chunks/fetch-trr1emsb.js";
30
+ import"./chunks/fetch-rn5anws3.js";
31
+ import"./chunks/fetch-w5qev33e.js";
37
32
  import"./chunks/fetch-hezj1jdf.js";
38
- import"./chunks/fetch-rg7j7cph.js";
39
- import"./chunks/fetch-g404tgwp.js";
40
- import"./chunks/fetch-kmrabwkf.js";
41
- import"./chunks/fetch-mzr9gftb.js";
33
+ import"./chunks/fetch-rrt24jy6.js";
34
+ import"./chunks/fetch-jvkddkkh.js";
35
+ import"./chunks/fetch-0h6q40e6.js";
36
+ import"./chunks/fetch-trr1emsb.js";
37
+ import"./chunks/fetch-zhw07218.js";
38
+ import"./chunks/fetch-sryvrekq.js";
39
+ import"./chunks/fetch-ft04a550.js";
42
40
  import"./chunks/fetch-q4bn6dy8.js";
41
+ import"./chunks/fetch-s4aja1df.js";
42
+ import"./chunks/fetch-0d9kah4z.js";
43
+ import"./chunks/fetch-anm12x33.js";
44
+ import"./chunks/fetch-n9y13hgv.js";
43
45
  import"./chunks/fetch-ar2c062s.js";
44
46
  import"./chunks/fetch-frv6gfy7.js";
45
47
  import"./chunks/fetch-23w8t84j.js";
46
- import"./chunks/fetch-w06km2r1.js";
47
48
  import"./chunks/fetch-0ar9gf7q.js";
48
49
  import"./chunks/fetch-smaf4a18.js";
49
- import"./chunks/fetch-anm12x33.js";
50
50
  import"./chunks/fetch-sstsrjtg.js";
51
51
  export {
52
52
  exports_fetch as ServerFetch,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  EventHandler2
3
- } from "../chunks/fetch-p01w3ts8.js";
4
- import"../chunks/fetch-kmrabwkf.js";
3
+ } from "../chunks/fetch-1wmw6sfe.js";
4
+ import"../chunks/fetch-n9y13hgv.js";
5
5
  import"../chunks/fetch-ar2c062s.js";
6
6
  import"../chunks/fetch-frv6gfy7.js";
7
7
  import"../chunks/fetch-23w8t84j.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  PtyHandler2
3
- } from "../chunks/fetch-jmeer2a8.js";
3
+ } from "../chunks/fetch-qcfjkaqn.js";
4
4
  import"../chunks/fetch-hezj1jdf.js";
5
5
  import"../chunks/fetch-q4bn6dy8.js";
6
+ import"../chunks/fetch-0d9kah4z.js";
6
7
  import"../chunks/fetch-ar2c062s.js";
7
8
  import"../chunks/fetch-frv6gfy7.js";
8
9
  import"../chunks/fetch-23w8t84j.js";
9
- import"../chunks/fetch-w06km2r1.js";
10
10
  import"../chunks/fetch-0ar9gf7q.js";
11
11
  import"../chunks/fetch-smaf4a18.js";
12
12
  export {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ServerHandler2
3
- } from "../chunks/fetch-de58mgxb.js";
4
- import"../chunks/fetch-mzr9gftb.js";
3
+ } from "../chunks/fetch-jvkddkkh.js";
4
+ import"../chunks/fetch-s4aja1df.js";
5
+ import"../chunks/fetch-anm12x33.js";
5
6
  import"../chunks/fetch-ar2c062s.js";
6
7
  import"../chunks/fetch-frv6gfy7.js";
7
8
  import"../chunks/fetch-23w8t84j.js";
8
9
  import"../chunks/fetch-0ar9gf7q.js";
9
10
  import"../chunks/fetch-smaf4a18.js";
10
- import"../chunks/fetch-anm12x33.js";
11
11
  import"../chunks/fetch-sstsrjtg.js";
12
12
  export {
13
13
  ServerHandler2 as ServerHandler
package/dist/handlers.js CHANGED
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  handlers2
3
- } from "./chunks/fetch-txaja9b1.js";
4
- import"./chunks/fetch-11g6bym3.js";
3
+ } from "./chunks/fetch-64g11j8m.js";
4
+ import"./chunks/fetch-35z95kj0.js";
5
+ import"./chunks/fetch-7cv7ehbj.js";
5
6
  import"./chunks/fetch-vak2mhq3.js";
6
- import"./chunks/fetch-de58mgxb.js";
7
+ import"./chunks/fetch-rg7j7cph.js";
8
+ import"./chunks/fetch-g404tgwp.js";
7
9
  import"./chunks/fetch-a7ke583f.js";
10
+ import"./chunks/fetch-2nzbqq6w.js";
11
+ import"./chunks/fetch-scvg88rk.js";
12
+ import"./chunks/fetch-qcfjkaqn.js";
13
+ import"./chunks/fetch-96sfj8c0.js";
8
14
  import"./chunks/fetch-vjmrn89t.js";
9
- import"./chunks/fetch-rn5anws3.js";
15
+ import"./chunks/fetch-kqk7gaza.js";
16
+ import"./chunks/fetch-9aabh8fh.js";
10
17
  import"./chunks/fetch-2b206wcs.js";
11
- import"./chunks/fetch-rrt24jy6.js";
12
- import"./chunks/fetch-jmeer2a8.js";
13
- import"./chunks/fetch-w5qev33e.js";
14
- import"./chunks/fetch-7cv7ehbj.js";
15
- import"./chunks/fetch-zhw07218.js";
18
+ import"./chunks/fetch-11g6bym3.js";
16
19
  import"./chunks/fetch-39fhjz78.js";
17
- import"./chunks/fetch-ft04a550.js";
18
- import"./chunks/fetch-9aabh8fh.js";
19
- import"./chunks/fetch-sryvrekq.js";
20
- import"./chunks/fetch-0658f5hp.js";
21
- import"./chunks/fetch-p01w3ts8.js";
22
- import"./chunks/fetch-jk9mr6vp.js";
23
- import"./chunks/fetch-kqk7gaza.js";
24
- import"./chunks/fetch-0h6q40e6.js";
25
- import"./chunks/fetch-2nzbqq6w.js";
26
- import"./chunks/fetch-35z95kj0.js";
27
- import"./chunks/fetch-96sfj8c0.js";
20
+ import"./chunks/fetch-1wmw6sfe.js";
28
21
  import"./chunks/fetch-j4tb0vx8.js";
29
- import"./chunks/fetch-scvg88rk.js";
22
+ import"./chunks/fetch-jk9mr6vp.js";
23
+ import"./chunks/fetch-0658f5hp.js";
30
24
  import"./chunks/fetch-pz0jzgeb.js";
31
- import"./chunks/fetch-trr1emsb.js";
25
+ import"./chunks/fetch-rn5anws3.js";
26
+ import"./chunks/fetch-w5qev33e.js";
32
27
  import"./chunks/fetch-hezj1jdf.js";
33
- import"./chunks/fetch-rg7j7cph.js";
34
- import"./chunks/fetch-g404tgwp.js";
35
- import"./chunks/fetch-kmrabwkf.js";
36
- import"./chunks/fetch-mzr9gftb.js";
28
+ import"./chunks/fetch-rrt24jy6.js";
29
+ import"./chunks/fetch-jvkddkkh.js";
30
+ import"./chunks/fetch-0h6q40e6.js";
31
+ import"./chunks/fetch-trr1emsb.js";
32
+ import"./chunks/fetch-zhw07218.js";
33
+ import"./chunks/fetch-sryvrekq.js";
34
+ import"./chunks/fetch-ft04a550.js";
37
35
  import"./chunks/fetch-q4bn6dy8.js";
36
+ import"./chunks/fetch-s4aja1df.js";
37
+ import"./chunks/fetch-0d9kah4z.js";
38
+ import"./chunks/fetch-anm12x33.js";
39
+ import"./chunks/fetch-n9y13hgv.js";
38
40
  import"./chunks/fetch-ar2c062s.js";
39
41
  import"./chunks/fetch-frv6gfy7.js";
40
42
  import"./chunks/fetch-23w8t84j.js";
41
- import"./chunks/fetch-w06km2r1.js";
42
43
  import"./chunks/fetch-0ar9gf7q.js";
43
44
  import"./chunks/fetch-smaf4a18.js";
44
- import"./chunks/fetch-anm12x33.js";
45
45
  import"./chunks/fetch-sstsrjtg.js";
46
46
  export {
47
47
  handlers2 as handlers
package/dist/process.js CHANGED
@@ -27,19 +27,19 @@ import"./chunks/fetch-w5qev33e.js";
27
27
  import"./chunks/fetch-zhw07218.js";
28
28
  import"./chunks/fetch-j4tb0vx8.js";
29
29
  import"./chunks/fetch-trr1emsb.js";
30
- import"./chunks/fetch-kmrabwkf.js";
31
- import"./chunks/fetch-p01w3ts8.js";
30
+ import"./chunks/fetch-n9y13hgv.js";
31
+ import"./chunks/fetch-1wmw6sfe.js";
32
32
  import"./chunks/fetch-0658f5hp.js";
33
33
  import"./chunks/fetch-pz0jzgeb.js";
34
34
  import {
35
35
  connectionURLs2
36
- } from "./chunks/fetch-mzr9gftb.js";
36
+ } from "./chunks/fetch-s4aja1df.js";
37
37
  import"./chunks/fetch-sstsrjtg.js";
38
- import"./chunks/fetch-de58mgxb.js";
38
+ import"./chunks/fetch-jvkddkkh.js";
39
39
  import"./chunks/fetch-7cv7ehbj.js";
40
- import"./chunks/fetch-w06km2r1.js";
40
+ import"./chunks/fetch-0d9kah4z.js";
41
41
  import"./chunks/fetch-hezj1jdf.js";
42
- import"./chunks/fetch-jmeer2a8.js";
42
+ import"./chunks/fetch-qcfjkaqn.js";
43
43
  import"./chunks/fetch-35z95kj0.js";
44
44
  import"./chunks/fetch-sryvrekq.js";
45
45
  import"./chunks/fetch-11g6bym3.js";
@@ -53,14 +53,14 @@ import"./chunks/fetch-scvg88rk.js";
53
53
  import"./chunks/fetch-ft04a550.js";
54
54
  import"./chunks/fetch-2nzbqq6w.js";
55
55
  import"./chunks/fetch-0h6q40e6.js";
56
- import"./chunks/fetch-txaja9b1.js";
56
+ import"./chunks/fetch-64g11j8m.js";
57
57
  import"./chunks/fetch-t8yzmczr.js";
58
58
  import {
59
59
  createRoutes2
60
- } from "./chunks/fetch-t3h9sn22.js";
60
+ } from "./chunks/fetch-ey9sh4nm.js";
61
61
  import {
62
- make4
63
- } from "./chunks/fetch-vpz7f20y.js";
62
+ make3
63
+ } from "./chunks/fetch-5w24ch67.js";
64
64
  import {
65
65
  __export
66
66
  } from "./chunks/fetch-9rqn6x4v.js";
@@ -90,7 +90,7 @@ var start = Effect.fn("ServerProcess.start")(function* (options, lifecycle, tran
90
90
  const hostname = options.hostname ?? "127.0.0.1";
91
91
  const port = Option.fromNullishOr(options.port);
92
92
  const shutdown = yield* Latch.make();
93
- const status = yield* make4();
93
+ const status = yield* make3();
94
94
  const bound = yield* listen({ hostname, port });
95
95
  const urls = () => {
96
96
  const address = bound.server.address();
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service4,
3
- layer4,
2
+ Service3,
3
+ layer3,
4
4
  node2,
5
5
  exports_pty_environment
6
- } from "./chunks/fetch-w06km2r1.js";
6
+ } from "./chunks/fetch-0d9kah4z.js";
7
7
  export {
8
8
  exports_pty_environment as PtyEnvironment,
9
- Service4 as Service,
10
- layer4 as layer,
9
+ Service3 as Service,
10
+ layer3 as layer,
11
11
  node2 as node
12
12
  };
package/dist/routes.js CHANGED
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  createRoutes2,
3
3
  createEmbeddedRoutes2
4
- } from "./chunks/fetch-t3h9sn22.js";
5
- import"./chunks/fetch-gtkdacvk.js";
4
+ } from "./chunks/fetch-ey9sh4nm.js";
6
5
  import"./chunks/fetch-t8yzmczr.js";
7
- import"./chunks/fetch-txaja9b1.js";
8
- import"./chunks/fetch-11g6bym3.js";
6
+ import"./chunks/fetch-gtkdacvk.js";
7
+ import"./chunks/fetch-64g11j8m.js";
8
+ import"./chunks/fetch-35z95kj0.js";
9
+ import"./chunks/fetch-7cv7ehbj.js";
9
10
  import"./chunks/fetch-vak2mhq3.js";
10
- import"./chunks/fetch-de58mgxb.js";
11
+ import"./chunks/fetch-rg7j7cph.js";
12
+ import"./chunks/fetch-g404tgwp.js";
11
13
  import"./chunks/fetch-a7ke583f.js";
14
+ import"./chunks/fetch-2nzbqq6w.js";
15
+ import"./chunks/fetch-scvg88rk.js";
16
+ import"./chunks/fetch-qcfjkaqn.js";
17
+ import"./chunks/fetch-96sfj8c0.js";
12
18
  import"./chunks/fetch-vjmrn89t.js";
13
- import"./chunks/fetch-rn5anws3.js";
19
+ import"./chunks/fetch-kqk7gaza.js";
20
+ import"./chunks/fetch-9aabh8fh.js";
14
21
  import"./chunks/fetch-2b206wcs.js";
15
- import"./chunks/fetch-rrt24jy6.js";
16
- import"./chunks/fetch-jmeer2a8.js";
17
- import"./chunks/fetch-w5qev33e.js";
18
- import"./chunks/fetch-7cv7ehbj.js";
19
- import"./chunks/fetch-zhw07218.js";
22
+ import"./chunks/fetch-11g6bym3.js";
20
23
  import"./chunks/fetch-39fhjz78.js";
21
- import"./chunks/fetch-ft04a550.js";
22
- import"./chunks/fetch-9aabh8fh.js";
23
- import"./chunks/fetch-sryvrekq.js";
24
- import"./chunks/fetch-0658f5hp.js";
25
- import"./chunks/fetch-p01w3ts8.js";
26
- import"./chunks/fetch-jk9mr6vp.js";
27
- import"./chunks/fetch-kqk7gaza.js";
28
- import"./chunks/fetch-0h6q40e6.js";
29
- import"./chunks/fetch-2nzbqq6w.js";
30
- import"./chunks/fetch-35z95kj0.js";
31
- import"./chunks/fetch-96sfj8c0.js";
24
+ import"./chunks/fetch-1wmw6sfe.js";
32
25
  import"./chunks/fetch-j4tb0vx8.js";
33
- import"./chunks/fetch-scvg88rk.js";
26
+ import"./chunks/fetch-jk9mr6vp.js";
27
+ import"./chunks/fetch-0658f5hp.js";
34
28
  import"./chunks/fetch-pz0jzgeb.js";
35
- import"./chunks/fetch-trr1emsb.js";
29
+ import"./chunks/fetch-rn5anws3.js";
30
+ import"./chunks/fetch-w5qev33e.js";
36
31
  import"./chunks/fetch-hezj1jdf.js";
37
- import"./chunks/fetch-rg7j7cph.js";
38
- import"./chunks/fetch-g404tgwp.js";
39
- import"./chunks/fetch-kmrabwkf.js";
40
- import"./chunks/fetch-mzr9gftb.js";
32
+ import"./chunks/fetch-rrt24jy6.js";
33
+ import"./chunks/fetch-jvkddkkh.js";
34
+ import"./chunks/fetch-0h6q40e6.js";
35
+ import"./chunks/fetch-trr1emsb.js";
36
+ import"./chunks/fetch-zhw07218.js";
37
+ import"./chunks/fetch-sryvrekq.js";
38
+ import"./chunks/fetch-ft04a550.js";
41
39
  import"./chunks/fetch-q4bn6dy8.js";
40
+ import"./chunks/fetch-s4aja1df.js";
41
+ import"./chunks/fetch-0d9kah4z.js";
42
+ import"./chunks/fetch-anm12x33.js";
43
+ import"./chunks/fetch-n9y13hgv.js";
42
44
  import"./chunks/fetch-ar2c062s.js";
43
45
  import"./chunks/fetch-frv6gfy7.js";
44
46
  import"./chunks/fetch-23w8t84j.js";
45
- import"./chunks/fetch-w06km2r1.js";
46
47
  import"./chunks/fetch-0ar9gf7q.js";
47
48
  import"./chunks/fetch-smaf4a18.js";
48
- import"./chunks/fetch-anm12x33.js";
49
49
  import"./chunks/fetch-sstsrjtg.js";
50
50
  export {
51
51
  createEmbeddedRoutes2 as createEmbeddedRoutes,
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service3,
3
- layer3,
2
+ Service2,
3
+ layer2,
4
4
  connectionURLs2,
5
5
  exports_server_info
6
- } from "./chunks/fetch-mzr9gftb.js";
6
+ } from "./chunks/fetch-s4aja1df.js";
7
7
  export {
8
8
  exports_server_info as ServerInfo,
9
- Service3 as Service,
9
+ Service2 as Service,
10
10
  connectionURLs2 as connectionURLs,
11
- layer3 as layer
11
+ layer2 as layer
12
12
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
- make4,
2
+ make3,
3
3
  exports_service_status
4
- } from "./chunks/fetch-vpz7f20y.js";
4
+ } from "./chunks/fetch-5w24ch67.js";
5
5
  export {
6
6
  exports_service_status as Status,
7
- make4 as make
7
+ make3 as make
8
8
  };
package/dist/workerd.js CHANGED
@@ -16,17 +16,17 @@ import"./chunks/fetch-w5qev33e.js";
16
16
  import"./chunks/fetch-zhw07218.js";
17
17
  import"./chunks/fetch-j4tb0vx8.js";
18
18
  import"./chunks/fetch-trr1emsb.js";
19
- import"./chunks/fetch-kmrabwkf.js";
20
- import"./chunks/fetch-p01w3ts8.js";
19
+ import"./chunks/fetch-n9y13hgv.js";
20
+ import"./chunks/fetch-1wmw6sfe.js";
21
21
  import"./chunks/fetch-0658f5hp.js";
22
22
  import"./chunks/fetch-pz0jzgeb.js";
23
- import"./chunks/fetch-mzr9gftb.js";
23
+ import"./chunks/fetch-s4aja1df.js";
24
24
  import"./chunks/fetch-sstsrjtg.js";
25
- import"./chunks/fetch-de58mgxb.js";
25
+ import"./chunks/fetch-jvkddkkh.js";
26
26
  import"./chunks/fetch-7cv7ehbj.js";
27
- import"./chunks/fetch-w06km2r1.js";
27
+ import"./chunks/fetch-0d9kah4z.js";
28
28
  import"./chunks/fetch-hezj1jdf.js";
29
- import"./chunks/fetch-jmeer2a8.js";
29
+ import"./chunks/fetch-qcfjkaqn.js";
30
30
  import"./chunks/fetch-35z95kj0.js";
31
31
  import"./chunks/fetch-sryvrekq.js";
32
32
  import"./chunks/fetch-11g6bym3.js";
@@ -40,13 +40,13 @@ import"./chunks/fetch-scvg88rk.js";
40
40
  import"./chunks/fetch-ft04a550.js";
41
41
  import"./chunks/fetch-2nzbqq6w.js";
42
42
  import"./chunks/fetch-0h6q40e6.js";
43
- import"./chunks/fetch-txaja9b1.js";
43
+ import"./chunks/fetch-64g11j8m.js";
44
44
  import"./chunks/fetch-gtkdacvk.js";
45
45
  import"./chunks/fetch-t8yzmczr.js";
46
- import"./chunks/fetch-t3h9sn22.js";
46
+ import"./chunks/fetch-ey9sh4nm.js";
47
47
  import {
48
48
  make2
49
- } from "./chunks/fetch-e7v3rscb.js";
49
+ } from "./chunks/fetch-8gk832j8.js";
50
50
  import {
51
51
  __export
52
52
  } from "./chunks/fetch-9rqn6x4v.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/server",
4
- "version": "0.0.0-dev-20446",
4
+ "version": "0.0.0-dev-20447",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -30,17 +30,17 @@
30
30
  "dependencies": {
31
31
  "@effect/platform-node": "4.0.0-rc.112",
32
32
  "@effect/platform-node-shared": "4.0.0-rc.112",
33
- "@opencode/core": "0.0.0-dev-20446",
34
- "@opencode/protocol": "0.0.0-dev-20446",
35
- "@opencode/schema": "0.0.0-dev-20446",
36
- "@opencode/simulation": "0.0.0-dev-20446",
37
- "@opencode/util": "0.0.0-dev-20446",
33
+ "@opencode/core": "0.0.0-dev-20447",
34
+ "@opencode/protocol": "0.0.0-dev-20447",
35
+ "@opencode/schema": "0.0.0-dev-20447",
36
+ "@opencode/simulation": "0.0.0-dev-20447",
37
+ "@opencode/util": "0.0.0-dev-20447",
38
38
  "drizzle-orm": "1.0.0-rc.5-169397b",
39
39
  "effect": "4.0.0-rc.112"
40
40
  },
41
41
  "devDependencies": {
42
- "@opencode/client": "0.0.0-dev-20446",
43
- "@opencode/plugin": "0.0.0-dev-20446",
42
+ "@opencode/client": "0.0.0-dev-20447",
43
+ "@opencode/plugin": "0.0.0-dev-20447",
44
44
  "@tsconfig/bun": "1.0.9",
45
45
  "@types/bun": "1.4.0",
46
46
  "@typescript/native-preview": "7.0.0-dev.20251207.1"