@opencode/server 0.0.0-dev-20308 → 0.0.0-dev-20311

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{location-6gkz39ey.js → routes-0ar9gf7q.js} +3 -3
  4. package/dist/chunks/{location-s0padj6k.js → routes-0qzy9yxk.js} +3 -3
  5. package/dist/chunks/{location-f8rap8f6.js → routes-1wj0ectp.js} +1 -1
  6. package/dist/chunks/{location-3kzx88w9.js → routes-23w8t84j.js} +1 -1
  7. package/dist/chunks/{location-hp5sxeae.js → routes-34e6wr3b.js} +2 -2
  8. package/dist/chunks/{location-dhzd05be.js → routes-3kjq6qhs.js} +3 -3
  9. package/dist/chunks/{location-26ta7ngt.js → routes-40g8rvw4.js} +2 -2
  10. package/dist/chunks/{location-v1emgcvb.js → routes-6aya8ky6.js} +2 -2
  11. package/dist/chunks/{location-haswyr8z.js → routes-760vtqy2.js} +2 -2
  12. package/dist/chunks/{location-qj9kjxn3.js → routes-7qtja2kq.js} +1 -1
  13. package/dist/chunks/{location-rjpqaa8h.js → routes-7vmv2sn1.js} +7 -7
  14. package/dist/chunks/{location-140y8w7p.js → routes-8e21y1bd.js} +2 -2
  15. package/dist/chunks/{location-96s6m0w3.js → routes-8nbs1vvt.js} +2 -2
  16. package/dist/chunks/{location-wz0qz28j.js → routes-8ygjd1s8.js} +2 -2
  17. package/dist/chunks/{location-anm12x33.js → routes-anm12x33.js} +1 -1
  18. package/dist/chunks/{location-pme11y2y.js → routes-bgzrbsek.js} +2 -2
  19. package/dist/chunks/{location-bt9tc5rb.js → routes-bkb1xk38.js} +1 -1
  20. package/dist/chunks/{location-3atyrqsp.js → routes-brwktr97.js} +2 -2
  21. package/dist/chunks/{location-5bwq5cz2.js → routes-cm8xmqjn.js} +2 -2
  22. package/dist/chunks/{location-rjqbhscq.js → routes-d2g7egyw.js} +1 -1
  23. package/dist/chunks/{location-np19kmxx.js → routes-erwrh284.js} +2 -2
  24. package/dist/chunks/{location-367ngss7.js → routes-f78xgav9.js} +2 -2
  25. package/dist/chunks/{location-5rwqcaw2.js → routes-frv6gfy7.js} +1 -1
  26. package/dist/chunks/{location-b1rdg9nf.js → routes-fyjxk8m3.js} +2 -2
  27. package/dist/chunks/{location-bfw5gvbk.js → routes-ggf0w7ww.js} +8 -8
  28. package/dist/chunks/{location-gtkdacvk.js → routes-gtkdacvk.js} +1 -1
  29. package/dist/chunks/{location-hpqxnkkx.js → routes-kpf69hd1.js} +7 -7
  30. package/dist/chunks/{location-t88f2hhf.js → routes-kv6ycdgm.js} +3 -3
  31. package/dist/chunks/{location-ees77nh9.js → routes-pd1pbg0v.js} +2 -2
  32. package/dist/chunks/{location-byt4hbw9.js → routes-rbn15j6z.js} +8 -8
  33. package/dist/chunks/{location-j99kc60h.js → routes-s5kcx7gf.js} +33 -33
  34. package/dist/chunks/{location-x5ncpjy3.js → routes-tk6nqkmh.js} +1 -1
  35. package/dist/chunks/{location-bkk2wfbz.js → routes-tnr0rqd3.js} +8 -8
  36. package/dist/chunks/{location-bmqkn4ah.js → routes-txhx6f1m.js} +1 -1
  37. package/dist/chunks/{location-hr75rahr.js → routes-vgxn80m1.js} +2 -2
  38. package/dist/chunks/{location-e1j0tbav.js → routes-vp40h0c4.js} +1 -1
  39. package/dist/chunks/{location-5w24ch67.js → routes-vpz7f20y.js} +4 -4
  40. package/dist/chunks/{location-nq1g1xyh.js → routes-wemmmxzb.js} +19 -19
  41. package/dist/chunks/{location-v305azr7.js → routes-wet8b863.js} +7 -7
  42. package/dist/chunks/{location-6qwktr1g.js → routes-xpxp1sqb.js} +1 -1
  43. package/dist/chunks/{location-7eckj7zq.js → routes-z3nth2hg.js} +2 -2
  44. package/dist/chunks/{location-v573ws0d.js → routes-z6kg9h7e.js} +3 -3
  45. package/dist/chunks/{location-zpz5afwq.js → routes-zw9j8b8g.js} +2 -2
  46. package/dist/chunks/{location-ctscy0f5.js → routes-zxvt7wd3.js} +2 -2
  47. package/dist/cors.js +1 -1
  48. package/dist/event-feed.js +5 -5
  49. package/dist/fetch.js +47 -47
  50. package/dist/handlers/agent.js +6 -6
  51. package/dist/handlers/command.js +6 -6
  52. package/dist/handlers/config.js +6 -6
  53. package/dist/handlers/credential.js +6 -6
  54. package/dist/handlers/debug.js +6 -6
  55. package/dist/handlers/event.js +7 -7
  56. package/dist/handlers/form.js +6 -6
  57. package/dist/handlers/fs.js +6 -6
  58. package/dist/handlers/generate.js +6 -6
  59. package/dist/handlers/integration.js +6 -6
  60. package/dist/handlers/location.js +6 -6
  61. package/dist/handlers/mcp.js +6 -6
  62. package/dist/handlers/message.js +6 -6
  63. package/dist/handlers/migration.js +6 -6
  64. package/dist/handlers/model.js +6 -6
  65. package/dist/handlers/permission.js +6 -6
  66. package/dist/handlers/persistent-pty.js +8 -8
  67. package/dist/handlers/plugin.js +6 -6
  68. package/dist/handlers/project.js +6 -6
  69. package/dist/handlers/provider.js +6 -6
  70. package/dist/handlers/pty-socket.js +1 -1
  71. package/dist/handlers/pty.js +9 -9
  72. package/dist/handlers/reference.js +6 -6
  73. package/dist/handlers/rpc.js +6 -6
  74. package/dist/handlers/server.js +9 -9
  75. package/dist/handlers/session-error.js +1 -1
  76. package/dist/handlers/session.js +6 -6
  77. package/dist/handlers/shell.js +6 -6
  78. package/dist/handlers/skill.js +6 -6
  79. package/dist/handlers/vcs.js +6 -6
  80. package/dist/handlers/websearch.js +6 -6
  81. package/dist/handlers/worktree.js +6 -6
  82. package/dist/handlers.js +43 -43
  83. package/dist/location.js +4 -4
  84. package/dist/middleware/authorization.js +2 -2
  85. package/dist/middleware/form-location.js +3 -3
  86. package/dist/middleware/schema-error.js +1 -1
  87. package/dist/middleware/session-location.js +3 -3
  88. package/dist/pairing.js +5 -5
  89. package/dist/process.js +51 -51
  90. package/dist/pty-environment.js +7 -7
  91. package/dist/request-tracing.js +1 -1
  92. package/dist/routes.js +46 -46
  93. package/dist/server-info.js +5 -5
  94. package/dist/service-status.js +3 -3
  95. package/dist/workerd.js +48 -48
  96. package/package.json +8 -8
  97. /package/dist/chunks/{location-9rqn6x4v.js → routes-9rqn6x4v.js} +0 -0
  98. /package/dist/chunks/{location-hezj1jdf.js → routes-hezj1jdf.js} +0 -0
  99. /package/dist/chunks/{location-q4bn6dy8.js → routes-q4bn6dy8.js} +0 -0
  100. /package/dist/chunks/{location-smaf4a18.js → routes-smaf4a18.js} +0 -0
  101. /package/dist/chunks/{location-t8yzmczr.js → routes-t8yzmczr.js} +0 -0
  102. /package/dist/chunks/{location-yc7nft6q.js → routes-yc7nft6q.js} +0 -0
@@ -1,99 +1,99 @@
1
1
  import {
2
2
  GenerateHandler2
3
- } from "./location-rjqbhscq.js";
3
+ } from "./routes-d2g7egyw.js";
4
4
  import {
5
5
  MessageHandler2
6
- } from "./location-26ta7ngt.js";
6
+ } from "./routes-40g8rvw4.js";
7
7
  import {
8
8
  ModelHandler2
9
- } from "./location-b1rdg9nf.js";
9
+ } from "./routes-fyjxk8m3.js";
10
10
  import {
11
11
  ProviderHandler2
12
- } from "./location-haswyr8z.js";
12
+ } from "./routes-760vtqy2.js";
13
13
  import {
14
14
  SessionHandler2
15
- } from "./location-367ngss7.js";
15
+ } from "./routes-f78xgav9.js";
16
16
  import {
17
17
  PermissionHandler2
18
- } from "./location-t88f2hhf.js";
18
+ } from "./routes-kv6ycdgm.js";
19
19
  import {
20
20
  FileSystemHandler2
21
- } from "./location-96s6m0w3.js";
21
+ } from "./routes-8nbs1vvt.js";
22
22
  import {
23
23
  FormHandler2
24
- } from "./location-ees77nh9.js";
24
+ } from "./routes-pd1pbg0v.js";
25
25
  import {
26
26
  CommandHandler2
27
- } from "./location-pme11y2y.js";
27
+ } from "./routes-bgzrbsek.js";
28
28
  import {
29
29
  SkillHandler2
30
- } from "./location-hp5sxeae.js";
30
+ } from "./routes-34e6wr3b.js";
31
31
  import {
32
32
  RpcHandler2
33
- } from "./location-f8rap8f6.js";
33
+ } from "./routes-1wj0ectp.js";
34
34
  import {
35
- layer3
36
- } from "./location-rjpqaa8h.js";
35
+ layer2
36
+ } from "./routes-7vmv2sn1.js";
37
37
  import {
38
38
  EventHandler2
39
- } from "./location-3atyrqsp.js";
39
+ } from "./routes-brwktr97.js";
40
40
  import {
41
41
  AgentHandler2
42
- } from "./location-ctscy0f5.js";
42
+ } from "./routes-zxvt7wd3.js";
43
43
  import {
44
44
  PluginHandler2
45
- } from "./location-hr75rahr.js";
45
+ } from "./routes-vgxn80m1.js";
46
46
  import {
47
47
  ServerHandler2
48
- } from "./location-bfw5gvbk.js";
48
+ } from "./routes-ggf0w7ww.js";
49
49
  import {
50
50
  DebugHandler2
51
- } from "./location-140y8w7p.js";
51
+ } from "./routes-8e21y1bd.js";
52
52
  import {
53
53
  PtyHandler2
54
- } from "./location-hpqxnkkx.js";
54
+ } from "./routes-kpf69hd1.js";
55
55
  import {
56
56
  PersistentPtyHandler2
57
- } from "./location-s0padj6k.js";
57
+ } from "./routes-0qzy9yxk.js";
58
58
  import {
59
59
  ShellHandler2
60
- } from "./location-7eckj7zq.js";
60
+ } from "./routes-z3nth2hg.js";
61
61
  import {
62
62
  ReferenceHandler2
63
- } from "./location-5bwq5cz2.js";
63
+ } from "./routes-cm8xmqjn.js";
64
64
  import {
65
65
  LocationHandler2
66
- } from "./location-x5ncpjy3.js";
66
+ } from "./routes-tk6nqkmh.js";
67
67
  import {
68
68
  IntegrationHandler2
69
- } from "./location-np19kmxx.js";
69
+ } from "./routes-erwrh284.js";
70
70
  import {
71
71
  WebSearchHandler2
72
- } from "./location-v1emgcvb.js";
72
+ } from "./routes-6aya8ky6.js";
73
73
  import {
74
74
  McpHandler2
75
- } from "./location-wz0qz28j.js";
75
+ } from "./routes-8ygjd1s8.js";
76
76
  import {
77
77
  CredentialHandler2
78
- } from "./location-e1j0tbav.js";
78
+ } from "./routes-vp40h0c4.js";
79
79
  import {
80
80
  ProjectHandler2
81
- } from "./location-qj9kjxn3.js";
81
+ } from "./routes-7qtja2kq.js";
82
82
  import {
83
83
  WorktreeHandler2
84
- } from "./location-bt9tc5rb.js";
84
+ } from "./routes-bkb1xk38.js";
85
85
  import {
86
86
  VcsHandler2
87
- } from "./location-zpz5afwq.js";
87
+ } from "./routes-zw9j8b8g.js";
88
88
  import {
89
89
  MigrationHandler2
90
- } from "./location-bmqkn4ah.js";
90
+ } from "./routes-txhx6f1m.js";
91
91
  import {
92
92
  ConfigHandler2
93
- } from "./location-6qwktr1g.js";
93
+ } from "./routes-xpxp1sqb.js";
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(layer3)), 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 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-v573ws0d.js";
3
+ } from "./routes-z6kg9h7e.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./routes-9rqn6x4v.js";
4
4
 
5
5
  // src/pty-environment.ts
6
6
  var exports_pty_environment = {};
7
7
  __export(exports_pty_environment, {
8
8
  PtyEnvironment: () => exports_pty_environment,
9
- Service: () => Service2,
10
- layer: () => layer2,
11
- node: () => node2
9
+ Service: () => Service5,
10
+ layer: () => layer4,
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 Service2 extends Context.Service()("@opencode/ServerPtyEnvironment") {
16
+ class Service5 extends Context.Service()("@opencode/ServerPtyEnvironment") {
17
17
  }
18
- var layer2 = Layer.succeed(Service2, Service2.of({
18
+ var layer4 = Layer.succeed(Service5, Service5.of({
19
19
  get: () => Effect.succeed({})
20
20
  }));
21
- var node2 = makeGlobalNode({ service: Service2, layer: layer2, deps: [] });
21
+ var node3 = makeGlobalNode({ service: Service5, layer: layer4, deps: [] });
22
22
 
23
- export { Service2, layer2, node2, exports_pty_environment };
23
+ export { Service5, layer4, node3, exports_pty_environment };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-v573ws0d.js";
3
+ } from "./routes-z6kg9h7e.js";
4
4
 
5
5
  // src/handlers/migration.ts
6
6
  import { V1Migration } from "@opencode/core/database/v1-migration";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-6gkz39ey.js";
3
+ } from "./routes-0ar9gf7q.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-v573ws0d.js";
6
+ } from "./routes-z6kg9h7e.js";
7
7
 
8
8
  // src/handlers/plugin.ts
9
9
  import { Plugin } from "@opencode/core/plugin";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-v573ws0d.js";
3
+ } from "./routes-z6kg9h7e.js";
4
4
 
5
5
  // src/handlers/credential.ts
6
6
  import { Credential } from "@opencode/core/credential";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./routes-9rqn6x4v.js";
4
4
 
5
5
  // src/service-status.ts
6
6
  var exports_service_status = {};
7
7
  __export(exports_service_status, {
8
8
  Status: () => exports_service_status,
9
- make: () => make3
9
+ make: () => make4
10
10
  });
11
11
  import { Effect, Ref } from "effect";
12
- var make3 = 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 make3 = Effect.fnUntraced(function* (options = {}) {
20
20
  };
21
21
  });
22
22
 
23
- export { make3, exports_service_status };
23
+ export { make4, exports_service_status };
@@ -1,39 +1,39 @@
1
1
  import {
2
- layer4
3
- } from "./location-6gkz39ey.js";
2
+ layer5
3
+ } from "./routes-0ar9gf7q.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./location-5rwqcaw2.js";
6
+ } from "./routes-frv6gfy7.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./location-3kzx88w9.js";
9
+ } from "./routes-23w8t84j.js";
10
10
  import {
11
11
  Api2
12
- } from "./location-v573ws0d.js";
12
+ } from "./routes-z6kg9h7e.js";
13
13
  import {
14
14
  Config2
15
- } from "./location-anm12x33.js";
15
+ } from "./routes-anm12x33.js";
16
16
  import {
17
17
  CorsConfig2
18
- } from "./location-q4bn6dy8.js";
19
- import {
20
- layer5
21
- } from "./location-v305azr7.js";
18
+ } from "./routes-q4bn6dy8.js";
22
19
  import {
23
- node3
24
- } from "./location-byt4hbw9.js";
20
+ layer3
21
+ } from "./routes-wet8b863.js";
25
22
  import {
26
23
  node2
27
- } from "./location-bkk2wfbz.js";
24
+ } from "./routes-rbn15j6z.js";
25
+ import {
26
+ node3
27
+ } from "./routes-tnr0rqd3.js";
28
28
  import {
29
29
  handlers2
30
- } from "./location-j99kc60h.js";
30
+ } from "./routes-s5kcx7gf.js";
31
31
  import {
32
32
  authorizationLayer2
33
- } from "./location-gtkdacvk.js";
33
+ } from "./routes-gtkdacvk.js";
34
34
  import {
35
35
  schemaErrorLayer2
36
- } from "./location-t8yzmczr.js";
36
+ } from "./routes-t8yzmczr.js";
37
37
 
38
38
  // src/routes.ts
39
39
  import { Database } from "@opencode/core/database/database";
@@ -91,8 +91,8 @@ var applicationServiceNodes = [
91
91
  PersistentPty.node,
92
92
  Credential.node,
93
93
  WellKnown.node,
94
- node2,
95
94
  node3,
95
+ node2,
96
96
  LocationServiceMap.node,
97
97
  LocationActivity.node,
98
98
  SessionRestart.node,
@@ -144,8 +144,8 @@ 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)), layer5(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
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));
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
+ 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
  }));
151
151
  }
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./routes-9rqn6x4v.js";
4
4
 
5
5
  // src/server-info.ts
6
6
  var exports_server_info = {};
7
7
  __export(exports_server_info, {
8
8
  ServerInfo: () => exports_server_info,
9
- Service: () => Service5,
9
+ Service: () => Service4,
10
10
  connectionURLs: () => connectionURLs2,
11
- layer: () => layer5
11
+ layer: () => layer3
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { networkInterfaces } from "node:os";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/server/ServerInfo") {
16
+ class Service4 extends Context.Service()("@opencode/server/ServerInfo") {
17
17
  }
18
- function layer5(urls, tmp, app = {}) {
19
- return Layer.succeed(Service5, Service5.of({ urls, app, paths: { tmp } }));
18
+ function layer3(urls, tmp, app = {}) {
19
+ return Layer.succeed(Service4, Service4.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 { Service5, layer5, connectionURLs2, exports_server_info };
36
+ export { Service4, layer3, connectionURLs2, exports_server_info };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-v573ws0d.js";
3
+ } from "./routes-z6kg9h7e.js";
4
4
 
5
5
  // src/handlers/config.ts
6
6
  import { Config } from "@opencode/core/config";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-6gkz39ey.js";
3
+ } from "./routes-0ar9gf7q.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-v573ws0d.js";
6
+ } from "./routes-z6kg9h7e.js";
7
7
 
8
8
  // src/handlers/shell.ts
9
9
  import { Shell } from "@opencode/core/shell";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./location-6gkz39ey.js";
3
+ } from "./routes-0ar9gf7q.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./location-5rwqcaw2.js";
6
+ } from "./routes-frv6gfy7.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./location-3kzx88w9.js";
9
+ } from "./routes-23w8t84j.js";
10
10
 
11
11
  // src/api.ts
12
12
  import { makeDefaultApi } from "@opencode/protocol/api";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-6gkz39ey.js";
3
+ } from "./routes-0ar9gf7q.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-v573ws0d.js";
6
+ } from "./routes-z6kg9h7e.js";
7
7
 
8
8
  // src/handlers/vcs.ts
9
9
  import { Vcs } from "@opencode/core/vcs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-6gkz39ey.js";
3
+ } from "./routes-0ar9gf7q.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-v573ws0d.js";
6
+ } from "./routes-z6kg9h7e.js";
7
7
 
8
8
  // src/handlers/agent.ts
9
9
  import { Agent } from "@opencode/core/agent";
package/dist/cors.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  CorsConfig2,
3
3
  isAllowedCorsOrigin2,
4
4
  isAllowedRequestOrigin2
5
- } from "./chunks/location-q4bn6dy8.js";
5
+ } from "./chunks/routes-q4bn6dy8.js";
6
6
  export {
7
7
  CorsConfig2 as CorsConfig,
8
8
  isAllowedCorsOrigin2 as isAllowedCorsOrigin,
@@ -4,10 +4,10 @@ import {
4
4
  EncodingError2,
5
5
  Service3,
6
6
  frame2,
7
- make4,
8
- layer3,
7
+ make3,
8
+ layer2,
9
9
  exports_event_feed
10
- } from "./chunks/location-rjpqaa8h.js";
10
+ } from "./chunks/routes-7vmv2sn1.js";
11
11
  export {
12
12
  EncodingError2 as EncodingError,
13
13
  exports_event_feed as EventFeed,
@@ -15,6 +15,6 @@ export {
15
15
  SubscriberCapacity2 as SubscriberCapacity,
16
16
  SubscriberOverflowError2 as SubscriberOverflowError,
17
17
  frame2 as frame,
18
- layer3 as layer,
19
- make4 as make
18
+ layer2 as layer,
19
+ make3 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/location-dhzd05be.js";
5
- import"./chunks/location-nq1g1xyh.js";
6
- import"./chunks/location-t8yzmczr.js";
7
- import"./chunks/location-gtkdacvk.js";
8
- import"./chunks/location-j99kc60h.js";
9
- import"./chunks/location-e1j0tbav.js";
10
- import"./chunks/location-367ngss7.js";
11
- import"./chunks/location-qj9kjxn3.js";
12
- import"./chunks/location-bmqkn4ah.js";
13
- import"./chunks/location-3atyrqsp.js";
14
- import"./chunks/location-5bwq5cz2.js";
15
- import"./chunks/location-96s6m0w3.js";
16
- import"./chunks/location-bt9tc5rb.js";
17
- import"./chunks/location-zpz5afwq.js";
18
- import"./chunks/location-ees77nh9.js";
19
- import"./chunks/location-hr75rahr.js";
20
- import"./chunks/location-s0padj6k.js";
21
- import"./chunks/location-hpqxnkkx.js";
22
- import"./chunks/location-ctscy0f5.js";
23
- import"./chunks/location-hp5sxeae.js";
24
- import"./chunks/location-pme11y2y.js";
25
- import"./chunks/location-np19kmxx.js";
26
- import"./chunks/location-6qwktr1g.js";
27
- import"./chunks/location-26ta7ngt.js";
28
- import"./chunks/location-b1rdg9nf.js";
29
- import"./chunks/location-v1emgcvb.js";
30
- import"./chunks/location-haswyr8z.js";
31
- import"./chunks/location-f8rap8f6.js";
32
- import"./chunks/location-wz0qz28j.js";
33
- import"./chunks/location-7eckj7zq.js";
34
- import"./chunks/location-t88f2hhf.js";
35
- import"./chunks/location-140y8w7p.js";
36
- import"./chunks/location-bfw5gvbk.js";
37
- import"./chunks/location-rjqbhscq.js";
38
- import"./chunks/location-x5ncpjy3.js";
39
- import"./chunks/location-hezj1jdf.js";
40
- import"./chunks/location-q4bn6dy8.js";
41
- import"./chunks/location-bkk2wfbz.js";
42
- import"./chunks/location-rjpqaa8h.js";
43
- import"./chunks/location-byt4hbw9.js";
44
- import"./chunks/location-v573ws0d.js";
45
- import"./chunks/location-5rwqcaw2.js";
46
- import"./chunks/location-3kzx88w9.js";
47
- import"./chunks/location-6gkz39ey.js";
48
- import"./chunks/location-smaf4a18.js";
49
- import"./chunks/location-anm12x33.js";
50
- import"./chunks/location-v305azr7.js";
4
+ } from "./chunks/routes-3kjq6qhs.js";
5
+ import"./chunks/routes-wemmmxzb.js";
6
+ import"./chunks/routes-gtkdacvk.js";
7
+ import"./chunks/routes-t8yzmczr.js";
8
+ import"./chunks/routes-s5kcx7gf.js";
9
+ import"./chunks/routes-txhx6f1m.js";
10
+ import"./chunks/routes-cm8xmqjn.js";
11
+ import"./chunks/routes-8nbs1vvt.js";
12
+ import"./chunks/routes-f78xgav9.js";
13
+ import"./chunks/routes-34e6wr3b.js";
14
+ import"./chunks/routes-bkb1xk38.js";
15
+ import"./chunks/routes-8e21y1bd.js";
16
+ import"./chunks/routes-6aya8ky6.js";
17
+ import"./chunks/routes-0qzy9yxk.js";
18
+ import"./chunks/routes-kpf69hd1.js";
19
+ import"./chunks/routes-hezj1jdf.js";
20
+ import"./chunks/routes-zxvt7wd3.js";
21
+ import"./chunks/routes-760vtqy2.js";
22
+ import"./chunks/routes-erwrh284.js";
23
+ import"./chunks/routes-vgxn80m1.js";
24
+ import"./chunks/routes-7qtja2kq.js";
25
+ import"./chunks/routes-tk6nqkmh.js";
26
+ import"./chunks/routes-z3nth2hg.js";
27
+ import"./chunks/routes-1wj0ectp.js";
28
+ import"./chunks/routes-bgzrbsek.js";
29
+ import"./chunks/routes-40g8rvw4.js";
30
+ import"./chunks/routes-xpxp1sqb.js";
31
+ import"./chunks/routes-fyjxk8m3.js";
32
+ import"./chunks/routes-kv6ycdgm.js";
33
+ import"./chunks/routes-pd1pbg0v.js";
34
+ import"./chunks/routes-brwktr97.js";
35
+ import"./chunks/routes-8ygjd1s8.js";
36
+ import"./chunks/routes-d2g7egyw.js";
37
+ import"./chunks/routes-vp40h0c4.js";
38
+ import"./chunks/routes-ggf0w7ww.js";
39
+ import"./chunks/routes-zw9j8b8g.js";
40
+ import"./chunks/routes-q4bn6dy8.js";
41
+ import"./chunks/routes-rbn15j6z.js";
42
+ import"./chunks/routes-7vmv2sn1.js";
43
+ import"./chunks/routes-wet8b863.js";
44
+ import"./chunks/routes-tnr0rqd3.js";
45
+ import"./chunks/routes-anm12x33.js";
46
+ import"./chunks/routes-z6kg9h7e.js";
47
+ import"./chunks/routes-23w8t84j.js";
48
+ import"./chunks/routes-frv6gfy7.js";
49
+ import"./chunks/routes-0ar9gf7q.js";
50
+ import"./chunks/routes-smaf4a18.js";
51
51
  export {
52
52
  exports_fetch as ServerFetch,
53
53
  make2 as make
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  AgentHandler2
3
- } from "../chunks/location-ctscy0f5.js";
4
- import"../chunks/location-v573ws0d.js";
5
- import"../chunks/location-5rwqcaw2.js";
6
- import"../chunks/location-3kzx88w9.js";
7
- import"../chunks/location-6gkz39ey.js";
8
- import"../chunks/location-smaf4a18.js";
3
+ } from "../chunks/routes-zxvt7wd3.js";
4
+ import"../chunks/routes-z6kg9h7e.js";
5
+ import"../chunks/routes-23w8t84j.js";
6
+ import"../chunks/routes-frv6gfy7.js";
7
+ import"../chunks/routes-0ar9gf7q.js";
8
+ import"../chunks/routes-smaf4a18.js";
9
9
  export {
10
10
  AgentHandler2 as AgentHandler
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  CommandHandler2
3
- } from "../chunks/location-pme11y2y.js";
4
- import"../chunks/location-v573ws0d.js";
5
- import"../chunks/location-5rwqcaw2.js";
6
- import"../chunks/location-3kzx88w9.js";
7
- import"../chunks/location-6gkz39ey.js";
8
- import"../chunks/location-smaf4a18.js";
3
+ } from "../chunks/routes-bgzrbsek.js";
4
+ import"../chunks/routes-z6kg9h7e.js";
5
+ import"../chunks/routes-23w8t84j.js";
6
+ import"../chunks/routes-frv6gfy7.js";
7
+ import"../chunks/routes-0ar9gf7q.js";
8
+ import"../chunks/routes-smaf4a18.js";
9
9
  export {
10
10
  CommandHandler2 as CommandHandler
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  ConfigHandler2
3
- } from "../chunks/location-6qwktr1g.js";
4
- import"../chunks/location-v573ws0d.js";
5
- import"../chunks/location-5rwqcaw2.js";
6
- import"../chunks/location-3kzx88w9.js";
7
- import"../chunks/location-6gkz39ey.js";
8
- import"../chunks/location-smaf4a18.js";
3
+ } from "../chunks/routes-xpxp1sqb.js";
4
+ import"../chunks/routes-z6kg9h7e.js";
5
+ import"../chunks/routes-23w8t84j.js";
6
+ import"../chunks/routes-frv6gfy7.js";
7
+ import"../chunks/routes-0ar9gf7q.js";
8
+ import"../chunks/routes-smaf4a18.js";
9
9
  export {
10
10
  ConfigHandler2 as ConfigHandler
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  CredentialHandler2
3
- } from "../chunks/location-e1j0tbav.js";
4
- import"../chunks/location-v573ws0d.js";
5
- import"../chunks/location-5rwqcaw2.js";
6
- import"../chunks/location-3kzx88w9.js";
7
- import"../chunks/location-6gkz39ey.js";
8
- import"../chunks/location-smaf4a18.js";
3
+ } from "../chunks/routes-vp40h0c4.js";
4
+ import"../chunks/routes-z6kg9h7e.js";
5
+ import"../chunks/routes-23w8t84j.js";
6
+ import"../chunks/routes-frv6gfy7.js";
7
+ import"../chunks/routes-0ar9gf7q.js";
8
+ import"../chunks/routes-smaf4a18.js";
9
9
  export {
10
10
  CredentialHandler2 as CredentialHandler
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  DebugHandler2
3
- } from "../chunks/location-140y8w7p.js";
4
- import"../chunks/location-v573ws0d.js";
5
- import"../chunks/location-5rwqcaw2.js";
6
- import"../chunks/location-3kzx88w9.js";
7
- import"../chunks/location-6gkz39ey.js";
8
- import"../chunks/location-smaf4a18.js";
3
+ } from "../chunks/routes-8e21y1bd.js";
4
+ import"../chunks/routes-z6kg9h7e.js";
5
+ import"../chunks/routes-23w8t84j.js";
6
+ import"../chunks/routes-frv6gfy7.js";
7
+ import"../chunks/routes-0ar9gf7q.js";
8
+ import"../chunks/routes-smaf4a18.js";
9
9
  export {
10
10
  DebugHandler2 as DebugHandler
11
11
  };