@opencode/server 0.0.0-dev-20783 → 0.0.0-dev-20784
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.d.ts +13 -13
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{service-status-j87rfkvt.js → fetch-00mapsdc.js} +4 -4
- package/dist/chunks/{service-status-jskw5q1g.js → fetch-0b39h07j.js} +2 -2
- package/dist/chunks/{service-status-da5stqtt.js → fetch-0q1fp77w.js} +2 -2
- package/dist/chunks/{service-status-zhqf1t9m.js → fetch-10bq7mg4.js} +2 -2
- package/dist/chunks/{service-status-zytx35xb.js → fetch-125dj052.js} +10 -10
- package/dist/chunks/{service-status-0b1t2b2s.js → fetch-13tvbs17.js} +3 -3
- package/dist/chunks/{service-status-j54drd5e.js → fetch-19taf7de.js} +2 -2
- package/dist/chunks/{service-status-5fmydwgy.js → fetch-360ay1ws.js} +2 -2
- package/dist/chunks/{service-status-pg3sqc69.js → fetch-44qh4kfc.js} +4 -4
- package/dist/chunks/{service-status-2vy10eeh.js → fetch-4r8g7rwq.js} +3 -3
- package/dist/chunks/{service-status-99sfd1j8.js → fetch-54sczv30.js} +6 -6
- package/dist/chunks/{service-status-gtkdacvk.js → fetch-5ytyqf1q.js} +5 -4
- package/dist/chunks/{service-status-62qjgyra.js → fetch-735x1s0d.js} +3 -3
- package/dist/chunks/{service-status-30gqa6y8.js → fetch-73mn2n3x.js} +4 -4
- package/dist/chunks/{service-status-q4y3mw2d.js → fetch-8cnxq26y.js} +3 -3
- package/dist/chunks/{service-status-j8182e46.js → fetch-8d0mn004.js} +3 -3
- package/dist/chunks/{service-status-bptmkrac.js → fetch-9e4rhycp.js} +3 -3
- package/dist/chunks/{service-status-anm12x33.js → fetch-anm12x33.js} +1 -1
- package/dist/chunks/{service-status-s07e4y6n.js → fetch-b8ygg5k2.js} +7 -7
- package/dist/chunks/{service-status-fsrvj92d.js → fetch-bwz286mg.js} +3 -3
- package/dist/chunks/{service-status-ym5ktahd.js → fetch-en4n16hb.js} +31 -31
- package/dist/chunks/{service-status-t8yzmczr.js → fetch-erzfdgke.js} +1 -1
- package/dist/chunks/{service-status-w8db1rkr.js → fetch-f3xezvck.js} +3 -3
- package/dist/chunks/{service-status-mhyatxpf.js → fetch-gd6nn1mx.js} +21 -21
- package/dist/chunks/{service-status-ep84ha6r.js → fetch-h2a6nn7k.js} +3 -3
- package/dist/chunks/fetch-h6rt5k9s.js +24 -0
- package/dist/chunks/{service-status-m9wzfeff.js → fetch-j03v2rh9.js} +3 -3
- package/dist/chunks/{service-status-k27f8enw.js → fetch-jp72ysbz.js} +4 -4
- package/dist/chunks/{service-status-qcy0p5fz.js → fetch-jphw74cq.js} +3 -3
- package/dist/chunks/{service-status-jy5syrnz.js → fetch-ke8kc592.js} +30 -34
- package/dist/chunks/{service-status-nvmdgpqv.js → fetch-nqswsw3h.js} +3 -3
- package/dist/chunks/{service-status-swb5yrqf.js → fetch-p177e0cw.js} +3 -3
- package/dist/chunks/{service-status-srcrrwjk.js → fetch-qggsn6y0.js} +3 -3
- package/dist/chunks/{service-status-sstsrjtg.js → fetch-rbn15j6z.js} +8 -8
- package/dist/chunks/{service-status-mpbfcr4e.js → fetch-s1824482.js} +3 -3
- package/dist/chunks/{service-status-np6fwbmz.js → fetch-sb0dyttf.js} +32 -31
- package/dist/chunks/{service-status-ccfecbt4.js → fetch-tr76qvg4.js} +2 -2
- package/dist/chunks/{service-status-d00srfh1.js → fetch-ty73jqxf.js} +3 -3
- package/dist/chunks/{service-status-bkk2wfbz.js → fetch-vvagfka3.js} +7 -7
- package/dist/chunks/{service-status-nxdx74sv.js → fetch-vw0q3knq.js} +3 -3
- package/dist/chunks/{service-status-3c937re8.js → fetch-x5jn5rep.js} +3 -3
- package/dist/chunks/{service-status-xsrtpxyd.js → fetch-xsrtpxyd.js} +1 -1
- package/dist/chunks/{service-status-387sf4vs.js → fetch-ybxyv6z5.js} +2 -2
- package/dist/chunks/{service-status-n7kafg5g.js → fetch-ysb51p4r.js} +3 -3
- package/dist/chunks/{service-status-9m28rhbj.js → fetch-yvtnm9hy.js} +6 -6
- package/dist/chunks/{service-status-acgs9zzk.js → fetch-ywn523ee.js} +5 -5
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +3 -3
- package/dist/fetch.js +47 -47
- package/dist/handlers/agent.d.ts +1 -1
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/command.d.ts +1 -1
- package/dist/handlers/command.js +6 -6
- package/dist/handlers/config.d.ts +1 -1
- package/dist/handlers/config.js +6 -6
- package/dist/handlers/credential.d.ts +1 -1
- package/dist/handlers/credential.js +6 -6
- package/dist/handlers/debug.d.ts +1 -1
- package/dist/handlers/debug.js +6 -6
- package/dist/handlers/event.d.ts +1 -1
- package/dist/handlers/event.js +7 -7
- package/dist/handlers/form.d.ts +1 -1
- package/dist/handlers/form.js +6 -6
- package/dist/handlers/fs.d.ts +1 -1
- package/dist/handlers/fs.js +6 -6
- package/dist/handlers/generate.d.ts +1 -1
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.d.ts +1 -1
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/location.d.ts +1 -1
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.d.ts +1 -1
- package/dist/handlers/mcp.js +6 -6
- package/dist/handlers/message.d.ts +1 -1
- package/dist/handlers/message.js +6 -6
- package/dist/handlers/migration.d.ts +1 -1
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.d.ts +1 -1
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.d.ts +1 -1
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.d.ts +1 -1
- package/dist/handlers/persistent-pty.js +8 -8
- package/dist/handlers/plugin.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/handlers/provider.js +6 -6
- package/dist/handlers/pty-socket.d.ts +10 -2
- package/dist/handlers/pty-socket.js +1 -1
- package/dist/handlers/pty.d.ts +1 -1
- package/dist/handlers/pty.js +9 -9
- package/dist/handlers/reference.d.ts +1 -1
- package/dist/handlers/reference.js +6 -6
- package/dist/handlers/rpc.d.ts +1 -1
- package/dist/handlers/rpc.js +6 -6
- package/dist/handlers/server.d.ts +1 -1
- package/dist/handlers/server.js +9 -9
- package/dist/handlers/session-error.js +1 -1
- package/dist/handlers/session.d.ts +1 -1
- package/dist/handlers/session.js +6 -6
- package/dist/handlers/shell.d.ts +1 -1
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.d.ts +1 -1
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/vcs.d.ts +1 -1
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/websearch.d.ts +1 -1
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.d.ts +1 -1
- package/dist/handlers/worktree.js +6 -6
- package/dist/handlers.d.ts +1 -1
- package/dist/handlers.js +43 -43
- package/dist/location.d.ts +2 -2
- package/dist/location.js +4 -4
- package/dist/middleware/authorization.d.ts +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.d.ts +1 -1
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.d.ts +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +5 -5
- package/dist/process.d.ts +4 -3
- package/dist/process.js +50 -50
- package/dist/pty-environment.js +5 -5
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +3 -3
- package/dist/routes.js +46 -46
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +1 -1
- package/dist/workerd.js +48 -48
- package/package.json +14 -12
- package/dist/chunks/service-status-hezj1jdf.js +0 -7
- /package/dist/chunks/{service-status-9rqn6x4v.js → fetch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-status-q4bn6dy8.js → fetch-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{service-status-smaf4a18.js → fetch-smaf4a18.js} +0 -0
- /package/dist/chunks/{service-status-yc7nft6q.js → fetch-yc7nft6q.js} +0 -0
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/fetch-nqswsw3h.js";
|
|
4
|
+
import"../chunks/fetch-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/fetch-ty73jqxf.js";
|
|
6
|
+
import"../chunks/fetch-vw0q3knq.js";
|
|
7
|
+
import"../chunks/fetch-ywn523ee.js";
|
|
8
|
+
import"../chunks/fetch-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
VcsHandler2 as VcsHandler
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const WebSearchHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const WebSearchHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.websearch">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
|
@@ -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/fetch-9e4rhycp.js";
|
|
4
|
+
import"../chunks/fetch-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/fetch-ty73jqxf.js";
|
|
6
|
+
import"../chunks/fetch-vw0q3knq.js";
|
|
7
|
+
import"../chunks/fetch-ywn523ee.js";
|
|
8
|
+
import"../chunks/fetch-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
WebSearchHandler2 as WebSearchHandler
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Worktree } from "@opencode/core/worktree";
|
|
2
|
-
export declare const WorktreeHandler: import("effect/Layer").Layer<import("effect/
|
|
2
|
+
export declare const WorktreeHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.worktree">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | Worktree.Service>;
|
|
@@ -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/fetch-tr76qvg4.js";
|
|
4
|
+
import"../chunks/fetch-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/fetch-ty73jqxf.js";
|
|
6
|
+
import"../chunks/fetch-vw0q3knq.js";
|
|
7
|
+
import"../chunks/fetch-ywn523ee.js";
|
|
8
|
+
import"../chunks/fetch-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/
|
|
2
|
+
export declare const handlers: Layer.Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.generate"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.message"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.model"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.provider"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.session"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.permission"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.fs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.form"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.command"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.skill"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.rpc"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.event"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.agent"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.plugin"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.server"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.debug"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.pty"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.experimental"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.shell"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.reference"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.location"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.integration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.websearch"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.mcp"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.credential"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.project"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.worktree"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.vcs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.migration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.config">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("@opencode/util/global").Service | import("@opencode/core/bus").Service | import("@opencode/core/project").Service | import("@opencode/core/persistent-pty/index").Service | import("@opencode/core/location-service-map").Service | import("@opencode/core/session").Service | import("@opencode/core/worktree").Service | import("@opencode/core/instance").Service | import("./location").LocationMiddleware | import("./middleware/form-location").FormLocationMiddleware | import("./middleware/session-location").SessionLocationMiddleware | import("./auth").Config | import("@opencode/core/pty/ticket").Service | import("@opencode/core/session/transfer").Service | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/database/database").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("./pairing").Service | import("effect/http/HttpRouter").Request<"Requires", import("./server-info").Service> | import("./pty-environment").Service | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/wellknown").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/credential").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/project").Service>>;
|
package/dist/handlers.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
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/
|
|
3
|
+
} from "./chunks/fetch-en4n16hb.js";
|
|
4
|
+
import"./chunks/fetch-sb0dyttf.js";
|
|
5
|
+
import"./chunks/fetch-x5jn5rep.js";
|
|
6
|
+
import"./chunks/fetch-tr76qvg4.js";
|
|
7
|
+
import"./chunks/fetch-bwz286mg.js";
|
|
8
|
+
import"./chunks/fetch-19taf7de.js";
|
|
9
|
+
import"./chunks/fetch-j03v2rh9.js";
|
|
10
|
+
import"./chunks/fetch-p177e0cw.js";
|
|
11
|
+
import"./chunks/fetch-00mapsdc.js";
|
|
12
|
+
import"./chunks/fetch-44qh4kfc.js";
|
|
13
|
+
import"./chunks/fetch-4r8g7rwq.js";
|
|
14
|
+
import"./chunks/fetch-jphw74cq.js";
|
|
15
|
+
import"./chunks/fetch-9e4rhycp.js";
|
|
16
|
+
import"./chunks/fetch-73mn2n3x.js";
|
|
17
|
+
import"./chunks/fetch-8cnxq26y.js";
|
|
18
|
+
import"./chunks/fetch-10bq7mg4.js";
|
|
19
|
+
import"./chunks/fetch-0b39h07j.js";
|
|
20
|
+
import"./chunks/fetch-0q1fp77w.js";
|
|
21
|
+
import"./chunks/fetch-ybxyv6z5.js";
|
|
22
|
+
import"./chunks/fetch-ysb51p4r.js";
|
|
23
|
+
import"./chunks/fetch-ke8kc592.js";
|
|
24
|
+
import"./chunks/fetch-h6rt5k9s.js";
|
|
25
|
+
import"./chunks/fetch-360ay1ws.js";
|
|
26
|
+
import"./chunks/fetch-13tvbs17.js";
|
|
27
|
+
import"./chunks/fetch-qggsn6y0.js";
|
|
28
|
+
import"./chunks/fetch-125dj052.js";
|
|
29
|
+
import"./chunks/fetch-nqswsw3h.js";
|
|
30
|
+
import"./chunks/fetch-yvtnm9hy.js";
|
|
31
|
+
import"./chunks/fetch-s1824482.js";
|
|
32
|
+
import"./chunks/fetch-8d0mn004.js";
|
|
33
|
+
import"./chunks/fetch-f3xezvck.js";
|
|
34
|
+
import"./chunks/fetch-735x1s0d.js";
|
|
35
|
+
import"./chunks/fetch-rbn15j6z.js";
|
|
36
|
+
import"./chunks/fetch-vvagfka3.js";
|
|
37
|
+
import"./chunks/fetch-b8ygg5k2.js";
|
|
38
|
+
import"./chunks/fetch-h2a6nn7k.js";
|
|
39
|
+
import"./chunks/fetch-ty73jqxf.js";
|
|
40
|
+
import"./chunks/fetch-vw0q3knq.js";
|
|
41
|
+
import"./chunks/fetch-anm12x33.js";
|
|
42
|
+
import"./chunks/fetch-q4bn6dy8.js";
|
|
43
|
+
import"./chunks/fetch-ywn523ee.js";
|
|
44
|
+
import"./chunks/fetch-smaf4a18.js";
|
|
45
|
+
import"./chunks/fetch-54sczv30.js";
|
|
46
46
|
export {
|
|
47
47
|
handlers2 as handlers
|
|
48
48
|
};
|
package/dist/location.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { LocationServiceMap } from "@opencode/core/location-services";
|
|
|
4
4
|
import { Session } from "@opencode/core/session";
|
|
5
5
|
import { LocationNotFoundError, InvalidRequestError } from "@opencode/protocol/errors";
|
|
6
6
|
import { Effect, Layer } from "effect";
|
|
7
|
-
import { HttpServerRequest } from "effect/
|
|
8
|
-
import { HttpApiMiddleware } from "effect/
|
|
7
|
+
import { HttpServerRequest } from "effect/http";
|
|
8
|
+
import { HttpApiMiddleware } from "effect/http-api";
|
|
9
9
|
export type LocationServices = Layer.Success<ReturnType<(typeof LocationServiceMap.Service)["get"]>>;
|
|
10
10
|
declare const LocationMiddleware_base: HttpApiMiddleware.ServiceClass<LocationMiddleware, "@opencode/HttpApiLocation", {
|
|
11
11
|
requires: never;
|
package/dist/location.js
CHANGED
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
response2,
|
|
5
5
|
sessionInfo2,
|
|
6
6
|
requestRef2,
|
|
7
|
-
|
|
8
|
-
} from "./chunks/
|
|
9
|
-
import"./chunks/
|
|
7
|
+
layer4
|
|
8
|
+
} from "./chunks/fetch-ywn523ee.js";
|
|
9
|
+
import"./chunks/fetch-smaf4a18.js";
|
|
10
10
|
export {
|
|
11
11
|
LocationMiddleware2 as LocationMiddleware,
|
|
12
|
-
|
|
12
|
+
layer4 as layer,
|
|
13
13
|
locationErrors2 as locationErrors,
|
|
14
14
|
requestRef2 as requestRef,
|
|
15
15
|
response2 as response,
|
|
@@ -2,7 +2,7 @@ import { ServerAuth } from "../auth";
|
|
|
2
2
|
import { Authorization } from "@opencode/protocol/middleware/authorization";
|
|
3
3
|
export { Authorization } from "@opencode/protocol/middleware/authorization";
|
|
4
4
|
import { Effect, Layer } from "effect";
|
|
5
|
-
import { HttpServerRequest, HttpServerResponse } from "effect/
|
|
5
|
+
import { HttpServerRequest, HttpServerResponse } from "effect/http";
|
|
6
6
|
export declare function unauthorizedResponse(request: HttpServerRequest.HttpServerRequest): HttpServerResponse.HttpServerResponse;
|
|
7
7
|
export declare function authorizedRequest(request: HttpServerRequest.HttpServerRequest, config: ServerAuth.Info): Effect.Effect<boolean, never, never>;
|
|
8
8
|
export declare const authorizationLayer: Layer.Layer<Authorization, never, ServerAuth.Config>;
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
authorizedRequest2,
|
|
4
4
|
authorizationLayer2,
|
|
5
5
|
Authorization2
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
6
|
+
} from "../chunks/fetch-5ytyqf1q.js";
|
|
7
|
+
import"../chunks/fetch-anm12x33.js";
|
|
8
8
|
export {
|
|
9
9
|
Authorization2 as Authorization,
|
|
10
10
|
authorizationLayer2 as authorizationLayer,
|
|
@@ -3,7 +3,7 @@ import { LocationServiceMap } from "@opencode/core/location-services";
|
|
|
3
3
|
import { Session } from "@opencode/core/session";
|
|
4
4
|
import { LocationNotFoundError, InvalidRequestError, SessionNotFoundError } from "@opencode/protocol/errors";
|
|
5
5
|
import { Layer } from "effect";
|
|
6
|
-
import { HttpApiMiddleware } from "effect/
|
|
6
|
+
import { HttpApiMiddleware } from "effect/http-api";
|
|
7
7
|
declare const FormLocationMiddleware_base: HttpApiMiddleware.ServiceClass<FormLocationMiddleware, "@opencode/HttpApiFormLocation", {
|
|
8
8
|
requires: never;
|
|
9
9
|
provides: Instance.Services;
|
|
@@ -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/fetch-ty73jqxf.js";
|
|
5
|
+
import"../chunks/fetch-ywn523ee.js";
|
|
6
|
+
import"../chunks/fetch-smaf4a18.js";
|
|
7
7
|
export {
|
|
8
8
|
FormLocationMiddleware2 as FormLocationMiddleware,
|
|
9
9
|
formLocationLayer2 as formLocationLayer
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Instance } from "@opencode/core/instance/service";
|
|
2
2
|
import { Session } from "@opencode/core/session";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import { HttpApiMiddleware } from "effect/
|
|
4
|
+
import { HttpApiMiddleware } from "effect/http-api";
|
|
5
5
|
import { LocationNotFoundError, InvalidRequestError, SessionNotFoundError } from "@opencode/protocol/errors";
|
|
6
6
|
declare const SessionLocationMiddleware_base: HttpApiMiddleware.ServiceClass<SessionLocationMiddleware, "@opencode/HttpApiSessionLocation", {
|
|
7
7
|
requires: never;
|
|
@@ -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/fetch-vw0q3knq.js";
|
|
5
|
+
import"../chunks/fetch-ywn523ee.js";
|
|
6
|
+
import"../chunks/fetch-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
|
-
|
|
3
|
-
|
|
2
|
+
Service2,
|
|
3
|
+
node2,
|
|
4
4
|
exports_pairing
|
|
5
|
-
} from "./chunks/
|
|
5
|
+
} from "./chunks/fetch-rbn15j6z.js";
|
|
6
6
|
export {
|
|
7
7
|
exports_pairing as ServerPairing,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Service2 as Service,
|
|
9
|
+
node2 as node
|
|
10
10
|
};
|
package/dist/process.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * as ServerProcess from "./process";
|
|
2
2
|
import { Effect, Scope } from "effect";
|
|
3
|
-
import {
|
|
3
|
+
import { HttpServerRequest, HttpServerResponse } from "effect/http";
|
|
4
|
+
import { NetAddress } from "effect/net";
|
|
4
5
|
export interface Lifecycle<E = never, R = never> {
|
|
5
|
-
readonly onListen: (address:
|
|
6
|
+
readonly onListen: (address: NetAddress.SocketAddress, shutdown: Effect.Effect<void>) => Effect.Effect<Effect.Effect<void>, E, R>;
|
|
6
7
|
}
|
|
7
8
|
type App = Effect.Effect<HttpServerResponse.HttpServerResponse, unknown, HttpServerRequest.HttpServerRequest | Scope.Scope>;
|
|
8
9
|
export type Transform = (app: App) => App;
|
|
@@ -52,7 +53,7 @@ export declare const start: <E, R>(options: {
|
|
|
52
53
|
readonly path?: string | undefined;
|
|
53
54
|
} | undefined;
|
|
54
55
|
}, lifecycle?: Lifecycle<E, R> | undefined, transform?: Transform | undefined, remoteURLs?: (() => ReadonlyArray<string>) | undefined) => Effect.Effect<{
|
|
55
|
-
address:
|
|
56
|
+
address: NetAddress.SocketAddress;
|
|
56
57
|
shutdown: Effect.Effect<void, never, never>;
|
|
57
58
|
updateAvailable: (version: string) => Effect.Effect<void, never, never>;
|
|
58
59
|
updated: (version: string) => Effect.Effect<void, never, never>;
|
package/dist/process.js
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Config2
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/fetch-anm12x33.js";
|
|
4
4
|
import {
|
|
5
5
|
isAllowedCorsOrigin2
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/fetch-q4bn6dy8.js";
|
|
7
7
|
import {
|
|
8
8
|
unauthorizedResponse2,
|
|
9
9
|
authorizedRequest2
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/fetch-5ytyqf1q.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/
|
|
13
|
+
} from "./chunks/fetch-yc7nft6q.js";
|
|
14
|
+
import"./chunks/fetch-smaf4a18.js";
|
|
15
|
+
import"./chunks/fetch-ywn523ee.js";
|
|
16
|
+
import"./chunks/fetch-ty73jqxf.js";
|
|
17
|
+
import"./chunks/fetch-vw0q3knq.js";
|
|
18
|
+
import"./chunks/fetch-h2a6nn7k.js";
|
|
19
|
+
import"./chunks/fetch-s1824482.js";
|
|
20
|
+
import"./chunks/fetch-13tvbs17.js";
|
|
21
|
+
import"./chunks/fetch-bwz286mg.js";
|
|
22
|
+
import"./chunks/fetch-p177e0cw.js";
|
|
23
|
+
import"./chunks/fetch-73mn2n3x.js";
|
|
24
|
+
import"./chunks/fetch-44qh4kfc.js";
|
|
25
|
+
import"./chunks/fetch-00mapsdc.js";
|
|
26
|
+
import"./chunks/fetch-4r8g7rwq.js";
|
|
27
|
+
import"./chunks/fetch-8cnxq26y.js";
|
|
28
|
+
import"./chunks/fetch-j03v2rh9.js";
|
|
29
|
+
import"./chunks/fetch-10bq7mg4.js";
|
|
30
|
+
import"./chunks/fetch-54sczv30.js";
|
|
31
|
+
import"./chunks/fetch-yvtnm9hy.js";
|
|
32
|
+
import"./chunks/fetch-jphw74cq.js";
|
|
33
|
+
import"./chunks/fetch-735x1s0d.js";
|
|
34
34
|
import {
|
|
35
35
|
connectionURLs2
|
|
36
|
-
} from "./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/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
36
|
+
} from "./chunks/fetch-b8ygg5k2.js";
|
|
37
|
+
import"./chunks/fetch-rbn15j6z.js";
|
|
38
|
+
import"./chunks/fetch-125dj052.js";
|
|
39
|
+
import"./chunks/fetch-f3xezvck.js";
|
|
40
|
+
import"./chunks/fetch-vvagfka3.js";
|
|
41
|
+
import"./chunks/fetch-h6rt5k9s.js";
|
|
42
|
+
import"./chunks/fetch-sb0dyttf.js";
|
|
43
|
+
import"./chunks/fetch-ke8kc592.js";
|
|
44
|
+
import"./chunks/fetch-qggsn6y0.js";
|
|
45
|
+
import"./chunks/fetch-ysb51p4r.js";
|
|
46
|
+
import"./chunks/fetch-0q1fp77w.js";
|
|
47
|
+
import"./chunks/fetch-8d0mn004.js";
|
|
48
|
+
import"./chunks/fetch-9e4rhycp.js";
|
|
49
|
+
import"./chunks/fetch-x5jn5rep.js";
|
|
50
|
+
import"./chunks/fetch-19taf7de.js";
|
|
51
|
+
import"./chunks/fetch-360ay1ws.js";
|
|
52
|
+
import"./chunks/fetch-tr76qvg4.js";
|
|
53
|
+
import"./chunks/fetch-nqswsw3h.js";
|
|
54
|
+
import"./chunks/fetch-ybxyv6z5.js";
|
|
55
|
+
import"./chunks/fetch-0b39h07j.js";
|
|
56
|
+
import"./chunks/fetch-en4n16hb.js";
|
|
57
|
+
import"./chunks/fetch-erzfdgke.js";
|
|
58
58
|
import {
|
|
59
59
|
createRoutes2
|
|
60
|
-
} from "./chunks/
|
|
60
|
+
} from "./chunks/fetch-gd6nn1mx.js";
|
|
61
61
|
import {
|
|
62
62
|
make2
|
|
63
|
-
} from "./chunks/
|
|
63
|
+
} from "./chunks/fetch-xsrtpxyd.js";
|
|
64
64
|
import {
|
|
65
65
|
__export
|
|
66
|
-
} from "./chunks/
|
|
66
|
+
} from "./chunks/fetch-9rqn6x4v.js";
|
|
67
67
|
|
|
68
68
|
// src/process.ts
|
|
69
69
|
var exports_process = {};
|
|
@@ -80,7 +80,7 @@ import { hasPersistentPtyConnectTicketURL } from "@opencode/protocol/groups/pers
|
|
|
80
80
|
import { isPairingConnectURL } from "@opencode/protocol/groups/server";
|
|
81
81
|
import { Global } from "@opencode/util/global";
|
|
82
82
|
import { Cause, Context, Effect, Exit, Latch, Layer, Option, Ref, Scope } from "effect";
|
|
83
|
-
import { HttpMiddleware, HttpRouter, HttpServerRequest, HttpServerResponse } from "effect/
|
|
83
|
+
import { HttpMiddleware, HttpRouter, HttpServerRequest, HttpServerResponse } from "effect/http";
|
|
84
84
|
import { createServer } from "node:http";
|
|
85
85
|
var errorResponseLogger = HttpMiddleware.make((app) => HttpMiddleware.logger(Effect.tap(app, (response) => response.status < 400 ? HttpMiddleware.withLoggerDisabled(Effect.void) : Effect.void)));
|
|
86
86
|
var start = Effect.fn("ServerProcess.start")(function* (options, lifecycle, transform, remoteURLs) {
|
package/dist/pty-environment.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service3,
|
|
3
3
|
layer2,
|
|
4
|
-
|
|
4
|
+
node3,
|
|
5
5
|
exports_pty_environment
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/fetch-vvagfka3.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_pty_environment as PtyEnvironment,
|
|
9
|
-
|
|
9
|
+
Service3 as Service,
|
|
10
10
|
layer2 as layer,
|
|
11
|
-
|
|
11
|
+
node3 as node
|
|
12
12
|
};
|
package/dist/request-tracing.js
CHANGED
package/dist/routes.d.ts
CHANGED
|
@@ -20,12 +20,12 @@ import { PluginUpdate } from "@opencode/core/plugin/update";
|
|
|
20
20
|
import { SdkPlugins } from "@opencode/core/plugin/sdk";
|
|
21
21
|
import { WellKnown } from "@opencode/core/wellknown";
|
|
22
22
|
import { Workspace } from "@opencode/core/workspace";
|
|
23
|
-
import { HttpRouter } from "effect/
|
|
23
|
+
import { HttpRouter } from "effect/http";
|
|
24
24
|
import { Layer } from "effect";
|
|
25
25
|
import { PtyEnvironment } from "./pty-environment";
|
|
26
26
|
import { ServerPairing } from "./pairing";
|
|
27
27
|
import type { ServerOptions } from "./options";
|
|
28
|
-
export declare function createRoutes(options?: ServerOptions, serviceURLs?: () => ReadonlyArray<string>, overrides?: LayerNode.Replacements): Layer.Layer<import("effect/
|
|
28
|
+
export declare function createRoutes(options?: ServerOptions, serviceURLs?: () => ReadonlyArray<string>, overrides?: LayerNode.Replacements): Layer.Layer<import("effect/http/HttpClient").HttpClient | Global.Service | Database.Service | Bus.Service | Project.Service | Workspace.Service | Credential.Service | WellKnown.Service | PermissionSaved.Service | PersistentPty.Service | LocationServiceMap.Service | SdkPlugins.Service | PluginUpdate.Service | Job.Service | Session.Service | Worktree.Service | Instance.Service | SessionRestart.Service | PtyTicket.Service | SessionTransfer.Service | LocationActivity.Service | ServerPairing.Service | PtyEnvironment.Service | HttpRouter.HttpRouter, Error | PersistentPty.UnavailableError, import("effect/FileSystem").FileSystem | import("effect/Path").Path | import("effect/http/Etag").Generator | import("effect/http/HttpPlatform").HttpPlatform>;
|
|
29
29
|
type InstanceNode = (replacements: () => LayerNode.Replacements) => LayerNode.Provider<Instance.Service, never, typeof Node.tags.values.global>;
|
|
30
|
-
export declare function createEmbeddedRoutes(options?: ServerOptions, overrides?: LayerNode.Replacements, instances?: InstanceNode): Layer.Layer<import("effect/
|
|
30
|
+
export declare function createEmbeddedRoutes(options?: ServerOptions, overrides?: LayerNode.Replacements, instances?: InstanceNode): Layer.Layer<import("effect/http/HttpClient").HttpClient | Global.Service | Database.Service | Bus.Service | Project.Service | Workspace.Service | Credential.Service | WellKnown.Service | PermissionSaved.Service | PersistentPty.Service | LocationServiceMap.Service | SdkPlugins.Service | PluginUpdate.Service | Job.Service | Session.Service | Worktree.Service | Instance.Service | SessionRestart.Service | PtyTicket.Service | SessionTransfer.Service | LocationActivity.Service | ServerPairing.Service | PtyEnvironment.Service | HttpRouter.HttpRouter, Error | PersistentPty.UnavailableError, import("effect/FileSystem").FileSystem | import("effect/Path").Path | import("effect/http/Etag").Generator | import("effect/http/HttpPlatform").HttpPlatform>;
|
|
31
31
|
export {};
|