@opencode/server 2.1.1 → 2.1.3

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 (106) hide show
  1. package/dist/api.d.ts +19 -4
  2. package/dist/api.js +5 -5
  3. package/dist/auth.js +1 -1
  4. package/dist/chunks/{location-ctk1s78a.js → service-status-0f489yfb.js} +32 -32
  5. package/dist/chunks/{location-bx47k33v.js → service-status-0znmasm1.js} +2 -2
  6. package/dist/chunks/{location-yehasrps.js → service-status-10kexchg.js} +2 -2
  7. package/dist/chunks/{location-33prfkkd.js → service-status-11d378s5.js} +3 -3
  8. package/dist/chunks/{location-qbh90c1d.js → service-status-1qc831kp.js} +2 -2
  9. package/dist/chunks/{location-z6sxg6td.js → service-status-2e16a9cc.js} +1 -1
  10. package/dist/chunks/{location-vbzm2jgm.js → service-status-2f9g7rg2.js} +2 -2
  11. package/dist/chunks/{location-4hhhes7w.js → service-status-3154e7fk.js} +1 -1
  12. package/dist/chunks/{location-wk806w00.js → service-status-53jj3zgg.js} +3 -3
  13. package/dist/chunks/{location-2c5m7t9e.js → service-status-5680j7c4.js} +16 -16
  14. package/dist/chunks/{location-43r48nqn.js → service-status-5adf1am9.js} +2 -2
  15. package/dist/chunks/{location-97eb2r3v.js → service-status-5ewqf72w.js} +2 -2
  16. package/dist/chunks/{location-4dv9a668.js → service-status-6e6jjne7.js} +2 -2
  17. package/dist/chunks/{location-7vd5668a.js → service-status-6tj91hdj.js} +1 -1
  18. package/dist/chunks/{location-10hxeg6b.js → service-status-6tjqh8g4.js} +3 -3
  19. package/dist/chunks/{location-yfz2nrjq.js → service-status-6v4wsps6.js} +1 -1
  20. package/dist/chunks/{location-tz3mehbr.js → service-status-79n3507d.js} +3 -3
  21. package/dist/chunks/{location-0d864bga.js → service-status-7qrtcnv4.js} +1 -1
  22. package/dist/chunks/{location-71n7prbj.js → service-status-7scj3y0h.js} +8 -8
  23. package/dist/chunks/{location-ssyxw8nc.js → service-status-a30hykaf.js} +2 -2
  24. package/dist/chunks/{location-5zsr2h86.js → service-status-c2hv5jmf.js} +1 -1
  25. package/dist/chunks/service-status-crt28xe4.js +41 -0
  26. package/dist/chunks/{location-vpz7f20y.js → service-status-e6e4kz0w.js} +4 -4
  27. package/dist/chunks/{location-b56hqv74.js → service-status-gymtz25n.js} +3 -3
  28. package/dist/chunks/{location-zessacar.js → service-status-hwdnjend.js} +2 -2
  29. package/dist/chunks/{location-vb5yx5r0.js → service-status-j3461ttv.js} +2 -2
  30. package/dist/chunks/{location-anm12x33.js → service-status-j4at0y5c.js} +1 -1
  31. package/dist/chunks/{location-8137b89p.js → service-status-jwf0kwqx.js} +2 -2
  32. package/dist/chunks/{location-4g2hx1xt.js → service-status-k6dz4enc.js} +5 -5
  33. package/dist/chunks/{location-h8ws5ssa.js → service-status-krqg3gd2.js} +1 -1
  34. package/dist/chunks/{location-ftaz8n62.js → service-status-pf9k0dqe.js} +2 -2
  35. package/dist/chunks/{location-p74g497q.js → service-status-q6jxy1hn.js} +5 -5
  36. package/dist/chunks/{location-9snwnvf8.js → service-status-r82dtfrk.js} +3 -3
  37. package/dist/chunks/{location-08x9tjee.js → service-status-rj8tbp10.js} +1 -1
  38. package/dist/chunks/{location-jkvn5n4s.js → service-status-rkmbbexc.js} +2 -2
  39. package/dist/chunks/{location-sstsrjtg.js → service-status-vb61dkrm.js} +7 -7
  40. package/dist/chunks/{location-rf01ee6q.js → service-status-vg0x3zn0.js} +1 -1
  41. package/dist/chunks/{location-ghk96rjy.js → service-status-x2cwbfak.js} +7 -7
  42. package/dist/chunks/{location-j4zqsxgy.js → service-status-x74w7e1f.js} +1 -1
  43. package/dist/chunks/{location-ewe1fzkk.js → service-status-xcxwzp6z.js} +2 -2
  44. package/dist/chunks/{location-cv0ajwc9.js → service-status-y89d99mz.js} +2 -2
  45. package/dist/chunks/{location-ptey1p5v.js → service-status-yzwm8eeq.js} +2 -2
  46. package/dist/chunks/{location-rntbwr87.js → service-status-z554rpg5.js} +2 -2
  47. package/dist/chunks/{location-4d1eemzq.js → service-status-z9g9xjb3.js} +2 -2
  48. package/dist/chunks/{location-bkk2wfbz.js → service-status-zy1wt1f8.js} +5 -5
  49. package/dist/cors.js +1 -1
  50. package/dist/event-feed.js +3 -3
  51. package/dist/fetch.js +48 -48
  52. package/dist/handlers/agent.js +6 -6
  53. package/dist/handlers/command.js +6 -6
  54. package/dist/handlers/config.js +6 -6
  55. package/dist/handlers/credential.js +6 -6
  56. package/dist/handlers/debug.js +6 -6
  57. package/dist/handlers/event.js +7 -7
  58. package/dist/handlers/form.js +6 -6
  59. package/dist/handlers/fs.js +6 -6
  60. package/dist/handlers/generate.js +6 -6
  61. package/dist/handlers/integration.js +6 -6
  62. package/dist/handlers/location.js +6 -6
  63. package/dist/handlers/mcp.js +6 -6
  64. package/dist/handlers/message.js +6 -6
  65. package/dist/handlers/migration.js +6 -6
  66. package/dist/handlers/model.js +6 -6
  67. package/dist/handlers/permission.js +6 -6
  68. package/dist/handlers/persistent-pty.js +8 -8
  69. package/dist/handlers/plugin.js +6 -6
  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 +9 -9
  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.js +6 -6
  79. package/dist/handlers/shell.js +6 -6
  80. package/dist/handlers/skill.js +6 -6
  81. package/dist/handlers/vcs.js +6 -6
  82. package/dist/handlers/voice.js +6 -6
  83. package/dist/handlers/websearch.js +6 -6
  84. package/dist/handlers/worktree.js +6 -6
  85. package/dist/handlers.js +44 -44
  86. package/dist/location.js +4 -4
  87. package/dist/middleware/authorization.js +2 -2
  88. package/dist/middleware/form-location.js +3 -3
  89. package/dist/middleware/schema-error.js +1 -1
  90. package/dist/middleware/session-location.js +3 -3
  91. package/dist/pairing.js +3 -3
  92. package/dist/process.js +52 -52
  93. package/dist/pty-environment.js +3 -3
  94. package/dist/request-tracing.js +1 -1
  95. package/dist/routes.js +47 -47
  96. package/dist/server-info.js +5 -5
  97. package/dist/service-status.js +3 -3
  98. package/dist/workerd.js +49 -49
  99. package/package.json +9 -9
  100. package/dist/chunks/location-686p2xfa.js +0 -30
  101. /package/dist/chunks/{location-9rqn6x4v.js → service-status-9rqn6x4v.js} +0 -0
  102. /package/dist/chunks/{location-erzfdgke.js → service-status-erzfdgke.js} +0 -0
  103. /package/dist/chunks/{location-h6rt5k9s.js → service-status-h6rt5k9s.js} +0 -0
  104. /package/dist/chunks/{location-q4bn6dy8.js → service-status-q4bn6dy8.js} +0 -0
  105. /package/dist/chunks/{location-smaf4a18.js → service-status-smaf4a18.js} +0 -0
  106. /package/dist/chunks/{location-yc7nft6q.js → service-status-yc7nft6q.js} +0 -0
package/dist/api.d.ts CHANGED
@@ -1454,7 +1454,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
1454
1454
  readonly text: import("effect/Schema").String;
1455
1455
  }>>, never, never>;
1456
1456
  }> & {
1457
- create: (input: import("@opencode/schema/prompt").FileAttachment) => {
1457
+ create: (input: import("@opencode/schema").FileAttachment) => {
1458
1458
  readonly data: string;
1459
1459
  readonly mime: string;
1460
1460
  readonly source: {
@@ -1492,7 +1492,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
1492
1492
  readonly text: import("effect/Schema").String;
1493
1493
  }>>, never, never>;
1494
1494
  }> & {
1495
- create: (input: import("@opencode/schema/prompt").FileAttachment) => {
1495
+ create: (input: import("@opencode/schema").FileAttachment) => {
1496
1496
  readonly data: string;
1497
1497
  readonly mime: string;
1498
1498
  readonly source: {
@@ -1637,7 +1637,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
1637
1637
  readonly text: import("effect/Schema").String;
1638
1638
  }>>, never, never>;
1639
1639
  }> & {
1640
- create: (input: import("@opencode/schema/prompt").FileAttachment) => {
1640
+ create: (input: import("@opencode/schema").FileAttachment) => {
1641
1641
  readonly data: string;
1642
1642
  readonly mime: string;
1643
1643
  readonly source: {
@@ -1675,7 +1675,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
1675
1675
  readonly text: import("effect/Schema").String;
1676
1676
  }>>, never, never>;
1677
1677
  }> & {
1678
- create: (input: import("@opencode/schema/prompt").FileAttachment) => {
1678
+ create: (input: import("@opencode/schema").FileAttachment) => {
1679
1679
  readonly data: string;
1680
1680
  readonly mime: string;
1681
1681
  readonly source: {
@@ -2042,6 +2042,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
2042
2042
  }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
2043
2043
  readonly body: import("effect/Schema").String;
2044
2044
  }>>, never, never>;
2045
+ readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
2045
2046
  }>;
2046
2047
  }>;
2047
2048
  }> & {
@@ -2065,6 +2066,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
2065
2066
  }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
2066
2067
  readonly body: import("effect/Schema").String;
2067
2068
  }>>, never, never>;
2069
+ readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
2068
2070
  }>;
2069
2071
  }>;
2070
2072
  }, import("effect/Schema").Struct<{
@@ -2782,6 +2784,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
2782
2784
  }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
2783
2785
  readonly body: import("effect/Schema").String;
2784
2786
  }>>, never, never>;
2787
+ readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
2785
2788
  }>;
2786
2789
  readonly finish: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Literals<readonly ["content-filter"]>>>, import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["content-filter"]>>, never, never>;
2787
2790
  readonly rawFinish: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
@@ -2836,6 +2839,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
2836
2839
  }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
2837
2840
  readonly body: import("effect/Schema").String;
2838
2841
  }>>, never, never>;
2842
+ readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
2839
2843
  }>;
2840
2844
  readonly finish: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Literals<readonly ["content-filter"]>>>, import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["content-filter"]>>, never, never>;
2841
2845
  readonly rawFinish: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
@@ -3655,6 +3659,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
3655
3659
  }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
3656
3660
  readonly body: import("effect/Schema").String;
3657
3661
  }>>, never, never>;
3662
+ readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
3658
3663
  }>;
3659
3664
  readonly content: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").NonEmptyArray<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
3660
3665
  readonly type: import("effect/Schema").Literal<"text">;
@@ -3703,6 +3708,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
3703
3708
  }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
3704
3709
  readonly body: import("effect/Schema").String;
3705
3710
  }>>, never, never>;
3711
+ readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
3706
3712
  }>;
3707
3713
  readonly content: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").NonEmptyArray<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
3708
3714
  readonly type: import("effect/Schema").Literal<"text">;
@@ -3776,6 +3782,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
3776
3782
  }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
3777
3783
  readonly body: import("effect/Schema").String;
3778
3784
  }>>, never, never>;
3785
+ readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
3779
3786
  }>;
3780
3787
  }>;
3781
3788
  }> & {
@@ -3805,6 +3812,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
3805
3812
  }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
3806
3813
  readonly body: import("effect/Schema").String;
3807
3814
  }>>, never, never>;
3815
+ readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
3808
3816
  }>;
3809
3817
  }>;
3810
3818
  }, import("effect/Schema").Struct<{
@@ -4153,6 +4161,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
4153
4161
  }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
4154
4162
  readonly body: import("effect/Schema").String;
4155
4163
  }>>, never, never>;
4164
+ readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
4156
4165
  }>;
4157
4166
  readonly inputID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
4158
4167
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -4206,6 +4215,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
4206
4215
  }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
4207
4216
  readonly body: import("effect/Schema").String;
4208
4217
  }>>, never, never>;
4218
+ readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
4209
4219
  }>;
4210
4220
  readonly inputID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
4211
4221
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -6929,6 +6939,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
6929
6939
  readonly response?: {
6930
6940
  readonly body: string;
6931
6941
  } | undefined;
6942
+ readonly retryAfterMs?: number | undefined;
6932
6943
  };
6933
6944
  };
6934
6945
  } | {
@@ -7211,6 +7222,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
7211
7222
  readonly response?: {
7212
7223
  readonly body: string;
7213
7224
  } | undefined;
7225
+ readonly retryAfterMs?: number | undefined;
7214
7226
  };
7215
7227
  readonly finish?: "content-filter" | undefined;
7216
7228
  readonly rawFinish?: string | undefined;
@@ -7539,6 +7551,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
7539
7551
  readonly response?: {
7540
7552
  readonly body: string;
7541
7553
  } | undefined;
7554
+ readonly retryAfterMs?: number | undefined;
7542
7555
  };
7543
7556
  readonly content?: readonly [{
7544
7557
  readonly type: "text";
@@ -7593,6 +7606,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
7593
7606
  readonly response?: {
7594
7607
  readonly body: string;
7595
7608
  } | undefined;
7609
+ readonly retryAfterMs?: number | undefined;
7596
7610
  };
7597
7611
  };
7598
7612
  } | {
@@ -7696,6 +7710,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
7696
7710
  readonly response?: {
7697
7711
  readonly body: string;
7698
7712
  } | undefined;
7713
+ readonly retryAfterMs?: number | undefined;
7699
7714
  };
7700
7715
  readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
7701
7716
  readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Api2
3
- } from "./chunks/location-9snwnvf8.js";
4
- import"./chunks/location-j4zqsxgy.js";
5
- import"./chunks/location-4hhhes7w.js";
6
- import"./chunks/location-b56hqv74.js";
7
- import"./chunks/location-smaf4a18.js";
3
+ } from "./chunks/service-status-r82dtfrk.js";
4
+ import"./chunks/service-status-x74w7e1f.js";
5
+ import"./chunks/service-status-3154e7fk.js";
6
+ import"./chunks/service-status-gymtz25n.js";
7
+ import"./chunks/service-status-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/location-anm12x33.js";
10
+ } from "./chunks/service-status-j4at0y5c.js";
11
11
  export {
12
12
  Config2 as Config,
13
13
  SESSION_TTL_SECONDS2 as SESSION_TTL_SECONDS,
@@ -1,99 +1,99 @@
1
1
  import {
2
2
  GenerateHandler2
3
- } from "./location-4d1eemzq.js";
3
+ } from "./service-status-z9g9xjb3.js";
4
4
  import {
5
5
  VoiceHandler2
6
- } from "./location-686p2xfa.js";
6
+ } from "./service-status-crt28xe4.js";
7
7
  import {
8
8
  MessageHandler2
9
- } from "./location-vb5yx5r0.js";
9
+ } from "./service-status-j3461ttv.js";
10
10
  import {
11
11
  ModelHandler2
12
- } from "./location-ewe1fzkk.js";
12
+ } from "./service-status-xcxwzp6z.js";
13
13
  import {
14
14
  ProviderHandler2
15
- } from "./location-97eb2r3v.js";
15
+ } from "./service-status-5ewqf72w.js";
16
16
  import {
17
17
  SessionHandler2
18
- } from "./location-wk806w00.js";
18
+ } from "./service-status-53jj3zgg.js";
19
19
  import {
20
20
  PermissionHandler2
21
- } from "./location-33prfkkd.js";
21
+ } from "./service-status-11d378s5.js";
22
22
  import {
23
23
  FileSystemHandler2
24
- } from "./location-ssyxw8nc.js";
24
+ } from "./service-status-a30hykaf.js";
25
25
  import {
26
26
  FormHandler2
27
- } from "./location-43r48nqn.js";
27
+ } from "./service-status-5adf1am9.js";
28
28
  import {
29
29
  CommandHandler2
30
- } from "./location-ptey1p5v.js";
30
+ } from "./service-status-yzwm8eeq.js";
31
31
  import {
32
32
  SkillHandler2
33
- } from "./location-bx47k33v.js";
33
+ } from "./service-status-0znmasm1.js";
34
34
  import {
35
35
  RpcHandler2
36
- } from "./location-z6sxg6td.js";
36
+ } from "./service-status-2e16a9cc.js";
37
37
  import {
38
38
  layer4
39
- } from "./location-4g2hx1xt.js";
39
+ } from "./service-status-k6dz4enc.js";
40
40
  import {
41
41
  EventHandler2
42
- } from "./location-jkvn5n4s.js";
42
+ } from "./service-status-rkmbbexc.js";
43
43
  import {
44
44
  AgentHandler2
45
- } from "./location-rntbwr87.js";
45
+ } from "./service-status-z554rpg5.js";
46
46
  import {
47
47
  PluginHandler2
48
- } from "./location-8137b89p.js";
48
+ } from "./service-status-jwf0kwqx.js";
49
49
  import {
50
50
  ServerHandler2
51
- } from "./location-71n7prbj.js";
51
+ } from "./service-status-7scj3y0h.js";
52
52
  import {
53
53
  DebugHandler2
54
- } from "./location-vbzm2jgm.js";
54
+ } from "./service-status-2f9g7rg2.js";
55
55
  import {
56
56
  PtyHandler2
57
- } from "./location-p74g497q.js";
57
+ } from "./service-status-q6jxy1hn.js";
58
58
  import {
59
59
  PersistentPtyHandler2
60
- } from "./location-10hxeg6b.js";
60
+ } from "./service-status-6tjqh8g4.js";
61
61
  import {
62
62
  ShellHandler2
63
- } from "./location-4dv9a668.js";
63
+ } from "./service-status-6e6jjne7.js";
64
64
  import {
65
65
  ReferenceHandler2
66
- } from "./location-yehasrps.js";
66
+ } from "./service-status-10kexchg.js";
67
67
  import {
68
68
  LocationHandler2
69
- } from "./location-h8ws5ssa.js";
69
+ } from "./service-status-krqg3gd2.js";
70
70
  import {
71
71
  IntegrationHandler2
72
- } from "./location-ftaz8n62.js";
72
+ } from "./service-status-pf9k0dqe.js";
73
73
  import {
74
74
  WebSearchHandler2
75
- } from "./location-cv0ajwc9.js";
75
+ } from "./service-status-y89d99mz.js";
76
76
  import {
77
77
  McpHandler2
78
- } from "./location-zessacar.js";
78
+ } from "./service-status-hwdnjend.js";
79
79
  import {
80
80
  CredentialHandler2
81
- } from "./location-08x9tjee.js";
81
+ } from "./service-status-rj8tbp10.js";
82
82
  import {
83
83
  ProjectHandler2
84
- } from "./location-0d864bga.js";
84
+ } from "./service-status-7qrtcnv4.js";
85
85
  import {
86
86
  WorktreeHandler2
87
- } from "./location-7vd5668a.js";
87
+ } from "./service-status-6tj91hdj.js";
88
88
  import {
89
89
  VcsHandler2
90
- } from "./location-qbh90c1d.js";
90
+ } from "./service-status-1qc831kp.js";
91
91
  import {
92
92
  MigrationHandler2
93
- } from "./location-rf01ee6q.js";
93
+ } from "./service-status-vg0x3zn0.js";
94
94
  import {
95
95
  ConfigHandler2
96
- } from "./location-5zsr2h86.js";
96
+ } from "./service-status-c2hv5jmf.js";
97
97
 
98
98
  // src/handlers.ts
99
99
  import { Layer } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-b56hqv74.js";
3
+ } from "./service-status-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-9snwnvf8.js";
6
+ } from "./service-status-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/skill.ts
9
9
  import { Skill } from "@opencode/core/skill";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-b56hqv74.js";
3
+ } from "./service-status-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-9snwnvf8.js";
6
+ } from "./service-status-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/reference.ts
9
9
  import { Reference } from "@opencode/core/reference";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./location-smaf4a18.js";
3
+ } from "./service-status-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  sessionInfo2
8
- } from "./location-b56hqv74.js";
8
+ } from "./service-status-gymtz25n.js";
9
9
  import {
10
10
  Api2
11
- } from "./location-9snwnvf8.js";
11
+ } from "./service-status-r82dtfrk.js";
12
12
 
13
13
  // src/handlers/permission.ts
14
14
  import { Instance } from "@opencode/core/instance/service";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-b56hqv74.js";
3
+ } from "./service-status-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-9snwnvf8.js";
6
+ } from "./service-status-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/vcs.ts
9
9
  import { Vcs } from "@opencode/core/vcs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-9snwnvf8.js";
3
+ } from "./service-status-r82dtfrk.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
  requestRef2
3
- } from "./location-b56hqv74.js";
3
+ } from "./service-status-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-9snwnvf8.js";
6
+ } from "./service-status-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/debug.ts
9
9
  import { LocationServiceMap } from "@opencode/core/location-service-map";
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./location-b56hqv74.js";
5
+ } from "./service-status-gymtz25n.js";
6
6
 
7
7
  // src/middleware/form-location.ts
8
8
  import { Instance } from "@opencode/core/instance/service";
@@ -3,13 +3,13 @@ import {
3
3
  missingMessage2,
4
4
  failedMessageDecode2,
5
5
  failedSnapshot2
6
- } from "./location-smaf4a18.js";
6
+ } from "./service-status-smaf4a18.js";
7
7
  import {
8
8
  locationErrors2
9
- } from "./location-b56hqv74.js";
9
+ } from "./service-status-gymtz25n.js";
10
10
  import {
11
11
  Api2
12
- } from "./location-9snwnvf8.js";
12
+ } from "./service-status-r82dtfrk.js";
13
13
 
14
14
  // src/handlers/session.ts
15
15
  import { Session } from "@opencode/core/session";
@@ -1,39 +1,39 @@
1
1
  import {
2
- layer5
3
- } from "./location-b56hqv74.js";
2
+ layer2
3
+ } from "./service-status-gymtz25n.js";
4
4
  import {
5
5
  formLocationLayer2
6
- } from "./location-4hhhes7w.js";
6
+ } from "./service-status-3154e7fk.js";
7
7
  import {
8
8
  sessionLocationLayer2
9
- } from "./location-j4zqsxgy.js";
9
+ } from "./service-status-x74w7e1f.js";
10
10
  import {
11
11
  Api2
12
- } from "./location-9snwnvf8.js";
12
+ } from "./service-status-r82dtfrk.js";
13
13
  import {
14
14
  Config2
15
- } from "./location-anm12x33.js";
15
+ } from "./service-status-j4at0y5c.js";
16
16
  import {
17
17
  CorsConfig2
18
- } from "./location-q4bn6dy8.js";
18
+ } from "./service-status-q4bn6dy8.js";
19
19
  import {
20
- layer3
21
- } from "./location-ghk96rjy.js";
20
+ layer5
21
+ } from "./service-status-x2cwbfak.js";
22
22
  import {
23
23
  node3
24
- } from "./location-sstsrjtg.js";
24
+ } from "./service-status-vb61dkrm.js";
25
25
  import {
26
26
  node2
27
- } from "./location-bkk2wfbz.js";
27
+ } from "./service-status-zy1wt1f8.js";
28
28
  import {
29
29
  handlers2
30
- } from "./location-ctk1s78a.js";
30
+ } from "./service-status-0f489yfb.js";
31
31
  import {
32
32
  authorizationLayer2
33
- } from "./location-yfz2nrjq.js";
33
+ } from "./service-status-6v4wsps6.js";
34
34
  import {
35
35
  schemaErrorLayer2
36
- } from "./location-erzfdgke.js";
36
+ } from "./service-status-erzfdgke.js";
37
37
 
38
38
  // src/routes.ts
39
39
  import { Database } from "@opencode/core/database/database";
@@ -146,8 +146,8 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
146
146
  })) : build(overrides);
147
147
  return serviceLayer.pipe(Layer.flatMap((context) => {
148
148
  const services = Layer.succeedContext(context);
149
- const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer3(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
150
- const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(layer5), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
149
+ const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer5(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
150
+ const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(layer2), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
151
151
  return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
152
152
  }));
153
153
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-b56hqv74.js";
3
+ } from "./service-status-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-9snwnvf8.js";
6
+ } from "./service-status-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/form.ts
9
9
  import { Form } from "@opencode/core/form";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-b56hqv74.js";
3
+ } from "./service-status-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-9snwnvf8.js";
6
+ } from "./service-status-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/provider.ts
9
9
  import { Provider } from "@opencode/core/provider";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./location-b56hqv74.js";
3
+ } from "./service-status-gymtz25n.js";
4
4
  import {
5
5
  Api2
6
- } from "./location-9snwnvf8.js";
6
+ } from "./service-status-r82dtfrk.js";
7
7
 
8
8
  // src/handlers/shell.ts
9
9
  import { Shell } from "@opencode/core/shell";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-9snwnvf8.js";
3
+ } from "./service-status-r82dtfrk.js";
4
4
 
5
5
  // src/handlers/worktree.ts
6
6
  import { Git } from "@opencode/core/git";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-9snwnvf8.js";
3
+ } from "./service-status-r82dtfrk.js";
4
4
  import {
5
5
  CorsConfig2,
6
6
  isAllowedRequestOrigin2
7
- } from "./location-q4bn6dy8.js";
7
+ } from "./service-status-q4bn6dy8.js";
8
8
  import {
9
9
  runPtySocket2
10
- } from "./location-h6rt5k9s.js";
10
+ } from "./service-status-h6rt5k9s.js";
11
11
 
12
12
  // src/handlers/persistent-pty.ts
13
13
  import { PersistentPty } from "@opencode/core/persistent-pty";
@@ -4,7 +4,7 @@ import {
4
4
  authorized2,
5
5
  verifySession2,
6
6
  sessionCookieName2
7
- } from "./location-anm12x33.js";
7
+ } from "./service-status-j4at0y5c.js";
8
8
 
9
9
  // src/middleware/authorization.ts
10
10
  import { UnauthorizedError } from "@opencode/protocol/errors";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  isAllowedCorsOrigin2
3
- } from "./location-q4bn6dy8.js";
3
+ } from "./service-status-q4bn6dy8.js";
4
4
  import {
5
5
  createRoutes2
6
- } from "./location-2c5m7t9e.js";
6
+ } from "./service-status-5680j7c4.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./service-status-9rqn6x4v.js";
10
10
 
11
11
  // src/fetch.ts
12
12
  var exports_fetch = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-9snwnvf8.js";
3
+ } from "./service-status-r82dtfrk.js";
4
4
 
5
5
  // src/handlers/project.ts
6
6
  import { Project } from "@opencode/core/project";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Api2
3
- } from "./location-9snwnvf8.js";
3
+ } from "./service-status-r82dtfrk.js";
4
4
  import {
5
5
  SESSION_TTL_SECONDS2,
6
6
  Config2,
7
7
  issueSession2,
8
8
  sessionCookieName2
9
- } from "./location-anm12x33.js";
10
- import {
11
- Service3
12
- } from "./location-ghk96rjy.js";
9
+ } from "./service-status-j4at0y5c.js";
13
10
  import {
14
11
  Service5
15
- } from "./location-sstsrjtg.js";
12
+ } from "./service-status-x2cwbfak.js";
13
+ import {
14
+ Service3
15
+ } from "./service-status-vb61dkrm.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* Service5;
24
+ const pairing = yield* Service3;
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* Service5;
28
28
  return {
29
29
  version: info.app.version ?? "unknown",
30
30
  pid: process.pid ?? 0,