@opencode/server 0.0.0-dev-21603 → 0.0.0-dev-21612
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/{pairing-j49n4591.js → event-feed-1e765wh0.js} +2 -2
- package/dist/chunks/{pairing-aqzwjzmb.js → event-feed-3d7qdbre.js} +1 -1
- package/dist/chunks/{pairing-1ahadpvw.js → event-feed-4gnb9897.js} +1 -1
- package/dist/chunks/{pairing-gb66h69v.js → event-feed-4nbah0zs.js} +3 -3
- package/dist/chunks/{pairing-gqq6kfhc.js → event-feed-50bbk3b2.js} +3 -3
- package/dist/chunks/{pairing-hspp8v12.js → event-feed-547pgmmc.js} +2 -2
- package/dist/chunks/{pairing-6v4wsps6.js → event-feed-7b9xm1qg.js} +3 -2
- package/dist/chunks/{pairing-6br0y3ag.js → event-feed-7xe5pzvy.js} +1 -1
- package/dist/chunks/{pairing-s1vhsdh5.js → event-feed-9r2awqr1.js} +2 -2
- package/dist/chunks/{pairing-yet0vexm.js → event-feed-b3bmdkga.js} +1 -1
- package/dist/chunks/{pairing-t1m5ngrv.js → event-feed-c7jc25ee.js} +8 -8
- package/dist/chunks/{pairing-k6dz4enc.js → event-feed-c8a27nas.js} +7 -7
- package/dist/chunks/{pairing-xxxx0904.js → event-feed-cpp0zjdy.js} +2 -2
- package/dist/chunks/{pairing-e6e4kz0w.js → event-feed-e6e4kz0w.js} +1 -1
- package/dist/chunks/{pairing-e54xd2ay.js → event-feed-emkxpff3.js} +3 -3
- package/dist/chunks/{pairing-6kta5392.js → event-feed-fazm2c7b.js} +2 -2
- package/dist/chunks/{pairing-67kmywtk.js → event-feed-fysmzcya.js} +2 -2
- package/dist/chunks/event-feed-g3mfewdn.js +107 -0
- package/dist/chunks/{pairing-cqhyyp3f.js → event-feed-g7sdbt1s.js} +2 -2
- package/dist/chunks/{pairing-j8p25vmv.js → event-feed-gq8jw616.js} +2 -2
- package/dist/chunks/{pairing-q8cqvm6j.js → event-feed-gw6rc7x0.js} +2 -2
- package/dist/chunks/{pairing-8xcr0amw.js → event-feed-hax29h09.js} +34 -34
- package/dist/chunks/{pairing-gv627jgt.js → event-feed-hwqxzcvy.js} +1 -1
- package/dist/chunks/{pairing-j4at0y5c.js → event-feed-j4at0y5c.js} +1 -1
- package/dist/chunks/{pairing-6t8za67t.js → event-feed-jd2d9483.js} +2 -2
- package/dist/chunks/{pairing-19dc7z8q.js → event-feed-jk5edc6h.js} +2 -2
- package/dist/chunks/{pairing-0yqfz42w.js → event-feed-m3zxp3ph.js} +3 -3
- package/dist/chunks/{pairing-kqr36gas.js → event-feed-mzs0n5xz.js} +7 -7
- package/dist/chunks/{pairing-9k4wjdze.js → event-feed-nnsgc8by.js} +3 -3
- package/dist/chunks/{pairing-77mqkxfz.js → event-feed-qcfps8nc.js} +2 -2
- package/dist/chunks/{pairing-xx1dn4ke.js → event-feed-qfbp1fd5.js} +4 -4
- package/dist/chunks/{pairing-v1jdrp9c.js → event-feed-qx5ydgm0.js} +1 -1
- package/dist/chunks/{pairing-nvdz1s2r.js → event-feed-rhdada90.js} +2 -2
- package/dist/chunks/{pairing-wtxh433d.js → event-feed-s0qm098c.js} +2 -2
- package/dist/chunks/{pairing-gx2yvssc.js → event-feed-sc3gatcy.js} +3 -3
- package/dist/chunks/{pairing-vtvdbwhg.js → event-feed-t4c683g8.js} +2 -2
- package/dist/chunks/{pairing-74sf36cc.js → event-feed-tp6qcw6t.js} +1 -1
- package/dist/chunks/{pairing-m0y4004e.js → event-feed-w4e9jgda.js} +1 -1
- package/dist/chunks/{pairing-atk2et4d.js → event-feed-wexwfee0.js} +2 -2
- package/dist/chunks/{pairing-nj3hhwxg.js → event-feed-wq8rfg6g.js} +13 -13
- package/dist/chunks/{pairing-3gg5y4jd.js → event-feed-ye9tw5gq.js} +4 -4
- package/dist/chunks/{pairing-6n9b1fbm.js → event-feed-z3akqjf6.js} +1 -1
- package/dist/chunks/{pairing-5pdfedjd.js → event-feed-z3e7v67k.js} +5 -5
- package/dist/chunks/{pairing-ej45n981.js → event-feed-z6z134jc.js} +2 -2
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.js +47 -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.d.ts +3 -1
- package/dist/handlers/mcp.js +8 -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 +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.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.js +6 -6
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.js +6 -6
- package/dist/handlers.js +43 -43
- package/dist/location.js +4 -4
- 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 +51 -50
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +46 -46
- package/dist/server-info.js +3 -3
- package/dist/service-status.js +1 -1
- package/dist/workerd.js +48 -48
- package/package.json +8 -8
- package/dist/chunks/pairing-j25hpmpx.js +0 -40
- /package/dist/chunks/{pairing-9rqn6x4v.js → event-feed-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pairing-erzfdgke.js → event-feed-erzfdgke.js} +0 -0
- /package/dist/chunks/{pairing-h6rt5k9s.js → event-feed-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{pairing-q4bn6dy8.js → event-feed-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{pairing-smaf4a18.js → event-feed-smaf4a18.js} +0 -0
- /package/dist/chunks/{pairing-yc7nft6q.js → event-feed-yc7nft6q.js} +0 -0
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
authorizedRequest2,
|
|
4
4
|
authorizationLayer2,
|
|
5
5
|
Authorization2
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
6
|
+
} from "../chunks/event-feed-7b9xm1qg.js";
|
|
7
|
+
import"../chunks/event-feed-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/event-feed-4gnb9897.js";
|
|
5
|
+
import"../chunks/event-feed-50bbk3b2.js";
|
|
6
|
+
import"../chunks/event-feed-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/event-feed-b3bmdkga.js";
|
|
5
|
+
import"../chunks/event-feed-50bbk3b2.js";
|
|
6
|
+
import"../chunks/event-feed-smaf4a18.js";
|
|
7
7
|
export {
|
|
8
8
|
SessionLocationMiddleware2 as SessionLocationMiddleware,
|
|
9
9
|
sessionLocationLayer2 as sessionLocationLayer
|
package/dist/pairing.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service4,
|
|
3
3
|
node2,
|
|
4
4
|
exports_pairing
|
|
5
|
-
} from "./chunks/
|
|
5
|
+
} from "./chunks/event-feed-mzs0n5xz.js";
|
|
6
6
|
export {
|
|
7
7
|
exports_pairing as ServerPairing,
|
|
8
|
-
|
|
8
|
+
Service4 as Service,
|
|
9
9
|
node2 as node
|
|
10
10
|
};
|
package/dist/process.js
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Config2
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/event-feed-j4at0y5c.js";
|
|
4
4
|
import {
|
|
5
5
|
isAllowedCorsOrigin2
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/event-feed-q4bn6dy8.js";
|
|
7
7
|
import {
|
|
8
8
|
unauthorizedResponse2,
|
|
9
9
|
authorizedRequest2
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/event-feed-7b9xm1qg.js";
|
|
11
11
|
import {
|
|
12
12
|
withoutParentSpan2
|
|
13
|
-
} from "./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/
|
|
13
|
+
} from "./chunks/event-feed-yc7nft6q.js";
|
|
14
|
+
import"./chunks/event-feed-smaf4a18.js";
|
|
15
|
+
import"./chunks/event-feed-50bbk3b2.js";
|
|
16
|
+
import"./chunks/event-feed-4gnb9897.js";
|
|
17
|
+
import"./chunks/event-feed-b3bmdkga.js";
|
|
18
|
+
import"./chunks/event-feed-4nbah0zs.js";
|
|
19
|
+
import"./chunks/event-feed-gq8jw616.js";
|
|
20
|
+
import"./chunks/event-feed-9r2awqr1.js";
|
|
21
|
+
import"./chunks/event-feed-1e765wh0.js";
|
|
22
|
+
import"./chunks/event-feed-cpp0zjdy.js";
|
|
23
|
+
import"./chunks/event-feed-fazm2c7b.js";
|
|
24
|
+
import"./chunks/event-feed-nnsgc8by.js";
|
|
25
|
+
import"./chunks/event-feed-emkxpff3.js";
|
|
26
|
+
import"./chunks/event-feed-qcfps8nc.js";
|
|
27
|
+
import"./chunks/event-feed-s0qm098c.js";
|
|
28
|
+
import"./chunks/event-feed-fysmzcya.js";
|
|
29
|
+
import"./chunks/event-feed-547pgmmc.js";
|
|
30
|
+
import"./chunks/event-feed-w4e9jgda.js";
|
|
31
|
+
import"./chunks/event-feed-c8a27nas.js";
|
|
32
|
+
import"./chunks/event-feed-qfbp1fd5.js";
|
|
33
|
+
import"./chunks/event-feed-g7sdbt1s.js";
|
|
34
|
+
import"./chunks/event-feed-jd2d9483.js";
|
|
35
35
|
import {
|
|
36
36
|
connectionURLs2
|
|
37
|
-
} from "./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/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
37
|
+
} from "./chunks/event-feed-z3e7v67k.js";
|
|
38
|
+
import"./chunks/event-feed-mzs0n5xz.js";
|
|
39
|
+
import"./chunks/event-feed-c7jc25ee.js";
|
|
40
|
+
import"./chunks/event-feed-rhdada90.js";
|
|
41
|
+
import"./chunks/event-feed-h6rt5k9s.js";
|
|
42
|
+
import"./chunks/event-feed-ye9tw5gq.js";
|
|
43
|
+
import"./chunks/event-feed-sc3gatcy.js";
|
|
44
|
+
import"./chunks/event-feed-t4c683g8.js";
|
|
45
|
+
import"./chunks/event-feed-z6z134jc.js";
|
|
46
|
+
import"./chunks/event-feed-7xe5pzvy.js";
|
|
47
|
+
import"./chunks/event-feed-jk5edc6h.js";
|
|
48
|
+
import"./chunks/event-feed-wexwfee0.js";
|
|
49
|
+
import"./chunks/event-feed-g3mfewdn.js";
|
|
50
|
+
import"./chunks/event-feed-qx5ydgm0.js";
|
|
51
|
+
import"./chunks/event-feed-3d7qdbre.js";
|
|
52
|
+
import"./chunks/event-feed-z3akqjf6.js";
|
|
53
|
+
import"./chunks/event-feed-gw6rc7x0.js";
|
|
54
|
+
import"./chunks/event-feed-tp6qcw6t.js";
|
|
55
|
+
import"./chunks/event-feed-hwqxzcvy.js";
|
|
56
|
+
import"./chunks/event-feed-hax29h09.js";
|
|
57
|
+
import"./chunks/event-feed-erzfdgke.js";
|
|
58
58
|
import {
|
|
59
59
|
createRoutes2
|
|
60
|
-
} from "./chunks/
|
|
60
|
+
} from "./chunks/event-feed-wq8rfg6g.js";
|
|
61
61
|
import {
|
|
62
62
|
make3
|
|
63
|
-
} from "./chunks/
|
|
63
|
+
} from "./chunks/event-feed-e6e4kz0w.js";
|
|
64
64
|
import {
|
|
65
65
|
__export
|
|
66
|
-
} from "./chunks/
|
|
66
|
+
} from "./chunks/event-feed-9rqn6x4v.js";
|
|
67
67
|
|
|
68
68
|
// src/process.ts
|
|
69
69
|
var exports_process = {};
|
|
@@ -77,6 +77,7 @@ import { SessionRestart } from "@opencode/core/session/execution/restart";
|
|
|
77
77
|
import { InstallationEvent } from "@opencode/schema/installation-event";
|
|
78
78
|
import { hasPtyConnectTicketURL } from "@opencode/protocol/groups/pty";
|
|
79
79
|
import { hasPersistentPtyConnectTicketURL } from "@opencode/protocol/groups/persistent-pty";
|
|
80
|
+
import { hasMcpClientTicketURL } from "@opencode/protocol/groups/mcp";
|
|
80
81
|
import { isPairingConnectURL } from "@opencode/protocol/groups/server";
|
|
81
82
|
import { Global } from "@opencode/util/global";
|
|
82
83
|
import { Cause, Context, Effect, Exit, Latch, Layer, Option, Ref, Scope } from "effect";
|
|
@@ -171,7 +172,7 @@ function dispatch(password, status, application, version, urls, tmp) {
|
|
|
171
172
|
return unauthorizedResponse2(request);
|
|
172
173
|
return yield* infoResponse(status, version, urls, tmp);
|
|
173
174
|
}
|
|
174
|
-
if (!isPairingConnectURL(url) && (!ready || !hasPtyConnectTicketURL(url) && !hasPersistentPtyConnectTicketURL(url)) && !(yield* authorizedRequest2(request, auth)))
|
|
175
|
+
if (!isPairingConnectURL(url) && (!ready || !hasPtyConnectTicketURL(url) && !hasPersistentPtyConnectTicketURL(url) && !hasMcpClientTicketURL(url)) && !(yield* authorizedRequest2(request, auth)))
|
|
175
176
|
return unauthorizedResponse2(request);
|
|
176
177
|
if (ready)
|
|
177
178
|
return yield* app.value;
|
package/dist/request-tracing.js
CHANGED
package/dist/routes.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRoutes2,
|
|
3
3
|
createEmbeddedRoutes2
|
|
4
|
-
} from "./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/
|
|
49
|
-
import"./chunks/
|
|
4
|
+
} from "./chunks/event-feed-wq8rfg6g.js";
|
|
5
|
+
import"./chunks/event-feed-7b9xm1qg.js";
|
|
6
|
+
import"./chunks/event-feed-hax29h09.js";
|
|
7
|
+
import"./chunks/event-feed-qx5ydgm0.js";
|
|
8
|
+
import"./chunks/event-feed-hwqxzcvy.js";
|
|
9
|
+
import"./chunks/event-feed-ye9tw5gq.js";
|
|
10
|
+
import"./chunks/event-feed-gq8jw616.js";
|
|
11
|
+
import"./chunks/event-feed-rhdada90.js";
|
|
12
|
+
import"./chunks/event-feed-fazm2c7b.js";
|
|
13
|
+
import"./chunks/event-feed-wexwfee0.js";
|
|
14
|
+
import"./chunks/event-feed-g7sdbt1s.js";
|
|
15
|
+
import"./chunks/event-feed-3d7qdbre.js";
|
|
16
|
+
import"./chunks/event-feed-qfbp1fd5.js";
|
|
17
|
+
import"./chunks/event-feed-jd2d9483.js";
|
|
18
|
+
import"./chunks/event-feed-qcfps8nc.js";
|
|
19
|
+
import"./chunks/event-feed-w4e9jgda.js";
|
|
20
|
+
import"./chunks/event-feed-1e765wh0.js";
|
|
21
|
+
import"./chunks/event-feed-fysmzcya.js";
|
|
22
|
+
import"./chunks/event-feed-tp6qcw6t.js";
|
|
23
|
+
import"./chunks/event-feed-c7jc25ee.js";
|
|
24
|
+
import"./chunks/event-feed-547pgmmc.js";
|
|
25
|
+
import"./chunks/event-feed-7xe5pzvy.js";
|
|
26
|
+
import"./chunks/event-feed-9r2awqr1.js";
|
|
27
|
+
import"./chunks/event-feed-jk5edc6h.js";
|
|
28
|
+
import"./chunks/event-feed-z6z134jc.js";
|
|
29
|
+
import"./chunks/event-feed-gw6rc7x0.js";
|
|
30
|
+
import"./chunks/event-feed-cpp0zjdy.js";
|
|
31
|
+
import"./chunks/event-feed-emkxpff3.js";
|
|
32
|
+
import"./chunks/event-feed-s0qm098c.js";
|
|
33
|
+
import"./chunks/event-feed-t4c683g8.js";
|
|
34
|
+
import"./chunks/event-feed-sc3gatcy.js";
|
|
35
|
+
import"./chunks/event-feed-g3mfewdn.js";
|
|
36
|
+
import"./chunks/event-feed-h6rt5k9s.js";
|
|
37
|
+
import"./chunks/event-feed-z3akqjf6.js";
|
|
38
|
+
import"./chunks/event-feed-nnsgc8by.js";
|
|
39
|
+
import"./chunks/event-feed-q4bn6dy8.js";
|
|
40
|
+
import"./chunks/event-feed-z3e7v67k.js";
|
|
41
|
+
import"./chunks/event-feed-erzfdgke.js";
|
|
42
|
+
import"./chunks/event-feed-c8a27nas.js";
|
|
43
|
+
import"./chunks/event-feed-mzs0n5xz.js";
|
|
44
|
+
import"./chunks/event-feed-4nbah0zs.js";
|
|
45
|
+
import"./chunks/event-feed-4gnb9897.js";
|
|
46
|
+
import"./chunks/event-feed-b3bmdkga.js";
|
|
47
|
+
import"./chunks/event-feed-50bbk3b2.js";
|
|
48
|
+
import"./chunks/event-feed-smaf4a18.js";
|
|
49
|
+
import"./chunks/event-feed-j4at0y5c.js";
|
|
50
50
|
export {
|
|
51
51
|
createEmbeddedRoutes2 as createEmbeddedRoutes,
|
|
52
52
|
createRoutes2 as createRoutes
|
package/dist/server-info.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service2,
|
|
3
3
|
layer2,
|
|
4
4
|
connectionURLs2,
|
|
5
5
|
exports_server_info
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/event-feed-z3e7v67k.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_server_info as ServerInfo,
|
|
9
|
-
|
|
9
|
+
Service2 as Service,
|
|
10
10
|
connectionURLs2 as connectionURLs,
|
|
11
11
|
layer2 as layer
|
|
12
12
|
};
|
package/dist/service-status.js
CHANGED
package/dist/workerd.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import"./chunks/
|
|
2
|
-
import"./chunks/
|
|
3
|
-
import"./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/
|
|
1
|
+
import"./chunks/event-feed-q4bn6dy8.js";
|
|
2
|
+
import"./chunks/event-feed-smaf4a18.js";
|
|
3
|
+
import"./chunks/event-feed-50bbk3b2.js";
|
|
4
|
+
import"./chunks/event-feed-4gnb9897.js";
|
|
5
|
+
import"./chunks/event-feed-b3bmdkga.js";
|
|
6
|
+
import"./chunks/event-feed-4nbah0zs.js";
|
|
7
|
+
import"./chunks/event-feed-j4at0y5c.js";
|
|
8
|
+
import"./chunks/event-feed-gq8jw616.js";
|
|
9
|
+
import"./chunks/event-feed-9r2awqr1.js";
|
|
10
|
+
import"./chunks/event-feed-1e765wh0.js";
|
|
11
|
+
import"./chunks/event-feed-cpp0zjdy.js";
|
|
12
|
+
import"./chunks/event-feed-fazm2c7b.js";
|
|
13
|
+
import"./chunks/event-feed-nnsgc8by.js";
|
|
14
|
+
import"./chunks/event-feed-emkxpff3.js";
|
|
15
|
+
import"./chunks/event-feed-qcfps8nc.js";
|
|
16
|
+
import"./chunks/event-feed-s0qm098c.js";
|
|
17
|
+
import"./chunks/event-feed-fysmzcya.js";
|
|
18
|
+
import"./chunks/event-feed-547pgmmc.js";
|
|
19
|
+
import"./chunks/event-feed-w4e9jgda.js";
|
|
20
|
+
import"./chunks/event-feed-c8a27nas.js";
|
|
21
|
+
import"./chunks/event-feed-qfbp1fd5.js";
|
|
22
|
+
import"./chunks/event-feed-g7sdbt1s.js";
|
|
23
|
+
import"./chunks/event-feed-jd2d9483.js";
|
|
24
|
+
import"./chunks/event-feed-z3e7v67k.js";
|
|
25
|
+
import"./chunks/event-feed-mzs0n5xz.js";
|
|
26
|
+
import"./chunks/event-feed-c7jc25ee.js";
|
|
27
|
+
import"./chunks/event-feed-rhdada90.js";
|
|
28
|
+
import"./chunks/event-feed-h6rt5k9s.js";
|
|
29
|
+
import"./chunks/event-feed-ye9tw5gq.js";
|
|
30
|
+
import"./chunks/event-feed-sc3gatcy.js";
|
|
31
|
+
import"./chunks/event-feed-t4c683g8.js";
|
|
32
|
+
import"./chunks/event-feed-z6z134jc.js";
|
|
33
|
+
import"./chunks/event-feed-7xe5pzvy.js";
|
|
34
|
+
import"./chunks/event-feed-jk5edc6h.js";
|
|
35
|
+
import"./chunks/event-feed-wexwfee0.js";
|
|
36
|
+
import"./chunks/event-feed-g3mfewdn.js";
|
|
37
|
+
import"./chunks/event-feed-qx5ydgm0.js";
|
|
38
|
+
import"./chunks/event-feed-3d7qdbre.js";
|
|
39
|
+
import"./chunks/event-feed-z3akqjf6.js";
|
|
40
|
+
import"./chunks/event-feed-gw6rc7x0.js";
|
|
41
|
+
import"./chunks/event-feed-tp6qcw6t.js";
|
|
42
|
+
import"./chunks/event-feed-hwqxzcvy.js";
|
|
43
|
+
import"./chunks/event-feed-hax29h09.js";
|
|
44
|
+
import"./chunks/event-feed-7b9xm1qg.js";
|
|
45
|
+
import"./chunks/event-feed-erzfdgke.js";
|
|
46
|
+
import"./chunks/event-feed-wq8rfg6g.js";
|
|
47
47
|
import {
|
|
48
48
|
make2
|
|
49
|
-
} from "./chunks/
|
|
49
|
+
} from "./chunks/event-feed-m3zxp3ph.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./chunks/
|
|
52
|
+
} from "./chunks/event-feed-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/workerd.ts
|
|
55
55
|
var exports_workerd = {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/server",
|
|
4
|
-
"version": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-21612",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@effect/platform-node": "4.0.1",
|
|
32
32
|
"@effect/platform-node-shared": "4.0.1",
|
|
33
|
-
"@opencode/core": "0.0.0-dev-
|
|
34
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
35
|
-
"@opencode/schema": "0.0.0-dev-
|
|
36
|
-
"@opencode/simulation": "0.0.0-dev-
|
|
37
|
-
"@opencode/util": "0.0.0-dev-
|
|
33
|
+
"@opencode/core": "0.0.0-dev-21612",
|
|
34
|
+
"@opencode/protocol": "0.0.0-dev-21612",
|
|
35
|
+
"@opencode/schema": "0.0.0-dev-21612",
|
|
36
|
+
"@opencode/simulation": "0.0.0-dev-21612",
|
|
37
|
+
"@opencode/util": "0.0.0-dev-21612",
|
|
38
38
|
"effect": "4.0.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@opencode-ai/pty": "0.3.1",
|
|
42
|
-
"@opencode/client": "0.0.0-dev-
|
|
43
|
-
"@opencode/plugin": "0.0.0-dev-
|
|
42
|
+
"@opencode/client": "0.0.0-dev-21612",
|
|
43
|
+
"@opencode/plugin": "0.0.0-dev-21612",
|
|
44
44
|
"@tsconfig/bun": "1.0.9",
|
|
45
45
|
"@types/bun": "1.4.3",
|
|
46
46
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
response2
|
|
3
|
-
} from "./pairing-gqq6kfhc.js";
|
|
4
|
-
import {
|
|
5
|
-
Api2
|
|
6
|
-
} from "./pairing-gb66h69v.js";
|
|
7
|
-
|
|
8
|
-
// src/handlers/mcp.ts
|
|
9
|
-
import { Mcp } from "@opencode/core/mcp/index";
|
|
10
|
-
import { McpServerNotFoundError } from "@opencode/protocol/errors";
|
|
11
|
-
import { Effect } from "effect";
|
|
12
|
-
import { HttpApiBuilder, HttpApiSchema } from "effect/http-api";
|
|
13
|
-
var notFound = (effect) => effect.pipe(Effect.mapError((error) => new McpServerNotFoundError({ server: error.server, message: error.message })));
|
|
14
|
-
var McpHandler2 = HttpApiBuilder.group(Api2, "server.mcp", (handlers) => Effect.gen(function* () {
|
|
15
|
-
return handlers.handle("mcp.list", Effect.fn(function* () {
|
|
16
|
-
const service = yield* Mcp.Service;
|
|
17
|
-
return yield* response2(service.servers());
|
|
18
|
-
})).handle("mcp.add", Effect.fn(function* (ctx) {
|
|
19
|
-
const service = yield* Mcp.Service;
|
|
20
|
-
yield* service.add(ctx.params.server, ctx.payload.config);
|
|
21
|
-
return HttpApiSchema.NoContent.make();
|
|
22
|
-
})).handle("mcp.remove", Effect.fn(function* (ctx) {
|
|
23
|
-
const service = yield* Mcp.Service;
|
|
24
|
-
yield* notFound(service.remove(ctx.params.server));
|
|
25
|
-
return HttpApiSchema.NoContent.make();
|
|
26
|
-
})).handle("mcp.connect", Effect.fn(function* (ctx) {
|
|
27
|
-
const service = yield* Mcp.Service;
|
|
28
|
-
yield* notFound(service.connect(ctx.params.server));
|
|
29
|
-
return HttpApiSchema.NoContent.make();
|
|
30
|
-
})).handle("mcp.disconnect", Effect.fn(function* (ctx) {
|
|
31
|
-
const service = yield* Mcp.Service;
|
|
32
|
-
yield* notFound(service.disconnect(ctx.params.server));
|
|
33
|
-
return HttpApiSchema.NoContent.make();
|
|
34
|
-
})).handle("mcp.resource.catalog", Effect.fn(function* () {
|
|
35
|
-
const service = yield* Mcp.Service;
|
|
36
|
-
return yield* response2(service.resourceCatalog());
|
|
37
|
-
}));
|
|
38
|
-
}));
|
|
39
|
-
|
|
40
|
-
export { McpHandler2 };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|