@opencode/server 0.0.0-dev-21852 → 0.0.0-dev-21864

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 (108) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{process-jk5edc6h.js → request-tracing-19dc7z8q.js} +2 -2
  4. package/dist/chunks/{process-4gnb9897.js → request-tracing-1ahadpvw.js} +1 -1
  5. package/dist/chunks/{process-xeq9w5wr.js → request-tracing-2qk3vekg.js} +2 -2
  6. package/dist/chunks/{process-39nnfjx1.js → request-tracing-39nnfjx1.js} +1 -1
  7. package/dist/chunks/{process-fysmzcya.js → request-tracing-67kmywtk.js} +2 -2
  8. package/dist/chunks/{process-g3mfewdn.js → request-tracing-69msffey.js} +4 -4
  9. package/dist/chunks/{process-7xe5pzvy.js → request-tracing-6br0y3ag.js} +1 -1
  10. package/dist/chunks/{process-fazm2c7b.js → request-tracing-6kta5392.js} +2 -2
  11. package/dist/chunks/{process-z3akqjf6.js → request-tracing-6n9b1fbm.js} +1 -1
  12. package/dist/chunks/{process-jd2d9483.js → request-tracing-6t8za67t.js} +2 -2
  13. package/dist/chunks/{process-tp6qcw6t.js → request-tracing-74sf36cc.js} +1 -1
  14. package/dist/chunks/{process-qcfps8nc.js → request-tracing-77mqkxfz.js} +2 -2
  15. package/dist/chunks/{process-7b9xm1qg.js → request-tracing-7b9xm1qg.js} +1 -1
  16. package/dist/chunks/{process-3te71694.js → request-tracing-7dtbad8d.js} +7 -7
  17. package/dist/chunks/{process-nnsgc8by.js → request-tracing-7ym2q8qs.js} +13 -9
  18. package/dist/chunks/{process-3d7qdbre.js → request-tracing-aqzwjzmb.js} +1 -1
  19. package/dist/chunks/{process-wexwfee0.js → request-tracing-atk2et4d.js} +2 -2
  20. package/dist/chunks/{process-g7sdbt1s.js → request-tracing-cqhyyp3f.js} +2 -2
  21. package/dist/chunks/{process-ca30pptj.js → request-tracing-dhr0zef0.js} +2 -2
  22. package/dist/chunks/{process-emkxpff3.js → request-tracing-e54xd2ay.js} +3 -3
  23. package/dist/chunks/{process-9vd8kq0r.js → request-tracing-e8r9jzgj.js} +33 -33
  24. package/dist/chunks/{process-z6z134jc.js → request-tracing-ej45n981.js} +2 -2
  25. package/dist/chunks/{process-gy667q5r.js → request-tracing-f9g2fv52.js} +2 -2
  26. package/dist/chunks/{process-4nbah0zs.js → request-tracing-gb66h69v.js} +3 -3
  27. package/dist/chunks/{process-50bbk3b2.js → request-tracing-gqq6kfhc.js} +3 -3
  28. package/dist/chunks/{process-hwqxzcvy.js → request-tracing-gv627jgt.js} +1 -1
  29. package/dist/chunks/{process-7kyk9e9z.js → request-tracing-hcgnwhtq.js} +8 -8
  30. package/dist/chunks/{process-547pgmmc.js → request-tracing-hspp8v12.js} +2 -2
  31. package/dist/chunks/{process-dnwg64ce.js → request-tracing-htdmphhq.js} +6 -6
  32. package/dist/chunks/{process-1e765wh0.js → request-tracing-j49n4591.js} +2 -2
  33. package/dist/chunks/{process-j4at0y5c.js → request-tracing-j4at0y5c.js} +1 -1
  34. package/dist/chunks/{process-gq8jw616.js → request-tracing-j8p25vmv.js} +2 -2
  35. package/dist/chunks/{process-mzs0n5xz.js → request-tracing-kqr36gas.js} +7 -7
  36. package/dist/chunks/{process-w4e9jgda.js → request-tracing-m0y4004e.js} +1 -1
  37. package/dist/chunks/{process-e1rbh6kq.js → request-tracing-mvekhy4q.js} +3 -3
  38. package/dist/chunks/{process-gw6rc7x0.js → request-tracing-q8cqvm6j.js} +2 -2
  39. package/dist/chunks/{process-01xew4zj.js → request-tracing-swrw3k77.js} +4 -4
  40. package/dist/chunks/{process-qx5ydgm0.js → request-tracing-v1jdrp9c.js} +1 -1
  41. package/dist/chunks/{process-ye9tw5gq.js → request-tracing-v8b04w1f.js} +4 -4
  42. package/dist/chunks/{process-sc3gatcy.js → request-tracing-vdfdkndj.js} +3 -3
  43. package/dist/chunks/{process-t4c683g8.js → request-tracing-vtvdbwhg.js} +2 -2
  44. package/dist/chunks/{process-s0qm098c.js → request-tracing-wtxh433d.js} +2 -2
  45. package/dist/chunks/{process-cpp0zjdy.js → request-tracing-xxxx0904.js} +2 -2
  46. package/dist/chunks/{process-b3bmdkga.js → request-tracing-yet0vexm.js} +1 -1
  47. package/dist/chunks/{process-nzma71sx.js → request-tracing-z6s0x056.js} +17 -15
  48. package/dist/cors.js +1 -1
  49. package/dist/event-feed.js +3 -3
  50. package/dist/fetch.js +48 -48
  51. package/dist/handlers/agent.js +6 -6
  52. package/dist/handlers/command.js +6 -6
  53. package/dist/handlers/config.js +6 -6
  54. package/dist/handlers/credential.js +6 -6
  55. package/dist/handlers/debug.js +6 -6
  56. package/dist/handlers/event.js +7 -7
  57. package/dist/handlers/form.js +6 -6
  58. package/dist/handlers/fs.js +6 -6
  59. package/dist/handlers/generate.js +6 -6
  60. package/dist/handlers/integration.js +6 -6
  61. package/dist/handlers/location.js +6 -6
  62. package/dist/handlers/mcp.js +8 -8
  63. package/dist/handlers/message.js +6 -6
  64. package/dist/handlers/migration.js +6 -6
  65. package/dist/handlers/model.js +6 -6
  66. package/dist/handlers/permission.js +6 -6
  67. package/dist/handlers/persistent-pty.js +8 -8
  68. package/dist/handlers/plugin.js +6 -6
  69. package/dist/handlers/project.d.ts +1 -1
  70. package/dist/handlers/project.js +6 -6
  71. package/dist/handlers/provider.js +6 -6
  72. package/dist/handlers/pty-socket.js +1 -1
  73. package/dist/handlers/pty.js +8 -8
  74. package/dist/handlers/reference.js +6 -6
  75. package/dist/handlers/rpc.js +6 -6
  76. package/dist/handlers/server.js +9 -9
  77. package/dist/handlers/session-error.js +1 -1
  78. package/dist/handlers/session.d.ts +3 -1
  79. package/dist/handlers/session.js +6 -6
  80. package/dist/handlers/shell.js +6 -6
  81. package/dist/handlers/skill.js +6 -6
  82. package/dist/handlers/usage.js +6 -6
  83. package/dist/handlers/vcs.js +6 -6
  84. package/dist/handlers/voice.js +6 -6
  85. package/dist/handlers/websearch.js +6 -6
  86. package/dist/handlers/worktree.js +6 -6
  87. package/dist/handlers.d.ts +1 -1
  88. package/dist/handlers.js +44 -44
  89. package/dist/location.js +4 -4
  90. package/dist/middleware/authorization.js +2 -2
  91. package/dist/middleware/form-location.js +3 -3
  92. package/dist/middleware/schema-error.js +1 -1
  93. package/dist/middleware/session-location.js +3 -3
  94. package/dist/pairing.js +3 -3
  95. package/dist/process.js +50 -50
  96. package/dist/request-tracing.js +1 -1
  97. package/dist/routes.d.ts +3 -2
  98. package/dist/routes.js +47 -47
  99. package/dist/server-info.js +5 -5
  100. package/dist/service-status.js +1 -1
  101. package/dist/workerd.js +49 -49
  102. package/package.json +8 -8
  103. /package/dist/chunks/{process-9rqn6x4v.js → request-tracing-9rqn6x4v.js} +0 -0
  104. /package/dist/chunks/{process-erzfdgke.js → request-tracing-erzfdgke.js} +0 -0
  105. /package/dist/chunks/{process-h6rt5k9s.js → request-tracing-h6rt5k9s.js} +0 -0
  106. /package/dist/chunks/{process-q4bn6dy8.js → request-tracing-q4bn6dy8.js} +0 -0
  107. /package/dist/chunks/{process-smaf4a18.js → request-tracing-smaf4a18.js} +0 -0
  108. /package/dist/chunks/{process-yc7nft6q.js → request-tracing-yc7nft6q.js} +0 -0
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/process-4nbah0zs.js";
4
- import"./chunks/process-4gnb9897.js";
5
- import"./chunks/process-b3bmdkga.js";
6
- import"./chunks/process-50bbk3b2.js";
7
- import"./chunks/process-smaf4a18.js";
3
+ } from "./chunks/request-tracing-gb66h69v.js";
4
+ import"./chunks/request-tracing-1ahadpvw.js";
5
+ import"./chunks/request-tracing-yet0vexm.js";
6
+ import"./chunks/request-tracing-gqq6kfhc.js";
7
+ import"./chunks/request-tracing-smaf4a18.js";
8
8
  export {
9
9
  Api2 as Api
10
10
  };
package/dist/auth.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  verifySession2,
8
8
  sessionCookieName2,
9
9
  exports_auth
10
- } from "./chunks/process-j4at0y5c.js";
10
+ } from "./chunks/request-tracing-j4at0y5c.js";
11
11
  export {
12
12
  Config2 as Config,
13
13
  SESSION_TTL_SECONDS2 as SESSION_TTL_SECONDS,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-50bbk3b2.js";
3
+ } from "./request-tracing-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-4nbah0zs.js";
6
+ } from "./request-tracing-gb66h69v.js";
7
7
 
8
8
  // src/handlers/integration.ts
9
9
  import { Integration } from "@opencode/core/integration";
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./process-50bbk3b2.js";
5
+ } from "./request-tracing-gqq6kfhc.js";
6
6
 
7
7
  // src/middleware/form-location.ts
8
8
  import { Instance } from "@opencode/core/instance/service";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  awaitPlugins2
4
- } from "./process-50bbk3b2.js";
4
+ } from "./request-tracing-gqq6kfhc.js";
5
5
  import {
6
6
  Api2
7
- } from "./process-4nbah0zs.js";
7
+ } from "./request-tracing-gb66h69v.js";
8
8
 
9
9
  // src/handlers/voice.ts
10
10
  import { Location } from "@opencode/core/location";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./process-9rqn6x4v.js";
3
+ } from "./request-tracing-9rqn6x4v.js";
4
4
 
5
5
  // src/service-status.ts
6
6
  var exports_service_status = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-50bbk3b2.js";
3
+ } from "./request-tracing-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-4nbah0zs.js";
6
+ } from "./request-tracing-gb66h69v.js";
7
7
 
8
8
  // src/handlers/command.ts
9
9
  import { Command } from "@opencode/core/command";
@@ -2,17 +2,17 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./process-50bbk3b2.js";
5
+ } from "./request-tracing-gqq6kfhc.js";
6
6
  import {
7
7
  Api2
8
- } from "./process-4nbah0zs.js";
8
+ } from "./request-tracing-gb66h69v.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./process-q4bn6dy8.js";
12
+ } from "./request-tracing-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2
15
- } from "./process-h6rt5k9s.js";
15
+ } from "./request-tracing-h6rt5k9s.js";
16
16
 
17
17
  // src/handlers/mcp.ts
18
18
  import { Location } from "@opencode/core/location";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-4nbah0zs.js";
3
+ } from "./request-tracing-gb66h69v.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-50bbk3b2.js";
3
+ } from "./request-tracing-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-4nbah0zs.js";
6
+ } from "./request-tracing-gb66h69v.js";
7
7
 
8
8
  // src/handlers/provider.ts
9
9
  import { Provider } from "@opencode/core/provider";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-4nbah0zs.js";
3
+ } from "./request-tracing-gb66h69v.js";
4
4
 
5
5
  // src/handlers/worktree.ts
6
6
  import { Git } from "@opencode/core/git";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-50bbk3b2.js";
3
+ } from "./request-tracing-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-4nbah0zs.js";
6
+ } from "./request-tracing-gb66h69v.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 "./process-4nbah0zs.js";
3
+ } from "./request-tracing-gb66h69v.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 "./process-50bbk3b2.js";
3
+ } from "./request-tracing-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-4nbah0zs.js";
6
+ } from "./request-tracing-gb66h69v.js";
7
7
 
8
8
  // src/handlers/fs.ts
9
9
  import { FileSystem } from "@opencode/core/filesystem";
@@ -4,7 +4,7 @@ import {
4
4
  authorized2,
5
5
  verifySession2,
6
6
  sessionCookieName2
7
- } from "./process-j4at0y5c.js";
7
+ } from "./request-tracing-j4at0y5c.js";
8
8
 
9
9
  // src/middleware/authorization.ts
10
10
  import { UnauthorizedError } from "@opencode/protocol/errors";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./process-9rqn6x4v.js";
3
+ } from "./request-tracing-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: () => Service3,
9
+ Service: () => Service4,
10
10
  connectionURLs: () => connectionURLs2,
11
- layer: () => layer3
11
+ layer: () => layer4
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { networkInterfaces } from "node:os";
15
15
 
16
- class Service3 extends Context.Service()("@opencode/server/ServerInfo") {
16
+ class Service4 extends Context.Service()("@opencode/server/ServerInfo") {
17
17
  }
18
- function layer3(urls, tmp, app = {}) {
19
- return Layer.succeed(Service3, Service3.of({ urls, app, paths: { tmp } }));
18
+ function layer4(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);
@@ -38,4 +38,4 @@ function connectionURLs2(value, requestedHostname) {
38
38
  ];
39
39
  }
40
40
 
41
- export { Service3, layer3, connectionURLs2, exports_server_info };
41
+ export { Service4, layer4, connectionURLs2, exports_server_info };
@@ -3,15 +3,16 @@ import {
3
3
  missingMessage2,
4
4
  failedMessageDecode2,
5
5
  failedSnapshot2
6
- } from "./process-smaf4a18.js";
6
+ } from "./request-tracing-smaf4a18.js";
7
7
  import {
8
8
  locationErrors2
9
- } from "./process-50bbk3b2.js";
9
+ } from "./request-tracing-gqq6kfhc.js";
10
10
  import {
11
11
  Api2
12
- } from "./process-4nbah0zs.js";
12
+ } from "./request-tracing-gb66h69v.js";
13
13
 
14
14
  // src/handlers/session.ts
15
+ import { Instance } from "@opencode/core/instance/service";
15
16
  import { Session } from "@opencode/core/session";
16
17
  import { SessionStats } from "@opencode/core/session/stats";
17
18
  import { SessionTitle } from "@opencode/core/session/title";
@@ -41,6 +42,9 @@ function missingForm(id) {
41
42
  var SessionHandler2 = HttpApiBuilder.group(Api2, "server.session", (handlers) => Effect.gen(function* () {
42
43
  const session = yield* Session.Service;
43
44
  const transfer = yield* SessionTransfer.Service;
45
+ const instructions = yield* InstructionEntry.Service;
46
+ const instances = yield* Instance.Service;
47
+ const requireSession = (sessionID) => session.get(sessionID).pipe(Effect.catchTag("Session.NotFoundError", missingSession2));
44
48
  const requireOwnedForm = Effect.fnUntraced(function* (sessionID, formID) {
45
49
  const form = yield* Form.Service;
46
50
  const info = yield* form.get(formID).pipe(Effect.catchTag("Form.NotFoundError", () => missingForm(formID)));
@@ -125,13 +129,12 @@ var SessionHandler2 = HttpApiBuilder.group(Api2, "server.session", (handlers) =>
125
129
  yield* session.switchModel({ sessionID: ctx.params.sessionID, model: ctx.payload.model }).pipe(Effect.catchTag("Session.NotFoundError", missingSession2));
126
130
  return HttpApiSchema.NoContent.make();
127
131
  })).handle("session.update", Effect.fn(function* (ctx) {
128
- yield* session.get(ctx.params.sessionID).pipe(Effect.catchTag("Session.NotFoundError", missingSession2));
132
+ const info = yield* requireSession(ctx.params.sessionID);
129
133
  if (ctx.payload.title !== undefined) {
130
134
  if (ctx.payload.title) {
131
135
  yield* session.rename({ sessionID: ctx.params.sessionID, title: ctx.payload.title }).pipe(Effect.catchTag("Session.NotFoundError", missingSession2));
132
136
  } else {
133
- const title = yield* SessionTitle.Service;
134
- yield* title.generate(ctx.params.sessionID);
137
+ yield* SessionTitle.Service.use((title) => title.generate(ctx.params.sessionID)).pipe(instances.provide(info), locationErrors2);
135
138
  }
136
139
  }
137
140
  if (ctx.payload.metadata !== undefined)
@@ -251,14 +254,14 @@ var SessionHandler2 = HttpApiBuilder.group(Api2, "server.session", (handlers) =>
251
254
  })).handle("session.inbox.update", Effect.fn(function* (ctx) {
252
255
  return yield* pendingMutation(ctx.payload.delivery === "steer" ? session.steerInbox({ sessionID: ctx.params.sessionID, inboxID: ctx.params.inboxID }) : session.queueInbox({ sessionID: ctx.params.sessionID, inboxID: ctx.params.inboxID }), `Pending input cannot change to ${ctx.payload.delivery}`);
253
256
  })).handle("session.instructions.entry.list", Effect.fn(function* (ctx) {
254
- const instructions = yield* InstructionEntry.Service;
257
+ yield* requireSession(ctx.params.sessionID);
255
258
  return { data: yield* instructions.list(ctx.params.sessionID) };
256
259
  })).handle("session.instructions.entry.put", Effect.fn(function* (ctx) {
257
- const instructions = yield* InstructionEntry.Service;
260
+ yield* requireSession(ctx.params.sessionID);
258
261
  yield* instructions.put({ sessionID: ctx.params.sessionID, key: ctx.params.key, value: ctx.payload.value });
259
262
  return HttpApiSchema.NoContent.make();
260
263
  })).handle("session.instructions.entry.remove", Effect.fn(function* (ctx) {
261
- const instructions = yield* InstructionEntry.Service;
264
+ yield* requireSession(ctx.params.sessionID);
262
265
  yield* instructions.remove({ sessionID: ctx.params.sessionID, key: ctx.params.key });
263
266
  return HttpApiSchema.NoContent.make();
264
267
  })).handle("session.generate", Effect.fn(function* (ctx) {
@@ -268,6 +271,7 @@ var SessionHandler2 = HttpApiBuilder.group(Api2, "server.session", (handlers) =>
268
271
  yield* session.get(ctx.params.sessionID).pipe(Effect.catchTag("Session.NotFoundError", missingSession2));
269
272
  return session.log({ sessionID: ctx.params.sessionID, after: ctx.query.after, follow: ctx.query.follow }).pipe(Stream.orDie);
270
273
  })).handle("session.interrupt", Effect.fn(function* (ctx) {
274
+ yield* requireSession(ctx.params.sessionID);
271
275
  return { interrupted: yield* session.interrupt(ctx.params.sessionID, { resume: ctx.query.resume }) };
272
276
  })).handle("session.background", Effect.fn(function* (ctx) {
273
277
  yield* session.background(ctx.params.sessionID).pipe(Effect.catchTag("Session.NotFoundError", missingSession2));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-4nbah0zs.js";
3
+ } from "./request-tracing-gb66h69v.js";
4
4
 
5
5
  // src/handlers/project.ts
6
6
  import { Project } from "@opencode/core/project";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./process-50bbk3b2.js";
4
+ } from "./request-tracing-gqq6kfhc.js";
5
5
  import {
6
6
  Api2
7
- } from "./process-4nbah0zs.js";
7
+ } from "./request-tracing-gb66h69v.js";
8
8
 
9
9
  // src/handlers/websearch.ts
10
10
  import { WebSearch } from "@opencode/core/websearch";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-50bbk3b2.js";
3
+ } from "./request-tracing-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-4nbah0zs.js";
6
+ } from "./request-tracing-gb66h69v.js";
7
7
 
8
8
  // src/handlers/agent.ts
9
9
  import { Agent } from "@opencode/core/agent";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./process-50bbk3b2.js";
4
+ } from "./request-tracing-gqq6kfhc.js";
5
5
  import {
6
6
  Api2
7
- } from "./process-4nbah0zs.js";
7
+ } from "./request-tracing-gb66h69v.js";
8
8
 
9
9
  // src/handlers/usage.ts
10
10
  import { UsageLimits } from "@opencode/core/usage-limits";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./process-smaf4a18.js";
3
+ } from "./request-tracing-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./process-50bbk3b2.js";
8
+ } from "./request-tracing-gqq6kfhc.js";
9
9
  import {
10
10
  Api2
11
- } from "./process-4nbah0zs.js";
11
+ } from "./request-tracing-gb66h69v.js";
12
12
 
13
13
  // src/handlers/permission.ts
14
14
  import { Instance } from "@opencode/core/instance/service";
@@ -1,102 +1,102 @@
1
1
  import {
2
2
  GenerateHandler2
3
- } from "./process-gq8jw616.js";
3
+ } from "./request-tracing-j8p25vmv.js";
4
4
  import {
5
5
  VoiceHandler2
6
- } from "./process-xeq9w5wr.js";
6
+ } from "./request-tracing-2qk3vekg.js";
7
7
  import {
8
8
  MessageHandler2
9
- } from "./process-1e765wh0.js";
9
+ } from "./request-tracing-j49n4591.js";
10
10
  import {
11
11
  ModelHandler2
12
- } from "./process-cpp0zjdy.js";
12
+ } from "./request-tracing-xxxx0904.js";
13
13
  import {
14
14
  ProviderHandler2
15
- } from "./process-fazm2c7b.js";
15
+ } from "./request-tracing-6kta5392.js";
16
16
  import {
17
17
  SessionHandler2
18
- } from "./process-nnsgc8by.js";
18
+ } from "./request-tracing-7ym2q8qs.js";
19
19
  import {
20
20
  PermissionHandler2
21
- } from "./process-emkxpff3.js";
21
+ } from "./request-tracing-e54xd2ay.js";
22
22
  import {
23
23
  FileSystemHandler2
24
- } from "./process-qcfps8nc.js";
24
+ } from "./request-tracing-77mqkxfz.js";
25
25
  import {
26
26
  FormHandler2
27
- } from "./process-s0qm098c.js";
27
+ } from "./request-tracing-wtxh433d.js";
28
28
  import {
29
29
  CommandHandler2
30
- } from "./process-fysmzcya.js";
30
+ } from "./request-tracing-67kmywtk.js";
31
31
  import {
32
32
  SkillHandler2
33
- } from "./process-547pgmmc.js";
33
+ } from "./request-tracing-hspp8v12.js";
34
34
  import {
35
35
  RpcHandler2
36
- } from "./process-w4e9jgda.js";
36
+ } from "./request-tracing-m0y4004e.js";
37
37
  import {
38
38
  layer2
39
- } from "./process-dnwg64ce.js";
39
+ } from "./request-tracing-htdmphhq.js";
40
40
  import {
41
41
  EventHandler2
42
- } from "./process-01xew4zj.js";
42
+ } from "./request-tracing-swrw3k77.js";
43
43
  import {
44
44
  AgentHandler2
45
- } from "./process-g7sdbt1s.js";
45
+ } from "./request-tracing-cqhyyp3f.js";
46
46
  import {
47
47
  PluginHandler2
48
- } from "./process-jd2d9483.js";
48
+ } from "./request-tracing-6t8za67t.js";
49
49
  import {
50
50
  ServerHandler2
51
- } from "./process-7kyk9e9z.js";
51
+ } from "./request-tracing-hcgnwhtq.js";
52
52
  import {
53
53
  DebugHandler2
54
- } from "./process-gy667q5r.js";
54
+ } from "./request-tracing-f9g2fv52.js";
55
55
  import {
56
56
  PtyHandler2
57
- } from "./process-ye9tw5gq.js";
57
+ } from "./request-tracing-v8b04w1f.js";
58
58
  import {
59
59
  PersistentPtyHandler2
60
- } from "./process-sc3gatcy.js";
60
+ } from "./request-tracing-vdfdkndj.js";
61
61
  import {
62
62
  ShellHandler2
63
- } from "./process-t4c683g8.js";
63
+ } from "./request-tracing-vtvdbwhg.js";
64
64
  import {
65
65
  ReferenceHandler2
66
- } from "./process-z6z134jc.js";
66
+ } from "./request-tracing-ej45n981.js";
67
67
  import {
68
68
  LocationHandler2
69
- } from "./process-7xe5pzvy.js";
69
+ } from "./request-tracing-6br0y3ag.js";
70
70
  import {
71
71
  IntegrationHandler2
72
- } from "./process-jk5edc6h.js";
72
+ } from "./request-tracing-19dc7z8q.js";
73
73
  import {
74
74
  WebSearchHandler2
75
- } from "./process-wexwfee0.js";
75
+ } from "./request-tracing-atk2et4d.js";
76
76
  import {
77
77
  UsageHandler2
78
- } from "./process-ca30pptj.js";
78
+ } from "./request-tracing-dhr0zef0.js";
79
79
  import {
80
80
  McpHandler2
81
- } from "./process-g3mfewdn.js";
81
+ } from "./request-tracing-69msffey.js";
82
82
  import {
83
83
  CredentialHandler2
84
- } from "./process-qx5ydgm0.js";
84
+ } from "./request-tracing-v1jdrp9c.js";
85
85
  import {
86
86
  ProjectHandler2
87
- } from "./process-3d7qdbre.js";
87
+ } from "./request-tracing-aqzwjzmb.js";
88
88
  import {
89
89
  WorktreeHandler2
90
- } from "./process-z3akqjf6.js";
90
+ } from "./request-tracing-6n9b1fbm.js";
91
91
  import {
92
92
  VcsHandler2
93
- } from "./process-gw6rc7x0.js";
93
+ } from "./request-tracing-q8cqvm6j.js";
94
94
  import {
95
95
  MigrationHandler2
96
- } from "./process-tp6qcw6t.js";
96
+ } from "./request-tracing-74sf36cc.js";
97
97
  import {
98
98
  ConfigHandler2
99
- } from "./process-hwqxzcvy.js";
99
+ } from "./request-tracing-gv627jgt.js";
100
100
 
101
101
  // src/handlers.ts
102
102
  import { Layer } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-50bbk3b2.js";
3
+ } from "./request-tracing-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-4nbah0zs.js";
6
+ } from "./request-tracing-gb66h69v.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
  requestRef2
3
- } from "./process-50bbk3b2.js";
3
+ } from "./request-tracing-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-4nbah0zs.js";
6
+ } from "./request-tracing-gb66h69v.js";
7
7
 
8
8
  // src/handlers/debug.ts
9
9
  import { LocationServiceMap } from "@opencode/core/location-service-map";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./process-50bbk3b2.js";
3
+ } from "./request-tracing-gqq6kfhc.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./process-4gnb9897.js";
6
+ } from "./request-tracing-1ahadpvw.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./process-b3bmdkga.js";
9
+ } from "./request-tracing-yet0vexm.js";
10
10
 
11
11
  // src/api.ts
12
12
  import { makeDefaultApi } from "@opencode/protocol/api";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./process-smaf4a18.js";
3
+ } from "./request-tracing-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 "./process-4nbah0zs.js";
3
+ } from "./request-tracing-gb66h69v.js";
4
4
 
5
5
  // src/handlers/config.ts
6
6
  import { Config } from "@opencode/core/config";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-4nbah0zs.js";
3
+ } from "./request-tracing-gb66h69v.js";
4
4
  import {
5
5
  SESSION_TTL_SECONDS2,
6
6
  Config2,
7
7
  issueSession2,
8
8
  sessionCookieName2
9
- } from "./process-j4at0y5c.js";
10
- import {
11
- Service3
12
- } from "./process-3te71694.js";
9
+ } from "./request-tracing-j4at0y5c.js";
13
10
  import {
14
11
  Service4
15
- } from "./process-mzs0n5xz.js";
12
+ } from "./request-tracing-7dtbad8d.js";
13
+ import {
14
+ Service2
15
+ } from "./request-tracing-kqr36gas.js";
16
16
 
17
17
  // src/handlers/server.ts
18
18
  import { Duration, Effect } from "effect";
@@ -21,10 +21,10 @@ import { HttpApiBuilder } from "effect/http-api";
21
21
  import { PersistentPty } from "@opencode/core/persistent-pty";
22
22
  import { UnauthorizedError } from "@opencode/protocol/errors";
23
23
  var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => Effect.gen(function* () {
24
- const pairing = yield* Service4;
24
+ const pairing = yield* Service2;
25
25
  const auth = yield* Config2;
26
26
  return handlers.handle("server.info", () => Effect.gen(function* () {
27
- const info = yield* Service3;
27
+ const info = yield* Service4;
28
28
  return {
29
29
  version: info.app.version ?? "unknown",
30
30
  pid: process.pid ?? 0,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-50bbk3b2.js";
3
+ } from "./request-tracing-gqq6kfhc.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-4nbah0zs.js";
6
+ } from "./request-tracing-gb66h69v.js";
7
7
 
8
8
  // src/handlers/skill.ts
9
9
  import { Skill } from "@opencode/core/skill";