@opencode/server 0.0.0-dev-20376 → 0.0.0-dev-20377

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.
@@ -7,11 +7,11 @@ var exports_event_feed = {};
7
7
  __export(exports_event_feed, {
8
8
  EncodingError: () => EncodingError2,
9
9
  EventFeed: () => exports_event_feed,
10
- Service: () => Service5,
10
+ Service: () => Service2,
11
11
  SubscriberCapacity: () => SubscriberCapacity2,
12
12
  SubscriberOverflowError: () => SubscriberOverflowError2,
13
13
  frame: () => frame2,
14
- layer: () => layer5,
14
+ layer: () => layer2,
15
15
  make: () => make4
16
16
  });
17
17
  import { Bus } from "@opencode/core/bus";
@@ -30,7 +30,7 @@ class EncodingError2 extends Schema.TaggedError()("EventFeed.EncodingError", {
30
30
  }) {
31
31
  }
32
32
 
33
- class Service5 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)}
@@ -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 Service5.of({
74
+ return Service2.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 layer5 = Layer.effect(Service5, Effect.gen(function* () {
78
+ var layer2 = Layer.effect(Service2, Effect.gen(function* () {
79
79
  const bus = yield* Bus.Service;
80
80
  return yield* make4(bus.listen);
81
81
  }));
82
82
 
83
- export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service5, frame2, make4, layer5, exports_event_feed };
83
+ export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service2, frame2, make4, layer2, exports_event_feed };
@@ -2,9 +2,9 @@ import {
2
2
  Api2
3
3
  } from "./routes-z5shrcz9.js";
4
4
  import {
5
- Service5,
5
+ Service2,
6
6
  frame2
7
- } from "./routes-54sczv30.js";
7
+ } from "./routes-2sy3c7de.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* Service5;
15
+ const feed = yield* Service2;
16
16
  return handlers.handleRaw("event.subscribe", () => Effect.gen(function* () {
17
17
  const connected = {
18
18
  id: Event.ID.create(),
@@ -17,17 +17,17 @@ import {
17
17
  CorsConfig2
18
18
  } from "./routes-q4bn6dy8.js";
19
19
  import {
20
- layer2
21
- } from "./routes-s4aja1df.js";
20
+ layer3
21
+ } from "./routes-mzr9gftb.js";
22
22
  import {
23
23
  node2
24
- } from "./routes-0chp8crd.js";
24
+ } from "./routes-x6486bry.js";
25
25
  import {
26
26
  node3
27
- } from "./routes-383t61pr.js";
27
+ } from "./routes-wv5twc2g.js";
28
28
  import {
29
29
  handlers2
30
- } from "./routes-58mzegg5.js";
30
+ } from "./routes-mx4eztfg.js";
31
31
  import {
32
32
  authorizationLayer2
33
33
  } from "./routes-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)), layer2(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)), layer3(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(layer4), 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
  }));
@@ -32,11 +32,11 @@ import {
32
32
  RpcHandler2
33
33
  } from "./routes-bjrwanme.js";
34
34
  import {
35
- layer5
36
- } from "./routes-54sczv30.js";
35
+ layer2
36
+ } from "./routes-2sy3c7de.js";
37
37
  import {
38
38
  EventHandler2
39
- } from "./routes-j3ej60bv.js";
39
+ } from "./routes-7cfyat0f.js";
40
40
  import {
41
41
  AgentHandler2
42
42
  } from "./routes-ceh2h0m9.js";
@@ -45,16 +45,16 @@ import {
45
45
  } from "./routes-19c9ysa1.js";
46
46
  import {
47
47
  ServerHandler2
48
- } from "./routes-95qrstsk.js";
48
+ } from "./routes-x3pcwgsn.js";
49
49
  import {
50
50
  DebugHandler2
51
51
  } from "./routes-00nn3k4b.js";
52
52
  import {
53
53
  PtyHandler2
54
- } from "./routes-3sx3e39f.js";
54
+ } from "./routes-s9n4r26f.js";
55
55
  import {
56
56
  PersistentPtyHandler2
57
- } from "./routes-n0er2m55.js";
57
+ } from "./routes-mwnk46cf.js";
58
58
  import {
59
59
  ShellHandler2
60
60
  } from "./routes-br99j6q1.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(layer5)), 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(layer2)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
98
98
 
99
99
  export { handlers2 };
@@ -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: () => Service2,
9
+ Service: () => Service3,
10
10
  connectionURLs: () => connectionURLs2,
11
- layer: () => layer2
11
+ layer: () => layer3
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { networkInterfaces } from "node:os";
15
15
 
16
- class Service2 extends Context.Service()("@opencode/server/ServerInfo") {
16
+ class Service3 extends Context.Service()("@opencode/server/ServerInfo") {
17
17
  }
18
- function layer2(urls, tmp, app = {}) {
19
- return Layer.succeed(Service2, Service2.of({ urls, app, paths: { tmp } }));
18
+ function layer3(urls, tmp, app = {}) {
19
+ return Layer.succeed(Service3, Service3.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 { Service2, layer2, connectionURLs2, exports_server_info };
36
+ export { Service3, layer3, connectionURLs2, exports_server_info };
@@ -9,8 +9,8 @@ import {
9
9
  isAllowedRequestOrigin2
10
10
  } from "./routes-q4bn6dy8.js";
11
11
  import {
12
- Service4
13
- } from "./routes-383t61pr.js";
12
+ Service5
13
+ } from "./routes-wv5twc2g.js";
14
14
  import {
15
15
  runPtySocket2
16
16
  } from "./routes-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* Service5;
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,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: () => layer3,
9
+ Service: () => Service5,
10
+ layer: () => layer5,
11
11
  node: () => node3
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 Service5 extends Context.Service()("@opencode/ServerPtyEnvironment") {
17
17
  }
18
- var layer3 = Layer.succeed(Service4, Service4.of({
18
+ var layer5 = Layer.succeed(Service5, Service5.of({
19
19
  get: () => Effect.succeed({})
20
20
  }));
21
- var node3 = makeGlobalNode({ service: Service4, layer: layer3, deps: [] });
21
+ var node3 = makeGlobalNode({ service: Service5, layer: layer5, deps: [] });
22
22
 
23
- export { Service4, layer3, node3, exports_pty_environment };
23
+ export { Service5, layer5, node3, exports_pty_environment };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./routes-q4bn6dy8.js";
4
4
  import {
5
5
  createRoutes2
6
- } from "./routes-yh405xr1.js";
6
+ } from "./routes-a1q6gthn.js";
7
7
  import {
8
8
  __export
9
9
  } from "./routes-9rqn6x4v.js";
@@ -7,12 +7,12 @@ import {
7
7
  issueSession2,
8
8
  sessionCookieName2
9
9
  } from "./routes-anm12x33.js";
10
- import {
11
- Service2
12
- } from "./routes-s4aja1df.js";
13
10
  import {
14
11
  Service3
15
- } from "./routes-0chp8crd.js";
12
+ } from "./routes-mzr9gftb.js";
13
+ import {
14
+ Service4
15
+ } from "./routes-x6486bry.js";
16
16
 
17
17
  // src/handlers/server.ts
18
18
  import { Duration, Effect } from "effect";
@@ -20,10 +20,10 @@ import { HttpServerRequest, HttpServerResponse } from "effect/unstable/http";
20
20
  import { HttpApiBuilder } from "effect/unstable/httpapi";
21
21
  import { UnauthorizedError } from "@opencode/protocol/errors";
22
22
  var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => Effect.gen(function* () {
23
- const pairing = yield* Service3;
23
+ const pairing = yield* Service4;
24
24
  const auth = yield* Config2;
25
25
  return handlers.handle("server.info", () => Effect.gen(function* () {
26
- const info = yield* Service2;
26
+ const info = yield* Service3;
27
27
  return {
28
28
  version: info.app.version ?? "unknown",
29
29
  pid: process.pid ?? 0,
@@ -6,7 +6,7 @@ import {
6
6
  var exports_pairing = {};
7
7
  __export(exports_pairing, {
8
8
  ServerPairing: () => exports_pairing,
9
- Service: () => Service3,
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 Service3 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(Service3, 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 Service3.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(Service3, Effect.gen(function* () {
30
30
  })
31
31
  });
32
32
  }));
33
- var node2 = makeGlobalNode({ service: Service3, layer, deps: [] });
33
+ var node2 = makeGlobalNode({ service: Service4, layer, deps: [] });
34
34
 
35
- export { Service3, node2, exports_pairing };
35
+ export { Service4, node2, exports_pairing };
@@ -2,19 +2,19 @@ import {
2
2
  SubscriberCapacity2,
3
3
  SubscriberOverflowError2,
4
4
  EncodingError2,
5
- Service5,
5
+ Service2,
6
6
  frame2,
7
7
  make4,
8
- layer5,
8
+ layer2,
9
9
  exports_event_feed
10
- } from "./chunks/routes-54sczv30.js";
10
+ } from "./chunks/routes-2sy3c7de.js";
11
11
  export {
12
12
  EncodingError2 as EncodingError,
13
13
  exports_event_feed as EventFeed,
14
- Service5 as Service,
14
+ Service2 as Service,
15
15
  SubscriberCapacity2 as SubscriberCapacity,
16
16
  SubscriberOverflowError2 as SubscriberOverflowError,
17
17
  frame2 as frame,
18
- layer5 as layer,
18
+ layer2 as layer,
19
19
  make4 as make
20
20
  };
package/dist/fetch.js CHANGED
@@ -1,53 +1,53 @@
1
1
  import {
2
2
  make2,
3
3
  exports_fetch
4
- } from "./chunks/routes-qj1va32d.js";
5
- import"./chunks/routes-yh405xr1.js";
4
+ } from "./chunks/routes-wxpg8rny.js";
5
+ import"./chunks/routes-a1q6gthn.js";
6
6
  import"./chunks/routes-gtkdacvk.js";
7
7
  import"./chunks/routes-t8yzmczr.js";
8
- import"./chunks/routes-58mzegg5.js";
9
- import"./chunks/routes-j2pfq4q6.js";
10
- import"./chunks/routes-4vn5bvkr.js";
11
- import"./chunks/routes-254zvkj6.js";
12
- import"./chunks/routes-zp2jm6dt.js";
13
- import"./chunks/routes-n0er2m55.js";
14
- import"./chunks/routes-qnwpcgp7.js";
15
- import"./chunks/routes-hjnxtxmk.js";
16
- import"./chunks/routes-3sx3e39f.js";
17
- import"./chunks/routes-hezj1jdf.js";
18
- import"./chunks/routes-95qrstsk.js";
19
- import"./chunks/routes-j3ej60bv.js";
20
- import"./chunks/routes-br99j6q1.js";
21
- import"./chunks/routes-q0ycym90.js";
8
+ import"./chunks/routes-mx4eztfg.js";
9
+ import"./chunks/routes-b0b71rwa.js";
10
+ import"./chunks/routes-req22b70.js";
22
11
  import"./chunks/routes-a6yp8301.js";
23
- import"./chunks/routes-6nvan4e0.js";
24
- import"./chunks/routes-ceh2h0m9.js";
25
- import"./chunks/routes-rcg4y18n.js";
12
+ import"./chunks/routes-qnwpcgp7.js";
13
+ import"./chunks/routes-254zvkj6.js";
26
14
  import"./chunks/routes-4g0fa6m0.js";
27
- import"./chunks/routes-19c9ysa1.js";
28
- import"./chunks/routes-dx7wkbnf.js";
29
- import"./chunks/routes-req22b70.js";
30
- import"./chunks/routes-7rzt3wm8.js";
31
- import"./chunks/routes-pnqq1zxv.js";
15
+ import"./chunks/routes-x3pcwgsn.js";
16
+ import"./chunks/routes-9vpjm0kh.js";
32
17
  import"./chunks/routes-r7e9r02j.js";
33
- import"./chunks/routes-b0b71rwa.js";
34
- import"./chunks/routes-bjrwanme.js";
35
- import"./chunks/routes-8bajbwjh.js";
18
+ import"./chunks/routes-pnqq1zxv.js";
19
+ import"./chunks/routes-ceh2h0m9.js";
20
+ import"./chunks/routes-br99j6q1.js";
36
21
  import"./chunks/routes-00nn3k4b.js";
22
+ import"./chunks/routes-rcg4y18n.js";
23
+ import"./chunks/routes-7cfyat0f.js";
24
+ import"./chunks/routes-hjnxtxmk.js";
25
+ import"./chunks/routes-mwnk46cf.js";
26
+ import"./chunks/routes-7rzt3wm8.js";
27
+ import"./chunks/routes-q0ycym90.js";
37
28
  import"./chunks/routes-arj41x43.js";
38
- import"./chunks/routes-9vpjm0kh.js";
29
+ import"./chunks/routes-8bajbwjh.js";
30
+ import"./chunks/routes-19c9ysa1.js";
39
31
  import"./chunks/routes-ysabas57.js";
40
- import"./chunks/routes-s4aja1df.js";
41
- import"./chunks/routes-0chp8crd.js";
42
- import"./chunks/routes-383t61pr.js";
43
- import"./chunks/routes-anm12x33.js";
44
- import"./chunks/routes-q4bn6dy8.js";
32
+ import"./chunks/routes-dx7wkbnf.js";
33
+ import"./chunks/routes-zp2jm6dt.js";
34
+ import"./chunks/routes-bjrwanme.js";
35
+ import"./chunks/routes-s9n4r26f.js";
36
+ import"./chunks/routes-hezj1jdf.js";
37
+ import"./chunks/routes-j2pfq4q6.js";
38
+ import"./chunks/routes-6nvan4e0.js";
39
+ import"./chunks/routes-4vn5bvkr.js";
40
+ import"./chunks/routes-2sy3c7de.js";
45
41
  import"./chunks/routes-z5shrcz9.js";
46
42
  import"./chunks/routes-3kzx88w9.js";
47
43
  import"./chunks/routes-5rwqcaw2.js";
44
+ import"./chunks/routes-mzr9gftb.js";
45
+ import"./chunks/routes-x6486bry.js";
48
46
  import"./chunks/routes-6gkz39ey.js";
49
47
  import"./chunks/routes-smaf4a18.js";
50
- import"./chunks/routes-54sczv30.js";
48
+ import"./chunks/routes-anm12x33.js";
49
+ import"./chunks/routes-wv5twc2g.js";
50
+ import"./chunks/routes-q4bn6dy8.js";
51
51
  export {
52
52
  exports_fetch as ServerFetch,
53
53
  make2 as make
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  EventHandler2
3
- } from "../chunks/routes-j3ej60bv.js";
3
+ } from "../chunks/routes-7cfyat0f.js";
4
+ import"../chunks/routes-2sy3c7de.js";
4
5
  import"../chunks/routes-z5shrcz9.js";
5
6
  import"../chunks/routes-3kzx88w9.js";
6
7
  import"../chunks/routes-5rwqcaw2.js";
7
8
  import"../chunks/routes-6gkz39ey.js";
8
9
  import"../chunks/routes-smaf4a18.js";
9
- import"../chunks/routes-54sczv30.js";
10
10
  export {
11
11
  EventHandler2 as EventHandler
12
12
  };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  PersistentPtyHandler2
3
- } from "../chunks/routes-n0er2m55.js";
3
+ } from "../chunks/routes-mwnk46cf.js";
4
4
  import"../chunks/routes-hezj1jdf.js";
5
- import"../chunks/routes-q4bn6dy8.js";
6
5
  import"../chunks/routes-z5shrcz9.js";
7
6
  import"../chunks/routes-3kzx88w9.js";
8
7
  import"../chunks/routes-5rwqcaw2.js";
9
8
  import"../chunks/routes-6gkz39ey.js";
10
9
  import"../chunks/routes-smaf4a18.js";
10
+ import"../chunks/routes-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/routes-3sx3e39f.js";
3
+ } from "../chunks/routes-s9n4r26f.js";
4
4
  import"../chunks/routes-hezj1jdf.js";
5
- import"../chunks/routes-383t61pr.js";
6
- import"../chunks/routes-q4bn6dy8.js";
7
5
  import"../chunks/routes-z5shrcz9.js";
8
6
  import"../chunks/routes-3kzx88w9.js";
9
7
  import"../chunks/routes-5rwqcaw2.js";
10
8
  import"../chunks/routes-6gkz39ey.js";
11
9
  import"../chunks/routes-smaf4a18.js";
10
+ import"../chunks/routes-wv5twc2g.js";
11
+ import"../chunks/routes-q4bn6dy8.js";
12
12
  export {
13
13
  PtyHandler2 as PtyHandler
14
14
  };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  ServerHandler2
3
- } from "../chunks/routes-95qrstsk.js";
4
- import"../chunks/routes-s4aja1df.js";
5
- import"../chunks/routes-0chp8crd.js";
6
- import"../chunks/routes-anm12x33.js";
3
+ } from "../chunks/routes-x3pcwgsn.js";
7
4
  import"../chunks/routes-z5shrcz9.js";
8
5
  import"../chunks/routes-3kzx88w9.js";
9
6
  import"../chunks/routes-5rwqcaw2.js";
7
+ import"../chunks/routes-mzr9gftb.js";
8
+ import"../chunks/routes-x6486bry.js";
10
9
  import"../chunks/routes-6gkz39ey.js";
11
10
  import"../chunks/routes-smaf4a18.js";
11
+ import"../chunks/routes-anm12x33.js";
12
12
  export {
13
13
  ServerHandler2 as ServerHandler
14
14
  };
package/dist/handlers.js CHANGED
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  handlers2
3
- } from "./chunks/routes-58mzegg5.js";
4
- import"./chunks/routes-j2pfq4q6.js";
5
- import"./chunks/routes-4vn5bvkr.js";
6
- import"./chunks/routes-254zvkj6.js";
7
- import"./chunks/routes-zp2jm6dt.js";
8
- import"./chunks/routes-n0er2m55.js";
9
- import"./chunks/routes-qnwpcgp7.js";
10
- import"./chunks/routes-hjnxtxmk.js";
11
- import"./chunks/routes-3sx3e39f.js";
12
- import"./chunks/routes-hezj1jdf.js";
13
- import"./chunks/routes-95qrstsk.js";
14
- import"./chunks/routes-j3ej60bv.js";
15
- import"./chunks/routes-br99j6q1.js";
16
- import"./chunks/routes-q0ycym90.js";
3
+ } from "./chunks/routes-mx4eztfg.js";
4
+ import"./chunks/routes-b0b71rwa.js";
5
+ import"./chunks/routes-req22b70.js";
17
6
  import"./chunks/routes-a6yp8301.js";
18
- import"./chunks/routes-6nvan4e0.js";
19
- import"./chunks/routes-ceh2h0m9.js";
20
- import"./chunks/routes-rcg4y18n.js";
7
+ import"./chunks/routes-qnwpcgp7.js";
8
+ import"./chunks/routes-254zvkj6.js";
21
9
  import"./chunks/routes-4g0fa6m0.js";
22
- import"./chunks/routes-19c9ysa1.js";
23
- import"./chunks/routes-dx7wkbnf.js";
24
- import"./chunks/routes-req22b70.js";
25
- import"./chunks/routes-7rzt3wm8.js";
26
- import"./chunks/routes-pnqq1zxv.js";
10
+ import"./chunks/routes-x3pcwgsn.js";
11
+ import"./chunks/routes-9vpjm0kh.js";
27
12
  import"./chunks/routes-r7e9r02j.js";
28
- import"./chunks/routes-b0b71rwa.js";
29
- import"./chunks/routes-bjrwanme.js";
30
- import"./chunks/routes-8bajbwjh.js";
13
+ import"./chunks/routes-pnqq1zxv.js";
14
+ import"./chunks/routes-ceh2h0m9.js";
15
+ import"./chunks/routes-br99j6q1.js";
31
16
  import"./chunks/routes-00nn3k4b.js";
17
+ import"./chunks/routes-rcg4y18n.js";
18
+ import"./chunks/routes-7cfyat0f.js";
19
+ import"./chunks/routes-hjnxtxmk.js";
20
+ import"./chunks/routes-mwnk46cf.js";
21
+ import"./chunks/routes-7rzt3wm8.js";
22
+ import"./chunks/routes-q0ycym90.js";
32
23
  import"./chunks/routes-arj41x43.js";
33
- import"./chunks/routes-9vpjm0kh.js";
24
+ import"./chunks/routes-8bajbwjh.js";
25
+ import"./chunks/routes-19c9ysa1.js";
34
26
  import"./chunks/routes-ysabas57.js";
35
- import"./chunks/routes-s4aja1df.js";
36
- import"./chunks/routes-0chp8crd.js";
37
- import"./chunks/routes-383t61pr.js";
38
- import"./chunks/routes-anm12x33.js";
39
- import"./chunks/routes-q4bn6dy8.js";
27
+ import"./chunks/routes-dx7wkbnf.js";
28
+ import"./chunks/routes-zp2jm6dt.js";
29
+ import"./chunks/routes-bjrwanme.js";
30
+ import"./chunks/routes-s9n4r26f.js";
31
+ import"./chunks/routes-hezj1jdf.js";
32
+ import"./chunks/routes-j2pfq4q6.js";
33
+ import"./chunks/routes-6nvan4e0.js";
34
+ import"./chunks/routes-4vn5bvkr.js";
35
+ import"./chunks/routes-2sy3c7de.js";
40
36
  import"./chunks/routes-z5shrcz9.js";
41
37
  import"./chunks/routes-3kzx88w9.js";
42
38
  import"./chunks/routes-5rwqcaw2.js";
39
+ import"./chunks/routes-mzr9gftb.js";
40
+ import"./chunks/routes-x6486bry.js";
43
41
  import"./chunks/routes-6gkz39ey.js";
44
42
  import"./chunks/routes-smaf4a18.js";
45
- import"./chunks/routes-54sczv30.js";
43
+ import"./chunks/routes-anm12x33.js";
44
+ import"./chunks/routes-wv5twc2g.js";
45
+ import"./chunks/routes-q4bn6dy8.js";
46
46
  export {
47
47
  handlers2 as handlers
48
48
  };
package/dist/pairing.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service3,
2
+ Service4,
3
3
  node2,
4
4
  exports_pairing
5
- } from "./chunks/routes-0chp8crd.js";
5
+ } from "./chunks/routes-x6486bry.js";
6
6
  export {
7
7
  exports_pairing as ServerPairing,
8
- Service3 as Service,
8
+ Service4 as Service,
9
9
  node2 as node
10
10
  };
package/dist/process.js CHANGED
@@ -27,20 +27,20 @@ import"./chunks/routes-6nvan4e0.js";
27
27
  import"./chunks/routes-r7e9r02j.js";
28
28
  import"./chunks/routes-q0ycym90.js";
29
29
  import"./chunks/routes-bjrwanme.js";
30
- import"./chunks/routes-54sczv30.js";
31
- import"./chunks/routes-j3ej60bv.js";
30
+ import"./chunks/routes-2sy3c7de.js";
31
+ import"./chunks/routes-7cfyat0f.js";
32
32
  import"./chunks/routes-ceh2h0m9.js";
33
33
  import"./chunks/routes-19c9ysa1.js";
34
34
  import {
35
35
  connectionURLs2
36
- } from "./chunks/routes-s4aja1df.js";
37
- import"./chunks/routes-0chp8crd.js";
38
- import"./chunks/routes-95qrstsk.js";
36
+ } from "./chunks/routes-mzr9gftb.js";
37
+ import"./chunks/routes-x6486bry.js";
38
+ import"./chunks/routes-x3pcwgsn.js";
39
39
  import"./chunks/routes-00nn3k4b.js";
40
- import"./chunks/routes-383t61pr.js";
40
+ import"./chunks/routes-wv5twc2g.js";
41
41
  import"./chunks/routes-hezj1jdf.js";
42
- import"./chunks/routes-3sx3e39f.js";
43
- import"./chunks/routes-n0er2m55.js";
42
+ import"./chunks/routes-s9n4r26f.js";
43
+ import"./chunks/routes-mwnk46cf.js";
44
44
  import"./chunks/routes-br99j6q1.js";
45
45
  import"./chunks/routes-ysabas57.js";
46
46
  import"./chunks/routes-req22b70.js";
@@ -53,11 +53,11 @@ import"./chunks/routes-j2pfq4q6.js";
53
53
  import"./chunks/routes-4g0fa6m0.js";
54
54
  import"./chunks/routes-7rzt3wm8.js";
55
55
  import"./chunks/routes-qnwpcgp7.js";
56
- import"./chunks/routes-58mzegg5.js";
56
+ import"./chunks/routes-mx4eztfg.js";
57
57
  import"./chunks/routes-t8yzmczr.js";
58
58
  import {
59
59
  createRoutes2
60
- } from "./chunks/routes-yh405xr1.js";
60
+ } from "./chunks/routes-a1q6gthn.js";
61
61
  import {
62
62
  make3
63
63
  } from "./chunks/routes-5w24ch67.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service4,
3
- layer3,
2
+ Service5,
3
+ layer5,
4
4
  node3,
5
5
  exports_pty_environment
6
- } from "./chunks/routes-383t61pr.js";
6
+ } from "./chunks/routes-wv5twc2g.js";
7
7
  export {
8
8
  exports_pty_environment as PtyEnvironment,
9
- Service4 as Service,
10
- layer3 as layer,
9
+ Service5 as Service,
10
+ layer5 as layer,
11
11
  node3 as node
12
12
  };
package/dist/routes.js CHANGED
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  createRoutes2,
3
3
  createEmbeddedRoutes2
4
- } from "./chunks/routes-yh405xr1.js";
4
+ } from "./chunks/routes-a1q6gthn.js";
5
5
  import"./chunks/routes-gtkdacvk.js";
6
6
  import"./chunks/routes-t8yzmczr.js";
7
- import"./chunks/routes-58mzegg5.js";
8
- import"./chunks/routes-j2pfq4q6.js";
9
- import"./chunks/routes-4vn5bvkr.js";
10
- import"./chunks/routes-254zvkj6.js";
11
- import"./chunks/routes-zp2jm6dt.js";
12
- import"./chunks/routes-n0er2m55.js";
13
- import"./chunks/routes-qnwpcgp7.js";
14
- import"./chunks/routes-hjnxtxmk.js";
15
- import"./chunks/routes-3sx3e39f.js";
16
- import"./chunks/routes-hezj1jdf.js";
17
- import"./chunks/routes-95qrstsk.js";
18
- import"./chunks/routes-j3ej60bv.js";
19
- import"./chunks/routes-br99j6q1.js";
20
- import"./chunks/routes-q0ycym90.js";
7
+ import"./chunks/routes-mx4eztfg.js";
8
+ import"./chunks/routes-b0b71rwa.js";
9
+ import"./chunks/routes-req22b70.js";
21
10
  import"./chunks/routes-a6yp8301.js";
22
- import"./chunks/routes-6nvan4e0.js";
23
- import"./chunks/routes-ceh2h0m9.js";
24
- import"./chunks/routes-rcg4y18n.js";
11
+ import"./chunks/routes-qnwpcgp7.js";
12
+ import"./chunks/routes-254zvkj6.js";
25
13
  import"./chunks/routes-4g0fa6m0.js";
26
- import"./chunks/routes-19c9ysa1.js";
27
- import"./chunks/routes-dx7wkbnf.js";
28
- import"./chunks/routes-req22b70.js";
29
- import"./chunks/routes-7rzt3wm8.js";
30
- import"./chunks/routes-pnqq1zxv.js";
14
+ import"./chunks/routes-x3pcwgsn.js";
15
+ import"./chunks/routes-9vpjm0kh.js";
31
16
  import"./chunks/routes-r7e9r02j.js";
32
- import"./chunks/routes-b0b71rwa.js";
33
- import"./chunks/routes-bjrwanme.js";
34
- import"./chunks/routes-8bajbwjh.js";
17
+ import"./chunks/routes-pnqq1zxv.js";
18
+ import"./chunks/routes-ceh2h0m9.js";
19
+ import"./chunks/routes-br99j6q1.js";
35
20
  import"./chunks/routes-00nn3k4b.js";
21
+ import"./chunks/routes-rcg4y18n.js";
22
+ import"./chunks/routes-7cfyat0f.js";
23
+ import"./chunks/routes-hjnxtxmk.js";
24
+ import"./chunks/routes-mwnk46cf.js";
25
+ import"./chunks/routes-7rzt3wm8.js";
26
+ import"./chunks/routes-q0ycym90.js";
36
27
  import"./chunks/routes-arj41x43.js";
37
- import"./chunks/routes-9vpjm0kh.js";
28
+ import"./chunks/routes-8bajbwjh.js";
29
+ import"./chunks/routes-19c9ysa1.js";
38
30
  import"./chunks/routes-ysabas57.js";
39
- import"./chunks/routes-s4aja1df.js";
40
- import"./chunks/routes-0chp8crd.js";
41
- import"./chunks/routes-383t61pr.js";
42
- import"./chunks/routes-anm12x33.js";
43
- import"./chunks/routes-q4bn6dy8.js";
31
+ import"./chunks/routes-dx7wkbnf.js";
32
+ import"./chunks/routes-zp2jm6dt.js";
33
+ import"./chunks/routes-bjrwanme.js";
34
+ import"./chunks/routes-s9n4r26f.js";
35
+ import"./chunks/routes-hezj1jdf.js";
36
+ import"./chunks/routes-j2pfq4q6.js";
37
+ import"./chunks/routes-6nvan4e0.js";
38
+ import"./chunks/routes-4vn5bvkr.js";
39
+ import"./chunks/routes-2sy3c7de.js";
44
40
  import"./chunks/routes-z5shrcz9.js";
45
41
  import"./chunks/routes-3kzx88w9.js";
46
42
  import"./chunks/routes-5rwqcaw2.js";
43
+ import"./chunks/routes-mzr9gftb.js";
44
+ import"./chunks/routes-x6486bry.js";
47
45
  import"./chunks/routes-6gkz39ey.js";
48
46
  import"./chunks/routes-smaf4a18.js";
49
- import"./chunks/routes-54sczv30.js";
47
+ import"./chunks/routes-anm12x33.js";
48
+ import"./chunks/routes-wv5twc2g.js";
49
+ import"./chunks/routes-q4bn6dy8.js";
50
50
  export {
51
51
  createEmbeddedRoutes2 as createEmbeddedRoutes,
52
52
  createRoutes2 as createRoutes
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service2,
3
- layer2,
2
+ Service3,
3
+ layer3,
4
4
  connectionURLs2,
5
5
  exports_server_info
6
- } from "./chunks/routes-s4aja1df.js";
6
+ } from "./chunks/routes-mzr9gftb.js";
7
7
  export {
8
8
  exports_server_info as ServerInfo,
9
- Service2 as Service,
9
+ Service3 as Service,
10
10
  connectionURLs2 as connectionURLs,
11
- layer2 as layer
11
+ layer3 as layer
12
12
  };
package/dist/workerd.js CHANGED
@@ -16,18 +16,18 @@ import"./chunks/routes-6nvan4e0.js";
16
16
  import"./chunks/routes-r7e9r02j.js";
17
17
  import"./chunks/routes-q0ycym90.js";
18
18
  import"./chunks/routes-bjrwanme.js";
19
- import"./chunks/routes-54sczv30.js";
20
- import"./chunks/routes-j3ej60bv.js";
19
+ import"./chunks/routes-2sy3c7de.js";
20
+ import"./chunks/routes-7cfyat0f.js";
21
21
  import"./chunks/routes-ceh2h0m9.js";
22
22
  import"./chunks/routes-19c9ysa1.js";
23
- import"./chunks/routes-s4aja1df.js";
24
- import"./chunks/routes-0chp8crd.js";
25
- import"./chunks/routes-95qrstsk.js";
23
+ import"./chunks/routes-mzr9gftb.js";
24
+ import"./chunks/routes-x6486bry.js";
25
+ import"./chunks/routes-x3pcwgsn.js";
26
26
  import"./chunks/routes-00nn3k4b.js";
27
- import"./chunks/routes-383t61pr.js";
27
+ import"./chunks/routes-wv5twc2g.js";
28
28
  import"./chunks/routes-hezj1jdf.js";
29
- import"./chunks/routes-3sx3e39f.js";
30
- import"./chunks/routes-n0er2m55.js";
29
+ import"./chunks/routes-s9n4r26f.js";
30
+ import"./chunks/routes-mwnk46cf.js";
31
31
  import"./chunks/routes-br99j6q1.js";
32
32
  import"./chunks/routes-ysabas57.js";
33
33
  import"./chunks/routes-req22b70.js";
@@ -40,13 +40,13 @@ import"./chunks/routes-j2pfq4q6.js";
40
40
  import"./chunks/routes-4g0fa6m0.js";
41
41
  import"./chunks/routes-7rzt3wm8.js";
42
42
  import"./chunks/routes-qnwpcgp7.js";
43
- import"./chunks/routes-58mzegg5.js";
43
+ import"./chunks/routes-mx4eztfg.js";
44
44
  import"./chunks/routes-gtkdacvk.js";
45
45
  import"./chunks/routes-t8yzmczr.js";
46
- import"./chunks/routes-yh405xr1.js";
46
+ import"./chunks/routes-a1q6gthn.js";
47
47
  import {
48
48
  make2
49
- } from "./chunks/routes-qj1va32d.js";
49
+ } from "./chunks/routes-wxpg8rny.js";
50
50
  import {
51
51
  __export
52
52
  } from "./chunks/routes-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-20376",
4
+ "version": "0.0.0-dev-20377",
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-20376",
34
- "@opencode/protocol": "0.0.0-dev-20376",
35
- "@opencode/schema": "0.0.0-dev-20376",
36
- "@opencode/simulation": "0.0.0-dev-20376",
37
- "@opencode/util": "0.0.0-dev-20376",
33
+ "@opencode/core": "0.0.0-dev-20377",
34
+ "@opencode/protocol": "0.0.0-dev-20377",
35
+ "@opencode/schema": "0.0.0-dev-20377",
36
+ "@opencode/simulation": "0.0.0-dev-20377",
37
+ "@opencode/util": "0.0.0-dev-20377",
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-20376",
43
- "@opencode/plugin": "0.0.0-dev-20376",
42
+ "@opencode/client": "0.0.0-dev-20377",
43
+ "@opencode/plugin": "0.0.0-dev-20377",
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"