@opencode/server 0.0.0-dev-21846 → 0.0.0-dev-21856
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/{options-1e765wh0.js → auth-1e765wh0.js} +2 -2
- package/dist/chunks/{options-0162gbar.js → auth-1mr615qt.js} +4 -4
- package/dist/chunks/{options-39nnfjx1.js → auth-39nnfjx1.js} +1 -1
- package/dist/chunks/{options-3d7qdbre.js → auth-3d7qdbre.js} +1 -1
- package/dist/chunks/{options-nnsgc8by.js → auth-3khy08bz.js} +13 -9
- package/dist/chunks/{options-4gnb9897.js → auth-4gnb9897.js} +1 -1
- package/dist/chunks/{options-4nbah0zs.js → auth-4nbah0zs.js} +3 -3
- package/dist/chunks/{options-sc3gatcy.js → auth-4x9ztr5s.js} +3 -3
- package/dist/chunks/{options-50bbk3b2.js → auth-50bbk3b2.js} +1 -1
- package/dist/chunks/{options-547pgmmc.js → auth-547pgmmc.js} +2 -2
- package/dist/chunks/{options-7b9xm1qg.js → auth-7b9xm1qg.js} +1 -1
- package/dist/chunks/{options-7xe5pzvy.js → auth-7xe5pzvy.js} +1 -1
- package/dist/chunks/{options-hb7rfenk.js → auth-94f3wbhg.js} +6 -6
- package/dist/chunks/{options-ye9tw5gq.js → auth-a93h19p0.js} +4 -4
- package/dist/chunks/{options-b3bmdkga.js → auth-b3bmdkga.js} +1 -1
- package/dist/chunks/{options-g3mfewdn.js → auth-b5akaz80.js} +4 -4
- package/dist/chunks/{options-ca30pptj.js → auth-ca30pptj.js} +2 -2
- package/dist/chunks/{options-cpp0zjdy.js → auth-cpp0zjdy.js} +2 -2
- package/dist/chunks/{options-emkxpff3.js → auth-emkxpff3.js} +3 -3
- package/dist/chunks/{options-fazm2c7b.js → auth-fazm2c7b.js} +2 -2
- package/dist/chunks/{options-fysmzcya.js → auth-fysmzcya.js} +2 -2
- package/dist/chunks/{options-g7sdbt1s.js → auth-g7sdbt1s.js} +2 -2
- package/dist/chunks/{options-gq8jw616.js → auth-gq8jw616.js} +2 -2
- package/dist/chunks/{options-gw6rc7x0.js → auth-gw6rc7x0.js} +2 -2
- package/dist/chunks/{options-gy667q5r.js → auth-gy667q5r.js} +2 -2
- package/dist/chunks/{options-jrmfzwn1.js → auth-hc410knt.js} +35 -35
- package/dist/chunks/{options-hwqxzcvy.js → auth-hwqxzcvy.js} +1 -1
- package/dist/chunks/{options-j4at0y5c.js → auth-j4at0y5c.js} +1 -1
- package/dist/chunks/{options-jd2d9483.js → auth-jd2d9483.js} +2 -2
- package/dist/chunks/{options-jk5edc6h.js → auth-jk5edc6h.js} +2 -2
- package/dist/chunks/{options-p9y9t730.js → auth-k44e8h5n.js} +3 -3
- package/dist/chunks/{options-dnwg64ce.js → auth-ntrsy3zp.js} +7 -7
- package/dist/chunks/{options-qcfps8nc.js → auth-qcfps8nc.js} +2 -2
- package/dist/chunks/{options-qx5ydgm0.js → auth-qx5ydgm0.js} +1 -1
- package/dist/chunks/{options-4yssd27q.js → auth-rrcvqwav.js} +15 -13
- package/dist/chunks/{options-s0qm098c.js → auth-s0qm098c.js} +2 -2
- package/dist/chunks/{options-t4c683g8.js → auth-t4c683g8.js} +2 -2
- package/dist/chunks/{options-tp6qcw6t.js → auth-tp6qcw6t.js} +1 -1
- package/dist/chunks/{options-w4e9jgda.js → auth-w4e9jgda.js} +1 -1
- package/dist/chunks/{options-w9jcwh65.js → auth-w9jcwh65.js} +1 -1
- package/dist/chunks/{options-wexwfee0.js → auth-wexwfee0.js} +2 -2
- package/dist/chunks/{options-xeq9w5wr.js → auth-xeq9w5wr.js} +2 -2
- package/dist/chunks/{options-z3akqjf6.js → auth-z3akqjf6.js} +1 -1
- package/dist/chunks/{options-yjbzmfhm.js → auth-z3e7v67k.js} +7 -7
- package/dist/chunks/{options-z6z134jc.js → auth-z6z134jc.js} +2 -2
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.js +48 -48
- 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/message.js +6 -6
- 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.js +8 -8
- package/dist/handlers/plugin.js +6 -6
- package/dist/handlers/project.d.ts +1 -1
- 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/server.js +9 -9
- package/dist/handlers/session-error.js +1 -1
- package/dist/handlers/session.d.ts +3 -1
- package/dist/handlers/session.js +6 -6
- 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 +44 -44
- package/dist/location.js +2 -2
- 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 +1 -1
- package/dist/process.js +50 -50
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +3 -2
- package/dist/routes.js +47 -47
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +1 -1
- package/dist/workerd.js +49 -49
- package/package.json +8 -8
- /package/dist/chunks/{options-9rqn6x4v.js → auth-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{options-erzfdgke.js → auth-erzfdgke.js} +0 -0
- /package/dist/chunks/{options-h6rt5k9s.js → auth-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{options-q4bn6dy8.js → auth-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{options-smaf4a18.js → auth-smaf4a18.js} +0 -0
- /package/dist/chunks/{options-yc7nft6q.js → auth-yc7nft6q.js} +0 -0
package/dist/api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./chunks/
|
|
4
|
-
import"./chunks/
|
|
5
|
-
import"./chunks/
|
|
6
|
-
import"./chunks/
|
|
7
|
-
import"./chunks/
|
|
3
|
+
} from "./chunks/auth-4nbah0zs.js";
|
|
4
|
+
import"./chunks/auth-4gnb9897.js";
|
|
5
|
+
import"./chunks/auth-b3bmdkga.js";
|
|
6
|
+
import"./chunks/auth-50bbk3b2.js";
|
|
7
|
+
import"./chunks/auth-smaf4a18.js";
|
|
8
8
|
export {
|
|
9
9
|
Api2 as Api
|
|
10
10
|
};
|
package/dist/auth.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2,
|
|
3
3
|
failedMessageDecode2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./auth-smaf4a18.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./auth-4nbah0zs.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/message.ts
|
|
10
10
|
import { SessionMessage } from "@opencode/core/session/message";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-4nbah0zs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service4,
|
|
6
6
|
frame2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./auth-ntrsy3zp.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/event.ts
|
|
10
10
|
import { Event } from "@opencode/schema/event";
|
|
@@ -12,7 +12,7 @@ import { Effect, Stream } from "effect";
|
|
|
12
12
|
import { HttpServerResponse } from "effect/http";
|
|
13
13
|
import { HttpApiBuilder } from "effect/http-api";
|
|
14
14
|
var EventHandler2 = HttpApiBuilder.group(Api2, "server.event", (handlers) => Effect.gen(function* () {
|
|
15
|
-
const feed = yield*
|
|
15
|
+
const feed = yield* Service4;
|
|
16
16
|
return handlers.handleRaw("event.subscribe", () => Effect.gen(function* () {
|
|
17
17
|
const connected = {
|
|
18
18
|
id: Event.ID.create(),
|
|
@@ -3,15 +3,16 @@ import {
|
|
|
3
3
|
missingMessage2,
|
|
4
4
|
failedMessageDecode2,
|
|
5
5
|
failedSnapshot2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./auth-smaf4a18.js";
|
|
7
7
|
import {
|
|
8
8
|
locationErrors2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./auth-50bbk3b2.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./auth-4nbah0zs.js";
|
|
13
13
|
|
|
14
14
|
// src/handlers/session.ts
|
|
15
|
+
import { Instance } from "@opencode/core/instance/service";
|
|
15
16
|
import { Session } from "@opencode/core/session";
|
|
16
17
|
import { SessionStats } from "@opencode/core/session/stats";
|
|
17
18
|
import { SessionTitle } from "@opencode/core/session/title";
|
|
@@ -41,6 +42,9 @@ function missingForm(id) {
|
|
|
41
42
|
var SessionHandler2 = HttpApiBuilder.group(Api2, "server.session", (handlers) => Effect.gen(function* () {
|
|
42
43
|
const session = yield* Session.Service;
|
|
43
44
|
const transfer = yield* SessionTransfer.Service;
|
|
45
|
+
const instructions = yield* InstructionEntry.Service;
|
|
46
|
+
const instances = yield* Instance.Service;
|
|
47
|
+
const requireSession = (sessionID) => session.get(sessionID).pipe(Effect.catchTag("Session.NotFoundError", missingSession2));
|
|
44
48
|
const requireOwnedForm = Effect.fnUntraced(function* (sessionID, formID) {
|
|
45
49
|
const form = yield* Form.Service;
|
|
46
50
|
const info = yield* form.get(formID).pipe(Effect.catchTag("Form.NotFoundError", () => missingForm(formID)));
|
|
@@ -125,13 +129,12 @@ var SessionHandler2 = HttpApiBuilder.group(Api2, "server.session", (handlers) =>
|
|
|
125
129
|
yield* session.switchModel({ sessionID: ctx.params.sessionID, model: ctx.payload.model }).pipe(Effect.catchTag("Session.NotFoundError", missingSession2));
|
|
126
130
|
return HttpApiSchema.NoContent.make();
|
|
127
131
|
})).handle("session.update", Effect.fn(function* (ctx) {
|
|
128
|
-
yield*
|
|
132
|
+
const info = yield* requireSession(ctx.params.sessionID);
|
|
129
133
|
if (ctx.payload.title !== undefined) {
|
|
130
134
|
if (ctx.payload.title) {
|
|
131
135
|
yield* session.rename({ sessionID: ctx.params.sessionID, title: ctx.payload.title }).pipe(Effect.catchTag("Session.NotFoundError", missingSession2));
|
|
132
136
|
} else {
|
|
133
|
-
|
|
134
|
-
yield* title.generate(ctx.params.sessionID);
|
|
137
|
+
yield* SessionTitle.Service.use((title) => title.generate(ctx.params.sessionID)).pipe(instances.provide(info), locationErrors2);
|
|
135
138
|
}
|
|
136
139
|
}
|
|
137
140
|
if (ctx.payload.metadata !== undefined)
|
|
@@ -251,14 +254,14 @@ var SessionHandler2 = HttpApiBuilder.group(Api2, "server.session", (handlers) =>
|
|
|
251
254
|
})).handle("session.inbox.update", Effect.fn(function* (ctx) {
|
|
252
255
|
return yield* pendingMutation(ctx.payload.delivery === "steer" ? session.steerInbox({ sessionID: ctx.params.sessionID, inboxID: ctx.params.inboxID }) : session.queueInbox({ sessionID: ctx.params.sessionID, inboxID: ctx.params.inboxID }), `Pending input cannot change to ${ctx.payload.delivery}`);
|
|
253
256
|
})).handle("session.instructions.entry.list", Effect.fn(function* (ctx) {
|
|
254
|
-
|
|
257
|
+
yield* requireSession(ctx.params.sessionID);
|
|
255
258
|
return { data: yield* instructions.list(ctx.params.sessionID) };
|
|
256
259
|
})).handle("session.instructions.entry.put", Effect.fn(function* (ctx) {
|
|
257
|
-
|
|
260
|
+
yield* requireSession(ctx.params.sessionID);
|
|
258
261
|
yield* instructions.put({ sessionID: ctx.params.sessionID, key: ctx.params.key, value: ctx.payload.value });
|
|
259
262
|
return HttpApiSchema.NoContent.make();
|
|
260
263
|
})).handle("session.instructions.entry.remove", Effect.fn(function* (ctx) {
|
|
261
|
-
|
|
264
|
+
yield* requireSession(ctx.params.sessionID);
|
|
262
265
|
yield* instructions.remove({ sessionID: ctx.params.sessionID, key: ctx.params.key });
|
|
263
266
|
return HttpApiSchema.NoContent.make();
|
|
264
267
|
})).handle("session.generate", Effect.fn(function* (ctx) {
|
|
@@ -268,6 +271,7 @@ var SessionHandler2 = HttpApiBuilder.group(Api2, "server.session", (handlers) =>
|
|
|
268
271
|
yield* session.get(ctx.params.sessionID).pipe(Effect.catchTag("Session.NotFoundError", missingSession2));
|
|
269
272
|
return session.log({ sessionID: ctx.params.sessionID, after: ctx.query.after, follow: ctx.query.follow }).pipe(Stream.orDie);
|
|
270
273
|
})).handle("session.interrupt", Effect.fn(function* (ctx) {
|
|
274
|
+
yield* requireSession(ctx.params.sessionID);
|
|
271
275
|
return { interrupted: yield* session.interrupt(ctx.params.sessionID, { resume: ctx.query.resume }) };
|
|
272
276
|
})).handle("session.background", Effect.fn(function* (ctx) {
|
|
273
277
|
yield* session.background(ctx.params.sessionID).pipe(Effect.catchTag("Session.NotFoundError", missingSession2));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationMiddleware2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
FormLocationMiddleware2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./auth-4gnb9897.js";
|
|
7
7
|
import {
|
|
8
8
|
SessionLocationMiddleware2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./auth-b3bmdkga.js";
|
|
10
10
|
|
|
11
11
|
// src/api.ts
|
|
12
12
|
import { makeDefaultApi } from "@opencode/protocol/api";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-4nbah0zs.js";
|
|
4
4
|
import {
|
|
5
5
|
CorsConfig2,
|
|
6
6
|
isAllowedRequestOrigin2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./auth-q4bn6dy8.js";
|
|
8
8
|
import {
|
|
9
9
|
runPtySocket2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./auth-h6rt5k9s.js";
|
|
11
11
|
|
|
12
12
|
// src/handlers/persistent-pty.ts
|
|
13
13
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-4nbah0zs.js";
|
|
4
4
|
import {
|
|
5
5
|
SESSION_TTL_SECONDS2,
|
|
6
6
|
Config2,
|
|
7
7
|
issueSession2,
|
|
8
8
|
sessionCookieName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./auth-j4at0y5c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service2
|
|
12
|
+
} from "./auth-z3e7v67k.js";
|
|
13
13
|
import {
|
|
14
14
|
Service3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./auth-w9jcwh65.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/server.ts
|
|
18
18
|
import { Duration, Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => E
|
|
|
24
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*
|
|
27
|
+
const info = yield* Service2;
|
|
28
28
|
return {
|
|
29
29
|
version: info.app.version ?? "unknown",
|
|
30
30
|
pid: process.pid ?? 0,
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
locationErrors2,
|
|
3
3
|
response2,
|
|
4
4
|
requestRef2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./auth-50bbk3b2.js";
|
|
6
6
|
import {
|
|
7
7
|
Api2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./auth-4nbah0zs.js";
|
|
9
9
|
import {
|
|
10
10
|
CorsConfig2,
|
|
11
11
|
isAllowedRequestOrigin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./auth-q4bn6dy8.js";
|
|
13
13
|
import {
|
|
14
14
|
runPtySocket2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./auth-h6rt5k9s.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/pty.ts
|
|
18
18
|
import { Pty } from "@opencode/core/pty";
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
locationErrors2,
|
|
3
3
|
response2,
|
|
4
4
|
requestRef2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./auth-50bbk3b2.js";
|
|
6
6
|
import {
|
|
7
7
|
Api2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./auth-4nbah0zs.js";
|
|
9
9
|
import {
|
|
10
10
|
CorsConfig2,
|
|
11
11
|
isAllowedRequestOrigin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./auth-q4bn6dy8.js";
|
|
13
13
|
import {
|
|
14
14
|
runPtySocket2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./auth-h6rt5k9s.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/mcp.ts
|
|
18
18
|
import { Location } from "@opencode/core/location";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
awaitPlugins2,
|
|
3
3
|
response2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./auth-50bbk3b2.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./auth-4nbah0zs.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/usage.ts
|
|
10
10
|
import { UsageLimits } from "@opencode/core/usage-limits";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
awaitPlugins2,
|
|
3
3
|
response2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./auth-50bbk3b2.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./auth-4nbah0zs.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/model.ts
|
|
10
10
|
import { Model } from "@opencode/core/model";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-smaf4a18.js";
|
|
4
4
|
import {
|
|
5
5
|
locationErrors2,
|
|
6
6
|
response2,
|
|
7
7
|
sessionInfo2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./auth-50bbk3b2.js";
|
|
9
9
|
import {
|
|
10
10
|
Api2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./auth-4nbah0zs.js";
|
|
12
12
|
|
|
13
13
|
// src/handlers/permission.ts
|
|
14
14
|
import { Instance } from "@opencode/core/instance/service";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
locationErrors2,
|
|
3
3
|
awaitPlugins2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./auth-50bbk3b2.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./auth-4nbah0zs.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/generate.ts
|
|
10
10
|
import { Generate } from "@opencode/core/generate";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestRef2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./auth-4nbah0zs.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/debug.ts
|
|
9
9
|
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
@@ -1,105 +1,105 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenerateHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-gq8jw616.js";
|
|
4
4
|
import {
|
|
5
5
|
VoiceHandler2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./auth-xeq9w5wr.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageHandler2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./auth-1e765wh0.js";
|
|
10
10
|
import {
|
|
11
11
|
ModelHandler2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./auth-cpp0zjdy.js";
|
|
13
13
|
import {
|
|
14
14
|
ProviderHandler2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./auth-fazm2c7b.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionHandler2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./auth-3khy08bz.js";
|
|
19
19
|
import {
|
|
20
20
|
PermissionHandler2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./auth-emkxpff3.js";
|
|
22
22
|
import {
|
|
23
23
|
FileSystemHandler2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./auth-qcfps8nc.js";
|
|
25
25
|
import {
|
|
26
26
|
FormHandler2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./auth-s0qm098c.js";
|
|
28
28
|
import {
|
|
29
29
|
CommandHandler2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./auth-fysmzcya.js";
|
|
31
31
|
import {
|
|
32
32
|
SkillHandler2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./auth-547pgmmc.js";
|
|
34
34
|
import {
|
|
35
35
|
RpcHandler2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./auth-w4e9jgda.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
layer3
|
|
39
|
+
} from "./auth-ntrsy3zp.js";
|
|
40
40
|
import {
|
|
41
41
|
EventHandler2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./auth-1mr615qt.js";
|
|
43
43
|
import {
|
|
44
44
|
AgentHandler2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./auth-g7sdbt1s.js";
|
|
46
46
|
import {
|
|
47
47
|
PluginHandler2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./auth-jd2d9483.js";
|
|
49
49
|
import {
|
|
50
50
|
ServerHandler2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./auth-94f3wbhg.js";
|
|
52
52
|
import {
|
|
53
53
|
DebugHandler2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./auth-gy667q5r.js";
|
|
55
55
|
import {
|
|
56
56
|
PtyHandler2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./auth-a93h19p0.js";
|
|
58
58
|
import {
|
|
59
59
|
PersistentPtyHandler2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./auth-4x9ztr5s.js";
|
|
61
61
|
import {
|
|
62
62
|
ShellHandler2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./auth-t4c683g8.js";
|
|
64
64
|
import {
|
|
65
65
|
ReferenceHandler2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./auth-z6z134jc.js";
|
|
67
67
|
import {
|
|
68
68
|
LocationHandler2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./auth-7xe5pzvy.js";
|
|
70
70
|
import {
|
|
71
71
|
IntegrationHandler2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./auth-jk5edc6h.js";
|
|
73
73
|
import {
|
|
74
74
|
WebSearchHandler2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./auth-wexwfee0.js";
|
|
76
76
|
import {
|
|
77
77
|
UsageHandler2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./auth-ca30pptj.js";
|
|
79
79
|
import {
|
|
80
80
|
McpHandler2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./auth-b5akaz80.js";
|
|
82
82
|
import {
|
|
83
83
|
CredentialHandler2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./auth-qx5ydgm0.js";
|
|
85
85
|
import {
|
|
86
86
|
ProjectHandler2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./auth-3d7qdbre.js";
|
|
88
88
|
import {
|
|
89
89
|
WorktreeHandler2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./auth-z3akqjf6.js";
|
|
91
91
|
import {
|
|
92
92
|
VcsHandler2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./auth-gw6rc7x0.js";
|
|
94
94
|
import {
|
|
95
95
|
MigrationHandler2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./auth-tp6qcw6t.js";
|
|
97
97
|
import {
|
|
98
98
|
ConfigHandler2
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./auth-hwqxzcvy.js";
|
|
100
100
|
|
|
101
101
|
// src/handlers.ts
|
|
102
102
|
import { Layer } from "effect";
|
|
103
|
-
var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, UsageHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(
|
|
103
|
+
var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, UsageHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer3)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
|
|
104
104
|
|
|
105
105
|
export { handlers2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./auth-4nbah0zs.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/integration.ts
|
|
9
9
|
import { Integration } from "@opencode/core/integration";
|