@opencode/server 0.0.0-dev-20000 → 0.0.0-dev-20003

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.
@@ -2,9 +2,9 @@ import {
2
2
  Api2
3
3
  } from "./fetch-v573ws0d.js";
4
4
  import {
5
- Service2,
5
+ Service4,
6
6
  frame2
7
- } from "./fetch-2sy3c7de.js";
7
+ } from "./fetch-2g3y4esy.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(),
@@ -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: () => make4
14
+ layer: () => layer5,
15
+ make: () => make3
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 make4 = Effect.fn("EventFeed.make")(function* (observe, options) {
40
+ var make3 = 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 make4 = 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 layer5 = Layer.effect(Service4, Effect.gen(function* () {
79
79
  const bus = yield* Bus.Service;
80
- return yield* make4(bus.listen);
80
+ return yield* make3(bus.listen);
81
81
  }));
82
82
 
83
- export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service2, frame2, make4, layer2, exports_event_feed };
83
+ export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service4, frame2, make3, layer5, exports_event_feed };
@@ -17,14 +17,14 @@ import {
17
17
  CorsConfig2
18
18
  } from "./fetch-q4bn6dy8.js";
19
19
  import {
20
- layer5
21
- } from "./fetch-18k6g42r.js";
20
+ layer2
21
+ } from "./fetch-s4aja1df.js";
22
22
  import {
23
23
  node2
24
24
  } from "./fetch-0d9kah4z.js";
25
25
  import {
26
26
  handlers2
27
- } from "./fetch-c8crdahm.js";
27
+ } from "./fetch-6n8k9a4d.js";
28
28
  import {
29
29
  authorizationLayer2
30
30
  } from "./fetch-m6wvgbfq.js";
@@ -140,7 +140,7 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
140
140
  })) : build(overrides);
141
141
  return serviceLayer.pipe(Layer.flatMap((context) => {
142
142
  const services = Layer.succeedContext(context);
143
- const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer5(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
143
+ 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));
144
144
  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));
145
145
  return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
146
146
  }));
@@ -32,11 +32,11 @@ import {
32
32
  RpcHandler2
33
33
  } from "./fetch-f8rap8f6.js";
34
34
  import {
35
- layer2
36
- } from "./fetch-2sy3c7de.js";
35
+ layer5
36
+ } from "./fetch-2g3y4esy.js";
37
37
  import {
38
38
  EventHandler2
39
- } from "./fetch-em4bkx9t.js";
39
+ } from "./fetch-1amk35g2.js";
40
40
  import {
41
41
  AgentHandler2
42
42
  } from "./fetch-ctscy0f5.js";
@@ -45,16 +45,16 @@ import {
45
45
  } from "./fetch-hr75rahr.js";
46
46
  import {
47
47
  ServerHandler2
48
- } from "./fetch-veszktdp.js";
48
+ } from "./fetch-8qehq423.js";
49
49
  import {
50
50
  DebugHandler2
51
51
  } from "./fetch-140y8w7p.js";
52
52
  import {
53
53
  PtyHandler2
54
- } from "./fetch-q3wtxy9m.js";
54
+ } from "./fetch-9xz4gtjd.js";
55
55
  import {
56
56
  PersistentPtyHandler2
57
- } from "./fetch-r2rnm758.js";
57
+ } from "./fetch-s0padj6k.js";
58
58
  import {
59
59
  ShellHandler2
60
60
  } from "./fetch-7eckj7zq.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(layer5)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
98
98
 
99
99
  export { handlers2 };
@@ -2,14 +2,14 @@ import {
2
2
  Api2
3
3
  } from "./fetch-v573ws0d.js";
4
4
  import {
5
- Service4
6
- } from "./fetch-18k6g42r.js";
5
+ Service2
6
+ } from "./fetch-s4aja1df.js";
7
7
 
8
8
  // src/handlers/server.ts
9
9
  import { Effect } from "effect";
10
10
  import { HttpApiBuilder } from "effect/unstable/httpapi";
11
11
  var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => handlers.handle("server.info", () => Effect.gen(function* () {
12
- const info = yield* Service4;
12
+ const info = yield* Service2;
13
13
  return {
14
14
  version: info.app.version ?? "unknown",
15
15
  pid: process.pid ?? 0,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./fetch-q4bn6dy8.js";
4
4
  import {
5
5
  createRoutes2
6
- } from "./fetch-bjxj7th8.js";
6
+ } from "./fetch-3w2zgjav.js";
7
7
  import {
8
8
  __export
9
9
  } from "./fetch-9rqn6x4v.js";
@@ -12,15 +12,15 @@ import {
12
12
  var exports_fetch = {};
13
13
  __export(exports_fetch, {
14
14
  ServerFetch: () => exports_fetch,
15
- make: () => make3
15
+ make: () => make2
16
16
  });
17
17
  import { Context, Effect, Layer } from "effect";
18
18
  import { HttpEffect, HttpMiddleware, HttpRouter, HttpServer } from "effect/unstable/http";
19
19
  import { SessionRestart } from "@opencode/core/session/execution/restart";
20
- var make3 = Effect.fn("ServerFetch.make")(function* (options = {}, boot = {}) {
20
+ var make2 = Effect.fn("ServerFetch.make")(function* (options = {}, boot = {}) {
21
21
  const context = yield* Layer.build(createRoutes2(options, () => [], boot.overrides ?? []).pipe(Layer.provide(HttpServer.layerServices)));
22
22
  yield* Effect.forkDetach(Context.get(context, SessionRestart.Service).resumeSuspendedSessions);
23
23
  return Context.get(context, HttpRouter.HttpRouter).asHttpEffect().pipe(HttpMiddleware.cors({ allowedOrigins: (origin) => isAllowedCorsOrigin2(origin, options), maxAge: 86400 }), HttpEffect.toWebHandlerWith(context));
24
24
  });
25
25
 
26
- export { make3, exports_fetch };
26
+ export { make2, exports_fetch };
@@ -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: () => Service4,
9
+ Service: () => Service2,
10
10
  connectionURLs: () => connectionURLs2,
11
- layer: () => layer5
11
+ layer: () => layer2
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { networkInterfaces } from "node:os";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/server/ServerInfo") {
16
+ class Service2 extends Context.Service()("@opencode/server/ServerInfo") {
17
17
  }
18
- function layer5(urls, tmp, app = {}) {
19
- return Layer.succeed(Service4, Service4.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 { Service4, layer5, connectionURLs2, exports_server_info };
36
+ export { Service2, layer2, connectionURLs2, exports_server_info };
@@ -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: () => make2
9
+ make: () => make4
10
10
  });
11
11
  import { Effect, Ref } from "effect";
12
- var make2 = Effect.fnUntraced(function* (options = {}) {
12
+ var make4 = 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 make2 = Effect.fnUntraced(function* (options = {}) {
20
20
  };
21
21
  });
22
22
 
23
- export { make2, exports_service_status };
23
+ export { make4, exports_service_status };
@@ -2,19 +2,19 @@ import {
2
2
  SubscriberCapacity2,
3
3
  SubscriberOverflowError2,
4
4
  EncodingError2,
5
- Service2,
5
+ Service4,
6
6
  frame2,
7
- make4,
8
- layer2,
7
+ make3,
8
+ layer5,
9
9
  exports_event_feed
10
- } from "./chunks/fetch-2sy3c7de.js";
10
+ } from "./chunks/fetch-2g3y4esy.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
- make4 as make
18
+ layer5 as layer,
19
+ make3 as make
20
20
  };
package/dist/fetch.js CHANGED
@@ -1,53 +1,53 @@
1
1
  import {
2
- make3,
2
+ make2,
3
3
  exports_fetch
4
- } from "./chunks/fetch-df6cjy32.js";
5
- import"./chunks/fetch-bjxj7th8.js";
4
+ } from "./chunks/fetch-j2zmswgs.js";
5
+ import"./chunks/fetch-3w2zgjav.js";
6
6
  import"./chunks/fetch-t8yzmczr.js";
7
7
  import"./chunks/fetch-m6wvgbfq.js";
8
- import"./chunks/fetch-c8crdahm.js";
9
- import"./chunks/fetch-7eckj7zq.js";
10
- import"./chunks/fetch-96s6m0w3.js";
8
+ import"./chunks/fetch-zyv89x5n.js";
9
+ import"./chunks/fetch-6n8k9a4d.js";
10
+ import"./chunks/fetch-6qwktr1g.js";
11
+ import"./chunks/fetch-b1rdg9nf.js";
12
+ import"./chunks/fetch-t88f2hhf.js";
13
+ import"./chunks/fetch-140y8w7p.js";
14
+ import"./chunks/fetch-x5ncpjy3.js";
15
+ import"./chunks/fetch-8qehq423.js";
16
+ import"./chunks/fetch-ctscy0f5.js";
17
+ import"./chunks/fetch-qj9kjxn3.js";
11
18
  import"./chunks/fetch-26ta7ngt.js";
12
- import"./chunks/fetch-44xy5pnk.js";
13
- import"./chunks/fetch-q3wtxy9m.js";
14
- import"./chunks/fetch-r2rnm758.js";
15
- import"./chunks/fetch-haswyr8z.js";
19
+ import"./chunks/fetch-s0padj6k.js";
20
+ import"./chunks/fetch-f8rap8f6.js";
16
21
  import"./chunks/fetch-ws9g1h4k.js";
17
- import"./chunks/fetch-6qwktr1g.js";
18
22
  import"./chunks/fetch-bmqkn4ah.js";
19
23
  import"./chunks/fetch-hp5sxeae.js";
20
- import"./chunks/fetch-veszktdp.js";
21
- import"./chunks/fetch-f8rap8f6.js";
22
- import"./chunks/fetch-5bwq5cz2.js";
24
+ import"./chunks/fetch-7eckj7zq.js";
25
+ import"./chunks/fetch-96s6m0w3.js";
26
+ import"./chunks/fetch-hr75rahr.js";
27
+ import"./chunks/fetch-v1emgcvb.js";
23
28
  import"./chunks/fetch-bt9tc5rb.js";
24
- import"./chunks/fetch-t88f2hhf.js";
25
- import"./chunks/fetch-em4bkx9t.js";
26
- import"./chunks/fetch-hezj1jdf.js";
27
- import"./chunks/fetch-140y8w7p.js";
28
- import"./chunks/fetch-rjqbhscq.js";
29
- import"./chunks/fetch-ctscy0f5.js";
30
- import"./chunks/fetch-wz0qz28j.js";
31
- import"./chunks/fetch-np19kmxx.js";
32
29
  import"./chunks/fetch-ees77nh9.js";
33
- import"./chunks/fetch-b1rdg9nf.js";
34
- import"./chunks/fetch-x5ncpjy3.js";
35
- import"./chunks/fetch-qj9kjxn3.js";
30
+ import"./chunks/fetch-9xz4gtjd.js";
31
+ import"./chunks/fetch-hezj1jdf.js";
36
32
  import"./chunks/fetch-pme11y2y.js";
37
- import"./chunks/fetch-v1emgcvb.js";
33
+ import"./chunks/fetch-haswyr8z.js";
34
+ import"./chunks/fetch-np19kmxx.js";
35
+ import"./chunks/fetch-rjqbhscq.js";
36
+ import"./chunks/fetch-44xy5pnk.js";
38
37
  import"./chunks/fetch-zpz5afwq.js";
39
- import"./chunks/fetch-2sy3c7de.js";
38
+ import"./chunks/fetch-wz0qz28j.js";
39
+ import"./chunks/fetch-1amk35g2.js";
40
+ import"./chunks/fetch-s4aja1df.js";
41
+ import"./chunks/fetch-q4bn6dy8.js";
40
42
  import"./chunks/fetch-0d9kah4z.js";
41
- import"./chunks/fetch-hr75rahr.js";
42
- import"./chunks/fetch-zyv89x5n.js";
43
+ import"./chunks/fetch-5bwq5cz2.js";
43
44
  import"./chunks/fetch-v573ws0d.js";
44
45
  import"./chunks/fetch-5rwqcaw2.js";
45
46
  import"./chunks/fetch-3kzx88w9.js";
46
47
  import"./chunks/fetch-6gkz39ey.js";
47
48
  import"./chunks/fetch-smaf4a18.js";
48
- import"./chunks/fetch-q4bn6dy8.js";
49
- import"./chunks/fetch-18k6g42r.js";
49
+ import"./chunks/fetch-2g3y4esy.js";
50
50
  export {
51
51
  exports_fetch as ServerFetch,
52
- make3 as make
52
+ make2 as make
53
53
  };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  EventHandler2
3
- } from "../chunks/fetch-em4bkx9t.js";
4
- import"../chunks/fetch-2sy3c7de.js";
3
+ } from "../chunks/fetch-1amk35g2.js";
5
4
  import"../chunks/fetch-v573ws0d.js";
6
5
  import"../chunks/fetch-5rwqcaw2.js";
7
6
  import"../chunks/fetch-3kzx88w9.js";
8
7
  import"../chunks/fetch-6gkz39ey.js";
9
8
  import"../chunks/fetch-smaf4a18.js";
9
+ import"../chunks/fetch-2g3y4esy.js";
10
10
  export {
11
11
  EventHandler2 as EventHandler
12
12
  };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  PersistentPtyHandler2
3
- } from "../chunks/fetch-r2rnm758.js";
3
+ } from "../chunks/fetch-s0padj6k.js";
4
4
  import"../chunks/fetch-hezj1jdf.js";
5
+ import"../chunks/fetch-q4bn6dy8.js";
5
6
  import"../chunks/fetch-v573ws0d.js";
6
7
  import"../chunks/fetch-5rwqcaw2.js";
7
8
  import"../chunks/fetch-3kzx88w9.js";
8
9
  import"../chunks/fetch-6gkz39ey.js";
9
10
  import"../chunks/fetch-smaf4a18.js";
10
- import"../chunks/fetch-q4bn6dy8.js";
11
11
  export {
12
12
  PersistentPtyHandler2 as PersistentPtyHandler
13
13
  };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  PtyHandler2
3
- } from "../chunks/fetch-q3wtxy9m.js";
3
+ } from "../chunks/fetch-9xz4gtjd.js";
4
4
  import"../chunks/fetch-hezj1jdf.js";
5
+ import"../chunks/fetch-q4bn6dy8.js";
5
6
  import"../chunks/fetch-0d9kah4z.js";
6
7
  import"../chunks/fetch-v573ws0d.js";
7
8
  import"../chunks/fetch-5rwqcaw2.js";
8
9
  import"../chunks/fetch-3kzx88w9.js";
9
10
  import"../chunks/fetch-6gkz39ey.js";
10
11
  import"../chunks/fetch-smaf4a18.js";
11
- import"../chunks/fetch-q4bn6dy8.js";
12
12
  export {
13
13
  PtyHandler2 as PtyHandler
14
14
  };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ServerHandler2
3
- } from "../chunks/fetch-veszktdp.js";
3
+ } from "../chunks/fetch-8qehq423.js";
4
+ import"../chunks/fetch-s4aja1df.js";
4
5
  import"../chunks/fetch-v573ws0d.js";
5
6
  import"../chunks/fetch-5rwqcaw2.js";
6
7
  import"../chunks/fetch-3kzx88w9.js";
7
8
  import"../chunks/fetch-6gkz39ey.js";
8
9
  import"../chunks/fetch-smaf4a18.js";
9
- import"../chunks/fetch-18k6g42r.js";
10
10
  export {
11
11
  ServerHandler2 as ServerHandler
12
12
  };
package/dist/handlers.js CHANGED
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  handlers2
3
- } from "./chunks/fetch-c8crdahm.js";
4
- import"./chunks/fetch-7eckj7zq.js";
5
- import"./chunks/fetch-96s6m0w3.js";
3
+ } from "./chunks/fetch-6n8k9a4d.js";
4
+ import"./chunks/fetch-6qwktr1g.js";
5
+ import"./chunks/fetch-b1rdg9nf.js";
6
+ import"./chunks/fetch-t88f2hhf.js";
7
+ import"./chunks/fetch-140y8w7p.js";
8
+ import"./chunks/fetch-x5ncpjy3.js";
9
+ import"./chunks/fetch-8qehq423.js";
10
+ import"./chunks/fetch-ctscy0f5.js";
11
+ import"./chunks/fetch-qj9kjxn3.js";
6
12
  import"./chunks/fetch-26ta7ngt.js";
7
- import"./chunks/fetch-44xy5pnk.js";
8
- import"./chunks/fetch-q3wtxy9m.js";
9
- import"./chunks/fetch-r2rnm758.js";
10
- import"./chunks/fetch-haswyr8z.js";
13
+ import"./chunks/fetch-s0padj6k.js";
14
+ import"./chunks/fetch-f8rap8f6.js";
11
15
  import"./chunks/fetch-ws9g1h4k.js";
12
- import"./chunks/fetch-6qwktr1g.js";
13
16
  import"./chunks/fetch-bmqkn4ah.js";
14
17
  import"./chunks/fetch-hp5sxeae.js";
15
- import"./chunks/fetch-veszktdp.js";
16
- import"./chunks/fetch-f8rap8f6.js";
17
- import"./chunks/fetch-5bwq5cz2.js";
18
+ import"./chunks/fetch-7eckj7zq.js";
19
+ import"./chunks/fetch-96s6m0w3.js";
20
+ import"./chunks/fetch-hr75rahr.js";
21
+ import"./chunks/fetch-v1emgcvb.js";
18
22
  import"./chunks/fetch-bt9tc5rb.js";
19
- import"./chunks/fetch-t88f2hhf.js";
20
- import"./chunks/fetch-em4bkx9t.js";
21
- import"./chunks/fetch-hezj1jdf.js";
22
- import"./chunks/fetch-140y8w7p.js";
23
- import"./chunks/fetch-rjqbhscq.js";
24
- import"./chunks/fetch-ctscy0f5.js";
25
- import"./chunks/fetch-wz0qz28j.js";
26
- import"./chunks/fetch-np19kmxx.js";
27
23
  import"./chunks/fetch-ees77nh9.js";
28
- import"./chunks/fetch-b1rdg9nf.js";
29
- import"./chunks/fetch-x5ncpjy3.js";
30
- import"./chunks/fetch-qj9kjxn3.js";
24
+ import"./chunks/fetch-9xz4gtjd.js";
25
+ import"./chunks/fetch-hezj1jdf.js";
31
26
  import"./chunks/fetch-pme11y2y.js";
32
- import"./chunks/fetch-v1emgcvb.js";
27
+ import"./chunks/fetch-haswyr8z.js";
28
+ import"./chunks/fetch-np19kmxx.js";
29
+ import"./chunks/fetch-rjqbhscq.js";
30
+ import"./chunks/fetch-44xy5pnk.js";
33
31
  import"./chunks/fetch-zpz5afwq.js";
34
- import"./chunks/fetch-2sy3c7de.js";
32
+ import"./chunks/fetch-wz0qz28j.js";
33
+ import"./chunks/fetch-1amk35g2.js";
34
+ import"./chunks/fetch-s4aja1df.js";
35
+ import"./chunks/fetch-q4bn6dy8.js";
35
36
  import"./chunks/fetch-0d9kah4z.js";
36
- import"./chunks/fetch-hr75rahr.js";
37
+ import"./chunks/fetch-5bwq5cz2.js";
37
38
  import"./chunks/fetch-v573ws0d.js";
38
39
  import"./chunks/fetch-5rwqcaw2.js";
39
40
  import"./chunks/fetch-3kzx88w9.js";
40
41
  import"./chunks/fetch-6gkz39ey.js";
41
42
  import"./chunks/fetch-smaf4a18.js";
42
- import"./chunks/fetch-q4bn6dy8.js";
43
- import"./chunks/fetch-18k6g42r.js";
43
+ import"./chunks/fetch-2g3y4esy.js";
44
44
  export {
45
45
  handlers2 as handlers
46
46
  };
package/dist/process.js CHANGED
@@ -26,19 +26,19 @@ import"./chunks/fetch-ees77nh9.js";
26
26
  import"./chunks/fetch-pme11y2y.js";
27
27
  import"./chunks/fetch-hp5sxeae.js";
28
28
  import"./chunks/fetch-f8rap8f6.js";
29
- import"./chunks/fetch-2sy3c7de.js";
30
- import"./chunks/fetch-em4bkx9t.js";
29
+ import"./chunks/fetch-2g3y4esy.js";
30
+ import"./chunks/fetch-1amk35g2.js";
31
31
  import"./chunks/fetch-ctscy0f5.js";
32
32
  import"./chunks/fetch-hr75rahr.js";
33
33
  import {
34
34
  connectionURLs2
35
- } from "./chunks/fetch-18k6g42r.js";
36
- import"./chunks/fetch-veszktdp.js";
35
+ } from "./chunks/fetch-s4aja1df.js";
36
+ import"./chunks/fetch-8qehq423.js";
37
37
  import"./chunks/fetch-140y8w7p.js";
38
38
  import"./chunks/fetch-0d9kah4z.js";
39
39
  import"./chunks/fetch-hezj1jdf.js";
40
- import"./chunks/fetch-q3wtxy9m.js";
41
- import"./chunks/fetch-r2rnm758.js";
40
+ import"./chunks/fetch-9xz4gtjd.js";
41
+ import"./chunks/fetch-s0padj6k.js";
42
42
  import"./chunks/fetch-7eckj7zq.js";
43
43
  import"./chunks/fetch-5bwq5cz2.js";
44
44
  import"./chunks/fetch-x5ncpjy3.js";
@@ -51,14 +51,14 @@ import"./chunks/fetch-bt9tc5rb.js";
51
51
  import"./chunks/fetch-zpz5afwq.js";
52
52
  import"./chunks/fetch-bmqkn4ah.js";
53
53
  import"./chunks/fetch-6qwktr1g.js";
54
- import"./chunks/fetch-c8crdahm.js";
54
+ import"./chunks/fetch-6n8k9a4d.js";
55
55
  import"./chunks/fetch-t8yzmczr.js";
56
56
  import {
57
57
  createRoutes2
58
- } from "./chunks/fetch-bjxj7th8.js";
58
+ } from "./chunks/fetch-3w2zgjav.js";
59
59
  import {
60
- make2
61
- } from "./chunks/fetch-xsrtpxyd.js";
60
+ make4
61
+ } from "./chunks/fetch-vpz7f20y.js";
62
62
  import {
63
63
  __export
64
64
  } from "./chunks/fetch-9rqn6x4v.js";
@@ -87,7 +87,7 @@ var start = Effect.fn("ServerProcess.start")(function* (options, lifecycle, tran
87
87
  const hostname = options.hostname ?? "127.0.0.1";
88
88
  const port = Option.fromNullishOr(options.port);
89
89
  const shutdown = yield* Latch.make();
90
- const status = yield* make2();
90
+ const status = yield* make4();
91
91
  const bound = yield* listen({ hostname, port });
92
92
  const urls = () => {
93
93
  const address = bound.server.address();
package/dist/routes.js CHANGED
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  createRoutes2,
3
3
  createEmbeddedRoutes2
4
- } from "./chunks/fetch-bjxj7th8.js";
4
+ } from "./chunks/fetch-3w2zgjav.js";
5
5
  import"./chunks/fetch-t8yzmczr.js";
6
6
  import"./chunks/fetch-m6wvgbfq.js";
7
- import"./chunks/fetch-c8crdahm.js";
8
- import"./chunks/fetch-7eckj7zq.js";
9
- import"./chunks/fetch-96s6m0w3.js";
7
+ import"./chunks/fetch-zyv89x5n.js";
8
+ import"./chunks/fetch-6n8k9a4d.js";
9
+ import"./chunks/fetch-6qwktr1g.js";
10
+ import"./chunks/fetch-b1rdg9nf.js";
11
+ import"./chunks/fetch-t88f2hhf.js";
12
+ import"./chunks/fetch-140y8w7p.js";
13
+ import"./chunks/fetch-x5ncpjy3.js";
14
+ import"./chunks/fetch-8qehq423.js";
15
+ import"./chunks/fetch-ctscy0f5.js";
16
+ import"./chunks/fetch-qj9kjxn3.js";
10
17
  import"./chunks/fetch-26ta7ngt.js";
11
- import"./chunks/fetch-44xy5pnk.js";
12
- import"./chunks/fetch-q3wtxy9m.js";
13
- import"./chunks/fetch-r2rnm758.js";
14
- import"./chunks/fetch-haswyr8z.js";
18
+ import"./chunks/fetch-s0padj6k.js";
19
+ import"./chunks/fetch-f8rap8f6.js";
15
20
  import"./chunks/fetch-ws9g1h4k.js";
16
- import"./chunks/fetch-6qwktr1g.js";
17
21
  import"./chunks/fetch-bmqkn4ah.js";
18
22
  import"./chunks/fetch-hp5sxeae.js";
19
- import"./chunks/fetch-veszktdp.js";
20
- import"./chunks/fetch-f8rap8f6.js";
21
- import"./chunks/fetch-5bwq5cz2.js";
23
+ import"./chunks/fetch-7eckj7zq.js";
24
+ import"./chunks/fetch-96s6m0w3.js";
25
+ import"./chunks/fetch-hr75rahr.js";
26
+ import"./chunks/fetch-v1emgcvb.js";
22
27
  import"./chunks/fetch-bt9tc5rb.js";
23
- import"./chunks/fetch-t88f2hhf.js";
24
- import"./chunks/fetch-em4bkx9t.js";
25
- import"./chunks/fetch-hezj1jdf.js";
26
- import"./chunks/fetch-140y8w7p.js";
27
- import"./chunks/fetch-rjqbhscq.js";
28
- import"./chunks/fetch-ctscy0f5.js";
29
- import"./chunks/fetch-wz0qz28j.js";
30
- import"./chunks/fetch-np19kmxx.js";
31
28
  import"./chunks/fetch-ees77nh9.js";
32
- import"./chunks/fetch-b1rdg9nf.js";
33
- import"./chunks/fetch-x5ncpjy3.js";
34
- import"./chunks/fetch-qj9kjxn3.js";
29
+ import"./chunks/fetch-9xz4gtjd.js";
30
+ import"./chunks/fetch-hezj1jdf.js";
35
31
  import"./chunks/fetch-pme11y2y.js";
36
- import"./chunks/fetch-v1emgcvb.js";
32
+ import"./chunks/fetch-haswyr8z.js";
33
+ import"./chunks/fetch-np19kmxx.js";
34
+ import"./chunks/fetch-rjqbhscq.js";
35
+ import"./chunks/fetch-44xy5pnk.js";
37
36
  import"./chunks/fetch-zpz5afwq.js";
38
- import"./chunks/fetch-2sy3c7de.js";
37
+ import"./chunks/fetch-wz0qz28j.js";
38
+ import"./chunks/fetch-1amk35g2.js";
39
+ import"./chunks/fetch-s4aja1df.js";
40
+ import"./chunks/fetch-q4bn6dy8.js";
39
41
  import"./chunks/fetch-0d9kah4z.js";
40
- import"./chunks/fetch-hr75rahr.js";
41
- import"./chunks/fetch-zyv89x5n.js";
42
+ import"./chunks/fetch-5bwq5cz2.js";
42
43
  import"./chunks/fetch-v573ws0d.js";
43
44
  import"./chunks/fetch-5rwqcaw2.js";
44
45
  import"./chunks/fetch-3kzx88w9.js";
45
46
  import"./chunks/fetch-6gkz39ey.js";
46
47
  import"./chunks/fetch-smaf4a18.js";
47
- import"./chunks/fetch-q4bn6dy8.js";
48
- import"./chunks/fetch-18k6g42r.js";
48
+ import"./chunks/fetch-2g3y4esy.js";
49
49
  export {
50
50
  createEmbeddedRoutes2 as createEmbeddedRoutes,
51
51
  createRoutes2 as createRoutes
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service4,
3
- layer5,
2
+ Service2,
3
+ layer2,
4
4
  connectionURLs2,
5
5
  exports_server_info
6
- } from "./chunks/fetch-18k6g42r.js";
6
+ } from "./chunks/fetch-s4aja1df.js";
7
7
  export {
8
8
  exports_server_info as ServerInfo,
9
- Service4 as Service,
9
+ Service2 as Service,
10
10
  connectionURLs2 as connectionURLs,
11
- layer5 as layer
11
+ layer2 as layer
12
12
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
- make2,
2
+ make4,
3
3
  exports_service_status
4
- } from "./chunks/fetch-xsrtpxyd.js";
4
+ } from "./chunks/fetch-vpz7f20y.js";
5
5
  export {
6
6
  exports_service_status as Status,
7
- make2 as make
7
+ make4 as make
8
8
  };
package/dist/workerd.js CHANGED
@@ -16,17 +16,17 @@ import"./chunks/fetch-ees77nh9.js";
16
16
  import"./chunks/fetch-pme11y2y.js";
17
17
  import"./chunks/fetch-hp5sxeae.js";
18
18
  import"./chunks/fetch-f8rap8f6.js";
19
- import"./chunks/fetch-2sy3c7de.js";
20
- import"./chunks/fetch-em4bkx9t.js";
19
+ import"./chunks/fetch-2g3y4esy.js";
20
+ import"./chunks/fetch-1amk35g2.js";
21
21
  import"./chunks/fetch-ctscy0f5.js";
22
22
  import"./chunks/fetch-hr75rahr.js";
23
- import"./chunks/fetch-18k6g42r.js";
24
- import"./chunks/fetch-veszktdp.js";
23
+ import"./chunks/fetch-s4aja1df.js";
24
+ import"./chunks/fetch-8qehq423.js";
25
25
  import"./chunks/fetch-140y8w7p.js";
26
26
  import"./chunks/fetch-0d9kah4z.js";
27
27
  import"./chunks/fetch-hezj1jdf.js";
28
- import"./chunks/fetch-q3wtxy9m.js";
29
- import"./chunks/fetch-r2rnm758.js";
28
+ import"./chunks/fetch-9xz4gtjd.js";
29
+ import"./chunks/fetch-s0padj6k.js";
30
30
  import"./chunks/fetch-7eckj7zq.js";
31
31
  import"./chunks/fetch-5bwq5cz2.js";
32
32
  import"./chunks/fetch-x5ncpjy3.js";
@@ -39,13 +39,13 @@ import"./chunks/fetch-bt9tc5rb.js";
39
39
  import"./chunks/fetch-zpz5afwq.js";
40
40
  import"./chunks/fetch-bmqkn4ah.js";
41
41
  import"./chunks/fetch-6qwktr1g.js";
42
- import"./chunks/fetch-c8crdahm.js";
42
+ import"./chunks/fetch-6n8k9a4d.js";
43
43
  import"./chunks/fetch-m6wvgbfq.js";
44
44
  import"./chunks/fetch-t8yzmczr.js";
45
- import"./chunks/fetch-bjxj7th8.js";
45
+ import"./chunks/fetch-3w2zgjav.js";
46
46
  import {
47
- make3
48
- } from "./chunks/fetch-df6cjy32.js";
47
+ make2
48
+ } from "./chunks/fetch-j2zmswgs.js";
49
49
  import {
50
50
  __export
51
51
  } from "./chunks/fetch-9rqn6x4v.js";
@@ -70,7 +70,7 @@ import { Snapshot } from "@opencode/core/snapshot";
70
70
  import { Vcs } from "@opencode/core/vcs";
71
71
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
72
72
  function create(options) {
73
- return make3(serverOptions(options), { overrides: replacements(options) });
73
+ return make2(serverOptions(options), { overrides: replacements(options) });
74
74
  }
75
75
  function serverOptions(options) {
76
76
  return {
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-20000",
4
+ "version": "0.0.0-dev-20003",
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-20000",
34
- "@opencode/protocol": "0.0.0-dev-20000",
35
- "@opencode/schema": "0.0.0-dev-20000",
36
- "@opencode/simulation": "0.0.0-dev-20000",
37
- "@opencode/util": "0.0.0-dev-20000",
33
+ "@opencode/core": "0.0.0-dev-20003",
34
+ "@opencode/protocol": "0.0.0-dev-20003",
35
+ "@opencode/schema": "0.0.0-dev-20003",
36
+ "@opencode/simulation": "0.0.0-dev-20003",
37
+ "@opencode/util": "0.0.0-dev-20003",
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-20000",
43
- "@opencode/plugin": "0.0.0-dev-20000",
42
+ "@opencode/client": "0.0.0-dev-20003",
43
+ "@opencode/plugin": "0.0.0-dev-20003",
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"