@opencode/server 0.0.0-dev-1180 → 0.0.0-dev-1216

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 +77 -1
  2. package/dist/api.js +5 -5
  3. package/dist/auth.js +1 -1
  4. package/dist/chunks/{options-059rbh9c.js → process-059rbh9c.js} +1 -1
  5. package/dist/chunks/{options-05c5061t.js → process-05c5061t.js} +1 -1
  6. package/dist/chunks/{options-0e81et3m.js → process-0e81et3m.js} +3 -3
  7. package/dist/chunks/{options-0j6zxxn8.js → process-0j6zxxn8.js} +2 -2
  8. package/dist/chunks/{options-39nnfjx1.js → process-0q7s66m2.js} +4 -4
  9. package/dist/chunks/{options-h0z7txf1.js → process-2kaj3ysa.js} +35 -35
  10. package/dist/chunks/{options-2pbbrzpp.js → process-2pbbrzpp.js} +2 -2
  11. package/dist/chunks/{options-4ed680xg.js → process-4ed680xg.js} +2 -2
  12. package/dist/chunks/{options-4p2y0qs3.js → process-4p2y0qs3.js} +2 -2
  13. package/dist/chunks/{options-50bbk3b2.js → process-50bbk3b2.js} +1 -1
  14. package/dist/chunks/{options-kj0bpy1q.js → process-58n429bk.js} +3 -3
  15. package/dist/chunks/{options-3te71694.js → process-5pdfedjd.js} +4 -4
  16. package/dist/chunks/{options-78rcgzsr.js → process-78rcgzsr.js} +1 -1
  17. package/dist/chunks/{options-7b9xm1qg.js → process-7b9xm1qg.js} +1 -1
  18. package/dist/chunks/{options-861wfsmy.js → process-861wfsmy.js} +1 -1
  19. package/dist/chunks/{options-9grnt8dc.js → process-9grnt8dc.js} +2 -2
  20. package/dist/chunks/{options-d2fzn5d0.js → process-axnjg16v.js} +6 -6
  21. package/dist/chunks/{options-2n6axk1q.js → process-b2jgg90c.js} +4 -4
  22. package/dist/chunks/{options-b3bmdkga.js → process-b3bmdkga.js} +1 -1
  23. package/dist/chunks/{options-b4mqtccx.js → process-b4mqtccx.js} +2 -2
  24. package/dist/chunks/{options-d4534456.js → process-d4534456.js} +4 -4
  25. package/dist/chunks/{options-d8b9pm2q.js → process-d8b9pm2q.js} +1 -1
  26. package/dist/chunks/{options-dezpcckc.js → process-dezpcckc.js} +2 -2
  27. package/dist/chunks/{options-djr0jy89.js → process-djr0jy89.js} +1 -1
  28. package/dist/chunks/{options-dx89xydc.js → process-dx89xydc.js} +2 -2
  29. package/dist/chunks/{options-et00mhwf.js → process-et00mhwf.js} +2 -2
  30. package/dist/chunks/{options-f8r9p2vr.js → process-f8r9p2vr.js} +2 -2
  31. package/dist/chunks/{options-feabp8g5.js → process-feabp8g5.js} +4 -4
  32. package/dist/chunks/{options-h1thjy6x.js → process-h1thjy6x.js} +2 -2
  33. package/dist/chunks/{options-h286a6py.js → process-h286a6py.js} +2 -2
  34. package/dist/chunks/{options-805dfp7m.js → process-h4czcbp4.js} +8 -8
  35. package/dist/chunks/{options-htyf2qs7.js → process-htyf2qs7.js} +1 -1
  36. package/dist/chunks/{options-hx8bsq9d.js → process-hx8bsq9d.js} +1 -1
  37. package/dist/chunks/{options-j4at0y5c.js → process-j4at0y5c.js} +1 -1
  38. package/dist/chunks/{options-z0br0gmj.js → process-jf2kpjcv.js} +13 -13
  39. package/dist/chunks/{options-jjvpqmx6.js → process-jjvpqmx6.js} +4 -4
  40. package/dist/chunks/{options-kg0ybx4v.js → process-kg0ybx4v.js} +3 -3
  41. package/dist/chunks/{options-mzs0n5xz.js → process-kqr36gas.js} +7 -7
  42. package/dist/chunks/{options-m119esdv.js → process-m119esdv.js} +3 -3
  43. package/dist/chunks/{options-myqk22k5.js → process-myqk22k5.js} +2 -2
  44. package/dist/chunks/{options-p86kew8c.js → process-p86kew8c.js} +2 -2
  45. package/dist/chunks/{options-q44yktpv.js → process-q44yktpv.js} +2 -2
  46. package/dist/chunks/{options-s9tkswmw.js → process-s9tkswmw.js} +2 -2
  47. package/dist/chunks/{options-gevwyqx5.js → process-sesxjm48.js} +7 -7
  48. package/dist/chunks/{options-t32e1bbt.js → process-t32e1bbt.js} +1 -1
  49. package/dist/chunks/{options-fvpjvjpp.js → process-tjxfj8xj.js} +10 -10
  50. package/dist/chunks/{options-tk56ffsq.js → process-tk56ffsq.js} +2 -2
  51. package/dist/chunks/{options-v8aqacn3.js → process-v8aqacn3.js} +2 -2
  52. package/dist/chunks/{options-vbgqk0mr.js → process-vbgqk0mr.js} +2 -2
  53. package/dist/chunks/{options-x4b2rtcb.js → process-x4b2rtcb.js} +1 -1
  54. package/dist/chunks/{options-zbe9jfhy.js → process-zbe9jfhy.js} +1 -1
  55. package/dist/content-headers.js +1 -1
  56. package/dist/cors.js +1 -1
  57. package/dist/event-feed.js +7 -7
  58. package/dist/fetch.js +58 -58
  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 +2 -2
  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 +59 -59
  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 +3 -3
  110. package/dist/service-status.js +3 -3
  111. package/dist/workerd.js +59 -59
  112. package/package.json +8 -8
  113. /package/dist/chunks/{options-9rqn6x4v.js → process-9rqn6x4v.js} +0 -0
  114. /package/dist/chunks/{options-bd8755ek.js → process-bd8755ek.js} +0 -0
  115. /package/dist/chunks/{options-q187pxxd.js → process-q187pxxd.js} +0 -0
  116. /package/dist/chunks/{options-q4bn6dy8.js → process-q4bn6dy8.js} +0 -0
  117. /package/dist/chunks/{options-smaf4a18.js → process-smaf4a18.js} +0 -0
  118. /package/dist/chunks/{options-xthc02cw.js → process-xthc02cw.js} +0 -0
  119. /package/dist/chunks/{options-yc7nft6q.js → process-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.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" | "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">;
@@ -2549,6 +2549,62 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
2549
2549
  readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>, never, never>;
2550
2550
  readonly started: import("effect/Schema").Int;
2551
2551
  }>;
2552
+ }, import("effect/Schema").Struct<{
2553
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
2554
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
2555
+ };
2556
+ readonly created: import("effect/Schema").Finite;
2557
+ 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>;
2558
+ readonly type: import("effect/Schema").Literal<"session.step.first-token">;
2559
+ readonly durable: import("effect/Schema").Struct<{
2560
+ readonly aggregateID: import("effect/Schema").String;
2561
+ readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
2562
+ readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
2563
+ }>;
2564
+ readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
2565
+ readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
2566
+ readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
2567
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
2568
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
2569
+ }>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
2570
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
2571
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
2572
+ }>, never, never>;
2573
+ }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
2574
+ readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
2575
+ readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
2576
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
2577
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
2578
+ }>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
2579
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
2580
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
2581
+ }>, never, never>;
2582
+ }>>, never, never>;
2583
+ readonly data: import("effect/Schema").Struct<{
2584
+ readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
2585
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
2586
+ };
2587
+ readonly assistantMessageID: import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
2588
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
2589
+ fromEvent: (eventID: string) => string & import("effect/Brand").Brand<"Session.Message.ID">;
2590
+ };
2591
+ }>;
2592
+ }> & {
2593
+ type: "session.step.first-token";
2594
+ durability: "durable";
2595
+ durable: {
2596
+ readonly version: number;
2597
+ readonly aggregate: string;
2598
+ };
2599
+ data: import("effect/Schema").Struct<{
2600
+ readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
2601
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
2602
+ };
2603
+ readonly assistantMessageID: import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
2604
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
2605
+ fromEvent: (eventID: string) => string & import("effect/Brand").Brand<"Session.Message.ID">;
2606
+ };
2607
+ }>;
2552
2608
  }, import("effect/Schema").Struct<{
2553
2609
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
2554
2610
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -7355,6 +7411,26 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
7355
7411
  readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
7356
7412
  readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
7357
7413
  };
7414
+ } | {
7415
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
7416
+ readonly created: number;
7417
+ readonly metadata?: {
7418
+ readonly [x: string]: unknown;
7419
+ } | undefined;
7420
+ readonly type: "session.step.first-token";
7421
+ readonly durable: {
7422
+ readonly aggregateID: string;
7423
+ readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
7424
+ readonly version: number & import("effect/Brand").Brand<"Event.Version">;
7425
+ };
7426
+ readonly location?: {
7427
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
7428
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
7429
+ } | undefined;
7430
+ readonly data: {
7431
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
7432
+ readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
7433
+ };
7358
7434
  } | {
7359
7435
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
7360
7436
  readonly created: number;
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/options-0e81et3m.js";
4
- import"./chunks/options-b3bmdkga.js";
5
- import"./chunks/options-htyf2qs7.js";
6
- import"./chunks/options-50bbk3b2.js";
7
- import"./chunks/options-smaf4a18.js";
3
+ } from "./chunks/process-0e81et3m.js";
4
+ import"./chunks/process-b3bmdkga.js";
5
+ import"./chunks/process-htyf2qs7.js";
6
+ import"./chunks/process-50bbk3b2.js";
7
+ import"./chunks/process-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/options-j4at0y5c.js";
10
+ } from "./chunks/process-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 "./options-smaf4a18.js";
3
+ } from "./process-smaf4a18.js";
4
4
 
5
5
  // src/handlers/schedule.ts
6
6
  import { Permission } from "@opencode/core/permission";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-0e81et3m.js";
3
+ } from "./process-0e81et3m.js";
4
4
 
5
5
  // src/handlers/project.ts
6
6
  import { Project } from "@opencode/core/project";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./options-50bbk3b2.js";
3
+ } from "./process-50bbk3b2.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./options-htyf2qs7.js";
6
+ } from "./process-htyf2qs7.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./options-b3bmdkga.js";
9
+ } from "./process-b3bmdkga.js";
10
10
 
11
11
  // src/api.ts
12
12
  import { makeDefaultApi } from "@opencode/protocol/api";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  awaitPlugins2
4
- } from "./options-50bbk3b2.js";
4
+ } from "./process-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./options-0e81et3m.js";
7
+ } from "./process-0e81et3m.js";
8
8
 
9
9
  // src/handlers/generate.ts
10
10
  import { Generate } from "@opencode/core/generate";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./options-9rqn6x4v.js";
3
+ } from "./process-9rqn6x4v.js";
4
4
 
5
5
  // src/service-status.ts
6
6
  var exports_service_status = {};
7
7
  __export(exports_service_status, {
8
8
  Status: () => exports_service_status,
9
- make: () => make2
9
+ make: () => make4
10
10
  });
11
11
  import { Effect, Ref } from "effect";
12
- var make2 = Effect.fnUntraced(function* (options = {}) {
12
+ var make4 = Effect.fnUntraced(function* (options = {}) {
13
13
  const current = yield* Ref.make(options.initial ?? { type: "starting" });
14
14
  const beginStopping = Ref.update(current, (status) => status.type === "stopping" ? status : { type: "stopping" });
15
15
  return {
@@ -20,4 +20,4 @@ var make2 = Effect.fnUntraced(function* (options = {}) {
20
20
  };
21
21
  });
22
22
 
23
- export { make2, exports_service_status };
23
+ export { make4, exports_service_status };
@@ -1,105 +1,105 @@
1
1
  import {
2
2
  GenerateHandler2
3
- } from "./options-0j6zxxn8.js";
3
+ } from "./process-0j6zxxn8.js";
4
4
  import {
5
5
  VoiceHandler2
6
- } from "./options-et00mhwf.js";
6
+ } from "./process-et00mhwf.js";
7
7
  import {
8
8
  MessageHandler2
9
- } from "./options-m119esdv.js";
9
+ } from "./process-m119esdv.js";
10
10
  import {
11
11
  ModelHandler2
12
- } from "./options-4p2y0qs3.js";
12
+ } from "./process-4p2y0qs3.js";
13
13
  import {
14
14
  ProviderHandler2
15
- } from "./options-9grnt8dc.js";
15
+ } from "./process-9grnt8dc.js";
16
16
  import {
17
17
  SessionHandler2
18
- } from "./options-feabp8g5.js";
18
+ } from "./process-feabp8g5.js";
19
19
  import {
20
20
  PermissionHandler2
21
- } from "./options-kg0ybx4v.js";
21
+ } from "./process-kg0ybx4v.js";
22
22
  import {
23
23
  FileSystemHandler2
24
- } from "./options-kj0bpy1q.js";
24
+ } from "./process-58n429bk.js";
25
25
  import {
26
26
  FormHandler2
27
- } from "./options-v8aqacn3.js";
27
+ } from "./process-v8aqacn3.js";
28
28
  import {
29
29
  CommandHandler2
30
- } from "./options-b4mqtccx.js";
30
+ } from "./process-b4mqtccx.js";
31
31
  import {
32
32
  SkillHandler2
33
- } from "./options-q44yktpv.js";
33
+ } from "./process-q44yktpv.js";
34
34
  import {
35
35
  RpcHandler2
36
- } from "./options-d8b9pm2q.js";
36
+ } from "./process-d8b9pm2q.js";
37
37
  import {
38
- layer2
39
- } from "./options-fvpjvjpp.js";
38
+ layer3
39
+ } from "./process-tjxfj8xj.js";
40
40
  import {
41
41
  EventHandler2
42
- } from "./options-2n6axk1q.js";
42
+ } from "./process-b2jgg90c.js";
43
43
  import {
44
44
  AgentHandler2
45
- } from "./options-dezpcckc.js";
45
+ } from "./process-dezpcckc.js";
46
46
  import {
47
47
  PluginHandler2
48
- } from "./options-vbgqk0mr.js";
48
+ } from "./process-vbgqk0mr.js";
49
49
  import {
50
50
  ServerHandler2
51
- } from "./options-d2fzn5d0.js";
51
+ } from "./process-axnjg16v.js";
52
52
  import {
53
53
  DebugHandler2
54
- } from "./options-h1thjy6x.js";
54
+ } from "./process-h1thjy6x.js";
55
55
  import {
56
56
  PtyHandler2
57
- } from "./options-jjvpqmx6.js";
57
+ } from "./process-jjvpqmx6.js";
58
58
  import {
59
59
  PersistentPtyHandler2
60
- } from "./options-gevwyqx5.js";
60
+ } from "./process-sesxjm48.js";
61
61
  import {
62
62
  ShellHandler2
63
- } from "./options-f8r9p2vr.js";
63
+ } from "./process-f8r9p2vr.js";
64
64
  import {
65
65
  ReferenceHandler2
66
- } from "./options-s9tkswmw.js";
66
+ } from "./process-s9tkswmw.js";
67
67
  import {
68
68
  LocationHandler2
69
- } from "./options-zbe9jfhy.js";
69
+ } from "./process-zbe9jfhy.js";
70
70
  import {
71
71
  IntegrationHandler2
72
- } from "./options-2pbbrzpp.js";
72
+ } from "./process-2pbbrzpp.js";
73
73
  import {
74
74
  WebSearchHandler2
75
- } from "./options-dx89xydc.js";
75
+ } from "./process-dx89xydc.js";
76
76
  import {
77
77
  UsageHandler2
78
- } from "./options-4ed680xg.js";
78
+ } from "./process-4ed680xg.js";
79
79
  import {
80
80
  McpHandler2
81
- } from "./options-d4534456.js";
81
+ } from "./process-d4534456.js";
82
82
  import {
83
83
  CredentialHandler2
84
- } from "./options-tk56ffsq.js";
84
+ } from "./process-tk56ffsq.js";
85
85
  import {
86
86
  ProjectHandler2
87
- } from "./options-05c5061t.js";
87
+ } from "./process-05c5061t.js";
88
88
  import {
89
89
  WorktreeHandler2
90
- } from "./options-861wfsmy.js";
90
+ } from "./process-861wfsmy.js";
91
91
  import {
92
92
  VcsHandler2
93
- } from "./options-h286a6py.js";
93
+ } from "./process-h286a6py.js";
94
94
  import {
95
95
  MigrationHandler2
96
- } from "./options-x4b2rtcb.js";
96
+ } from "./process-x4b2rtcb.js";
97
97
  import {
98
98
  ConfigHandler2
99
- } from "./options-hx8bsq9d.js";
99
+ } from "./process-hx8bsq9d.js";
100
100
 
101
101
  // src/handlers.ts
102
102
  import { Layer } from "effect";
103
- var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, UsageHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer2)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
103
+ var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, UsageHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer3)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
104
104
 
105
105
  export { handlers2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-50bbk3b2.js";
3
+ } from "./process-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-0e81et3m.js";
6
+ } from "./process-0e81et3m.js";
7
7
 
8
8
  // src/handlers/integration.ts
9
9
  import { Integration } from "@opencode/core/integration";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-50bbk3b2.js";
3
+ } from "./process-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-0e81et3m.js";
6
+ } from "./process-0e81et3m.js";
7
7
 
8
8
  // src/handlers/usage.ts
9
9
  import { UsageLimits } from "@opencode/core/usage-limits";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./options-50bbk3b2.js";
4
+ } from "./process-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./options-0e81et3m.js";
7
+ } from "./process-0e81et3m.js";
8
8
 
9
9
  // src/handlers/model.ts
10
10
  import { Model } from "@opencode/core/model";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./options-smaf4a18.js";
3
+ } from "./process-smaf4a18.js";
4
4
 
5
5
  // src/location.ts
6
6
  import { FileSystem } from "@opencode/core/filesystem";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  response2
3
- } from "./options-50bbk3b2.js";
3
+ } from "./process-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-0e81et3m.js";
6
+ } from "./process-0e81et3m.js";
7
7
  import {
8
8
  download2
9
- } from "./options-t32e1bbt.js";
9
+ } from "./process-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
  __export
3
- } from "./options-9rqn6x4v.js";
3
+ } from "./process-9rqn6x4v.js";
4
4
 
5
5
  // src/server-info.ts
6
6
  var exports_server_info = {};
@@ -8,14 +8,14 @@ __export(exports_server_info, {
8
8
  ServerInfo: () => exports_server_info,
9
9
  Service: () => Service3,
10
10
  connectionURLs: () => connectionURLs2,
11
- layer: () => layer3
11
+ layer: () => layer2
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { networkInterfaces } from "node:os";
15
15
 
16
16
  class Service3 extends Context.Service()("@opencode/server/ServerInfo") {
17
17
  }
18
- function layer3(urls, tmp, app = {}) {
18
+ function layer2(urls, tmp, app = {}) {
19
19
  return Layer.succeed(Service3, Service3.of({ urls, app, paths: { tmp } }));
20
20
  }
21
21
  function connectionURLs2(value, requestedHostname) {
@@ -38,4 +38,4 @@ function connectionURLs2(value, requestedHostname) {
38
38
  ];
39
39
  }
40
40
 
41
- export { Service3, layer3, connectionURLs2, exports_server_info };
41
+ export { Service3, layer2, connectionURLs2, exports_server_info };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./options-smaf4a18.js";
3
+ } from "./process-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 "./options-j4at0y5c.js";
7
+ } from "./process-j4at0y5c.js";
8
8
 
9
9
  // src/middleware/authorization.ts
10
10
  import { UnauthorizedError } from "@opencode/protocol/errors";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-0e81et3m.js";
3
+ } from "./process-0e81et3m.js";
4
4
 
5
5
  // src/handlers/worktree.ts
6
6
  import { Git } from "@opencode/core/git";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  awaitPlugins2,
3
3
  response2
4
- } from "./options-50bbk3b2.js";
4
+ } from "./process-50bbk3b2.js";
5
5
  import {
6
6
  Api2
7
- } from "./options-0e81et3m.js";
7
+ } from "./process-0e81et3m.js";
8
8
 
9
9
  // src/handlers/provider.ts
10
10
  import { Provider } from "@opencode/core/provider";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-0e81et3m.js";
3
+ } from "./process-0e81et3m.js";
4
4
  import {
5
5
  SESSION_TTL_SECONDS2,
6
6
  Config2,
7
7
  issueSession2,
8
8
  sessionCookieName2
9
- } from "./options-j4at0y5c.js";
9
+ } from "./process-j4at0y5c.js";
10
10
  import {
11
11
  Service3
12
- } from "./options-3te71694.js";
12
+ } from "./process-5pdfedjd.js";
13
13
  import {
14
- Service4
15
- } from "./options-mzs0n5xz.js";
14
+ Service2
15
+ } from "./process-kqr36gas.js";
16
16
 
17
17
  // src/handlers/server.ts
18
18
  import { hostname } from "node:os";
@@ -22,7 +22,7 @@ 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* Service4;
25
+ const pairing = yield* Service2;
26
26
  const auth = yield* Config2;
27
27
  return handlers.handle("server.info", () => Effect.gen(function* () {
28
28
  const info = yield* Service3;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-0e81et3m.js";
3
+ } from "./process-0e81et3m.js";
4
4
  import {
5
- Service2,
5
+ Service4,
6
6
  frame2
7
- } from "./options-fvpjvjpp.js";
7
+ } from "./process-tjxfj8xj.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* Service4;
16
16
  return handlers.handleRaw("event.subscribe", (ctx) => Effect.gen(function* () {
17
17
  const connected = {
18
18
  id: Event.ID.create(),
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  sessionInfo2
4
- } from "./options-50bbk3b2.js";
4
+ } from "./process-50bbk3b2.js";
5
5
 
6
6
  // src/middleware/session-location.ts
7
7
  import { Instance } from "@opencode/core/instance/service";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-50bbk3b2.js";
3
+ } from "./process-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-0e81et3m.js";
6
+ } from "./process-0e81et3m.js";
7
7
 
8
8
  // src/handlers/command.ts
9
9
  import { Command } from "@opencode/core/command";
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./options-50bbk3b2.js";
5
+ } from "./process-50bbk3b2.js";
6
6
  import {
7
7
  Api2
8
- } from "./options-0e81et3m.js";
8
+ } from "./process-0e81et3m.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./options-q4bn6dy8.js";
12
+ } from "./process-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./options-q187pxxd.js";
16
+ } from "./process-q187pxxd.js";
17
17
 
18
18
  // src/handlers/mcp.ts
19
19
  import { Location } from "@opencode/core/location";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./options-0e81et3m.js";
3
+ } from "./process-0e81et3m.js";
4
4
 
5
5
  // src/handlers/rpc.ts
6
6
  import { Rpc } from "@opencode/core/rpc";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./options-50bbk3b2.js";
3
+ } from "./process-50bbk3b2.js";
4
4
  import {
5
5
  Api2
6
- } from "./options-0e81et3m.js";
6
+ } from "./process-0e81et3m.js";
7
7
 
8
8
  // src/handlers/agent.ts
9
9
  import { Agent } from "@opencode/core/agent";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CONTENT_SECURITY_POLICY2,
3
3
  disposition2
4
- } from "./options-t32e1bbt.js";
4
+ } from "./process-t32e1bbt.js";
5
5
 
6
6
  // src/handlers/media.ts
7
7
  import { Database } from "@opencode/core/database/database";