@opencode/server 2.2.0 → 2.2.2

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.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/workerd-059rbh9c.js +43 -0
  4. package/dist/chunks/{server-info-cezwbsk5.js → workerd-0e4fm4yw.js} +1 -1
  5. package/dist/chunks/{server-info-2h6qktqa.js → workerd-0pbbhyf6.js} +2 -2
  6. package/dist/chunks/{server-info-e6e4kz0w.js → workerd-0q7s66m2.js} +4 -4
  7. package/dist/chunks/{server-info-bhbc7551.js → workerd-1s3664te.js} +4 -4
  8. package/dist/chunks/{server-info-s802fzg1.js → workerd-20b2yx1f.js} +10 -10
  9. package/dist/chunks/{server-info-d0edqfxx.js → workerd-2835150m.js} +2 -2
  10. package/dist/chunks/{server-info-zpr61asr.js → workerd-2qjvs0kv.js} +4 -4
  11. package/dist/chunks/{server-info-rha2aq18.js → workerd-370cpmna.js} +2 -2
  12. package/dist/chunks/{server-info-h29xjj1e.js → workerd-4gk9fc6f.js} +2 -2
  13. package/dist/chunks/{server-info-btahnm2b.js → workerd-50xc6x42.js} +3 -3
  14. package/dist/chunks/{server-info-1gwc8nvb.js → workerd-5553qfcy.js} +3 -3
  15. package/dist/chunks/{server-info-b105zy65.js → workerd-5z5anmwp.js} +2 -2
  16. package/dist/chunks/{server-info-b0f38s3n.js → workerd-71pkxez6.js} +35 -35
  17. package/dist/chunks/{server-info-zcvan105.js → workerd-74kxthdf.js} +1 -1
  18. package/dist/chunks/{server-info-7b9xm1qg.js → workerd-7b9xm1qg.js} +1 -1
  19. package/dist/chunks/{server-info-kkdkqt8j.js → workerd-7cd61xtm.js} +2 -2
  20. package/dist/chunks/{server-info-5pdfedjd.js → workerd-7dtbad8d.js} +7 -7
  21. package/dist/chunks/{server-info-5s6gh8sx.js → workerd-7tewdwsb.js} +2 -2
  22. package/dist/chunks/{server-info-f559fakr.js → workerd-7x1re4zg.js} +2 -2
  23. package/dist/chunks/{server-info-1v577ncx.js → workerd-f4exzdsf.js} +2 -2
  24. package/dist/chunks/{server-info-rw1dfckh.js → workerd-fvqb5t8b.js} +19 -7
  25. package/dist/chunks/{server-info-htyf2qs7.js → workerd-gk0yxcp6.js} +1 -1
  26. package/dist/chunks/{server-info-50bbk3b2.js → workerd-gqq6kfhc.js} +3 -3
  27. package/dist/chunks/{server-info-5b42hxrf.js → workerd-hdwd22w5.js} +1 -1
  28. package/dist/chunks/{server-info-j4at0y5c.js → workerd-j4at0y5c.js} +1 -1
  29. package/dist/chunks/{server-info-qcg3sqtb.js → workerd-jc2vwkyw.js} +2 -2
  30. package/dist/chunks/{server-info-kqr36gas.js → workerd-kqr36gas.js} +1 -1
  31. package/dist/chunks/{server-info-j87xz9bt.js → workerd-r5696se6.js} +3 -3
  32. package/dist/chunks/{server-info-qd0r787n.js → workerd-rxyx8sa0.js} +2 -2
  33. package/dist/chunks/{server-info-te8jwba1.js → workerd-skcryrty.js} +2 -2
  34. package/dist/chunks/{server-info-2eaky32g.js → workerd-sqxx1p54.js} +2 -2
  35. package/dist/chunks/{server-info-4fy84009.js → workerd-vfkjeyp3.js} +1 -1
  36. package/dist/chunks/{server-info-az0609r6.js → workerd-vtfzy3at.js} +2 -2
  37. package/dist/chunks/{server-info-6z9pvq7p.js → workerd-vvp99hc9.js} +1 -1
  38. package/dist/chunks/{server-info-yxw63vq5.js → workerd-wh109kze.js} +6 -6
  39. package/dist/chunks/{server-info-yqhefp4s.js → workerd-wqv43pj9.js} +2 -2
  40. package/dist/chunks/{server-info-ny1j968n.js → workerd-xbqm7mpj.js} +2 -2
  41. package/dist/chunks/{server-info-4q6e7fh8.js → workerd-xpg37vzc.js} +2 -2
  42. package/dist/chunks/{server-info-1wd9c1m3.js → workerd-yemng8y6.js} +3 -3
  43. package/dist/chunks/{server-info-b3bmdkga.js → workerd-yet0vexm.js} +1 -1
  44. package/dist/chunks/{server-info-tjtyxt9h.js → workerd-z9kgby92.js} +4 -4
  45. package/dist/chunks/{server-info-j2d131x1.js → workerd-ze052fvn.js} +17 -15
  46. package/dist/chunks/{server-info-nx6f5k7a.js → workerd-zhns4s2s.js} +4 -4
  47. package/dist/chunks/{server-info-a8jcac9a.js → workerd-zmgfywqd.js} +1 -1
  48. package/dist/chunks/{server-info-s282vggx.js → workerd-zyntahe8.js} +1 -1
  49. package/dist/cors.js +1 -1
  50. package/dist/event-feed.js +7 -7
  51. package/dist/fetch.js +51 -50
  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 +8 -8
  64. package/dist/handlers/media.js +1 -1
  65. package/dist/handlers/message.js +7 -7
  66. package/dist/handlers/migration.js +6 -6
  67. package/dist/handlers/model.js +6 -6
  68. package/dist/handlers/permission.d.ts +1 -1
  69. package/dist/handlers/permission.js +6 -6
  70. package/dist/handlers/persistent-pty.d.ts +1 -1
  71. package/dist/handlers/persistent-pty.js +10 -9
  72. package/dist/handlers/plugin.js +6 -6
  73. package/dist/handlers/project.js +6 -6
  74. package/dist/handlers/provider.js +6 -6
  75. package/dist/handlers/pty-socket.js +1 -1
  76. package/dist/handlers/pty.js +8 -8
  77. package/dist/handlers/reference.js +6 -6
  78. package/dist/handlers/rpc.js +6 -6
  79. package/dist/handlers/schedule.d.ts +284 -0
  80. package/dist/handlers/schedule.js +7 -0
  81. package/dist/handlers/server.js +9 -9
  82. package/dist/handlers/session-error.js +1 -1
  83. package/dist/handlers/session.d.ts +1 -1
  84. package/dist/handlers/session.js +7 -7
  85. package/dist/handlers/shell.js +6 -6
  86. package/dist/handlers/skill.js +6 -6
  87. package/dist/handlers/usage.js +6 -6
  88. package/dist/handlers/vcs.d.ts +1 -1
  89. package/dist/handlers/vcs.js +6 -6
  90. package/dist/handlers/voice.js +6 -6
  91. package/dist/handlers/websearch.js +6 -6
  92. package/dist/handlers/worktree.js +6 -6
  93. package/dist/handlers.d.ts +1 -1
  94. package/dist/handlers.js +47 -46
  95. package/dist/location.js +4 -4
  96. package/dist/media-uri.js +1 -1
  97. package/dist/middleware/authorization.js +2 -2
  98. package/dist/middleware/form-location.d.ts +1 -1
  99. package/dist/middleware/form-location.js +3 -3
  100. package/dist/middleware/schema-error.js +1 -1
  101. package/dist/middleware/session-location.d.ts +1 -1
  102. package/dist/middleware/session-location.js +3 -3
  103. package/dist/pairing.js +1 -1
  104. package/dist/process.js +57 -54
  105. package/dist/request-tracing.js +1 -1
  106. package/dist/routes.d.ts +3 -2
  107. package/dist/routes.js +50 -49
  108. package/dist/server-info.js +5 -5
  109. package/dist/service-status.js +3 -3
  110. package/dist/workerd.js +52 -51
  111. package/package.json +12 -12
  112. /package/dist/chunks/{server-info-9rqn6x4v.js → workerd-9rqn6x4v.js} +0 -0
  113. /package/dist/chunks/{server-info-bd8755ek.js → workerd-bd8755ek.js} +0 -0
  114. /package/dist/chunks/{server-info-h6rt5k9s.js → workerd-h6rt5k9s.js} +0 -0
  115. /package/dist/chunks/{server-info-n321d8vm.js → workerd-n321d8vm.js} +0 -0
  116. /package/dist/chunks/{server-info-q4bn6dy8.js → workerd-q4bn6dy8.js} +0 -0
  117. /package/dist/chunks/{server-info-smaf4a18.js → workerd-smaf4a18.js} +0 -0
  118. /package/dist/chunks/{server-info-xthc02cw.js → workerd-xthc02cw.js} +0 -0
  119. /package/dist/chunks/{server-info-yc7nft6q.js → workerd-yc7nft6q.js} +0 -0
@@ -0,0 +1,284 @@
1
+ import { Schedule } from "@opencode/core/schedule";
2
+ import type { Session } from "@opencode/core/session";
3
+ import { ForbiddenError, InvalidRequestError, ScheduleNotFoundError } from "@opencode/protocol/errors";
4
+ import type { CreatePayload } from "@opencode/protocol/groups/schedule";
5
+ import { Effect } from "effect";
6
+ /** `schedule.*` in the `server.experimental` group. Every route needs experimental.schedules where the Session lives. */
7
+ export declare const makeSchedule: Effect.Effect<{
8
+ create: (payload: CreatePayload) => Effect.Effect<{
9
+ data: {
10
+ readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
11
+ readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
12
+ readonly name?: string | undefined;
13
+ readonly when: {
14
+ readonly tz?: string | undefined;
15
+ readonly type: "in";
16
+ readonly in: string;
17
+ } | {
18
+ readonly tz?: string | undefined;
19
+ readonly type: "at";
20
+ readonly at: string;
21
+ } | {
22
+ readonly tz?: string | undefined;
23
+ readonly type: "every";
24
+ readonly every: string;
25
+ } | {
26
+ readonly tz?: string | undefined;
27
+ readonly type: "cron";
28
+ readonly cron: string;
29
+ };
30
+ readonly tz: string;
31
+ readonly if?: {
32
+ readonly type: "shell";
33
+ readonly run: string;
34
+ readonly is?: string | undefined;
35
+ readonly matches?: string | undefined;
36
+ readonly changes?: boolean | undefined;
37
+ } | undefined;
38
+ readonly until?: {
39
+ readonly type: "shell";
40
+ readonly run: string;
41
+ readonly is?: string | undefined;
42
+ readonly matches?: string | undefined;
43
+ readonly changes?: boolean | undefined;
44
+ } | undefined;
45
+ readonly action: {
46
+ readonly type: "prompt";
47
+ readonly prompt: string;
48
+ };
49
+ readonly status: "active" | "done" | "paused";
50
+ readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
51
+ readonly endsAt?: import("effect/DateTime").Utc | undefined;
52
+ readonly remainingRuns?: number | undefined;
53
+ readonly runCount: number;
54
+ readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
55
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
56
+ readonly lastOutput?: string | undefined;
57
+ readonly time: {
58
+ readonly created: import("effect/DateTime").Utc;
59
+ readonly updated: import("effect/DateTime").Utc;
60
+ };
61
+ };
62
+ }, ForbiddenError | InvalidRequestError | import("@opencode/protocol/errors").SessionNotFoundError, never>;
63
+ list: (sessionID: Session.ID) => Effect.Effect<{
64
+ data: {
65
+ readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
66
+ readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
67
+ readonly name?: string | undefined;
68
+ readonly when: {
69
+ readonly tz?: string | undefined;
70
+ readonly type: "in";
71
+ readonly in: string;
72
+ } | {
73
+ readonly tz?: string | undefined;
74
+ readonly type: "at";
75
+ readonly at: string;
76
+ } | {
77
+ readonly tz?: string | undefined;
78
+ readonly type: "every";
79
+ readonly every: string;
80
+ } | {
81
+ readonly tz?: string | undefined;
82
+ readonly type: "cron";
83
+ readonly cron: string;
84
+ };
85
+ readonly tz: string;
86
+ readonly if?: {
87
+ readonly type: "shell";
88
+ readonly run: string;
89
+ readonly is?: string | undefined;
90
+ readonly matches?: string | undefined;
91
+ readonly changes?: boolean | undefined;
92
+ } | undefined;
93
+ readonly until?: {
94
+ readonly type: "shell";
95
+ readonly run: string;
96
+ readonly is?: string | undefined;
97
+ readonly matches?: string | undefined;
98
+ readonly changes?: boolean | undefined;
99
+ } | undefined;
100
+ readonly action: {
101
+ readonly type: "prompt";
102
+ readonly prompt: string;
103
+ };
104
+ readonly status: "active" | "done" | "paused";
105
+ readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
106
+ readonly endsAt?: import("effect/DateTime").Utc | undefined;
107
+ readonly remainingRuns?: number | undefined;
108
+ readonly runCount: number;
109
+ readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
110
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
111
+ readonly lastOutput?: string | undefined;
112
+ readonly time: {
113
+ readonly created: import("effect/DateTime").Utc;
114
+ readonly updated: import("effect/DateTime").Utc;
115
+ };
116
+ }[];
117
+ }, ForbiddenError | import("@opencode/protocol/errors").SessionNotFoundError, never>;
118
+ get: (id: Schedule.ID) => Effect.Effect<{
119
+ data: {
120
+ readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
121
+ readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
122
+ readonly name?: string | undefined;
123
+ readonly when: {
124
+ readonly tz?: string | undefined;
125
+ readonly type: "in";
126
+ readonly in: string;
127
+ } | {
128
+ readonly tz?: string | undefined;
129
+ readonly type: "at";
130
+ readonly at: string;
131
+ } | {
132
+ readonly tz?: string | undefined;
133
+ readonly type: "every";
134
+ readonly every: string;
135
+ } | {
136
+ readonly tz?: string | undefined;
137
+ readonly type: "cron";
138
+ readonly cron: string;
139
+ };
140
+ readonly tz: string;
141
+ readonly if?: {
142
+ readonly type: "shell";
143
+ readonly run: string;
144
+ readonly is?: string | undefined;
145
+ readonly matches?: string | undefined;
146
+ readonly changes?: boolean | undefined;
147
+ } | undefined;
148
+ readonly until?: {
149
+ readonly type: "shell";
150
+ readonly run: string;
151
+ readonly is?: string | undefined;
152
+ readonly matches?: string | undefined;
153
+ readonly changes?: boolean | undefined;
154
+ } | undefined;
155
+ readonly action: {
156
+ readonly type: "prompt";
157
+ readonly prompt: string;
158
+ };
159
+ readonly status: "active" | "done" | "paused";
160
+ readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
161
+ readonly endsAt?: import("effect/DateTime").Utc | undefined;
162
+ readonly remainingRuns?: number | undefined;
163
+ readonly runCount: number;
164
+ readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
165
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
166
+ readonly lastOutput?: string | undefined;
167
+ readonly time: {
168
+ readonly created: import("effect/DateTime").Utc;
169
+ readonly updated: import("effect/DateTime").Utc;
170
+ };
171
+ };
172
+ }, ForbiddenError | ScheduleNotFoundError, never>;
173
+ pause: (id: Schedule.ID) => Effect.Effect<{
174
+ data: {
175
+ readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
176
+ readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
177
+ readonly name?: string | undefined;
178
+ readonly when: {
179
+ readonly tz?: string | undefined;
180
+ readonly type: "in";
181
+ readonly in: string;
182
+ } | {
183
+ readonly tz?: string | undefined;
184
+ readonly type: "at";
185
+ readonly at: string;
186
+ } | {
187
+ readonly tz?: string | undefined;
188
+ readonly type: "every";
189
+ readonly every: string;
190
+ } | {
191
+ readonly tz?: string | undefined;
192
+ readonly type: "cron";
193
+ readonly cron: string;
194
+ };
195
+ readonly tz: string;
196
+ readonly if?: {
197
+ readonly type: "shell";
198
+ readonly run: string;
199
+ readonly is?: string | undefined;
200
+ readonly matches?: string | undefined;
201
+ readonly changes?: boolean | undefined;
202
+ } | undefined;
203
+ readonly until?: {
204
+ readonly type: "shell";
205
+ readonly run: string;
206
+ readonly is?: string | undefined;
207
+ readonly matches?: string | undefined;
208
+ readonly changes?: boolean | undefined;
209
+ } | undefined;
210
+ readonly action: {
211
+ readonly type: "prompt";
212
+ readonly prompt: string;
213
+ };
214
+ readonly status: "active" | "done" | "paused";
215
+ readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
216
+ readonly endsAt?: import("effect/DateTime").Utc | undefined;
217
+ readonly remainingRuns?: number | undefined;
218
+ readonly runCount: number;
219
+ readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
220
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
221
+ readonly lastOutput?: string | undefined;
222
+ readonly time: {
223
+ readonly created: import("effect/DateTime").Utc;
224
+ readonly updated: import("effect/DateTime").Utc;
225
+ };
226
+ };
227
+ }, ForbiddenError | ScheduleNotFoundError, never>;
228
+ resume: (id: Schedule.ID) => Effect.Effect<{
229
+ data: {
230
+ readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
231
+ readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
232
+ readonly name?: string | undefined;
233
+ readonly when: {
234
+ readonly tz?: string | undefined;
235
+ readonly type: "in";
236
+ readonly in: string;
237
+ } | {
238
+ readonly tz?: string | undefined;
239
+ readonly type: "at";
240
+ readonly at: string;
241
+ } | {
242
+ readonly tz?: string | undefined;
243
+ readonly type: "every";
244
+ readonly every: string;
245
+ } | {
246
+ readonly tz?: string | undefined;
247
+ readonly type: "cron";
248
+ readonly cron: string;
249
+ };
250
+ readonly tz: string;
251
+ readonly if?: {
252
+ readonly type: "shell";
253
+ readonly run: string;
254
+ readonly is?: string | undefined;
255
+ readonly matches?: string | undefined;
256
+ readonly changes?: boolean | undefined;
257
+ } | undefined;
258
+ readonly until?: {
259
+ readonly type: "shell";
260
+ readonly run: string;
261
+ readonly is?: string | undefined;
262
+ readonly matches?: string | undefined;
263
+ readonly changes?: boolean | undefined;
264
+ } | undefined;
265
+ readonly action: {
266
+ readonly type: "prompt";
267
+ readonly prompt: string;
268
+ };
269
+ readonly status: "active" | "done" | "paused";
270
+ readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
271
+ readonly endsAt?: import("effect/DateTime").Utc | undefined;
272
+ readonly remainingRuns?: number | undefined;
273
+ readonly runCount: number;
274
+ readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
275
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
276
+ readonly lastOutput?: string | undefined;
277
+ readonly time: {
278
+ readonly created: import("effect/DateTime").Utc;
279
+ readonly updated: import("effect/DateTime").Utc;
280
+ };
281
+ };
282
+ }, ForbiddenError | ScheduleNotFoundError, never>;
283
+ remove: (id: Schedule.ID) => Effect.Effect<void, ForbiddenError | ScheduleNotFoundError, never>;
284
+ }, never, Schedule.Service>;
@@ -0,0 +1,7 @@
1
+ import {
2
+ makeSchedule2
3
+ } from "../chunks/workerd-059rbh9c.js";
4
+ import"../chunks/workerd-smaf4a18.js";
5
+ export {
6
+ makeSchedule2 as makeSchedule
7
+ };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  ServerHandler2
3
- } from "../chunks/server-info-yxw63vq5.js";
4
- import"../chunks/server-info-j87xz9bt.js";
5
- import"../chunks/server-info-htyf2qs7.js";
6
- import"../chunks/server-info-b3bmdkga.js";
7
- import"../chunks/server-info-j4at0y5c.js";
8
- import"../chunks/server-info-kqr36gas.js";
9
- import"../chunks/server-info-5pdfedjd.js";
10
- import"../chunks/server-info-50bbk3b2.js";
11
- import"../chunks/server-info-smaf4a18.js";
3
+ } from "../chunks/workerd-wh109kze.js";
4
+ import"../chunks/workerd-kqr36gas.js";
5
+ import"../chunks/workerd-j4at0y5c.js";
6
+ import"../chunks/workerd-r5696se6.js";
7
+ import"../chunks/workerd-gk0yxcp6.js";
8
+ import"../chunks/workerd-yet0vexm.js";
9
+ import"../chunks/workerd-gqq6kfhc.js";
10
+ import"../chunks/workerd-smaf4a18.js";
11
+ import"../chunks/workerd-7dtbad8d.js";
12
12
  export {
13
13
  ServerHandler2 as ServerHandler
14
14
  };
@@ -3,7 +3,7 @@ import {
3
3
  missingMessage2,
4
4
  failedMessageDecode2,
5
5
  failedSnapshot2
6
- } from "../chunks/server-info-smaf4a18.js";
6
+ } from "../chunks/workerd-smaf4a18.js";
7
7
  export {
8
8
  failedMessageDecode2 as failedMessageDecode,
9
9
  failedSnapshot2 as failedSnapshot,
@@ -2,4 +2,4 @@ import { Instance } from "@opencode/core/instance/service";
2
2
  import { Session } from "@opencode/core/session";
3
3
  import { SessionTransfer } from "@opencode/core/session/transfer";
4
4
  import { InstructionEntry } from "@opencode/core/session/instruction-entry";
5
- export declare const SessionHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.session">, never, import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/database/database").Service> | Instance.Service | InstructionEntry.Service | Session.Service | SessionTransfer.Service | import("../middleware/session-location").SessionLocationMiddleware | (import("@opencode/protocol/middleware/authorization").Authorization | import("../middleware/form-location").FormLocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware)>;
5
+ export declare const SessionHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.session">, never, import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/database/database").Service> | InstructionEntry.Service | Session.Service | Instance.Service | SessionTransfer.Service | import("../middleware/session-location").SessionLocationMiddleware | (import("@opencode/protocol/middleware/authorization").Authorization | import("../middleware/form-location").FormLocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware)>;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionHandler2
3
- } from "../chunks/server-info-tjtyxt9h.js";
4
- import"../chunks/server-info-j87xz9bt.js";
5
- import"../chunks/server-info-htyf2qs7.js";
6
- import"../chunks/server-info-b3bmdkga.js";
7
- import"../chunks/server-info-xthc02cw.js";
8
- import"../chunks/server-info-50bbk3b2.js";
9
- import"../chunks/server-info-smaf4a18.js";
3
+ } from "../chunks/workerd-z9kgby92.js";
4
+ import"../chunks/workerd-xthc02cw.js";
5
+ import"../chunks/workerd-r5696se6.js";
6
+ import"../chunks/workerd-gk0yxcp6.js";
7
+ import"../chunks/workerd-yet0vexm.js";
8
+ import"../chunks/workerd-gqq6kfhc.js";
9
+ import"../chunks/workerd-smaf4a18.js";
10
10
  export {
11
11
  SessionHandler2 as SessionHandler
12
12
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  ShellHandler2
3
- } from "../chunks/server-info-qd0r787n.js";
4
- import"../chunks/server-info-j87xz9bt.js";
5
- import"../chunks/server-info-htyf2qs7.js";
6
- import"../chunks/server-info-b3bmdkga.js";
7
- import"../chunks/server-info-50bbk3b2.js";
8
- import"../chunks/server-info-smaf4a18.js";
3
+ } from "../chunks/workerd-rxyx8sa0.js";
4
+ import"../chunks/workerd-r5696se6.js";
5
+ import"../chunks/workerd-gk0yxcp6.js";
6
+ import"../chunks/workerd-yet0vexm.js";
7
+ import"../chunks/workerd-gqq6kfhc.js";
8
+ import"../chunks/workerd-smaf4a18.js";
9
9
  export {
10
10
  ShellHandler2 as ShellHandler
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  SkillHandler2
3
- } from "../chunks/server-info-ny1j968n.js";
4
- import"../chunks/server-info-j87xz9bt.js";
5
- import"../chunks/server-info-htyf2qs7.js";
6
- import"../chunks/server-info-b3bmdkga.js";
7
- import"../chunks/server-info-50bbk3b2.js";
8
- import"../chunks/server-info-smaf4a18.js";
3
+ } from "../chunks/workerd-xbqm7mpj.js";
4
+ import"../chunks/workerd-r5696se6.js";
5
+ import"../chunks/workerd-gk0yxcp6.js";
6
+ import"../chunks/workerd-yet0vexm.js";
7
+ import"../chunks/workerd-gqq6kfhc.js";
8
+ import"../chunks/workerd-smaf4a18.js";
9
9
  export {
10
10
  SkillHandler2 as SkillHandler
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  UsageHandler2
3
- } from "../chunks/server-info-b105zy65.js";
4
- import"../chunks/server-info-j87xz9bt.js";
5
- import"../chunks/server-info-htyf2qs7.js";
6
- import"../chunks/server-info-b3bmdkga.js";
7
- import"../chunks/server-info-50bbk3b2.js";
8
- import"../chunks/server-info-smaf4a18.js";
3
+ } from "../chunks/workerd-5z5anmwp.js";
4
+ import"../chunks/workerd-r5696se6.js";
5
+ import"../chunks/workerd-gk0yxcp6.js";
6
+ import"../chunks/workerd-yet0vexm.js";
7
+ import"../chunks/workerd-gqq6kfhc.js";
8
+ import"../chunks/workerd-smaf4a18.js";
9
9
  export {
10
10
  UsageHandler2 as UsageHandler
11
11
  };
@@ -1,4 +1,4 @@
1
1
  import { Project } from "@opencode/core/project";
2
2
  import { Bus } from "@opencode/core/bus";
3
3
  import { LocationServiceMap } from "@opencode/core/location-services";
4
- export declare const VcsHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.vcs">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | Bus.Service | Project.Service | LocationServiceMap.Service>;
4
+ export declare const VcsHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.vcs">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | LocationServiceMap.Service | Bus.Service | Project.Service>;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  VcsHandler2
3
- } from "../chunks/server-info-5s6gh8sx.js";
4
- import"../chunks/server-info-j87xz9bt.js";
5
- import"../chunks/server-info-htyf2qs7.js";
6
- import"../chunks/server-info-b3bmdkga.js";
7
- import"../chunks/server-info-50bbk3b2.js";
8
- import"../chunks/server-info-smaf4a18.js";
3
+ } from "../chunks/workerd-7tewdwsb.js";
4
+ import"../chunks/workerd-r5696se6.js";
5
+ import"../chunks/workerd-gk0yxcp6.js";
6
+ import"../chunks/workerd-yet0vexm.js";
7
+ import"../chunks/workerd-gqq6kfhc.js";
8
+ import"../chunks/workerd-smaf4a18.js";
9
9
  export {
10
10
  VcsHandler2 as VcsHandler
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  VoiceHandler2
3
- } from "../chunks/server-info-d0edqfxx.js";
4
- import"../chunks/server-info-j87xz9bt.js";
5
- import"../chunks/server-info-htyf2qs7.js";
6
- import"../chunks/server-info-b3bmdkga.js";
7
- import"../chunks/server-info-50bbk3b2.js";
8
- import"../chunks/server-info-smaf4a18.js";
3
+ } from "../chunks/workerd-2835150m.js";
4
+ import"../chunks/workerd-r5696se6.js";
5
+ import"../chunks/workerd-gk0yxcp6.js";
6
+ import"../chunks/workerd-yet0vexm.js";
7
+ import"../chunks/workerd-gqq6kfhc.js";
8
+ import"../chunks/workerd-smaf4a18.js";
9
9
  export {
10
10
  VoiceHandler2 as VoiceHandler
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  WebSearchHandler2
3
- } from "../chunks/server-info-kkdkqt8j.js";
4
- import"../chunks/server-info-j87xz9bt.js";
5
- import"../chunks/server-info-htyf2qs7.js";
6
- import"../chunks/server-info-b3bmdkga.js";
7
- import"../chunks/server-info-50bbk3b2.js";
8
- import"../chunks/server-info-smaf4a18.js";
3
+ } from "../chunks/workerd-7cd61xtm.js";
4
+ import"../chunks/workerd-r5696se6.js";
5
+ import"../chunks/workerd-gk0yxcp6.js";
6
+ import"../chunks/workerd-yet0vexm.js";
7
+ import"../chunks/workerd-gqq6kfhc.js";
8
+ import"../chunks/workerd-smaf4a18.js";
9
9
  export {
10
10
  WebSearchHandler2 as WebSearchHandler
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  WorktreeHandler2
3
- } from "../chunks/server-info-4fy84009.js";
4
- import"../chunks/server-info-j87xz9bt.js";
5
- import"../chunks/server-info-htyf2qs7.js";
6
- import"../chunks/server-info-b3bmdkga.js";
7
- import"../chunks/server-info-50bbk3b2.js";
8
- import"../chunks/server-info-smaf4a18.js";
3
+ } from "../chunks/workerd-vfkjeyp3.js";
4
+ import"../chunks/workerd-r5696se6.js";
5
+ import"../chunks/workerd-gk0yxcp6.js";
6
+ import"../chunks/workerd-yet0vexm.js";
7
+ import"../chunks/workerd-gqq6kfhc.js";
8
+ import"../chunks/workerd-smaf4a18.js";
9
9
  export {
10
10
  WorktreeHandler2 as WorktreeHandler
11
11
  };
@@ -1,2 +1,2 @@
1
1
  import { Layer } from "effect";
2
- export declare const handlers: Layer.Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.agent"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.command"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.config"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.credential"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.debug"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.event"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.experimental"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.form"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.fs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.generate"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.integration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.location"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.mcp"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.message"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.migration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.model"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.permission"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.plugin"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.project"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.provider"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.pty"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.reference"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.rpc"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.server"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.session"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.shell"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.skill"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.usage"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.vcs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.voice"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.websearch"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.worktree">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("./auth").Config | import("./middleware/form-location").FormLocationMiddleware | import("./location").LocationMiddleware | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/database/database").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/credential").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/wellknown").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/project").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/permission/saved").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/plugin/update").Service> | import("effect/http/HttpRouter").Request<"Requires", import("./server-info").Service> | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/util/global").Service | import("@opencode/core/database/database").Service | import("@opencode/core/bus").Service | import("@opencode/core/project").Service | import("@opencode/core/persistent-pty/index").Service | import("@opencode/core/instance").Service | import("@opencode/core/session/instruction-entry").Service | import("@opencode/core/session").Service | import("@opencode/core/worktree").Service | import("@opencode/core/location-service-map").Service | import("@opencode/core/pty/ticket").Service | import("@opencode/core/session/transfer").Service | import("@opencode/core/filesystem/file-watch").Service | import("./pairing").Service | import("./middleware/session-location").SessionLocationMiddleware>;
2
+ export declare const handlers: Layer.Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.agent"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.command"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.config"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.credential"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.debug"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.event"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.experimental"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.form"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.fs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.generate"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.integration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.location"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.mcp"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.message"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.migration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.model"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.permission"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.plugin"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.project"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.provider"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.pty"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.reference"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.rpc"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.server"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.session"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.shell"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.skill"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.usage"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.vcs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.voice"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.websearch"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.worktree">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("./auth").Config | import("./middleware/form-location").FormLocationMiddleware | import("./location").LocationMiddleware | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/database/database").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/credential").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/wellknown").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/permission/saved").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/plugin/update").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/project").Service> | import("effect/http/HttpRouter").Request<"Requires", import("./server-info").Service> | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/util/global").Service | import("@opencode/core/database/database").Service | import("@opencode/core/persistent-pty/index").Service | import("@opencode/core/location-service-map").Service | import("@opencode/core/session/instruction-entry").Service | import("@opencode/core/session").Service | import("@opencode/core/worktree").Service | import("@opencode/core/schedule").Service | import("@opencode/core/instance").Service | import("@opencode/core/bus").Service | import("@opencode/core/project").Service | import("@opencode/core/pty/ticket").Service | import("@opencode/core/session/transfer").Service | import("@opencode/core/filesystem/file-watch").Service | import("./pairing").Service | import("./middleware/session-location").SessionLocationMiddleware>;
package/dist/handlers.js CHANGED
@@ -1,51 +1,52 @@
1
1
  import {
2
2
  handlers2
3
- } from "./chunks/server-info-b0f38s3n.js";
4
- import"./chunks/server-info-b105zy65.js";
5
- import"./chunks/server-info-kkdkqt8j.js";
6
- import"./chunks/server-info-1gwc8nvb.js";
7
- import"./chunks/server-info-ny1j968n.js";
8
- import"./chunks/server-info-zpr61asr.js";
9
- import"./chunks/server-info-yxw63vq5.js";
10
- import"./chunks/server-info-6z9pvq7p.js";
11
- import"./chunks/server-info-f559fakr.js";
12
- import"./chunks/server-info-btahnm2b.js";
13
- import"./chunks/server-info-rw1dfckh.js";
14
- import"./chunks/server-info-n321d8vm.js";
15
- import"./chunks/server-info-1v577ncx.js";
16
- import"./chunks/server-info-h29xjj1e.js";
17
- import"./chunks/server-info-rha2aq18.js";
18
- import"./chunks/server-info-te8jwba1.js";
19
- import"./chunks/server-info-5b42hxrf.js";
20
- import"./chunks/server-info-zcvan105.js";
21
- import"./chunks/server-info-az0609r6.js";
22
- import"./chunks/server-info-qcg3sqtb.js";
23
- import"./chunks/server-info-qd0r787n.js";
24
- import"./chunks/server-info-2h6qktqa.js";
25
- import"./chunks/server-info-4q6e7fh8.js";
26
- import"./chunks/server-info-yqhefp4s.js";
27
- import"./chunks/server-info-cezwbsk5.js";
28
- import"./chunks/server-info-bhbc7551.js";
29
- import"./chunks/server-info-h6rt5k9s.js";
30
- import"./chunks/server-info-d0edqfxx.js";
31
- import"./chunks/server-info-a8jcac9a.js";
32
- import"./chunks/server-info-4fy84009.js";
33
- import"./chunks/server-info-2eaky32g.js";
34
- import"./chunks/server-info-5s6gh8sx.js";
35
- import"./chunks/server-info-tjtyxt9h.js";
36
- import"./chunks/server-info-nx6f5k7a.js";
37
- import"./chunks/server-info-s282vggx.js";
38
- import"./chunks/server-info-j87xz9bt.js";
39
- import"./chunks/server-info-htyf2qs7.js";
40
- import"./chunks/server-info-b3bmdkga.js";
41
- import"./chunks/server-info-j4at0y5c.js";
42
- import"./chunks/server-info-kqr36gas.js";
43
- import"./chunks/server-info-q4bn6dy8.js";
44
- import"./chunks/server-info-5pdfedjd.js";
45
- import"./chunks/server-info-xthc02cw.js";
46
- import"./chunks/server-info-s802fzg1.js";
47
- import"./chunks/server-info-50bbk3b2.js";
48
- import"./chunks/server-info-smaf4a18.js";
3
+ } from "./chunks/workerd-71pkxez6.js";
4
+ import"./chunks/workerd-7tewdwsb.js";
5
+ import"./chunks/workerd-vfkjeyp3.js";
6
+ import"./chunks/workerd-vvp99hc9.js";
7
+ import"./chunks/workerd-7x1re4zg.js";
8
+ import"./chunks/workerd-2qjvs0kv.js";
9
+ import"./chunks/workerd-skcryrty.js";
10
+ import"./chunks/workerd-f4exzdsf.js";
11
+ import"./chunks/workerd-370cpmna.js";
12
+ import"./chunks/workerd-zhns4s2s.js";
13
+ import"./chunks/workerd-xbqm7mpj.js";
14
+ import"./chunks/workerd-rxyx8sa0.js";
15
+ import"./chunks/workerd-wqv43pj9.js";
16
+ import"./chunks/workerd-fvqb5t8b.js";
17
+ import"./chunks/workerd-74kxthdf.js";
18
+ import"./chunks/workerd-vtfzy3at.js";
19
+ import"./chunks/workerd-wh109kze.js";
20
+ import"./chunks/workerd-059rbh9c.js";
21
+ import"./chunks/workerd-zyntahe8.js";
22
+ import"./chunks/workerd-7cd61xtm.js";
23
+ import"./chunks/workerd-5z5anmwp.js";
24
+ import"./chunks/workerd-hdwd22w5.js";
25
+ import"./chunks/workerd-5553qfcy.js";
26
+ import"./chunks/workerd-n321d8vm.js";
27
+ import"./chunks/workerd-2835150m.js";
28
+ import"./chunks/workerd-0e4fm4yw.js";
29
+ import"./chunks/workerd-xpg37vzc.js";
30
+ import"./chunks/workerd-zmgfywqd.js";
31
+ import"./chunks/workerd-1s3664te.js";
32
+ import"./chunks/workerd-h6rt5k9s.js";
33
+ import"./chunks/workerd-sqxx1p54.js";
34
+ import"./chunks/workerd-50xc6x42.js";
35
+ import"./chunks/workerd-z9kgby92.js";
36
+ import"./chunks/workerd-0pbbhyf6.js";
37
+ import"./chunks/workerd-jc2vwkyw.js";
38
+ import"./chunks/workerd-4gk9fc6f.js";
39
+ import"./chunks/workerd-xthc02cw.js";
40
+ import"./chunks/workerd-kqr36gas.js";
41
+ import"./chunks/workerd-j4at0y5c.js";
42
+ import"./chunks/workerd-20b2yx1f.js";
43
+ import"./chunks/workerd-r5696se6.js";
44
+ import"./chunks/workerd-gk0yxcp6.js";
45
+ import"./chunks/workerd-yet0vexm.js";
46
+ import"./chunks/workerd-gqq6kfhc.js";
47
+ import"./chunks/workerd-smaf4a18.js";
48
+ import"./chunks/workerd-7dtbad8d.js";
49
+ import"./chunks/workerd-q4bn6dy8.js";
49
50
  export {
50
51
  handlers2 as handlers
51
52
  };