@opencode/server 0.0.0-dev-1230 → 0.0.0-dev-1234

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 (118) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{fetch-059rbh9c.js → handlers-059rbh9c.js} +1 -1
  4. package/dist/chunks/{fetch-dk68ymtv.js → handlers-05c5061t.js} +1 -1
  5. package/dist/chunks/{fetch-9c4eyh8m.js → handlers-0e81et3m.js} +3 -3
  6. package/dist/chunks/{fetch-c6sjpm0r.js → handlers-0j6zxxn8.js} +2 -2
  7. package/dist/chunks/{fetch-e6e4kz0w.js → handlers-0q7s66m2.js} +4 -4
  8. package/dist/chunks/{fetch-r3h1014p.js → handlers-2pbbrzpp.js} +2 -2
  9. package/dist/chunks/{fetch-z3e7v67k.js → handlers-3te71694.js} +7 -7
  10. package/dist/chunks/{fetch-b0sezs8j.js → handlers-4ed680xg.js} +2 -2
  11. package/dist/chunks/{fetch-0a5jm2na.js → handlers-4p2y0qs3.js} +2 -2
  12. package/dist/chunks/{fetch-gqq6kfhc.js → handlers-50bbk3b2.js} +3 -3
  13. package/dist/chunks/{fetch-78rcgzsr.js → handlers-78rcgzsr.js} +1 -1
  14. package/dist/chunks/{fetch-7b9xm1qg.js → handlers-7b9xm1qg.js} +1 -1
  15. package/dist/chunks/{fetch-41yet3w7.js → handlers-861wfsmy.js} +1 -1
  16. package/dist/chunks/{fetch-hax1v4bv.js → handlers-9grnt8dc.js} +2 -2
  17. package/dist/chunks/{fetch-vnxz2wk5.js → handlers-abep4aab.js} +35 -35
  18. package/dist/chunks/{fetch-yet0vexm.js → handlers-b3bmdkga.js} +1 -1
  19. package/dist/chunks/{fetch-z59gyc0x.js → handlers-b4mqtccx.js} +2 -2
  20. package/dist/chunks/{fetch-z7gkfgax.js → handlers-d8b9pm2q.js} +1 -1
  21. package/dist/chunks/{fetch-np3ws677.js → handlers-dezpcckc.js} +2 -2
  22. package/dist/chunks/{fetch-djr0jy89.js → handlers-djr0jy89.js} +1 -1
  23. package/dist/chunks/{fetch-e46y0tfd.js → handlers-dx89xydc.js} +2 -2
  24. package/dist/chunks/{fetch-tnw32gv7.js → handlers-dz2mkdr7.js} +4 -4
  25. package/dist/chunks/{fetch-wecgp61r.js → handlers-e0ppd0jy.js} +10 -10
  26. package/dist/chunks/{fetch-wxj3d9av.js → handlers-et00mhwf.js} +2 -2
  27. package/dist/chunks/{fetch-22wspztn.js → handlers-f8r9p2vr.js} +2 -2
  28. package/dist/chunks/{fetch-2zae1x1e.js → handlers-feabp8g5.js} +4 -4
  29. package/dist/chunks/{fetch-e9906t2e.js → handlers-gsj0w1r0.js} +4 -4
  30. package/dist/chunks/{fetch-x8dgc261.js → handlers-h1thjy6x.js} +2 -2
  31. package/dist/chunks/{fetch-4vqvqsgg.js → handlers-h286a6py.js} +2 -2
  32. package/dist/chunks/{fetch-gk0yxcp6.js → handlers-htyf2qs7.js} +1 -1
  33. package/dist/chunks/{fetch-b2k9041j.js → handlers-hx8bsq9d.js} +1 -1
  34. package/dist/chunks/{fetch-j4at0y5c.js → handlers-j4at0y5c.js} +1 -1
  35. package/dist/chunks/{fetch-ppma8fcc.js → handlers-kg0ybx4v.js} +3 -3
  36. package/dist/chunks/{fetch-sf85r6vp.js → handlers-m119esdv.js} +3 -3
  37. package/dist/chunks/{fetch-myqk22k5.js → handlers-myqk22k5.js} +2 -2
  38. package/dist/chunks/{fetch-w9jcwh65.js → handlers-mzs0n5xz.js} +7 -7
  39. package/dist/chunks/{fetch-w5yp0ga8.js → handlers-p86kew8c.js} +2 -2
  40. package/dist/chunks/{fetch-0yfmg3wn.js → handlers-pxx342gc.js} +8 -8
  41. package/dist/chunks/{fetch-6vs5sqy6.js → handlers-q44yktpv.js} +2 -2
  42. package/dist/chunks/{fetch-yr4wsvrw.js → handlers-s9tkswmw.js} +2 -2
  43. package/dist/chunks/{fetch-t32e1bbt.js → handlers-t32e1bbt.js} +1 -1
  44. package/dist/chunks/{fetch-452na7zm.js → handlers-tk56ffsq.js} +2 -2
  45. package/dist/chunks/{fetch-yz5gdnh9.js → handlers-v3z8da39.js} +15 -15
  46. package/dist/chunks/{fetch-m5rae7m4.js → handlers-v8aqacn3.js} +2 -2
  47. package/dist/chunks/{fetch-qn8kkfq6.js → handlers-vbgqk0mr.js} +2 -2
  48. package/dist/chunks/{fetch-j63pjt70.js → handlers-vfb4124r.js} +5 -5
  49. package/dist/chunks/{fetch-2wz1xhk3.js → handlers-wq29mwx6.js} +4 -4
  50. package/dist/chunks/{fetch-xpwax711.js → handlers-wxz0ndy0.js} +3 -3
  51. package/dist/chunks/{fetch-1je14sn4.js → handlers-x4b2rtcb.js} +1 -1
  52. package/dist/chunks/{fetch-8a6jan95.js → handlers-z4epy6e4.js} +7 -7
  53. package/dist/chunks/{fetch-h072q2hm.js → handlers-zbe9jfhy.js} +1 -1
  54. package/dist/content-headers.js +1 -1
  55. package/dist/cors.js +1 -1
  56. package/dist/event-feed.js +7 -7
  57. package/dist/fetch.js +56 -56
  58. package/dist/handlers/agent.js +6 -6
  59. package/dist/handlers/artifact.js +3 -3
  60. package/dist/handlers/command.js +6 -6
  61. package/dist/handlers/config.js +6 -6
  62. package/dist/handlers/credential.js +7 -7
  63. package/dist/handlers/debug.js +6 -6
  64. package/dist/handlers/event.js +7 -7
  65. package/dist/handlers/form.js +6 -6
  66. package/dist/handlers/fs.js +7 -7
  67. package/dist/handlers/generate.js +6 -6
  68. package/dist/handlers/integration.js +6 -6
  69. package/dist/handlers/job.js +2 -2
  70. package/dist/handlers/location.js +6 -6
  71. package/dist/handlers/mcp.js +8 -8
  72. package/dist/handlers/media.js +2 -2
  73. package/dist/handlers/message.js +7 -7
  74. package/dist/handlers/migration.js +6 -6
  75. package/dist/handlers/model.js +6 -6
  76. package/dist/handlers/permission.js +6 -6
  77. package/dist/handlers/persistent-pty.js +13 -13
  78. package/dist/handlers/plugin.js +6 -6
  79. package/dist/handlers/project.js +6 -6
  80. package/dist/handlers/provider.js +6 -6
  81. package/dist/handlers/pty-socket.js +1 -1
  82. package/dist/handlers/pty.js +8 -8
  83. package/dist/handlers/reference.js +6 -6
  84. package/dist/handlers/rpc.js +6 -6
  85. package/dist/handlers/schedule.js +2 -2
  86. package/dist/handlers/server.js +9 -9
  87. package/dist/handlers/session-error.js +1 -1
  88. package/dist/handlers/session.js +7 -7
  89. package/dist/handlers/shell.js +6 -6
  90. package/dist/handlers/skill.js +6 -6
  91. package/dist/handlers/usage.js +6 -6
  92. package/dist/handlers/vcs.js +6 -6
  93. package/dist/handlers/voice.js +6 -6
  94. package/dist/handlers/websearch.js +6 -6
  95. package/dist/handlers/worktree.js +6 -6
  96. package/dist/handlers.js +50 -50
  97. package/dist/location.js +4 -4
  98. package/dist/media-uri.js +1 -1
  99. package/dist/middleware/authorization.js +2 -2
  100. package/dist/middleware/form-location.js +3 -3
  101. package/dist/middleware/schema-error.js +1 -1
  102. package/dist/middleware/session-location.js +3 -3
  103. package/dist/pairing.js +3 -3
  104. package/dist/process.js +59 -59
  105. package/dist/request-site.js +2 -2
  106. package/dist/request-tracing.js +1 -1
  107. package/dist/routes.js +53 -53
  108. package/dist/server-info.js +5 -5
  109. package/dist/service-status.js +3 -3
  110. package/dist/workerd.js +57 -57
  111. package/package.json +8 -8
  112. /package/dist/chunks/{fetch-9rqn6x4v.js → handlers-9rqn6x4v.js} +0 -0
  113. /package/dist/chunks/{fetch-bd8755ek.js → handlers-bd8755ek.js} +0 -0
  114. /package/dist/chunks/{fetch-q187pxxd.js → handlers-q187pxxd.js} +0 -0
  115. /package/dist/chunks/{fetch-q4bn6dy8.js → handlers-q4bn6dy8.js} +0 -0
  116. /package/dist/chunks/{fetch-smaf4a18.js → handlers-smaf4a18.js} +0 -0
  117. /package/dist/chunks/{fetch-xthc02cw.js → handlers-xthc02cw.js} +0 -0
  118. /package/dist/chunks/{fetch-yc7nft6q.js → handlers-yc7nft6q.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-9c4eyh8m.js";
3
+ } from "./handlers-0e81et3m.js";
4
4
 
5
5
  // src/handlers/config.ts
6
6
  import { Config } from "@opencode/core/config";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./fetch-9rqn6x4v.js";
3
+ } from "./handlers-9rqn6x4v.js";
4
4
 
5
5
  // src/auth.ts
6
6
  var exports_auth = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./fetch-smaf4a18.js";
3
+ } from "./handlers-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./fetch-gqq6kfhc.js";
8
+ } from "./handlers-50bbk3b2.js";
9
9
  import {
10
10
  Api2
11
- } from "./fetch-9c4eyh8m.js";
11
+ } from "./handlers-0e81et3m.js";
12
12
 
13
13
  // src/handlers/permission.ts
14
14
  import { Instance } from "@opencode/core/instance/service";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  missingSession2,
3
3
  failedMessageDecode2
4
- } from "./fetch-smaf4a18.js";
4
+ } from "./handlers-smaf4a18.js";
5
5
  import {
6
6
  Api2
7
- } from "./fetch-9c4eyh8m.js";
7
+ } from "./handlers-0e81et3m.js";
8
8
  import {
9
9
  wantsMediaRefs2
10
- } from "./fetch-xthc02cw.js";
10
+ } from "./handlers-xthc02cw.js";
11
11
 
12
12
  // src/handlers/message.ts
13
13
  import { SessionMessage } from "@opencode/core/session/message";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  isAllowedRequestOrigin2
3
- } from "./fetch-q4bn6dy8.js";
3
+ } from "./handlers-q4bn6dy8.js";
4
4
  import {
5
5
  __export
6
- } from "./fetch-9rqn6x4v.js";
6
+ } from "./handlers-9rqn6x4v.js";
7
7
 
8
8
  // src/request-site.ts
9
9
  var exports_request_site = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./fetch-9rqn6x4v.js";
3
+ } from "./handlers-9rqn6x4v.js";
4
4
 
5
5
  // src/pairing.ts
6
6
  var exports_pairing = {};
7
7
  __export(exports_pairing, {
8
8
  ServerPairing: () => exports_pairing,
9
- Service: () => 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 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./fetch-smaf4a18.js";
3
+ } from "./handlers-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  requestRef2
8
- } from "./fetch-gqq6kfhc.js";
8
+ } from "./handlers-50bbk3b2.js";
9
9
 
10
10
  // src/handlers/artifact.ts
11
11
  import { Artifact } from "@opencode/core/artifact";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-9c4eyh8m.js";
3
+ } from "./handlers-0e81et3m.js";
4
4
  import {
5
5
  SESSION_TTL_SECONDS2,
6
6
  Config2,
7
7
  issueSession2,
8
8
  sessionCookieName2
9
- } from "./fetch-j4at0y5c.js";
10
- import {
11
- Service2
12
- } from "./fetch-z3e7v67k.js";
9
+ } from "./handlers-j4at0y5c.js";
13
10
  import {
14
11
  Service3
15
- } from "./fetch-w9jcwh65.js";
12
+ } from "./handlers-3te71694.js";
13
+ import {
14
+ Service4
15
+ } from "./handlers-mzs0n5xz.js";
16
16
 
17
17
  // src/handlers/server.ts
18
18
  import { hostname } from "node:os";
@@ -22,10 +22,10 @@ import { HttpApiBuilder } from "effect/http-api";
22
22
  import { PersistentPty } from "@opencode/core/persistent-pty";
23
23
  import { UnauthorizedError } from "@opencode/protocol/errors";
24
24
  var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => Effect.gen(function* () {
25
- const pairing = yield* Service3;
25
+ const pairing = yield* Service4;
26
26
  const auth = yield* Config2;
27
27
  return handlers.handle("server.info", () => Effect.gen(function* () {
28
- const info = yield* Service2;
28
+ const info = yield* Service3;
29
29
  return {
30
30
  version: info.app.version ?? "unknown",
31
31
  pid: process.pid ?? 0,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./handlers-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-9c4eyh8m.js";
6
+ } from "./handlers-0e81et3m.js";
7
7
 
8
8
  // src/handlers/skill.ts
9
9
  import { Skill } from "@opencode/core/skill";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./handlers-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-9c4eyh8m.js";
6
+ } from "./handlers-0e81et3m.js";
7
7
 
8
8
  // src/handlers/reference.ts
9
9
  import { Reference } from "@opencode/core/reference";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./fetch-9rqn6x4v.js";
3
+ } from "./handlers-9rqn6x4v.js";
4
4
 
5
5
  // src/content-headers.ts
6
6
  var exports_content_headers = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-9c4eyh8m.js";
3
+ } from "./handlers-0e81et3m.js";
4
4
  import {
5
5
  requireConnectable2
6
- } from "./fetch-r3h1014p.js";
6
+ } from "./handlers-2pbbrzpp.js";
7
7
 
8
8
  // src/handlers/credential.ts
9
9
  import { Credential } from "@opencode/core/credential";
@@ -1,36 +1,36 @@
1
1
  import {
2
- layer3
3
- } from "./fetch-gqq6kfhc.js";
2
+ layer4
3
+ } from "./handlers-50bbk3b2.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./fetch-gk0yxcp6.js";
6
+ } from "./handlers-htyf2qs7.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./fetch-yet0vexm.js";
9
+ } from "./handlers-b3bmdkga.js";
10
10
  import {
11
11
  Api2
12
- } from "./fetch-9c4eyh8m.js";
12
+ } from "./handlers-0e81et3m.js";
13
13
  import {
14
14
  Config2
15
- } from "./fetch-j4at0y5c.js";
15
+ } from "./handlers-j4at0y5c.js";
16
16
  import {
17
17
  CorsConfig2
18
- } from "./fetch-q4bn6dy8.js";
18
+ } from "./handlers-q4bn6dy8.js";
19
19
  import {
20
- layer2
21
- } from "./fetch-z3e7v67k.js";
20
+ layer3
21
+ } from "./handlers-3te71694.js";
22
22
  import {
23
23
  node2
24
- } from "./fetch-w9jcwh65.js";
24
+ } from "./handlers-mzs0n5xz.js";
25
25
  import {
26
26
  handlers2
27
- } from "./fetch-vnxz2wk5.js";
27
+ } from "./handlers-abep4aab.js";
28
28
  import {
29
29
  authorizationLayer2
30
- } from "./fetch-7b9xm1qg.js";
30
+ } from "./handlers-7b9xm1qg.js";
31
31
  import {
32
32
  schemaErrorLayer2
33
- } from "./fetch-bd8755ek.js";
33
+ } from "./handlers-bd8755ek.js";
34
34
 
35
35
  // src/routes.ts
36
36
  import { Database } from "@opencode/core/database/database";
@@ -157,8 +157,8 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
157
157
  })) : build(overrides);
158
158
  return serviceLayer.pipe(Layer.flatMap((context) => {
159
159
  const services = Layer.succeedContext(context);
160
- const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer2(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
161
- const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(layer3), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
160
+ const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer3(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
161
+ const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(layer4), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
162
162
  return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
163
163
  }));
164
164
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./handlers-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-9c4eyh8m.js";
6
+ } from "./handlers-0e81et3m.js";
7
7
 
8
8
  // src/handlers/form.ts
9
9
  import { Form } from "@opencode/core/form";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./handlers-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-9c4eyh8m.js";
6
+ } from "./handlers-0e81et3m.js";
7
7
 
8
8
  // src/handlers/plugin.ts
9
9
  import { Plugin } from "@opencode/core/plugin";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  isAllowedCorsOrigin2
3
- } from "./fetch-q4bn6dy8.js";
3
+ } from "./handlers-q4bn6dy8.js";
4
4
  import {
5
5
  middleware2
6
- } from "./fetch-myqk22k5.js";
6
+ } from "./handlers-myqk22k5.js";
7
7
  import {
8
8
  withoutParentSpan2
9
- } from "./fetch-yc7nft6q.js";
9
+ } from "./handlers-yc7nft6q.js";
10
10
  import {
11
11
  createRoutes2
12
- } from "./fetch-yz5gdnh9.js";
12
+ } from "./handlers-v3z8da39.js";
13
13
  import {
14
14
  __export
15
- } from "./fetch-9rqn6x4v.js";
15
+ } from "./handlers-9rqn6x4v.js";
16
16
 
17
17
  // src/fetch.ts
18
18
  var exports_fetch = {};
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./fetch-gqq6kfhc.js";
5
+ } from "./handlers-50bbk3b2.js";
6
6
  import {
7
7
  Api2
8
- } from "./fetch-9c4eyh8m.js";
8
+ } from "./handlers-0e81et3m.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./fetch-q4bn6dy8.js";
12
+ } from "./handlers-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./fetch-q187pxxd.js";
16
+ } from "./handlers-q187pxxd.js";
17
17
 
18
18
  // src/handlers/pty.ts
19
19
  import { Pty } from "@opencode/core/pty";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  response2
3
- } from "./fetch-gqq6kfhc.js";
3
+ } from "./handlers-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./fetch-9c4eyh8m.js";
6
+ } from "./handlers-0e81et3m.js";
7
7
  import {
8
8
  download2
9
- } from "./fetch-t32e1bbt.js";
9
+ } from "./handlers-t32e1bbt.js";
10
10
 
11
11
  // src/handlers/fs.ts
12
12
  import { FileSystem } from "@opencode/core/filesystem";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-9c4eyh8m.js";
3
+ } from "./handlers-0e81et3m.js";
4
4
 
5
5
  // src/handlers/migration.ts
6
6
  import { V1Migration } from "@opencode/core/database/v1-migration";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-9c4eyh8m.js";
3
+ } from "./handlers-0e81et3m.js";
4
4
  import {
5
5
  CorsConfig2,
6
6
  isAllowedRequestOrigin2
7
- } from "./fetch-q4bn6dy8.js";
7
+ } from "./handlers-q4bn6dy8.js";
8
8
  import {
9
9
  makeArtifact2
10
- } from "./fetch-w5yp0ga8.js";
10
+ } from "./handlers-p86kew8c.js";
11
11
  import {
12
12
  makeJob2
13
- } from "./fetch-78rcgzsr.js";
13
+ } from "./handlers-78rcgzsr.js";
14
14
  import {
15
15
  makeMediaGet2
16
- } from "./fetch-djr0jy89.js";
16
+ } from "./handlers-djr0jy89.js";
17
17
  import {
18
18
  runPtySocket2
19
- } from "./fetch-q187pxxd.js";
19
+ } from "./handlers-q187pxxd.js";
20
20
  import {
21
21
  makeSchedule2
22
- } from "./fetch-059rbh9c.js";
22
+ } from "./handlers-059rbh9c.js";
23
23
 
24
24
  // src/handlers/persistent-pty.ts
25
25
  import { PersistentPty } from "@opencode/core/persistent-pty";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./fetch-9c4eyh8m.js";
3
+ } from "./handlers-0e81et3m.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -3,7 +3,7 @@ import {
3
3
  download2,
4
4
  disposition2,
5
5
  exports_content_headers
6
- } from "./chunks/fetch-t32e1bbt.js";
6
+ } from "./chunks/handlers-t32e1bbt.js";
7
7
  export {
8
8
  CONTENT_SECURITY_POLICY2 as CONTENT_SECURITY_POLICY,
9
9
  exports_content_headers as ContentHeaders,
package/dist/cors.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  CorsConfig2,
3
3
  isAllowedCorsOrigin2,
4
4
  isAllowedRequestOrigin2
5
- } from "./chunks/fetch-q4bn6dy8.js";
5
+ } from "./chunks/handlers-q4bn6dy8.js";
6
6
  export {
7
7
  CorsConfig2 as CorsConfig,
8
8
  isAllowedCorsOrigin2 as isAllowedCorsOrigin,
@@ -2,19 +2,19 @@ import {
2
2
  SubscriberCapacity2,
3
3
  SubscriberOverflowError2,
4
4
  EncodingError2,
5
- Service4,
5
+ Service2,
6
6
  frame2,
7
- make4,
8
- layer4,
7
+ make3,
8
+ layer2,
9
9
  exports_event_feed
10
- } from "./chunks/fetch-wecgp61r.js";
10
+ } from "./chunks/handlers-e0ppd0jy.js";
11
11
  export {
12
12
  EncodingError2 as EncodingError,
13
13
  exports_event_feed as EventFeed,
14
- Service4 as Service,
14
+ Service2 as Service,
15
15
  SubscriberCapacity2 as SubscriberCapacity,
16
16
  SubscriberOverflowError2 as SubscriberOverflowError,
17
17
  frame2 as frame,
18
- layer4 as layer,
19
- make4 as make
18
+ layer2 as layer,
19
+ make3 as make
20
20
  };
package/dist/fetch.js CHANGED
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  make2,
3
3
  exports_fetch
4
- } from "./chunks/fetch-j63pjt70.js";
5
- import"./chunks/fetch-yz5gdnh9.js";
6
- import"./chunks/fetch-7b9xm1qg.js";
7
- import"./chunks/fetch-bd8755ek.js";
8
- import"./chunks/fetch-vnxz2wk5.js";
9
- import"./chunks/fetch-2zae1x1e.js";
10
- import"./chunks/fetch-c6sjpm0r.js";
11
- import"./chunks/fetch-b0sezs8j.js";
12
- import"./chunks/fetch-22wspztn.js";
13
- import"./chunks/fetch-0yfmg3wn.js";
14
- import"./chunks/fetch-dk68ymtv.js";
15
- import"./chunks/fetch-hax1v4bv.js";
16
- import"./chunks/fetch-z7gkfgax.js";
17
- import"./chunks/fetch-0a5jm2na.js";
18
- import"./chunks/fetch-452na7zm.js";
19
- import"./chunks/fetch-r3h1014p.js";
20
- import"./chunks/fetch-yr4wsvrw.js";
21
- import"./chunks/fetch-b2k9041j.js";
22
- import"./chunks/fetch-m5rae7m4.js";
23
- import"./chunks/fetch-6vs5sqy6.js";
24
- import"./chunks/fetch-1je14sn4.js";
25
- import"./chunks/fetch-e9906t2e.js";
26
- import"./chunks/fetch-ppma8fcc.js";
27
- import"./chunks/fetch-41yet3w7.js";
28
- import"./chunks/fetch-np3ws677.js";
29
- import"./chunks/fetch-x8dgc261.js";
30
- import"./chunks/fetch-2wz1xhk3.js";
31
- import"./chunks/fetch-z59gyc0x.js";
32
- import"./chunks/fetch-qn8kkfq6.js";
33
- import"./chunks/fetch-xpwax711.js";
34
- import"./chunks/fetch-e46y0tfd.js";
35
- import"./chunks/fetch-h072q2hm.js";
36
- import"./chunks/fetch-tnw32gv7.js";
37
- import"./chunks/fetch-wxj3d9av.js";
38
- import"./chunks/fetch-sf85r6vp.js";
39
- import"./chunks/fetch-8a6jan95.js";
40
- import"./chunks/fetch-78rcgzsr.js";
41
- import"./chunks/fetch-059rbh9c.js";
42
- import"./chunks/fetch-djr0jy89.js";
43
- import"./chunks/fetch-q187pxxd.js";
44
- import"./chunks/fetch-w5yp0ga8.js";
45
- import"./chunks/fetch-t32e1bbt.js";
46
- import"./chunks/fetch-4vqvqsgg.js";
47
- import"./chunks/fetch-z3e7v67k.js";
48
- import"./chunks/fetch-9c4eyh8m.js";
49
- import"./chunks/fetch-yet0vexm.js";
50
- import"./chunks/fetch-gk0yxcp6.js";
51
- import"./chunks/fetch-xthc02cw.js";
52
- import"./chunks/fetch-myqk22k5.js";
53
- import"./chunks/fetch-q4bn6dy8.js";
54
- import"./chunks/fetch-yc7nft6q.js";
55
- import"./chunks/fetch-gqq6kfhc.js";
56
- import"./chunks/fetch-smaf4a18.js";
57
- import"./chunks/fetch-w9jcwh65.js";
58
- import"./chunks/fetch-j4at0y5c.js";
59
- import"./chunks/fetch-wecgp61r.js";
4
+ } from "./chunks/handlers-vfb4124r.js";
5
+ import"./chunks/handlers-yc7nft6q.js";
6
+ import"./chunks/handlers-v3z8da39.js";
7
+ import"./chunks/handlers-7b9xm1qg.js";
8
+ import"./chunks/handlers-bd8755ek.js";
9
+ import"./chunks/handlers-abep4aab.js";
10
+ import"./chunks/handlers-x4b2rtcb.js";
11
+ import"./chunks/handlers-0j6zxxn8.js";
12
+ import"./chunks/handlers-wq29mwx6.js";
13
+ import"./chunks/handlers-pxx342gc.js";
14
+ import"./chunks/handlers-vbgqk0mr.js";
15
+ import"./chunks/handlers-f8r9p2vr.js";
16
+ import"./chunks/handlers-b4mqtccx.js";
17
+ import"./chunks/handlers-dezpcckc.js";
18
+ import"./chunks/handlers-kg0ybx4v.js";
19
+ import"./chunks/handlers-s9tkswmw.js";
20
+ import"./chunks/handlers-h1thjy6x.js";
21
+ import"./chunks/handlers-q44yktpv.js";
22
+ import"./chunks/handlers-dz2mkdr7.js";
23
+ import"./chunks/handlers-v8aqacn3.js";
24
+ import"./chunks/handlers-zbe9jfhy.js";
25
+ import"./chunks/handlers-m119esdv.js";
26
+ import"./chunks/handlers-861wfsmy.js";
27
+ import"./chunks/handlers-4p2y0qs3.js";
28
+ import"./chunks/handlers-gsj0w1r0.js";
29
+ import"./chunks/handlers-feabp8g5.js";
30
+ import"./chunks/handlers-z4epy6e4.js";
31
+ import"./chunks/handlers-djr0jy89.js";
32
+ import"./chunks/handlers-78rcgzsr.js";
33
+ import"./chunks/handlers-059rbh9c.js";
34
+ import"./chunks/handlers-q187pxxd.js";
35
+ import"./chunks/handlers-wxz0ndy0.js";
36
+ import"./chunks/handlers-d8b9pm2q.js";
37
+ import"./chunks/handlers-05c5061t.js";
38
+ import"./chunks/handlers-dx89xydc.js";
39
+ import"./chunks/handlers-hx8bsq9d.js";
40
+ import"./chunks/handlers-t32e1bbt.js";
41
+ import"./chunks/handlers-et00mhwf.js";
42
+ import"./chunks/handlers-9grnt8dc.js";
43
+ import"./chunks/handlers-p86kew8c.js";
44
+ import"./chunks/handlers-tk56ffsq.js";
45
+ import"./chunks/handlers-2pbbrzpp.js";
46
+ import"./chunks/handlers-h286a6py.js";
47
+ import"./chunks/handlers-4ed680xg.js";
48
+ import"./chunks/handlers-j4at0y5c.js";
49
+ import"./chunks/handlers-e0ppd0jy.js";
50
+ import"./chunks/handlers-3te71694.js";
51
+ import"./chunks/handlers-xthc02cw.js";
52
+ import"./chunks/handlers-mzs0n5xz.js";
53
+ import"./chunks/handlers-0e81et3m.js";
54
+ import"./chunks/handlers-b3bmdkga.js";
55
+ import"./chunks/handlers-htyf2qs7.js";
56
+ import"./chunks/handlers-50bbk3b2.js";
57
+ import"./chunks/handlers-smaf4a18.js";
58
+ import"./chunks/handlers-myqk22k5.js";
59
+ import"./chunks/handlers-q4bn6dy8.js";
60
60
  export {
61
61
  exports_fetch as ServerFetch,
62
62
  make2 as make
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  AgentHandler2
3
- } from "../chunks/fetch-np3ws677.js";
4
- import"../chunks/fetch-9c4eyh8m.js";
5
- import"../chunks/fetch-yet0vexm.js";
6
- import"../chunks/fetch-gk0yxcp6.js";
7
- import"../chunks/fetch-gqq6kfhc.js";
8
- import"../chunks/fetch-smaf4a18.js";
3
+ } from "../chunks/handlers-dezpcckc.js";
4
+ import"../chunks/handlers-0e81et3m.js";
5
+ import"../chunks/handlers-b3bmdkga.js";
6
+ import"../chunks/handlers-htyf2qs7.js";
7
+ import"../chunks/handlers-50bbk3b2.js";
8
+ import"../chunks/handlers-smaf4a18.js";
9
9
  export {
10
10
  AgentHandler2 as AgentHandler
11
11
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  makeArtifact2
3
- } from "../chunks/fetch-w5yp0ga8.js";
4
- import"../chunks/fetch-gqq6kfhc.js";
5
- import"../chunks/fetch-smaf4a18.js";
3
+ } from "../chunks/handlers-p86kew8c.js";
4
+ import"../chunks/handlers-50bbk3b2.js";
5
+ import"../chunks/handlers-smaf4a18.js";
6
6
  export {
7
7
  makeArtifact2 as makeArtifact
8
8
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  CommandHandler2
3
- } from "../chunks/fetch-z59gyc0x.js";
4
- import"../chunks/fetch-9c4eyh8m.js";
5
- import"../chunks/fetch-yet0vexm.js";
6
- import"../chunks/fetch-gk0yxcp6.js";
7
- import"../chunks/fetch-gqq6kfhc.js";
8
- import"../chunks/fetch-smaf4a18.js";
3
+ } from "../chunks/handlers-b4mqtccx.js";
4
+ import"../chunks/handlers-0e81et3m.js";
5
+ import"../chunks/handlers-b3bmdkga.js";
6
+ import"../chunks/handlers-htyf2qs7.js";
7
+ import"../chunks/handlers-50bbk3b2.js";
8
+ import"../chunks/handlers-smaf4a18.js";
9
9
  export {
10
10
  CommandHandler2 as CommandHandler
11
11
  };