@opencode/server 2.2.0 → 2.2.1
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.
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{server-info-rha2aq18.js → media-uri-0a5jm2na.js} +2 -2
- package/dist/chunks/{server-info-1gwc8nvb.js → media-uri-0n1e9dnh.js} +3 -3
- package/dist/chunks/{server-info-6z9pvq7p.js → media-uri-1je14sn4.js} +1 -1
- package/dist/chunks/{server-info-qd0r787n.js → media-uri-22wspztn.js} +2 -2
- package/dist/chunks/{server-info-s282vggx.js → media-uri-2xcc0x05.js} +1 -1
- package/dist/chunks/{server-info-e6e4kz0w.js → media-uri-39nnfjx1.js} +4 -4
- package/dist/chunks/{server-info-j2d131x1.js → media-uri-3t6z87e1.js} +17 -15
- package/dist/chunks/{server-info-ny1j968n.js → media-uri-6vs5sqy6.js} +2 -2
- package/dist/chunks/{server-info-7b9xm1qg.js → media-uri-7b9xm1qg.js} +1 -1
- package/dist/chunks/{server-info-yxw63vq5.js → media-uri-8113w26k.js} +6 -6
- package/dist/chunks/{server-info-j87xz9bt.js → media-uri-9c4eyh8m.js} +3 -3
- package/dist/chunks/{server-info-5pdfedjd.js → media-uri-b1prsepx.js} +4 -4
- package/dist/chunks/{server-info-cezwbsk5.js → media-uri-b2k9041j.js} +1 -1
- package/dist/chunks/{server-info-5b42hxrf.js → media-uri-be53s2qz.js} +1 -1
- package/dist/chunks/{server-info-yqhefp4s.js → media-uri-c6sjpm0r.js} +2 -2
- package/dist/chunks/{server-info-zpr61asr.js → media-uri-ckkpcd9y.js} +4 -4
- package/dist/chunks/{server-info-a8jcac9a.js → media-uri-dk68ymtv.js} +1 -1
- package/dist/chunks/{server-info-kkdkqt8j.js → media-uri-e46y0tfd.js} +2 -2
- package/dist/chunks/{server-info-s802fzg1.js → media-uri-fvpjvjpp.js} +7 -7
- package/dist/chunks/{server-info-htyf2qs7.js → media-uri-gk0yxcp6.js} +1 -1
- package/dist/chunks/{server-info-50bbk3b2.js → media-uri-gqq6kfhc.js} +3 -3
- package/dist/chunks/{server-info-zcvan105.js → media-uri-h072q2hm.js} +1 -1
- package/dist/chunks/{server-info-rw1dfckh.js → media-uri-h3g82chs.js} +9 -5
- package/dist/chunks/{server-info-4fy84009.js → media-uri-h9rcwvg0.js} +1 -1
- package/dist/chunks/{server-info-az0609r6.js → media-uri-hax1v4bv.js} +2 -2
- package/dist/chunks/{server-info-1v577ncx.js → media-uri-hnheq3hv.js} +2 -2
- package/dist/chunks/{server-info-j4at0y5c.js → media-uri-j4at0y5c.js} +1 -1
- package/dist/chunks/{server-info-b105zy65.js → media-uri-j9gxd9me.js} +2 -2
- package/dist/chunks/{server-info-f559fakr.js → media-uri-m5rae7m4.js} +2 -2
- package/dist/chunks/{server-info-kqr36gas.js → media-uri-mzs0n5xz.js} +7 -7
- package/dist/chunks/{server-info-b0f38s3n.js → media-uri-ndydfxzp.js} +35 -35
- package/dist/chunks/{server-info-btahnm2b.js → media-uri-ppma8fcc.js} +3 -3
- package/dist/chunks/{server-info-nx6f5k7a.js → media-uri-prdak4hd.js} +4 -4
- package/dist/chunks/{server-info-1wd9c1m3.js → media-uri-qbhbayp5.js} +6 -6
- package/dist/chunks/{server-info-2eaky32g.js → media-uri-qn8kkfq6.js} +2 -2
- package/dist/chunks/{server-info-2h6qktqa.js → media-uri-r6vmgwff.js} +2 -2
- package/dist/chunks/{server-info-bhbc7551.js → media-uri-rztv1fyf.js} +4 -4
- package/dist/chunks/{server-info-tjtyxt9h.js → media-uri-wd7b20jw.js} +4 -4
- package/dist/chunks/{server-info-d0edqfxx.js → media-uri-wxj3d9av.js} +2 -2
- package/dist/chunks/{server-info-qcg3sqtb.js → media-uri-x8dgc261.js} +2 -2
- package/dist/chunks/{server-info-5s6gh8sx.js → media-uri-xe9t9xr4.js} +2 -2
- package/dist/chunks/media-uri-xzvdbbpy.js +40 -0
- package/dist/chunks/{server-info-b3bmdkga.js → media-uri-yet0vexm.js} +1 -1
- package/dist/chunks/{server-info-te8jwba1.js → media-uri-yr4wsvrw.js} +2 -2
- package/dist/chunks/{server-info-4q6e7fh8.js → media-uri-z59gyc0x.js} +2 -2
- package/dist/chunks/{server-info-h29xjj1e.js → media-uri-zjy4sw3d.js} +2 -2
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.js +53 -52
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/command.js +6 -6
- package/dist/handlers/config.js +6 -6
- package/dist/handlers/credential.js +6 -6
- package/dist/handlers/debug.js +6 -6
- package/dist/handlers/event.js +7 -7
- package/dist/handlers/form.js +6 -6
- package/dist/handlers/fs.js +6 -6
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.js +8 -8
- package/dist/handlers/media.js +1 -1
- package/dist/handlers/message.js +7 -7
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.d.ts +1 -1
- package/dist/handlers/persistent-pty.js +10 -9
- package/dist/handlers/plugin.js +6 -6
- package/dist/handlers/project.js +6 -6
- package/dist/handlers/provider.js +6 -6
- package/dist/handlers/pty-socket.js +1 -1
- package/dist/handlers/pty.js +8 -8
- package/dist/handlers/reference.js +6 -6
- package/dist/handlers/rpc.js +6 -6
- package/dist/handlers/schedule.d.ts +209 -0
- package/dist/handlers/schedule.js +7 -0
- package/dist/handlers/server.js +9 -9
- package/dist/handlers/session-error.js +1 -1
- package/dist/handlers/session.js +7 -7
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/usage.js +6 -6
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/voice.js +6 -6
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.js +6 -6
- package/dist/handlers.d.ts +1 -1
- package/dist/handlers.js +47 -46
- package/dist/location.js +4 -4
- package/dist/media-uri.js +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +3 -3
- package/dist/process.js +57 -54
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +3 -2
- package/dist/routes.js +50 -49
- package/dist/server-info.js +3 -3
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +54 -53
- package/package.json +8 -8
- /package/dist/chunks/{server-info-9rqn6x4v.js → media-uri-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{server-info-bd8755ek.js → media-uri-bd8755ek.js} +0 -0
- /package/dist/chunks/{server-info-h6rt5k9s.js → media-uri-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{server-info-n321d8vm.js → media-uri-n321d8vm.js} +0 -0
- /package/dist/chunks/{server-info-q4bn6dy8.js → media-uri-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{server-info-smaf4a18.js → media-uri-smaf4a18.js} +0 -0
- /package/dist/chunks/{server-info-xthc02cw.js → media-uri-xthc02cw.js} +0 -0
- /package/dist/chunks/{server-info-yc7nft6q.js → media-uri-yc7nft6q.js} +0 -0
|
@@ -0,0 +1,209 @@
|
|
|
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 action: {
|
|
32
|
+
readonly type: "prompt";
|
|
33
|
+
readonly prompt: string;
|
|
34
|
+
};
|
|
35
|
+
readonly status: "active" | "done" | "paused";
|
|
36
|
+
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
37
|
+
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
38
|
+
readonly remainingRuns?: number | undefined;
|
|
39
|
+
readonly runCount: number;
|
|
40
|
+
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
41
|
+
readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
42
|
+
readonly time: {
|
|
43
|
+
readonly created: import("effect/DateTime").Utc;
|
|
44
|
+
readonly updated: import("effect/DateTime").Utc;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}, ForbiddenError | InvalidRequestError | import("@opencode/protocol/errors").SessionNotFoundError, never>;
|
|
48
|
+
list: (sessionID: Session.ID) => Effect.Effect<{
|
|
49
|
+
data: {
|
|
50
|
+
readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
|
|
51
|
+
readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
52
|
+
readonly name?: string | undefined;
|
|
53
|
+
readonly when: {
|
|
54
|
+
readonly tz?: string | undefined;
|
|
55
|
+
readonly type: "in";
|
|
56
|
+
readonly in: string;
|
|
57
|
+
} | {
|
|
58
|
+
readonly tz?: string | undefined;
|
|
59
|
+
readonly type: "at";
|
|
60
|
+
readonly at: string;
|
|
61
|
+
} | {
|
|
62
|
+
readonly tz?: string | undefined;
|
|
63
|
+
readonly type: "every";
|
|
64
|
+
readonly every: string;
|
|
65
|
+
} | {
|
|
66
|
+
readonly tz?: string | undefined;
|
|
67
|
+
readonly type: "cron";
|
|
68
|
+
readonly cron: string;
|
|
69
|
+
};
|
|
70
|
+
readonly tz: string;
|
|
71
|
+
readonly action: {
|
|
72
|
+
readonly type: "prompt";
|
|
73
|
+
readonly prompt: string;
|
|
74
|
+
};
|
|
75
|
+
readonly status: "active" | "done" | "paused";
|
|
76
|
+
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
77
|
+
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
78
|
+
readonly remainingRuns?: number | undefined;
|
|
79
|
+
readonly runCount: number;
|
|
80
|
+
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
81
|
+
readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
82
|
+
readonly time: {
|
|
83
|
+
readonly created: import("effect/DateTime").Utc;
|
|
84
|
+
readonly updated: import("effect/DateTime").Utc;
|
|
85
|
+
};
|
|
86
|
+
}[];
|
|
87
|
+
}, ForbiddenError | import("@opencode/protocol/errors").SessionNotFoundError, never>;
|
|
88
|
+
get: (id: Schedule.ID) => Effect.Effect<{
|
|
89
|
+
data: {
|
|
90
|
+
readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
|
|
91
|
+
readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
92
|
+
readonly name?: string | undefined;
|
|
93
|
+
readonly when: {
|
|
94
|
+
readonly tz?: string | undefined;
|
|
95
|
+
readonly type: "in";
|
|
96
|
+
readonly in: string;
|
|
97
|
+
} | {
|
|
98
|
+
readonly tz?: string | undefined;
|
|
99
|
+
readonly type: "at";
|
|
100
|
+
readonly at: string;
|
|
101
|
+
} | {
|
|
102
|
+
readonly tz?: string | undefined;
|
|
103
|
+
readonly type: "every";
|
|
104
|
+
readonly every: string;
|
|
105
|
+
} | {
|
|
106
|
+
readonly tz?: string | undefined;
|
|
107
|
+
readonly type: "cron";
|
|
108
|
+
readonly cron: string;
|
|
109
|
+
};
|
|
110
|
+
readonly tz: string;
|
|
111
|
+
readonly action: {
|
|
112
|
+
readonly type: "prompt";
|
|
113
|
+
readonly prompt: string;
|
|
114
|
+
};
|
|
115
|
+
readonly status: "active" | "done" | "paused";
|
|
116
|
+
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
117
|
+
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
118
|
+
readonly remainingRuns?: number | undefined;
|
|
119
|
+
readonly runCount: number;
|
|
120
|
+
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
121
|
+
readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
122
|
+
readonly time: {
|
|
123
|
+
readonly created: import("effect/DateTime").Utc;
|
|
124
|
+
readonly updated: import("effect/DateTime").Utc;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
}, ForbiddenError | ScheduleNotFoundError, never>;
|
|
128
|
+
pause: (id: Schedule.ID) => Effect.Effect<{
|
|
129
|
+
data: {
|
|
130
|
+
readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
|
|
131
|
+
readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
132
|
+
readonly name?: string | undefined;
|
|
133
|
+
readonly when: {
|
|
134
|
+
readonly tz?: string | undefined;
|
|
135
|
+
readonly type: "in";
|
|
136
|
+
readonly in: string;
|
|
137
|
+
} | {
|
|
138
|
+
readonly tz?: string | undefined;
|
|
139
|
+
readonly type: "at";
|
|
140
|
+
readonly at: string;
|
|
141
|
+
} | {
|
|
142
|
+
readonly tz?: string | undefined;
|
|
143
|
+
readonly type: "every";
|
|
144
|
+
readonly every: string;
|
|
145
|
+
} | {
|
|
146
|
+
readonly tz?: string | undefined;
|
|
147
|
+
readonly type: "cron";
|
|
148
|
+
readonly cron: string;
|
|
149
|
+
};
|
|
150
|
+
readonly tz: string;
|
|
151
|
+
readonly action: {
|
|
152
|
+
readonly type: "prompt";
|
|
153
|
+
readonly prompt: string;
|
|
154
|
+
};
|
|
155
|
+
readonly status: "active" | "done" | "paused";
|
|
156
|
+
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
157
|
+
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
158
|
+
readonly remainingRuns?: number | undefined;
|
|
159
|
+
readonly runCount: number;
|
|
160
|
+
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
161
|
+
readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
162
|
+
readonly time: {
|
|
163
|
+
readonly created: import("effect/DateTime").Utc;
|
|
164
|
+
readonly updated: import("effect/DateTime").Utc;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
}, ForbiddenError | ScheduleNotFoundError, never>;
|
|
168
|
+
resume: (id: Schedule.ID) => Effect.Effect<{
|
|
169
|
+
data: {
|
|
170
|
+
readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
|
|
171
|
+
readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
172
|
+
readonly name?: string | undefined;
|
|
173
|
+
readonly when: {
|
|
174
|
+
readonly tz?: string | undefined;
|
|
175
|
+
readonly type: "in";
|
|
176
|
+
readonly in: string;
|
|
177
|
+
} | {
|
|
178
|
+
readonly tz?: string | undefined;
|
|
179
|
+
readonly type: "at";
|
|
180
|
+
readonly at: string;
|
|
181
|
+
} | {
|
|
182
|
+
readonly tz?: string | undefined;
|
|
183
|
+
readonly type: "every";
|
|
184
|
+
readonly every: string;
|
|
185
|
+
} | {
|
|
186
|
+
readonly tz?: string | undefined;
|
|
187
|
+
readonly type: "cron";
|
|
188
|
+
readonly cron: string;
|
|
189
|
+
};
|
|
190
|
+
readonly tz: string;
|
|
191
|
+
readonly action: {
|
|
192
|
+
readonly type: "prompt";
|
|
193
|
+
readonly prompt: string;
|
|
194
|
+
};
|
|
195
|
+
readonly status: "active" | "done" | "paused";
|
|
196
|
+
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
197
|
+
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
198
|
+
readonly remainingRuns?: number | undefined;
|
|
199
|
+
readonly runCount: number;
|
|
200
|
+
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
201
|
+
readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
202
|
+
readonly time: {
|
|
203
|
+
readonly created: import("effect/DateTime").Utc;
|
|
204
|
+
readonly updated: import("effect/DateTime").Utc;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
}, ForbiddenError | ScheduleNotFoundError, never>;
|
|
208
|
+
remove: (id: Schedule.ID) => Effect.Effect<void, ForbiddenError | ScheduleNotFoundError, never>;
|
|
209
|
+
}, never, Schedule.Service>;
|
package/dist/handlers/server.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ServerHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
11
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/media-uri-8113w26k.js";
|
|
4
|
+
import"../chunks/media-uri-9c4eyh8m.js";
|
|
5
|
+
import"../chunks/media-uri-yet0vexm.js";
|
|
6
|
+
import"../chunks/media-uri-gk0yxcp6.js";
|
|
7
|
+
import"../chunks/media-uri-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/media-uri-smaf4a18.js";
|
|
9
|
+
import"../chunks/media-uri-b1prsepx.js";
|
|
10
|
+
import"../chunks/media-uri-j4at0y5c.js";
|
|
11
|
+
import"../chunks/media-uri-mzs0n5xz.js";
|
|
12
12
|
export {
|
|
13
13
|
ServerHandler2 as ServerHandler
|
|
14
14
|
};
|
package/dist/handlers/session.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/media-uri-wd7b20jw.js";
|
|
4
|
+
import"../chunks/media-uri-9c4eyh8m.js";
|
|
5
|
+
import"../chunks/media-uri-yet0vexm.js";
|
|
6
|
+
import"../chunks/media-uri-gk0yxcp6.js";
|
|
7
|
+
import"../chunks/media-uri-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/media-uri-smaf4a18.js";
|
|
9
|
+
import"../chunks/media-uri-xthc02cw.js";
|
|
10
10
|
export {
|
|
11
11
|
SessionHandler2 as SessionHandler
|
|
12
12
|
};
|
package/dist/handlers/shell.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ShellHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/media-uri-22wspztn.js";
|
|
4
|
+
import"../chunks/media-uri-9c4eyh8m.js";
|
|
5
|
+
import"../chunks/media-uri-yet0vexm.js";
|
|
6
|
+
import"../chunks/media-uri-gk0yxcp6.js";
|
|
7
|
+
import"../chunks/media-uri-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/media-uri-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ShellHandler2 as ShellHandler
|
|
11
11
|
};
|
package/dist/handlers/skill.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SkillHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/media-uri-6vs5sqy6.js";
|
|
4
|
+
import"../chunks/media-uri-9c4eyh8m.js";
|
|
5
|
+
import"../chunks/media-uri-yet0vexm.js";
|
|
6
|
+
import"../chunks/media-uri-gk0yxcp6.js";
|
|
7
|
+
import"../chunks/media-uri-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/media-uri-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
SkillHandler2 as SkillHandler
|
|
11
11
|
};
|
package/dist/handlers/usage.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UsageHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/media-uri-j9gxd9me.js";
|
|
4
|
+
import"../chunks/media-uri-9c4eyh8m.js";
|
|
5
|
+
import"../chunks/media-uri-yet0vexm.js";
|
|
6
|
+
import"../chunks/media-uri-gk0yxcp6.js";
|
|
7
|
+
import"../chunks/media-uri-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/media-uri-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
UsageHandler2 as UsageHandler
|
|
11
11
|
};
|
package/dist/handlers/vcs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VcsHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/media-uri-xe9t9xr4.js";
|
|
4
|
+
import"../chunks/media-uri-9c4eyh8m.js";
|
|
5
|
+
import"../chunks/media-uri-yet0vexm.js";
|
|
6
|
+
import"../chunks/media-uri-gk0yxcp6.js";
|
|
7
|
+
import"../chunks/media-uri-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/media-uri-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
VcsHandler2 as VcsHandler
|
|
11
11
|
};
|
package/dist/handlers/voice.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VoiceHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/media-uri-wxj3d9av.js";
|
|
4
|
+
import"../chunks/media-uri-9c4eyh8m.js";
|
|
5
|
+
import"../chunks/media-uri-yet0vexm.js";
|
|
6
|
+
import"../chunks/media-uri-gk0yxcp6.js";
|
|
7
|
+
import"../chunks/media-uri-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/media-uri-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/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/media-uri-e46y0tfd.js";
|
|
4
|
+
import"../chunks/media-uri-9c4eyh8m.js";
|
|
5
|
+
import"../chunks/media-uri-yet0vexm.js";
|
|
6
|
+
import"../chunks/media-uri-gk0yxcp6.js";
|
|
7
|
+
import"../chunks/media-uri-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/media-uri-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/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/media-uri-h9rcwvg0.js";
|
|
4
|
+
import"../chunks/media-uri-9c4eyh8m.js";
|
|
5
|
+
import"../chunks/media-uri-yet0vexm.js";
|
|
6
|
+
import"../chunks/media-uri-gk0yxcp6.js";
|
|
7
|
+
import"../chunks/media-uri-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/media-uri-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
WorktreeHandler2 as WorktreeHandler
|
|
11
11
|
};
|
package/dist/handlers.d.ts
CHANGED
|
@@ -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/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/schedule").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>;
|
package/dist/handlers.js
CHANGED
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handlers2
|
|
3
|
-
} from "./chunks/
|
|
4
|
-
import"./chunks/
|
|
5
|
-
import"./chunks/
|
|
6
|
-
import"./chunks/
|
|
7
|
-
import"./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
10
|
-
import"./chunks/
|
|
11
|
-
import"./chunks/
|
|
12
|
-
import"./chunks/
|
|
13
|
-
import"./chunks/
|
|
14
|
-
import"./chunks/
|
|
15
|
-
import"./chunks/
|
|
16
|
-
import"./chunks/
|
|
17
|
-
import"./chunks/
|
|
18
|
-
import"./chunks/
|
|
19
|
-
import"./chunks/
|
|
20
|
-
import"./chunks/
|
|
21
|
-
import"./chunks/
|
|
22
|
-
import"./chunks/
|
|
23
|
-
import"./chunks/
|
|
24
|
-
import"./chunks/
|
|
25
|
-
import"./chunks/
|
|
26
|
-
import"./chunks/
|
|
27
|
-
import"./chunks/
|
|
28
|
-
import"./chunks/
|
|
29
|
-
import"./chunks/
|
|
30
|
-
import"./chunks/
|
|
31
|
-
import"./chunks/
|
|
32
|
-
import"./chunks/
|
|
33
|
-
import"./chunks/
|
|
34
|
-
import"./chunks/
|
|
35
|
-
import"./chunks/
|
|
36
|
-
import"./chunks/
|
|
37
|
-
import"./chunks/
|
|
38
|
-
import"./chunks/
|
|
39
|
-
import"./chunks/
|
|
40
|
-
import"./chunks/
|
|
41
|
-
import"./chunks/
|
|
42
|
-
import"./chunks/
|
|
43
|
-
import"./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
3
|
+
} from "./chunks/media-uri-ndydfxzp.js";
|
|
4
|
+
import"./chunks/media-uri-r6vmgwff.js";
|
|
5
|
+
import"./chunks/media-uri-h3g82chs.js";
|
|
6
|
+
import"./chunks/media-uri-hax1v4bv.js";
|
|
7
|
+
import"./chunks/media-uri-8113w26k.js";
|
|
8
|
+
import"./chunks/media-uri-h072q2hm.js";
|
|
9
|
+
import"./chunks/media-uri-wxj3d9av.js";
|
|
10
|
+
import"./chunks/media-uri-2xcc0x05.js";
|
|
11
|
+
import"./chunks/media-uri-j9gxd9me.js";
|
|
12
|
+
import"./chunks/media-uri-hnheq3hv.js";
|
|
13
|
+
import"./chunks/media-uri-ppma8fcc.js";
|
|
14
|
+
import"./chunks/media-uri-1je14sn4.js";
|
|
15
|
+
import"./chunks/media-uri-m5rae7m4.js";
|
|
16
|
+
import"./chunks/media-uri-e46y0tfd.js";
|
|
17
|
+
import"./chunks/media-uri-n321d8vm.js";
|
|
18
|
+
import"./chunks/media-uri-b2k9041j.js";
|
|
19
|
+
import"./chunks/media-uri-0n1e9dnh.js";
|
|
20
|
+
import"./chunks/media-uri-6vs5sqy6.js";
|
|
21
|
+
import"./chunks/media-uri-dk68ymtv.js";
|
|
22
|
+
import"./chunks/media-uri-qn8kkfq6.js";
|
|
23
|
+
import"./chunks/media-uri-zjy4sw3d.js";
|
|
24
|
+
import"./chunks/media-uri-x8dgc261.js";
|
|
25
|
+
import"./chunks/media-uri-0a5jm2na.js";
|
|
26
|
+
import"./chunks/media-uri-c6sjpm0r.js";
|
|
27
|
+
import"./chunks/media-uri-xe9t9xr4.js";
|
|
28
|
+
import"./chunks/media-uri-ckkpcd9y.js";
|
|
29
|
+
import"./chunks/media-uri-h9rcwvg0.js";
|
|
30
|
+
import"./chunks/media-uri-yr4wsvrw.js";
|
|
31
|
+
import"./chunks/media-uri-22wspztn.js";
|
|
32
|
+
import"./chunks/media-uri-wd7b20jw.js";
|
|
33
|
+
import"./chunks/media-uri-xzvdbbpy.js";
|
|
34
|
+
import"./chunks/media-uri-be53s2qz.js";
|
|
35
|
+
import"./chunks/media-uri-prdak4hd.js";
|
|
36
|
+
import"./chunks/media-uri-z59gyc0x.js";
|
|
37
|
+
import"./chunks/media-uri-rztv1fyf.js";
|
|
38
|
+
import"./chunks/media-uri-h6rt5k9s.js";
|
|
39
|
+
import"./chunks/media-uri-fvpjvjpp.js";
|
|
40
|
+
import"./chunks/media-uri-9c4eyh8m.js";
|
|
41
|
+
import"./chunks/media-uri-yet0vexm.js";
|
|
42
|
+
import"./chunks/media-uri-gk0yxcp6.js";
|
|
43
|
+
import"./chunks/media-uri-gqq6kfhc.js";
|
|
44
|
+
import"./chunks/media-uri-smaf4a18.js";
|
|
45
|
+
import"./chunks/media-uri-xthc02cw.js";
|
|
46
|
+
import"./chunks/media-uri-b1prsepx.js";
|
|
47
|
+
import"./chunks/media-uri-j4at0y5c.js";
|
|
48
|
+
import"./chunks/media-uri-mzs0n5xz.js";
|
|
49
|
+
import"./chunks/media-uri-q4bn6dy8.js";
|
|
49
50
|
export {
|
|
50
51
|
handlers2 as handlers
|
|
51
52
|
};
|
package/dist/location.js
CHANGED
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
response2,
|
|
6
6
|
sessionInfo2,
|
|
7
7
|
requestRef2,
|
|
8
|
-
|
|
9
|
-
} from "./chunks/
|
|
10
|
-
import"./chunks/
|
|
8
|
+
layer3
|
|
9
|
+
} from "./chunks/media-uri-gqq6kfhc.js";
|
|
10
|
+
import"./chunks/media-uri-smaf4a18.js";
|
|
11
11
|
export {
|
|
12
12
|
LocationMiddleware2 as LocationMiddleware,
|
|
13
13
|
awaitPlugins2 as awaitPlugins,
|
|
14
|
-
|
|
14
|
+
layer3 as layer,
|
|
15
15
|
locationErrors2 as locationErrors,
|
|
16
16
|
requestRef2 as requestRef,
|
|
17
17
|
response2 as response,
|
package/dist/media-uri.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
authorizedRequest2,
|
|
4
4
|
authorizationLayer2,
|
|
5
5
|
Authorization2
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
6
|
+
} from "../chunks/media-uri-7b9xm1qg.js";
|
|
7
|
+
import"../chunks/media-uri-j4at0y5c.js";
|
|
8
8
|
export {
|
|
9
9
|
Authorization2 as Authorization,
|
|
10
10
|
authorizationLayer2 as authorizationLayer,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormLocationMiddleware2,
|
|
3
3
|
formLocationLayer2
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/media-uri-gk0yxcp6.js";
|
|
5
|
+
import"../chunks/media-uri-gqq6kfhc.js";
|
|
6
|
+
import"../chunks/media-uri-smaf4a18.js";
|
|
7
7
|
export {
|
|
8
8
|
FormLocationMiddleware2 as FormLocationMiddleware,
|
|
9
9
|
formLocationLayer2 as formLocationLayer
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionLocationMiddleware2,
|
|
3
3
|
sessionLocationLayer2
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/media-uri-yet0vexm.js";
|
|
5
|
+
import"../chunks/media-uri-gqq6kfhc.js";
|
|
6
|
+
import"../chunks/media-uri-smaf4a18.js";
|
|
7
7
|
export {
|
|
8
8
|
SessionLocationMiddleware2 as SessionLocationMiddleware,
|
|
9
9
|
sessionLocationLayer2 as sessionLocationLayer
|