@opencode/server 0.0.0-dev-1153 → 0.0.0-dev-1155

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/{handlers-059rbh9c.js → cors-059rbh9c.js} +1 -1
  4. package/dist/chunks/{handlers-4p2y0qs3.js → cors-0a5jm2na.js} +2 -2
  5. package/dist/chunks/{handlers-x4b2rtcb.js → cors-1je14sn4.js} +1 -1
  6. package/dist/chunks/{handlers-f8r9p2vr.js → cors-22wspztn.js} +2 -2
  7. package/dist/chunks/{handlers-58n429bk.js → cors-27hs38qv.js} +3 -3
  8. package/dist/chunks/{handlers-ev2taemj.js → cors-2esaj2qy.js} +33 -33
  9. package/dist/chunks/{handlers-dz2mkdr7.js → cors-34xzc0ha.js} +4 -4
  10. package/dist/chunks/{handlers-e6e4kz0w.js → cors-39nnfjx1.js} +4 -4
  11. package/dist/chunks/{handlers-fvpjvjpp.js → cors-3p9jwgak.js} +6 -6
  12. package/dist/chunks/{handlers-861wfsmy.js → cors-41yet3w7.js} +1 -1
  13. package/dist/chunks/{handlers-tk56ffsq.js → cors-452na7zm.js} +2 -2
  14. package/dist/chunks/{handlers-feabp8g5.js → cors-4d0zahrw.js} +4 -4
  15. package/dist/chunks/{handlers-h286a6py.js → cors-4vqvqsgg.js} +2 -2
  16. package/dist/chunks/{handlers-q44yktpv.js → cors-6vs5sqy6.js} +2 -2
  17. package/dist/chunks/{handlers-78rcgzsr.js → cors-78rcgzsr.js} +1 -1
  18. package/dist/chunks/{handlers-7b9xm1qg.js → cors-7b9xm1qg.js} +1 -1
  19. package/dist/chunks/{handlers-3te71694.js → cors-7dtbad8d.js} +7 -7
  20. package/dist/chunks/{handlers-wq29mwx6.js → cors-84dqjc6j.js} +4 -4
  21. package/dist/chunks/{handlers-0e81et3m.js → cors-9c4eyh8m.js} +3 -3
  22. package/dist/chunks/{handlers-4ed680xg.js → cors-b0sezs8j.js} +2 -2
  23. package/dist/chunks/{handlers-hx8bsq9d.js → cors-b2k9041j.js} +1 -1
  24. package/dist/chunks/{handlers-pxx342gc.js → cors-b3wfbnx1.js} +8 -8
  25. package/dist/chunks/{handlers-yspq6mns.js → cors-bfbcedgc.js} +15 -15
  26. package/dist/chunks/{handlers-0j6zxxn8.js → cors-c6sjpm0r.js} +2 -2
  27. package/dist/chunks/{handlers-djr0jy89.js → cors-djr0jy89.js} +1 -1
  28. package/dist/chunks/{handlers-05c5061t.js → cors-dk68ymtv.js} +1 -1
  29. package/dist/chunks/{handlers-dx89xydc.js → cors-e46y0tfd.js} +2 -2
  30. package/dist/chunks/{handlers-0h34b0f1.js → cors-fxef0zrv.js} +8 -8
  31. package/dist/chunks/{handlers-htyf2qs7.js → cors-gk0yxcp6.js} +1 -1
  32. package/dist/chunks/{handlers-50bbk3b2.js → cors-gqq6kfhc.js} +3 -3
  33. package/dist/chunks/{handlers-zbe9jfhy.js → cors-h072q2hm.js} +1 -1
  34. package/dist/chunks/{handlers-9grnt8dc.js → cors-hax1v4bv.js} +2 -2
  35. package/dist/chunks/{handlers-j4at0y5c.js → cors-j4at0y5c.js} +1 -1
  36. package/dist/chunks/{handlers-mzs0n5xz.js → cors-kqr36gas.js} +7 -7
  37. package/dist/chunks/{handlers-v8aqacn3.js → cors-m5rae7m4.js} +2 -2
  38. package/dist/chunks/{handlers-myqk22k5.js → cors-myqk22k5.js} +2 -2
  39. package/dist/chunks/{handlers-dezpcckc.js → cors-np3ws677.js} +2 -2
  40. package/dist/chunks/{handlers-kg0ybx4v.js → cors-ppma8fcc.js} +3 -3
  41. package/dist/chunks/{handlers-vbgqk0mr.js → cors-qn8kkfq6.js} +2 -2
  42. package/dist/chunks/{handlers-2pbbrzpp.js → cors-r3h1014p.js} +2 -2
  43. package/dist/chunks/{handlers-fq2pk4yf.js → cors-spjnshqr.js} +7 -7
  44. package/dist/chunks/{handlers-t32e1bbt.js → cors-t32e1bbt.js} +1 -1
  45. package/dist/chunks/{handlers-p86kew8c.js → cors-w5yp0ga8.js} +2 -2
  46. package/dist/chunks/{handlers-et00mhwf.js → cors-wxj3d9av.js} +2 -2
  47. package/dist/chunks/{handlers-h1thjy6x.js → cors-x8dgc261.js} +2 -2
  48. package/dist/chunks/{handlers-b3bmdkga.js → cors-yet0vexm.js} +1 -1
  49. package/dist/chunks/{handlers-7nb2rv11.js → cors-yptm36x2.js} +4 -4
  50. package/dist/chunks/{handlers-s9tkswmw.js → cors-yr4wsvrw.js} +2 -2
  51. package/dist/chunks/{handlers-b4mqtccx.js → cors-z59gyc0x.js} +2 -2
  52. package/dist/chunks/{handlers-d8b9pm2q.js → cors-z7gkfgax.js} +1 -1
  53. package/dist/chunks/{handlers-m119esdv.js → cors-zgt2tacv.js} +3 -3
  54. package/dist/content-headers.js +1 -1
  55. package/dist/cors.js +1 -1
  56. package/dist/event-feed.js +3 -3
  57. package/dist/fetch.js +58 -58
  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 +59 -59
  111. package/package.json +8 -8
  112. /package/dist/chunks/{handlers-9rqn6x4v.js → cors-9rqn6x4v.js} +0 -0
  113. /package/dist/chunks/{handlers-bd8755ek.js → cors-bd8755ek.js} +0 -0
  114. /package/dist/chunks/{handlers-q187pxxd.js → cors-q187pxxd.js} +0 -0
  115. /package/dist/chunks/{handlers-q4bn6dy8.js → cors-q4bn6dy8.js} +0 -0
  116. /package/dist/chunks/{handlers-smaf4a18.js → cors-smaf4a18.js} +0 -0
  117. /package/dist/chunks/{handlers-xthc02cw.js → cors-xthc02cw.js} +0 -0
  118. /package/dist/chunks/{handlers-yc7nft6q.js → cors-yc7nft6q.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  isAllowedCorsOrigin2
3
- } from "./handlers-q4bn6dy8.js";
3
+ } from "./cors-q4bn6dy8.js";
4
4
  import {
5
5
  middleware2
6
- } from "./handlers-myqk22k5.js";
6
+ } from "./cors-myqk22k5.js";
7
7
  import {
8
8
  withoutParentSpan2
9
- } from "./handlers-yc7nft6q.js";
9
+ } from "./cors-yc7nft6q.js";
10
10
  import {
11
11
  createRoutes2
12
- } from "./handlers-yspq6mns.js";
12
+ } from "./cors-bfbcedgc.js";
13
13
  import {
14
14
  __export
15
- } from "./handlers-9rqn6x4v.js";
15
+ } from "./cors-9rqn6x4v.js";
16
16
 
17
17
  // src/fetch.ts
18
18
  var exports_fetch = {};
19
19
  __export(exports_fetch, {
20
20
  ServerFetch: () => exports_fetch,
21
- make: () => make2
21
+ make: () => make3
22
22
  });
23
23
  import { Context, Effect, Layer } from "effect";
24
24
  import { HttpEffect, HttpMiddleware, HttpRouter, HttpServer } from "effect/http";
25
25
  import { SessionRestart } from "@opencode/core/session/execution/restart";
26
- var make2 = Effect.fn("ServerFetch.make")(function* (options = {}, boot = {}) {
26
+ var make3 = Effect.fn("ServerFetch.make")(function* (options = {}, boot = {}) {
27
27
  const context = yield* Layer.build(createRoutes2(options, () => [], boot.overrides ?? []).pipe(Layer.provide(HttpServer.layerServices))).pipe(withoutParentSpan2);
28
28
  yield* Effect.forkDetach(Context.get(context, SessionRestart.Service).resumeSuspendedSessions);
29
29
  return Context.get(context, HttpRouter.HttpRouter).asHttpEffect().pipe(middleware2(options), HttpMiddleware.cors({ allowedOrigins: (origin) => isAllowedCorsOrigin2(origin, options), maxAge: 86400 }), HttpEffect.toWebHandlerWith(context));
30
30
  });
31
31
 
32
- export { make2, exports_fetch };
32
+ export { make3, exports_fetch };
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./handlers-50bbk3b2.js";
5
+ } from "./cors-gqq6kfhc.js";
6
6
 
7
7
  // src/middleware/form-location.ts
8
8
  import { Instance } from "@opencode/core/instance/service";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./handlers-smaf4a18.js";
3
+ } from "./cors-smaf4a18.js";
4
4
 
5
5
  // src/location.ts
6
6
  import { FileSystem } from "@opencode/core/filesystem";
@@ -59,7 +59,7 @@ function decode(input) {
59
59
  return input;
60
60
  }
61
61
  }
62
- var layer4 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
62
+ var layer3 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
63
63
  const locations = yield* LocationServiceMap.Service;
64
64
  return LocationMiddleware2.of((effect) => Effect.gen(function* () {
65
65
  const request = yield* HttpServerRequest.HttpServerRequest;
@@ -67,4 +67,4 @@ var layer4 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
67
67
  }));
68
68
  }));
69
69
 
70
- export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2, layer4 };
70
+ export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2, layer3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./handlers-0e81et3m.js";
3
+ } from "./cors-9c4eyh8m.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./handlers-50bbk3b2.js";
4
+ } from "./cors-gqq6kfhc.js";
5
5
  import {
6
6
  Api2
7
- } from "./handlers-0e81et3m.js";
7
+ } from "./cors-9c4eyh8m.js";
8
8
 
9
9
  // src/handlers/provider.ts
10
10
  import { Provider } from "@opencode/core/provider";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./handlers-9rqn6x4v.js";
3
+ } from "./cors-9rqn6x4v.js";
4
4
 
5
5
  // src/auth.ts
6
6
  var exports_auth = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./handlers-9rqn6x4v.js";
3
+ } from "./cors-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: () => Service4,
9
+ Service: () => Service2,
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 Service4 extends Context.Service()("@opencode/ServerPairing") {
17
+ class Service2 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(Service4, Effect.gen(function* () {
20
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
21
21
  const cache = yield* Cache.make({ capacity: 1000, lookup: noLookup, timeToLive: TTL });
22
- return Service4.of({
22
+ return Service2.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(Service4, Effect.gen(function* () {
30
30
  })
31
31
  });
32
32
  }));
33
- var node2 = makeGlobalNode({ service: Service4, layer, deps: [] });
33
+ var node2 = makeGlobalNode({ service: Service2, layer, deps: [] });
34
34
 
35
- export { Service4, node2, exports_pairing };
35
+ export { Service2, node2, exports_pairing };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./handlers-50bbk3b2.js";
3
+ } from "./cors-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./handlers-0e81et3m.js";
6
+ } from "./cors-9c4eyh8m.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
  isAllowedRequestOrigin2
3
- } from "./handlers-q4bn6dy8.js";
3
+ } from "./cors-q4bn6dy8.js";
4
4
  import {
5
5
  __export
6
- } from "./handlers-9rqn6x4v.js";
6
+ } from "./cors-9rqn6x4v.js";
7
7
 
8
8
  // src/request-site.ts
9
9
  var exports_request_site = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./handlers-50bbk3b2.js";
3
+ } from "./cors-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./handlers-0e81et3m.js";
6
+ } from "./cors-9c4eyh8m.js";
7
7
 
8
8
  // src/handlers/agent.ts
9
9
  import { Agent } from "@opencode/core/agent";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./handlers-smaf4a18.js";
3
+ } from "./cors-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./handlers-50bbk3b2.js";
8
+ } from "./cors-gqq6kfhc.js";
9
9
  import {
10
10
  Api2
11
- } from "./handlers-0e81et3m.js";
11
+ } from "./cors-9c4eyh8m.js";
12
12
 
13
13
  // src/handlers/permission.ts
14
14
  import { Instance } from "@opencode/core/instance/service";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./handlers-50bbk3b2.js";
3
+ } from "./cors-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./handlers-0e81et3m.js";
6
+ } from "./cors-9c4eyh8m.js";
7
7
 
8
8
  // src/handlers/plugin.ts
9
9
  import { Plugin } from "@opencode/core/plugin";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./handlers-50bbk3b2.js";
3
+ } from "./cors-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./handlers-0e81et3m.js";
6
+ } from "./cors-9c4eyh8m.js";
7
7
 
8
8
  // src/handlers/integration.ts
9
9
  import { Integration } from "@opencode/core/integration";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Api2
3
- } from "./handlers-0e81et3m.js";
3
+ } from "./cors-9c4eyh8m.js";
4
4
  import {
5
5
  CorsConfig2,
6
6
  isAllowedRequestOrigin2
7
- } from "./handlers-q4bn6dy8.js";
7
+ } from "./cors-q4bn6dy8.js";
8
8
  import {
9
9
  makeArtifact2
10
- } from "./handlers-p86kew8c.js";
10
+ } from "./cors-w5yp0ga8.js";
11
11
  import {
12
12
  makeJob2
13
- } from "./handlers-78rcgzsr.js";
13
+ } from "./cors-78rcgzsr.js";
14
14
  import {
15
15
  makeMediaGet2
16
- } from "./handlers-djr0jy89.js";
16
+ } from "./cors-djr0jy89.js";
17
17
  import {
18
18
  runPtySocket2
19
- } from "./handlers-q187pxxd.js";
19
+ } from "./cors-q187pxxd.js";
20
20
  import {
21
21
  makeSchedule2
22
- } from "./handlers-059rbh9c.js";
22
+ } from "./cors-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
  __export
3
- } from "./handlers-9rqn6x4v.js";
3
+ } from "./cors-9rqn6x4v.js";
4
4
 
5
5
  // src/content-headers.ts
6
6
  var exports_content_headers = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./handlers-smaf4a18.js";
3
+ } from "./cors-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  requestRef2
8
- } from "./handlers-50bbk3b2.js";
8
+ } from "./cors-gqq6kfhc.js";
9
9
 
10
10
  // src/handlers/artifact.ts
11
11
  import { Artifact } from "@opencode/core/artifact";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  awaitPlugins2
4
- } from "./handlers-50bbk3b2.js";
4
+ } from "./cors-gqq6kfhc.js";
5
5
  import {
6
6
  Api2
7
- } from "./handlers-0e81et3m.js";
7
+ } from "./cors-9c4eyh8m.js";
8
8
 
9
9
  // src/handlers/voice.ts
10
10
  import { Location } from "@opencode/core/location";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  requestRef2
3
- } from "./handlers-50bbk3b2.js";
3
+ } from "./cors-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./handlers-0e81et3m.js";
6
+ } from "./cors-9c4eyh8m.js";
7
7
 
8
8
  // src/handlers/debug.ts
9
9
  import { LocationServiceMap } from "@opencode/core/location-service-map";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  sessionInfo2
4
- } from "./handlers-50bbk3b2.js";
4
+ } from "./cors-gqq6kfhc.js";
5
5
 
6
6
  // src/middleware/session-location.ts
7
7
  import { Instance } from "@opencode/core/instance/service";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./handlers-0e81et3m.js";
3
+ } from "./cors-9c4eyh8m.js";
4
4
  import {
5
- Service2,
5
+ Service3,
6
6
  frame2
7
- } from "./handlers-fvpjvjpp.js";
7
+ } from "./cors-3p9jwgak.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/http";
13
13
  import { HttpApiBuilder } from "effect/http-api";
14
14
  var EventHandler2 = HttpApiBuilder.group(Api2, "server.event", (handlers) => Effect.gen(function* () {
15
- const feed = yield* Service2;
15
+ const feed = yield* Service3;
16
16
  return handlers.handleRaw("event.subscribe", (ctx) => Effect.gen(function* () {
17
17
  const connected = {
18
18
  id: Event.ID.create(),
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./handlers-50bbk3b2.js";
3
+ } from "./cors-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./handlers-0e81et3m.js";
6
+ } from "./cors-9c4eyh8m.js";
7
7
 
8
8
  // src/handlers/reference.ts
9
9
  import { Reference } from "@opencode/core/reference";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./handlers-50bbk3b2.js";
3
+ } from "./cors-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./handlers-0e81et3m.js";
6
+ } from "./cors-9c4eyh8m.js";
7
7
 
8
8
  // src/handlers/command.ts
9
9
  import { Command } from "@opencode/core/command";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./handlers-0e81et3m.js";
3
+ } from "./cors-9c4eyh8m.js";
4
4
 
5
5
  // src/handlers/rpc.ts
6
6
  import { Rpc } from "@opencode/core/rpc";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  missingSession2,
3
3
  failedMessageDecode2
4
- } from "./handlers-smaf4a18.js";
4
+ } from "./cors-smaf4a18.js";
5
5
  import {
6
6
  Api2
7
- } from "./handlers-0e81et3m.js";
7
+ } from "./cors-9c4eyh8m.js";
8
8
  import {
9
9
  wantsMediaRefs2
10
- } from "./handlers-xthc02cw.js";
10
+ } from "./cors-xthc02cw.js";
11
11
 
12
12
  // src/handlers/message.ts
13
13
  import { SessionMessage } from "@opencode/core/session/message";
@@ -3,7 +3,7 @@ import {
3
3
  download2,
4
4
  disposition2,
5
5
  exports_content_headers
6
- } from "./chunks/handlers-t32e1bbt.js";
6
+ } from "./chunks/cors-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/handlers-q4bn6dy8.js";
5
+ } from "./chunks/cors-q4bn6dy8.js";
6
6
  export {
7
7
  CorsConfig2 as CorsConfig,
8
8
  isAllowedCorsOrigin2 as isAllowedCorsOrigin,
@@ -2,16 +2,16 @@ import {
2
2
  SubscriberCapacity2,
3
3
  SubscriberOverflowError2,
4
4
  EncodingError2,
5
- Service2,
5
+ Service3,
6
6
  frame2,
7
7
  make4,
8
8
  layer2,
9
9
  exports_event_feed
10
- } from "./chunks/handlers-fvpjvjpp.js";
10
+ } from "./chunks/cors-3p9jwgak.js";
11
11
  export {
12
12
  EncodingError2 as EncodingError,
13
13
  exports_event_feed as EventFeed,
14
- Service2 as Service,
14
+ Service3 as Service,
15
15
  SubscriberCapacity2 as SubscriberCapacity,
16
16
  SubscriberOverflowError2 as SubscriberOverflowError,
17
17
  frame2 as frame,
package/dist/fetch.js CHANGED
@@ -1,63 +1,63 @@
1
1
  import {
2
- make2,
2
+ make3,
3
3
  exports_fetch
4
- } from "./chunks/handlers-0h34b0f1.js";
5
- import"./chunks/handlers-yc7nft6q.js";
6
- import"./chunks/handlers-yspq6mns.js";
7
- import"./chunks/handlers-7b9xm1qg.js";
8
- import"./chunks/handlers-bd8755ek.js";
9
- import"./chunks/handlers-ev2taemj.js";
10
- import"./chunks/handlers-fq2pk4yf.js";
11
- import"./chunks/handlers-d8b9pm2q.js";
12
- import"./chunks/handlers-vbgqk0mr.js";
13
- import"./chunks/handlers-f8r9p2vr.js";
14
- import"./chunks/handlers-feabp8g5.js";
15
- import"./chunks/handlers-h286a6py.js";
16
- import"./chunks/handlers-b4mqtccx.js";
17
- import"./chunks/handlers-4ed680xg.js";
18
- import"./chunks/handlers-7nb2rv11.js";
19
- import"./chunks/handlers-dezpcckc.js";
20
- import"./chunks/handlers-zbe9jfhy.js";
21
- import"./chunks/handlers-m119esdv.js";
22
- import"./chunks/handlers-4p2y0qs3.js";
23
- import"./chunks/handlers-v8aqacn3.js";
24
- import"./chunks/handlers-q44yktpv.js";
25
- import"./chunks/handlers-p86kew8c.js";
26
- import"./chunks/handlers-tk56ffsq.js";
27
- import"./chunks/handlers-dx89xydc.js";
28
- import"./chunks/handlers-s9tkswmw.js";
29
- import"./chunks/handlers-et00mhwf.js";
30
- import"./chunks/handlers-05c5061t.js";
31
- import"./chunks/handlers-dz2mkdr7.js";
32
- import"./chunks/handlers-9grnt8dc.js";
33
- import"./chunks/handlers-wq29mwx6.js";
34
- import"./chunks/handlers-q187pxxd.js";
35
- import"./chunks/handlers-58n429bk.js";
36
- import"./chunks/handlers-x4b2rtcb.js";
37
- import"./chunks/handlers-861wfsmy.js";
38
- import"./chunks/handlers-0j6zxxn8.js";
39
- import"./chunks/handlers-kg0ybx4v.js";
40
- import"./chunks/handlers-pxx342gc.js";
41
- import"./chunks/handlers-fvpjvjpp.js";
42
- import"./chunks/handlers-78rcgzsr.js";
43
- import"./chunks/handlers-h1thjy6x.js";
44
- import"./chunks/handlers-hx8bsq9d.js";
45
- import"./chunks/handlers-059rbh9c.js";
46
- import"./chunks/handlers-2pbbrzpp.js";
47
- import"./chunks/handlers-djr0jy89.js";
48
- import"./chunks/handlers-j4at0y5c.js";
49
- import"./chunks/handlers-3te71694.js";
50
- import"./chunks/handlers-xthc02cw.js";
51
- import"./chunks/handlers-mzs0n5xz.js";
52
- import"./chunks/handlers-0e81et3m.js";
53
- import"./chunks/handlers-b3bmdkga.js";
54
- import"./chunks/handlers-htyf2qs7.js";
55
- import"./chunks/handlers-50bbk3b2.js";
56
- import"./chunks/handlers-smaf4a18.js";
57
- import"./chunks/handlers-t32e1bbt.js";
58
- import"./chunks/handlers-myqk22k5.js";
59
- import"./chunks/handlers-q4bn6dy8.js";
4
+ } from "./chunks/cors-fxef0zrv.js";
5
+ import"./chunks/cors-myqk22k5.js";
6
+ import"./chunks/cors-bfbcedgc.js";
7
+ import"./chunks/cors-bd8755ek.js";
8
+ import"./chunks/cors-7b9xm1qg.js";
9
+ import"./chunks/cors-2esaj2qy.js";
10
+ import"./chunks/cors-zgt2tacv.js";
11
+ import"./chunks/cors-1je14sn4.js";
12
+ import"./chunks/cors-z59gyc0x.js";
13
+ import"./chunks/cors-np3ws677.js";
14
+ import"./chunks/cors-84dqjc6j.js";
15
+ import"./chunks/cors-452na7zm.js";
16
+ import"./chunks/cors-22wspztn.js";
17
+ import"./chunks/cors-c6sjpm0r.js";
18
+ import"./chunks/cors-e46y0tfd.js";
19
+ import"./chunks/cors-4vqvqsgg.js";
20
+ import"./chunks/cors-b2k9041j.js";
21
+ import"./chunks/cors-r3h1014p.js";
22
+ import"./chunks/cors-4d0zahrw.js";
23
+ import"./chunks/cors-h072q2hm.js";
24
+ import"./chunks/cors-b3wfbnx1.js";
25
+ import"./chunks/cors-hax1v4bv.js";
26
+ import"./chunks/cors-27hs38qv.js";
27
+ import"./chunks/cors-spjnshqr.js";
28
+ import"./chunks/cors-059rbh9c.js";
29
+ import"./chunks/cors-djr0jy89.js";
30
+ import"./chunks/cors-41yet3w7.js";
31
+ import"./chunks/cors-ppma8fcc.js";
32
+ import"./chunks/cors-yptm36x2.js";
33
+ import"./chunks/cors-z7gkfgax.js";
34
+ import"./chunks/cors-yr4wsvrw.js";
35
+ import"./chunks/cors-wxj3d9av.js";
36
+ import"./chunks/cors-0a5jm2na.js";
37
+ import"./chunks/cors-78rcgzsr.js";
38
+ import"./chunks/cors-qn8kkfq6.js";
39
+ import"./chunks/cors-6vs5sqy6.js";
40
+ import"./chunks/cors-x8dgc261.js";
41
+ import"./chunks/cors-j4at0y5c.js";
42
+ import"./chunks/cors-xthc02cw.js";
43
+ import"./chunks/cors-34xzc0ha.js";
44
+ import"./chunks/cors-dk68ymtv.js";
45
+ import"./chunks/cors-w5yp0ga8.js";
46
+ import"./chunks/cors-q187pxxd.js";
47
+ import"./chunks/cors-b0sezs8j.js";
48
+ import"./chunks/cors-m5rae7m4.js";
49
+ import"./chunks/cors-9c4eyh8m.js";
50
+ import"./chunks/cors-yet0vexm.js";
51
+ import"./chunks/cors-gk0yxcp6.js";
52
+ import"./chunks/cors-kqr36gas.js";
53
+ import"./chunks/cors-3p9jwgak.js";
54
+ import"./chunks/cors-gqq6kfhc.js";
55
+ import"./chunks/cors-smaf4a18.js";
56
+ import"./chunks/cors-q4bn6dy8.js";
57
+ import"./chunks/cors-7dtbad8d.js";
58
+ import"./chunks/cors-yc7nft6q.js";
59
+ import"./chunks/cors-t32e1bbt.js";
60
60
  export {
61
61
  exports_fetch as ServerFetch,
62
- make2 as make
62
+ make3 as make
63
63
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  AgentHandler2
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";
3
+ } from "../chunks/cors-np3ws677.js";
4
+ import"../chunks/cors-9c4eyh8m.js";
5
+ import"../chunks/cors-yet0vexm.js";
6
+ import"../chunks/cors-gk0yxcp6.js";
7
+ import"../chunks/cors-gqq6kfhc.js";
8
+ import"../chunks/cors-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/handlers-p86kew8c.js";
4
- import"../chunks/handlers-50bbk3b2.js";
5
- import"../chunks/handlers-smaf4a18.js";
3
+ } from "../chunks/cors-w5yp0ga8.js";
4
+ import"../chunks/cors-gqq6kfhc.js";
5
+ import"../chunks/cors-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/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";
3
+ } from "../chunks/cors-z59gyc0x.js";
4
+ import"../chunks/cors-9c4eyh8m.js";
5
+ import"../chunks/cors-yet0vexm.js";
6
+ import"../chunks/cors-gk0yxcp6.js";
7
+ import"../chunks/cors-gqq6kfhc.js";
8
+ import"../chunks/cors-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/handlers-hx8bsq9d.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";
3
+ } from "../chunks/cors-b2k9041j.js";
4
+ import"../chunks/cors-9c4eyh8m.js";
5
+ import"../chunks/cors-yet0vexm.js";
6
+ import"../chunks/cors-gk0yxcp6.js";
7
+ import"../chunks/cors-gqq6kfhc.js";
8
+ import"../chunks/cors-smaf4a18.js";
9
9
  export {
10
10
  ConfigHandler2 as ConfigHandler
11
11
  };