@opencode/server 0.0.0-dev-1227 → 0.0.0-dev-1228

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 (119) hide show
  1. package/dist/api.d.ts +72 -1
  2. package/dist/api.js +5 -5
  3. package/dist/auth.js +1 -1
  4. package/dist/chunks/{process-059rbh9c.js → options-059rbh9c.js} +1 -1
  5. package/dist/chunks/{process-jqvq1ywe.js → options-09kw3a77.js} +2 -2
  6. package/dist/chunks/{process-wh109kze.js → options-1esj6h6r.js} +8 -8
  7. package/dist/chunks/{process-fbdv47za.js → options-1ndv3m9h.js} +4 -4
  8. package/dist/chunks/{process-sqxx1p54.js → options-2eaky32g.js} +2 -2
  9. package/dist/chunks/{process-7dtbad8d.js → options-3te71694.js} +7 -7
  10. package/dist/chunks/{process-xpg37vzc.js → options-4q6e7fh8.js} +2 -2
  11. package/dist/chunks/{process-gqq6kfhc.js → options-50bbk3b2.js} +3 -3
  12. package/dist/chunks/{process-rcmctvp9.js → options-5cpb32hf.js} +1 -1
  13. package/dist/chunks/{process-ac10qb5k.js → options-5s0wnsg4.js} +3 -3
  14. package/dist/chunks/{process-vvp99hc9.js → options-6z9pvq7p.js} +1 -1
  15. package/dist/chunks/{process-78rcgzsr.js → options-78rcgzsr.js} +1 -1
  16. package/dist/chunks/{process-7b9xm1qg.js → options-7b9xm1qg.js} +1 -1
  17. package/dist/chunks/{process-p3f060n2.js → options-8mj7kvhm.js} +2 -2
  18. package/dist/chunks/{process-amndpc82.js → options-91858wp1.js} +2 -2
  19. package/dist/chunks/{process-zmgfywqd.js → options-a8jcac9a.js} +1 -1
  20. package/dist/chunks/{process-vtfzy3at.js → options-az0609r6.js} +2 -2
  21. package/dist/chunks/{process-yet0vexm.js → options-b3bmdkga.js} +1 -1
  22. package/dist/chunks/{process-50xc6x42.js → options-btahnm2b.js} +3 -3
  23. package/dist/chunks/{process-61k00zvj.js → options-c4cg7a3y.js} +33 -33
  24. package/dist/chunks/{process-0e4fm4yw.js → options-cezwbsk5.js} +1 -1
  25. package/dist/chunks/{process-2835150m.js → options-d0edqfxx.js} +2 -2
  26. package/dist/chunks/{process-djr0jy89.js → options-djr0jy89.js} +1 -1
  27. package/dist/chunks/{process-e6e4kz0w.js → options-e6e4kz0w.js} +1 -1
  28. package/dist/chunks/{process-zds85vps.js → options-enp1bp7r.js} +1 -1
  29. package/dist/chunks/{process-7x1re4zg.js → options-f559fakr.js} +2 -2
  30. package/dist/chunks/{process-3p9jwgak.js → options-fvpjvjpp.js} +6 -6
  31. package/dist/chunks/{process-cp79kecq.js → options-fxf3p1yq.js} +15 -15
  32. package/dist/chunks/{process-xj86e20n.js → options-gyryr0mf.js} +4 -4
  33. package/dist/chunks/{process-gk0yxcp6.js → options-htyf2qs7.js} +1 -1
  34. package/dist/chunks/{process-j4at0y5c.js → options-j4at0y5c.js} +1 -1
  35. package/dist/chunks/{process-r5696se6.js → options-j87xz9bt.js} +3 -3
  36. package/dist/chunks/{process-7cd61xtm.js → options-kkdkqt8j.js} +2 -2
  37. package/dist/chunks/{process-q589sc96.js → options-m5mv4r4e.js} +7 -7
  38. package/dist/chunks/{process-myqk22k5.js → options-myqk22k5.js} +2 -2
  39. package/dist/chunks/{process-kqr36gas.js → options-mzs0n5xz.js} +7 -7
  40. package/dist/chunks/{process-xbqm7mpj.js → options-ny1j968n.js} +2 -2
  41. package/dist/chunks/{process-w5yp0ga8.js → options-p86kew8c.js} +2 -2
  42. package/dist/chunks/{process-qpzkqgwj.js → options-psw29prz.js} +4 -4
  43. package/dist/chunks/{process-jc2vwkyw.js → options-qcg3sqtb.js} +2 -2
  44. package/dist/chunks/{process-rxyx8sa0.js → options-qd0r787n.js} +2 -2
  45. package/dist/chunks/{process-370cpmna.js → options-rha2aq18.js} +2 -2
  46. package/dist/chunks/{process-agenqygg.js → options-rs3v36hp.js} +2 -2
  47. package/dist/chunks/{process-t32e1bbt.js → options-t32e1bbt.js} +1 -1
  48. package/dist/chunks/{process-skcryrty.js → options-te8jwba1.js} +2 -2
  49. package/dist/chunks/{process-qsfn57wq.js → options-wpgpd41b.js} +4 -4
  50. package/dist/chunks/{process-gj786cm1.js → options-y6b5qq9t.js} +3 -3
  51. package/dist/chunks/{process-1vxxxmgg.js → options-yk755swr.js} +2 -2
  52. package/dist/chunks/{process-wqv43pj9.js → options-yqhefp4s.js} +2 -2
  53. package/dist/chunks/{process-hq6zbqvq.js → options-yxab1164.js} +5 -5
  54. package/dist/chunks/{process-74kxthdf.js → options-zcvan105.js} +1 -1
  55. package/dist/content-headers.js +1 -1
  56. package/dist/cors.js +1 -1
  57. package/dist/event-feed.js +3 -3
  58. package/dist/fetch.js +56 -56
  59. package/dist/handlers/agent.js +6 -6
  60. package/dist/handlers/artifact.js +3 -3
  61. package/dist/handlers/command.js +6 -6
  62. package/dist/handlers/config.js +6 -6
  63. package/dist/handlers/credential.js +7 -7
  64. package/dist/handlers/debug.js +6 -6
  65. package/dist/handlers/event.js +7 -7
  66. package/dist/handlers/form.js +6 -6
  67. package/dist/handlers/fs.js +7 -7
  68. package/dist/handlers/generate.js +6 -6
  69. package/dist/handlers/integration.js +6 -6
  70. package/dist/handlers/job.js +2 -2
  71. package/dist/handlers/location.js +6 -6
  72. package/dist/handlers/mcp.js +8 -8
  73. package/dist/handlers/media.js +2 -2
  74. package/dist/handlers/message.js +7 -7
  75. package/dist/handlers/migration.js +6 -6
  76. package/dist/handlers/model.js +6 -6
  77. package/dist/handlers/permission.js +6 -6
  78. package/dist/handlers/persistent-pty.js +13 -13
  79. package/dist/handlers/plugin.js +6 -6
  80. package/dist/handlers/project.js +6 -6
  81. package/dist/handlers/provider.js +6 -6
  82. package/dist/handlers/pty-socket.js +1 -1
  83. package/dist/handlers/pty.js +8 -8
  84. package/dist/handlers/reference.js +6 -6
  85. package/dist/handlers/rpc.js +6 -6
  86. package/dist/handlers/schedule.js +2 -2
  87. package/dist/handlers/server.js +9 -9
  88. package/dist/handlers/session-error.js +1 -1
  89. package/dist/handlers/session.js +7 -7
  90. package/dist/handlers/shell.js +6 -6
  91. package/dist/handlers/skill.js +6 -6
  92. package/dist/handlers/usage.js +6 -6
  93. package/dist/handlers/vcs.js +6 -6
  94. package/dist/handlers/voice.js +6 -6
  95. package/dist/handlers/websearch.js +6 -6
  96. package/dist/handlers/worktree.js +6 -6
  97. package/dist/handlers.js +50 -50
  98. package/dist/location.js +4 -4
  99. package/dist/media-uri.js +1 -1
  100. package/dist/middleware/authorization.js +2 -2
  101. package/dist/middleware/form-location.js +3 -3
  102. package/dist/middleware/schema-error.js +1 -1
  103. package/dist/middleware/session-location.js +3 -3
  104. package/dist/pairing.js +3 -3
  105. package/dist/process.js +57 -57
  106. package/dist/request-site.js +2 -2
  107. package/dist/request-tracing.js +1 -1
  108. package/dist/routes.js +53 -53
  109. package/dist/server-info.js +5 -5
  110. package/dist/service-status.js +1 -1
  111. package/dist/workerd.js +57 -57
  112. package/package.json +8 -8
  113. /package/dist/chunks/{process-9rqn6x4v.js → options-9rqn6x4v.js} +0 -0
  114. /package/dist/chunks/{process-bd8755ek.js → options-bd8755ek.js} +0 -0
  115. /package/dist/chunks/{process-q187pxxd.js → options-q187pxxd.js} +0 -0
  116. /package/dist/chunks/{process-q4bn6dy8.js → options-q4bn6dy8.js} +0 -0
  117. /package/dist/chunks/{process-smaf4a18.js → options-smaf4a18.js} +0 -0
  118. /package/dist/chunks/{process-xthc02cw.js → options-xthc02cw.js} +0 -0
  119. /package/dist/chunks/{process-yc7nft6q.js → options-yc7nft6q.js} +0 -0
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@ import { LocationMiddleware } from "./location";
2
2
  import { FormLocationMiddleware } from "./middleware/form-location";
3
3
  import { SessionLocationMiddleware } from "./middleware/session-location";
4
4
  export declare const Api: import("@opencode/protocol/api").Api<LocationMiddleware, import("effect/http-api/HttpApiMiddleware").HttpApiMiddleware<import("@opencode/core/instance").Services, readonly [typeof import("@opencode/protocol/errors").LocationNotFoundError], never>, FormLocationMiddleware, import("effect/http-api/HttpApiMiddleware").HttpApiMiddleware<import("@opencode/core/instance").Services, readonly [typeof import("@opencode/protocol/errors").InvalidRequestError, typeof import("@opencode/protocol/errors").SessionNotFoundError, typeof import("@opencode/protocol/errors").LocationNotFoundError], never>, SessionLocationMiddleware, import("effect/http-api/HttpApiMiddleware").HttpApiMiddleware<import("@opencode/core/instance").Services, readonly [typeof import("@opencode/protocol/errors").InvalidRequestError, typeof import("@opencode/protocol/errors").SessionNotFoundError, typeof import("@opencode/protocol/errors").LocationNotFoundError], never>, import("effect/http-api/HttpApiGroup").HttpApiGroup<"server.event", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"event.subscribe", "GET", "/api/event", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
5
- readonly types: import("effect/Schema").optional<import("effect/Schema").ArrayEnsure<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ("agent.updated" | "artifact.updated" | "command.updated" | "config.updated" | "credential.switched" | "credential.updated" | "filesystem.changed" | "form.cancelled" | "form.created" | "form.replied" | "installation.update-available" | "installation.updated" | "integration.updated" | "location.shutdown" | "mcp.resources.changed" | "mcp.status.changed" | "model.updated" | "models-dev.refreshed" | "permission.asked" | "permission.replied" | "persistent-pty.added" | "persistent-pty.removed" | "persistent-pty.updated" | "plugin.updated" | "project.updated" | "provider.updated" | "pty.created" | "pty.deleted" | "pty.exited" | "pty.updated" | "reference.updated" | "session.agent.selected" | "session.archived" | "session.compaction.delta" | "session.compaction.ended" | "session.compaction.failed" | "session.compaction.started" | "session.created" | "session.deleted" | "session.execution.failed" | "session.execution.interrupted" | "session.execution.started" | "session.execution.succeeded" | "session.forked" | "session.idle" | "session.inbox.cancelled" | "session.inbox.delivered" | "session.inbox.delivery.changed" | "session.inbox.enqueued" | "session.instructions.updated" | "session.metadata.updated" | "session.model.selected" | "session.moved" | "session.permissions" | "session.reasoning.delta" | "session.reasoning.ended" | "session.reasoning.started" | "session.renamed" | "session.retry.scheduled" | "session.revert.cleared" | "session.revert.committed" | "session.revert.staged" | "session.shell.ended" | "session.shell.started" | "session.skill.activated" | "session.status" | "session.step.ended" | "session.step.failed" | "session.step.first-token" | "session.step.started" | "session.step.streamed" | "session.synthetic" | "session.text.delta" | "session.text.ended" | "session.text.started" | "session.tool.called" | "session.tool.failed" | "session.tool.input.delta" | "session.tool.input.ended" | "session.tool.input.started" | "session.tool.progress" | "session.tool.success" | "session.unarchived" | "session.usage.updated" | "session.viewed" | "shell.created" | "shell.deleted" | "shell.exited" | "skill.updated" | "tui.command.execute" | "tui.prompt.append" | "tui.session.select" | "tui.toast.show" | "vcs.branch.updated" | "websearch.updated" | "worktree.resolved" | "worktree.updated")[]>, import("effect/Schema").TemplateLiteral<readonly ["rpc.", import("effect/Schema").String]>]>>>;
5
+ readonly types: import("effect/Schema").optional<import("effect/Schema").ArrayEnsure<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ("agent.updated" | "artifact.updated" | "command.updated" | "config.updated" | "credential.switched" | "credential.updated" | "experimental.mcp.event" | "filesystem.changed" | "form.cancelled" | "form.created" | "form.replied" | "installation.update-available" | "installation.updated" | "integration.updated" | "location.shutdown" | "mcp.resources.changed" | "mcp.status.changed" | "model.updated" | "models-dev.refreshed" | "permission.asked" | "permission.replied" | "persistent-pty.added" | "persistent-pty.removed" | "persistent-pty.updated" | "plugin.updated" | "project.updated" | "provider.updated" | "pty.created" | "pty.deleted" | "pty.exited" | "pty.updated" | "reference.updated" | "session.agent.selected" | "session.archived" | "session.compaction.delta" | "session.compaction.ended" | "session.compaction.failed" | "session.compaction.started" | "session.created" | "session.deleted" | "session.execution.failed" | "session.execution.interrupted" | "session.execution.started" | "session.execution.succeeded" | "session.forked" | "session.idle" | "session.inbox.cancelled" | "session.inbox.delivered" | "session.inbox.delivery.changed" | "session.inbox.enqueued" | "session.instructions.updated" | "session.metadata.updated" | "session.model.selected" | "session.moved" | "session.permissions" | "session.reasoning.delta" | "session.reasoning.ended" | "session.reasoning.started" | "session.renamed" | "session.retry.scheduled" | "session.revert.cleared" | "session.revert.committed" | "session.revert.staged" | "session.shell.ended" | "session.shell.started" | "session.skill.activated" | "session.status" | "session.step.ended" | "session.step.failed" | "session.step.first-token" | "session.step.started" | "session.step.streamed" | "session.synthetic" | "session.text.delta" | "session.text.ended" | "session.text.started" | "session.tool.called" | "session.tool.failed" | "session.tool.input.delta" | "session.tool.input.ended" | "session.tool.input.started" | "session.tool.progress" | "session.tool.success" | "session.unarchived" | "session.usage.updated" | "session.viewed" | "shell.created" | "shell.deleted" | "shell.exited" | "skill.updated" | "tui.command.execute" | "tui.prompt.append" | "tui.session.select" | "tui.toast.show" | "vcs.branch.updated" | "websearch.updated" | "worktree.resolved" | "worktree.updated")[]>, import("effect/Schema").TemplateLiteral<readonly ["rpc.", import("effect/Schema").String]>]>>>;
6
6
  }>>, never, never, import("effect/http-api/HttpApiSchema").StreamSse<import("effect/http-api/HttpApiSchema").SseEventFromData<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
7
7
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
8
8
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -6437,6 +6437,56 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
6437
6437
  data: import("effect/Schema").Struct<{
6438
6438
  readonly server: import("effect/Schema").String;
6439
6439
  }>;
6440
+ }, import("effect/Schema").Struct<{
6441
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
6442
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
6443
+ };
6444
+ readonly created: import("effect/Schema").Finite;
6445
+ readonly metadata: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>, never, never>;
6446
+ readonly type: import("effect/Schema").Literal<"experimental.mcp.event">;
6447
+ readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
6448
+ readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
6449
+ readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
6450
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
6451
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
6452
+ }>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
6453
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
6454
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
6455
+ }>, never, never>;
6456
+ }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
6457
+ readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
6458
+ readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
6459
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
6460
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
6461
+ }>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
6462
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
6463
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
6464
+ }>, never, never>;
6465
+ }>>, never, never>;
6466
+ readonly data: import("effect/Schema").Struct<{
6467
+ readonly id: import("effect/Schema").String;
6468
+ readonly server: import("effect/Schema").String;
6469
+ readonly name: import("effect/Schema").String;
6470
+ readonly eventId: import("effect/Schema").String;
6471
+ readonly timestamp: import("effect/Schema").String;
6472
+ readonly data: import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>;
6473
+ readonly cursor: import("effect/Schema").NullOr<import("effect/Schema").String>;
6474
+ readonly truncated: import("effect/Schema").optional<import("effect/Schema").Boolean>;
6475
+ }>;
6476
+ }> & {
6477
+ type: "experimental.mcp.event";
6478
+ durability: "ephemeral";
6479
+ durable: undefined;
6480
+ data: import("effect/Schema").Struct<{
6481
+ readonly id: import("effect/Schema").String;
6482
+ readonly server: import("effect/Schema").String;
6483
+ readonly name: import("effect/Schema").String;
6484
+ readonly eventId: import("effect/Schema").String;
6485
+ readonly timestamp: import("effect/Schema").String;
6486
+ readonly data: import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>;
6487
+ readonly cursor: import("effect/Schema").NullOr<import("effect/Schema").String>;
6488
+ readonly truncated: import("effect/Schema").optional<import("effect/Schema").Boolean>;
6489
+ }>;
6440
6490
  }, import("effect/Schema").Struct<{
6441
6491
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
6442
6492
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -7859,6 +7909,27 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
7859
7909
  readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
7860
7910
  readonly credentialID: string & import("effect/Brand").Brand<"Credential.ID">;
7861
7911
  };
7912
+ } | {
7913
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
7914
+ readonly created: number;
7915
+ readonly metadata?: {
7916
+ readonly [x: string]: unknown;
7917
+ } | undefined;
7918
+ readonly type: "experimental.mcp.event";
7919
+ readonly location?: {
7920
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
7921
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
7922
+ } | undefined;
7923
+ readonly data: {
7924
+ readonly id: string;
7925
+ readonly server: string;
7926
+ readonly name: string;
7927
+ readonly eventId: string;
7928
+ readonly timestamp: string;
7929
+ readonly data: import("effect/Schema").Json;
7930
+ readonly cursor: string | null;
7931
+ readonly truncated?: boolean | undefined;
7932
+ };
7862
7933
  } | {
7863
7934
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
7864
7935
  readonly created: number;
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/process-r5696se6.js";
4
- import"./chunks/process-gk0yxcp6.js";
5
- import"./chunks/process-yet0vexm.js";
6
- import"./chunks/process-gqq6kfhc.js";
7
- import"./chunks/process-smaf4a18.js";
3
+ } from "./chunks/options-j87xz9bt.js";
4
+ import"./chunks/options-htyf2qs7.js";
5
+ import"./chunks/options-b3bmdkga.js";
6
+ import"./chunks/options-50bbk3b2.js";
7
+ import"./chunks/options-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/options-j4at0y5c.js";
11
11
  export {
12
12
  Config2 as Config,
13
13
  SESSION_TTL_SECONDS2 as SESSION_TTL_SECONDS,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./process-smaf4a18.js";
3
+ } from "./options-smaf4a18.js";
4
4
 
5
5
  // src/handlers/schedule.ts
6
6
  import { Permission } from "@opencode/core/permission";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-r5696se6.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/usage.ts
9
9
  import { UsageLimits } from "@opencode/core/usage-limits";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-r5696se6.js";
3
+ } from "./options-j87xz9bt.js";
4
4
  import {
5
5
  SESSION_TTL_SECONDS2,
6
6
  Config2,
7
7
  issueSession2,
8
8
  sessionCookieName2
9
- } from "./process-j4at0y5c.js";
9
+ } from "./options-j4at0y5c.js";
10
10
  import {
11
- Service4
12
- } from "./process-7dtbad8d.js";
11
+ Service3
12
+ } from "./options-3te71694.js";
13
13
  import {
14
- Service2
15
- } from "./process-kqr36gas.js";
14
+ Service4
15
+ } from "./options-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* Service2;
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* Service4;
28
+ const info = yield* Service3;
29
29
  return {
30
30
  version: info.app.version ?? "unknown",
31
31
  pid: process.pid ?? 0,
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./process-gqq6kfhc.js";
5
+ } from "./options-50bbk3b2.js";
6
6
  import {
7
7
  Api2
8
- } from "./process-r5696se6.js";
8
+ } from "./options-j87xz9bt.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./process-q4bn6dy8.js";
12
+ } from "./options-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./process-q187pxxd.js";
16
+ } from "./options-q187pxxd.js";
17
17
 
18
18
  // src/handlers/mcp.ts
19
19
  import { Location } from "@opencode/core/location";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-r5696se6.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/plugin.ts
9
9
  import { Plugin } from "@opencode/core/plugin";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./process-9rqn6x4v.js";
3
+ } from "./options-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: () => Service4,
9
+ Service: () => Service3,
10
10
  connectionURLs: () => connectionURLs2,
11
- layer: () => layer4
11
+ layer: () => layer3
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { networkInterfaces } from "node:os";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/server/ServerInfo") {
16
+ class Service3 extends Context.Service()("@opencode/server/ServerInfo") {
17
17
  }
18
- function layer4(urls, tmp, app = {}) {
19
- return Layer.succeed(Service4, Service4.of({ urls, app, paths: { tmp } }));
18
+ function layer3(urls, tmp, app = {}) {
19
+ return Layer.succeed(Service3, Service3.of({ urls, app, paths: { tmp } }));
20
20
  }
21
21
  function connectionURLs2(value, requestedHostname) {
22
22
  const url = new URL(value);
@@ -38,4 +38,4 @@ function connectionURLs2(value, requestedHostname) {
38
38
  ];
39
39
  }
40
40
 
41
- export { Service4, layer4, connectionURLs2, exports_server_info };
41
+ export { Service3, layer3, connectionURLs2, exports_server_info };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-r5696se6.js";
6
+ } from "./options-j87xz9bt.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
  missingSession2
3
- } from "./process-smaf4a18.js";
3
+ } from "./options-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 layer3 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
62
+ var layer4 = 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 layer3 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
67
67
  }));
68
68
  }));
69
69
 
70
- export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2, layer3 };
70
+ export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2, layer4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-r5696se6.js";
3
+ } from "./options-j87xz9bt.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 "./process-smaf4a18.js";
4
+ } from "./options-smaf4a18.js";
5
5
  import {
6
6
  Api2
7
- } from "./process-r5696se6.js";
7
+ } from "./options-j87xz9bt.js";
8
8
  import {
9
9
  wantsMediaRefs2
10
- } from "./process-xthc02cw.js";
10
+ } from "./options-xthc02cw.js";
11
11
 
12
12
  // src/handlers/message.ts
13
13
  import { SessionMessage } from "@opencode/core/session/message";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-r5696se6.js";
3
+ } from "./options-j87xz9bt.js";
4
4
 
5
5
  // src/handlers/migration.ts
6
6
  import { V1Migration } from "@opencode/core/database/v1-migration";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./process-smaf4a18.js";
3
+ } from "./options-smaf4a18.js";
4
4
 
5
5
  // src/handlers/job.ts
6
6
  import { Job } from "@opencode/core/job";
@@ -4,7 +4,7 @@ import {
4
4
  authorized2,
5
5
  verifySession2,
6
6
  sessionCookieName2
7
- } from "./process-j4at0y5c.js";
7
+ } from "./options-j4at0y5c.js";
8
8
 
9
9
  // src/middleware/authorization.ts
10
10
  import { UnauthorizedError } from "@opencode/protocol/errors";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-r5696se6.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/agent.ts
9
9
  import { Agent } from "@opencode/core/agent";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./process-gqq6kfhc.js";
3
+ } from "./options-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./process-r5696se6.js";
6
+ } from "./options-j87xz9bt.js";
7
7
 
8
8
  // src/handlers/integration.ts
9
9
  import { Integration } from "@opencode/core/integration";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-r5696se6.js";
3
+ } from "./options-j87xz9bt.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-gqq6kfhc.js";
4
+ } from "./options-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./process-r5696se6.js";
7
+ } from "./options-j87xz9bt.js";
8
8
 
9
9
  // src/handlers/provider.ts
10
10
  import { Provider } from "@opencode/core/provider";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  sessionInfo2
4
- } from "./process-gqq6kfhc.js";
4
+ } from "./options-50bbk3b2.js";
5
5
 
6
6
  // src/middleware/session-location.ts
7
7
  import { Instance } from "@opencode/core/instance/service";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./process-smaf4a18.js";
3
+ } from "./options-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./process-gqq6kfhc.js";
8
+ } from "./options-50bbk3b2.js";
9
9
  import {
10
10
  Api2
11
- } from "./process-r5696se6.js";
11
+ } from "./options-j87xz9bt.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-wqv43pj9.js";
3
+ } from "./options-yqhefp4s.js";
4
4
  import {
5
5
  VoiceHandler2
6
- } from "./process-2835150m.js";
6
+ } from "./options-d0edqfxx.js";
7
7
  import {
8
8
  MessageHandler2
9
- } from "./process-ac10qb5k.js";
9
+ } from "./options-5s0wnsg4.js";
10
10
  import {
11
11
  ModelHandler2
12
- } from "./process-370cpmna.js";
12
+ } from "./options-rha2aq18.js";
13
13
  import {
14
14
  ProviderHandler2
15
- } from "./process-vtfzy3at.js";
15
+ } from "./options-az0609r6.js";
16
16
  import {
17
17
  SessionHandler2
18
- } from "./process-xj86e20n.js";
18
+ } from "./options-gyryr0mf.js";
19
19
  import {
20
20
  PermissionHandler2
21
- } from "./process-50xc6x42.js";
21
+ } from "./options-btahnm2b.js";
22
22
  import {
23
23
  FileSystemHandler2
24
- } from "./process-gj786cm1.js";
24
+ } from "./options-y6b5qq9t.js";
25
25
  import {
26
26
  FormHandler2
27
- } from "./process-7x1re4zg.js";
27
+ } from "./options-f559fakr.js";
28
28
  import {
29
29
  CommandHandler2
30
- } from "./process-xpg37vzc.js";
30
+ } from "./options-4q6e7fh8.js";
31
31
  import {
32
32
  SkillHandler2
33
- } from "./process-xbqm7mpj.js";
33
+ } from "./options-ny1j968n.js";
34
34
  import {
35
35
  RpcHandler2
36
- } from "./process-rcmctvp9.js";
36
+ } from "./options-5cpb32hf.js";
37
37
  import {
38
38
  layer2
39
- } from "./process-3p9jwgak.js";
39
+ } from "./options-fvpjvjpp.js";
40
40
  import {
41
41
  EventHandler2
42
- } from "./process-qsfn57wq.js";
42
+ } from "./options-wpgpd41b.js";
43
43
  import {
44
44
  AgentHandler2
45
- } from "./process-p3f060n2.js";
45
+ } from "./options-8mj7kvhm.js";
46
46
  import {
47
47
  PluginHandler2
48
- } from "./process-sqxx1p54.js";
48
+ } from "./options-2eaky32g.js";
49
49
  import {
50
50
  ServerHandler2
51
- } from "./process-wh109kze.js";
51
+ } from "./options-1esj6h6r.js";
52
52
  import {
53
53
  DebugHandler2
54
- } from "./process-jc2vwkyw.js";
54
+ } from "./options-qcg3sqtb.js";
55
55
  import {
56
56
  PtyHandler2
57
- } from "./process-qpzkqgwj.js";
57
+ } from "./options-psw29prz.js";
58
58
  import {
59
59
  PersistentPtyHandler2
60
- } from "./process-q589sc96.js";
60
+ } from "./options-m5mv4r4e.js";
61
61
  import {
62
62
  ShellHandler2
63
- } from "./process-rxyx8sa0.js";
63
+ } from "./options-qd0r787n.js";
64
64
  import {
65
65
  ReferenceHandler2
66
- } from "./process-skcryrty.js";
66
+ } from "./options-te8jwba1.js";
67
67
  import {
68
68
  LocationHandler2
69
- } from "./process-74kxthdf.js";
69
+ } from "./options-zcvan105.js";
70
70
  import {
71
71
  IntegrationHandler2
72
- } from "./process-amndpc82.js";
72
+ } from "./options-91858wp1.js";
73
73
  import {
74
74
  WebSearchHandler2
75
- } from "./process-7cd61xtm.js";
75
+ } from "./options-kkdkqt8j.js";
76
76
  import {
77
77
  UsageHandler2
78
- } from "./process-jqvq1ywe.js";
78
+ } from "./options-09kw3a77.js";
79
79
  import {
80
80
  McpHandler2
81
- } from "./process-fbdv47za.js";
81
+ } from "./options-1ndv3m9h.js";
82
82
  import {
83
83
  CredentialHandler2
84
- } from "./process-1vxxxmgg.js";
84
+ } from "./options-yk755swr.js";
85
85
  import {
86
86
  ProjectHandler2
87
- } from "./process-zmgfywqd.js";
87
+ } from "./options-a8jcac9a.js";
88
88
  import {
89
89
  WorktreeHandler2
90
- } from "./process-zds85vps.js";
90
+ } from "./options-enp1bp7r.js";
91
91
  import {
92
92
  VcsHandler2
93
- } from "./process-agenqygg.js";
93
+ } from "./options-rs3v36hp.js";
94
94
  import {
95
95
  MigrationHandler2
96
- } from "./process-vvp99hc9.js";
96
+ } from "./options-6z9pvq7p.js";
97
97
  import {
98
98
  ConfigHandler2
99
- } from "./process-0e4fm4yw.js";
99
+ } from "./options-cezwbsk5.js";
100
100
 
101
101
  // src/handlers.ts
102
102
  import { Layer } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-r5696se6.js";
3
+ } from "./options-j87xz9bt.js";
4
4
 
5
5
  // src/handlers/config.ts
6
6
  import { Config } from "@opencode/core/config";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  awaitPlugins2
4
- } from "./process-gqq6kfhc.js";
4
+ } from "./options-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./process-r5696se6.js";
7
+ } from "./options-j87xz9bt.js";
8
8
 
9
9
  // src/handlers/voice.ts
10
10
  import { Location } from "@opencode/core/location";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CONTENT_SECURITY_POLICY2,
3
3
  disposition2
4
- } from "./process-t32e1bbt.js";
4
+ } from "./options-t32e1bbt.js";
5
5
 
6
6
  // src/handlers/media.ts
7
7
  import { Database } from "@opencode/core/database/database";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./process-9rqn6x4v.js";
3
+ } from "./options-9rqn6x4v.js";
4
4
 
5
5
  // src/service-status.ts
6
6
  var exports_service_status = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./process-r5696se6.js";
3
+ } from "./options-j87xz9bt.js";
4
4
 
5
5
  // src/handlers/worktree.ts
6
6
  import { Git } from "@opencode/core/git";