@opencode/server 0.0.0-dev-21085 → 0.0.0-dev-21090
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/{request-tracing-0gbaaetm.js → handlers-0gbaaetm.js} +2 -2
- package/dist/chunks/{request-tracing-1wyt3am5.js → handlers-1wyt3am5.js} +2 -2
- package/dist/chunks/{request-tracing-1ybjhnn1.js → handlers-1ybjhnn1.js} +3 -3
- package/dist/chunks/{request-tracing-2ac2kv4c.js → handlers-2ac2kv4c.js} +3 -3
- package/dist/chunks/{request-tracing-3m0ygtwr.js → handlers-3m0ygtwr.js} +2 -2
- package/dist/chunks/{request-tracing-4bxenate.js → handlers-4bxenate.js} +2 -2
- package/dist/chunks/{request-tracing-4hhhes7w.js → handlers-4hhhes7w.js} +1 -1
- package/dist/chunks/{request-tracing-tv7zw7jd.js → handlers-4yynsby0.js} +6 -6
- package/dist/chunks/{request-tracing-7armztsr.js → handlers-7armztsr.js} +2 -2
- package/dist/chunks/{request-tracing-7bgw0qp5.js → handlers-7bgw0qp5.js} +2 -2
- package/dist/chunks/{request-tracing-4j6v5d49.js → handlers-7ckfkptd.js} +15 -15
- package/dist/chunks/{request-tracing-pmerjmj3.js → handlers-7jgfqyjw.js} +4 -4
- package/dist/chunks/{request-tracing-8me0mqmd.js → handlers-8me0mqmd.js} +2 -2
- package/dist/chunks/{request-tracing-8z4c9n9h.js → handlers-8z4c9n9h.js} +2 -2
- package/dist/chunks/{request-tracing-adb03esn.js → handlers-adb03esn.js} +2 -2
- package/dist/chunks/{request-tracing-anm12x33.js → handlers-anm12x33.js} +1 -1
- package/dist/chunks/{request-tracing-b3jp5nc2.js → handlers-b3jp5nc2.js} +2 -2
- package/dist/chunks/{request-tracing-b56hqv74.js → handlers-b56hqv74.js} +1 -1
- package/dist/chunks/{request-tracing-begnybrv.js → handlers-begnybrv.js} +1 -1
- package/dist/chunks/{request-tracing-c6kb7fmf.js → handlers-c6kb7fmf.js} +1 -1
- package/dist/chunks/{request-tracing-t834y4ab.js → handlers-ftx0rasv.js} +5 -5
- package/dist/chunks/{request-tracing-gpx0gpd1.js → handlers-gpx0gpd1.js} +2 -2
- package/dist/chunks/{request-tracing-hc75vmb2.js → handlers-hc75vmb2.js} +1 -1
- package/dist/chunks/{request-tracing-j4zqsxgy.js → handlers-j4zqsxgy.js} +1 -1
- package/dist/chunks/{request-tracing-k136bvh5.js → handlers-k136bvh5.js} +1 -1
- package/dist/chunks/{request-tracing-nnn3xt9j.js → handlers-nnn3xt9j.js} +1 -1
- package/dist/chunks/{request-tracing-nqkf5k2k.js → handlers-nqkf5k2k.js} +1 -1
- package/dist/chunks/{request-tracing-pc33848r.js → handlers-pc33848r.js} +2 -2
- package/dist/chunks/{request-tracing-qnwsemje.js → handlers-qnwsemje.js} +3 -3
- package/dist/chunks/{request-tracing-rkx9hda5.js → handlers-rkx9hda5.js} +2 -2
- package/dist/chunks/handlers-rsyh80xz.js +102 -0
- package/dist/chunks/{request-tracing-rw74d7br.js → handlers-rw74d7br.js} +1 -1
- package/dist/chunks/{request-tracing-604r47cy.js → handlers-ssr7ed3s.js} +6 -7
- package/dist/chunks/{request-tracing-0chp8crd.js → handlers-sstsrjtg.js} +8 -8
- package/dist/chunks/{request-tracing-gm3syx07.js → handlers-teh9fk9j.js} +3 -3
- package/dist/chunks/{request-tracing-3y8a8g3j.js → handlers-tjpn0s1b.js} +10 -10
- package/dist/chunks/{request-tracing-vfwf1dhc.js → handlers-vfwf1dhc.js} +2 -2
- package/dist/chunks/{request-tracing-5w24ch67.js → handlers-vpz7f20y.js} +4 -4
- package/dist/chunks/{request-tracing-383t61pr.js → handlers-w06km2r1.js} +6 -6
- package/dist/chunks/{request-tracing-x34tt0qt.js → handlers-x34tt0qt.js} +2 -2
- package/dist/chunks/{request-tracing-y5j6n4zr.js → handlers-y5j6n4zr.js} +2 -2
- package/dist/chunks/{request-tracing-y9g6k1bm.js → handlers-y9g6k1bm.js} +2 -2
- package/dist/chunks/{request-tracing-yfz2nrjq.js → handlers-yfz2nrjq.js} +1 -1
- package/dist/chunks/handlers-z09f7k88.js +30 -0
- package/dist/chunks/{request-tracing-zj4vfrqs.js → handlers-zj4vfrqs.js} +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +7 -7
- package/dist/fetch.js +48 -47
- 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 +6 -6
- 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.js +6 -6
- package/dist/handlers/provider.js +6 -6
- package/dist/handlers/pty-socket.js +1 -1
- package/dist/handlers/pty.js +9 -9
- 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.js +6 -6
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/voice.d.ts +3 -0
- package/dist/handlers/voice.js +11 -0
- 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 -43
- 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 +5 -5
- package/dist/process.js +52 -51
- package/dist/pty-environment.js +5 -5
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +47 -46
- package/dist/server-info.js +1 -1
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +49 -48
- package/package.json +8 -8
- package/dist/chunks/request-tracing-07zbaz8t.js +0 -99
- /package/dist/chunks/{request-tracing-9rqn6x4v.js → handlers-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{request-tracing-erzfdgke.js → handlers-erzfdgke.js} +0 -0
- /package/dist/chunks/{request-tracing-h6rt5k9s.js → handlers-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{request-tracing-q4bn6dy8.js → handlers-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{request-tracing-smaf4a18.js → handlers-smaf4a18.js} +0 -0
- /package/dist/chunks/{request-tracing-yc7nft6q.js → handlers-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/handlers-2ac2kv4c.js";
|
|
4
|
+
import"./chunks/handlers-4hhhes7w.js";
|
|
5
|
+
import"./chunks/handlers-j4zqsxgy.js";
|
|
6
|
+
import"./chunks/handlers-b56hqv74.js";
|
|
7
|
+
import"./chunks/handlers-smaf4a18.js";
|
|
8
8
|
export {
|
|
9
9
|
Api2 as Api
|
|
10
10
|
};
|
package/dist/auth.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./handlers-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/mcp.ts
|
|
9
9
|
import { Mcp } from "@opencode/core/mcp/index";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./handlers-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/agent.ts
|
|
9
9
|
import { Agent } from "@opencode/core/agent";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-smaf4a18.js";
|
|
4
4
|
import {
|
|
5
5
|
locationErrors2,
|
|
6
6
|
response2,
|
|
7
7
|
sessionInfo2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./handlers-b56hqv74.js";
|
|
9
9
|
import {
|
|
10
10
|
Api2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./handlers-2ac2kv4c.js";
|
|
12
12
|
|
|
13
13
|
// src/handlers/permission.ts
|
|
14
14
|
import { Instance } from "@opencode/core/instance/service";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationMiddleware2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
FormLocationMiddleware2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./handlers-4hhhes7w.js";
|
|
7
7
|
import {
|
|
8
8
|
SessionLocationMiddleware2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./handlers-j4zqsxgy.js";
|
|
10
10
|
|
|
11
11
|
// src/api.ts
|
|
12
12
|
import { makeDefaultApi } from "@opencode/protocol/api";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./handlers-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/skill.ts
|
|
9
9
|
import { Skill } from "@opencode/core/skill";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./handlers-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/command.ts
|
|
9
9
|
import { Command } from "@opencode/core/command";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-2ac2kv4c.js";
|
|
4
4
|
import {
|
|
5
5
|
SESSION_TTL_SECONDS2,
|
|
6
6
|
Config2,
|
|
7
7
|
issueSession2,
|
|
8
8
|
sessionCookieName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./handlers-anm12x33.js";
|
|
10
10
|
import {
|
|
11
11
|
Service2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./handlers-c6kb7fmf.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service5
|
|
15
|
+
} from "./handlers-sstsrjtg.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/server.ts
|
|
18
18
|
import { Duration, Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ import { HttpApiBuilder } from "effect/http-api";
|
|
|
21
21
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
22
22
|
import { UnauthorizedError } from "@opencode/protocol/errors";
|
|
23
23
|
var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => Effect.gen(function* () {
|
|
24
|
-
const pairing = yield*
|
|
24
|
+
const pairing = yield* Service5;
|
|
25
25
|
const auth = yield* Config2;
|
|
26
26
|
return handlers.handle("server.info", () => Effect.gen(function* () {
|
|
27
27
|
const info = yield* Service2;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2,
|
|
3
3
|
failedMessageDecode2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./handlers-smaf4a18.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./handlers-2ac2kv4c.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
|
locationErrors2,
|
|
3
3
|
awaitPlugins2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./handlers-b56hqv74.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./handlers-2ac2kv4c.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/generate.ts
|
|
10
10
|
import { Generate } from "@opencode/core/generate";
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layer5
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
formLocationLayer2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./handlers-4hhhes7w.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionLocationLayer2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./handlers-j4zqsxgy.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./handlers-2ac2kv4c.js";
|
|
13
13
|
import {
|
|
14
14
|
Config2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./handlers-anm12x33.js";
|
|
16
16
|
import {
|
|
17
17
|
CorsConfig2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./handlers-q4bn6dy8.js";
|
|
19
19
|
import {
|
|
20
20
|
layer2
|
|
21
|
-
} from "./
|
|
22
|
-
import {
|
|
23
|
-
node2
|
|
24
|
-
} from "./request-tracing-0chp8crd.js";
|
|
21
|
+
} from "./handlers-c6kb7fmf.js";
|
|
25
22
|
import {
|
|
26
23
|
node3
|
|
27
|
-
} from "./
|
|
24
|
+
} from "./handlers-sstsrjtg.js";
|
|
25
|
+
import {
|
|
26
|
+
node2
|
|
27
|
+
} from "./handlers-w06km2r1.js";
|
|
28
28
|
import {
|
|
29
29
|
handlers2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./handlers-rsyh80xz.js";
|
|
31
31
|
import {
|
|
32
32
|
authorizationLayer2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./handlers-yfz2nrjq.js";
|
|
34
34
|
import {
|
|
35
35
|
schemaErrorLayer2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./handlers-erzfdgke.js";
|
|
37
37
|
|
|
38
38
|
// src/routes.ts
|
|
39
39
|
import { Database } from "@opencode/core/database/database";
|
|
@@ -92,8 +92,8 @@ var applicationServiceNodes = [
|
|
|
92
92
|
PersistentPty.node,
|
|
93
93
|
Credential.node,
|
|
94
94
|
WellKnown.node,
|
|
95
|
-
node3,
|
|
96
95
|
node2,
|
|
96
|
+
node3,
|
|
97
97
|
LocationServiceMap.node,
|
|
98
98
|
LocationActivity.node,
|
|
99
99
|
SessionRestart.node,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-2ac2kv4c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service3,
|
|
6
6
|
frame2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./handlers-tjpn0s1b.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* Service3;
|
|
16
16
|
return handlers.handleRaw("event.subscribe", () => Effect.gen(function* () {
|
|
17
17
|
const connected = {
|
|
18
18
|
id: Event.ID.create(),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./handlers-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/vcs.ts
|
|
9
9
|
import { Vcs } from "@opencode/core/vcs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
awaitPlugins2,
|
|
3
3
|
response2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./handlers-b56hqv74.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./handlers-2ac2kv4c.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/websearch.ts
|
|
10
10
|
import { WebSearch } from "@opencode/core/websearch";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./handlers-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/plugin.ts
|
|
9
9
|
import { Plugin } from "@opencode/core/plugin";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./handlers-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/form.ts
|
|
9
9
|
import { Form } from "@opencode/core/form";
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
locationErrors2,
|
|
3
3
|
response2,
|
|
4
4
|
requestRef2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./handlers-b56hqv74.js";
|
|
6
6
|
import {
|
|
7
7
|
Api2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./handlers-2ac2kv4c.js";
|
|
9
9
|
import {
|
|
10
10
|
CorsConfig2,
|
|
11
11
|
isAllowedRequestOrigin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./handlers-q4bn6dy8.js";
|
|
13
13
|
import {
|
|
14
14
|
Service4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./handlers-w06km2r1.js";
|
|
16
16
|
import {
|
|
17
17
|
runPtySocket2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./handlers-h6rt5k9s.js";
|
|
19
19
|
|
|
20
20
|
// src/handlers/pty.ts
|
|
21
21
|
import { Pty } from "@opencode/core/pty";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./handlers-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/shell.ts
|
|
9
9
|
import { Shell } from "@opencode/core/shell";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./handlers-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/reference.ts
|
|
9
9
|
import { Reference } from "@opencode/core/reference";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-2ac2kv4c.js";
|
|
4
4
|
import {
|
|
5
5
|
CorsConfig2,
|
|
6
6
|
isAllowedRequestOrigin2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./handlers-q4bn6dy8.js";
|
|
8
8
|
import {
|
|
9
9
|
runPtySocket2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./handlers-h6rt5k9s.js";
|
|
11
11
|
|
|
12
12
|
// src/handlers/persistent-pty.ts
|
|
13
13
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./handlers-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./handlers-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/integration.ts
|
|
9
9
|
import { Integration } from "@opencode/core/integration";
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GenerateHandler2
|
|
3
|
+
} from "./handlers-7bgw0qp5.js";
|
|
4
|
+
import {
|
|
5
|
+
VoiceHandler2
|
|
6
|
+
} from "./handlers-z09f7k88.js";
|
|
7
|
+
import {
|
|
8
|
+
MessageHandler2
|
|
9
|
+
} from "./handlers-7armztsr.js";
|
|
10
|
+
import {
|
|
11
|
+
ModelHandler2
|
|
12
|
+
} from "./handlers-x34tt0qt.js";
|
|
13
|
+
import {
|
|
14
|
+
ProviderHandler2
|
|
15
|
+
} from "./handlers-y9g6k1bm.js";
|
|
16
|
+
import {
|
|
17
|
+
SessionHandler2
|
|
18
|
+
} from "./handlers-ssr7ed3s.js";
|
|
19
|
+
import {
|
|
20
|
+
PermissionHandler2
|
|
21
|
+
} from "./handlers-1ybjhnn1.js";
|
|
22
|
+
import {
|
|
23
|
+
FileSystemHandler2
|
|
24
|
+
} from "./handlers-y5j6n4zr.js";
|
|
25
|
+
import {
|
|
26
|
+
FormHandler2
|
|
27
|
+
} from "./handlers-b3jp5nc2.js";
|
|
28
|
+
import {
|
|
29
|
+
CommandHandler2
|
|
30
|
+
} from "./handlers-4bxenate.js";
|
|
31
|
+
import {
|
|
32
|
+
SkillHandler2
|
|
33
|
+
} from "./handlers-3m0ygtwr.js";
|
|
34
|
+
import {
|
|
35
|
+
RpcHandler2
|
|
36
|
+
} from "./handlers-rw74d7br.js";
|
|
37
|
+
import {
|
|
38
|
+
layer3
|
|
39
|
+
} from "./handlers-tjpn0s1b.js";
|
|
40
|
+
import {
|
|
41
|
+
EventHandler2
|
|
42
|
+
} from "./handlers-7jgfqyjw.js";
|
|
43
|
+
import {
|
|
44
|
+
AgentHandler2
|
|
45
|
+
} from "./handlers-1wyt3am5.js";
|
|
46
|
+
import {
|
|
47
|
+
PluginHandler2
|
|
48
|
+
} from "./handlers-adb03esn.js";
|
|
49
|
+
import {
|
|
50
|
+
ServerHandler2
|
|
51
|
+
} from "./handlers-4yynsby0.js";
|
|
52
|
+
import {
|
|
53
|
+
DebugHandler2
|
|
54
|
+
} from "./handlers-vfwf1dhc.js";
|
|
55
|
+
import {
|
|
56
|
+
PtyHandler2
|
|
57
|
+
} from "./handlers-ftx0rasv.js";
|
|
58
|
+
import {
|
|
59
|
+
PersistentPtyHandler2
|
|
60
|
+
} from "./handlers-qnwsemje.js";
|
|
61
|
+
import {
|
|
62
|
+
ShellHandler2
|
|
63
|
+
} from "./handlers-gpx0gpd1.js";
|
|
64
|
+
import {
|
|
65
|
+
ReferenceHandler2
|
|
66
|
+
} from "./handlers-pc33848r.js";
|
|
67
|
+
import {
|
|
68
|
+
LocationHandler2
|
|
69
|
+
} from "./handlers-nqkf5k2k.js";
|
|
70
|
+
import {
|
|
71
|
+
IntegrationHandler2
|
|
72
|
+
} from "./handlers-rkx9hda5.js";
|
|
73
|
+
import {
|
|
74
|
+
WebSearchHandler2
|
|
75
|
+
} from "./handlers-8z4c9n9h.js";
|
|
76
|
+
import {
|
|
77
|
+
McpHandler2
|
|
78
|
+
} from "./handlers-0gbaaetm.js";
|
|
79
|
+
import {
|
|
80
|
+
CredentialHandler2
|
|
81
|
+
} from "./handlers-hc75vmb2.js";
|
|
82
|
+
import {
|
|
83
|
+
ProjectHandler2
|
|
84
|
+
} from "./handlers-begnybrv.js";
|
|
85
|
+
import {
|
|
86
|
+
WorktreeHandler2
|
|
87
|
+
} from "./handlers-zj4vfrqs.js";
|
|
88
|
+
import {
|
|
89
|
+
VcsHandler2
|
|
90
|
+
} from "./handlers-8me0mqmd.js";
|
|
91
|
+
import {
|
|
92
|
+
MigrationHandler2
|
|
93
|
+
} from "./handlers-nnn3xt9j.js";
|
|
94
|
+
import {
|
|
95
|
+
ConfigHandler2
|
|
96
|
+
} from "./handlers-k136bvh5.js";
|
|
97
|
+
|
|
98
|
+
// src/handlers.ts
|
|
99
|
+
import { Layer } from "effect";
|
|
100
|
+
var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer3)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
|
|
101
|
+
|
|
102
|
+
export { handlers2 };
|