@opencode/server 0.0.0-dev-20783 → 0.0.0-dev-20786
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 → cors-00mapsdc.js} +4 -4
- package/dist/chunks/{service-status-jskw5q1g.js → cors-0b39h07j.js} +2 -2
- package/dist/chunks/{service-status-da5stqtt.js → cors-0q1fp77w.js} +2 -2
- package/dist/chunks/{service-status-zhqf1t9m.js → cors-10bq7mg4.js} +2 -2
- package/dist/chunks/{service-status-0b1t2b2s.js → cors-13tvbs17.js} +3 -3
- package/dist/chunks/{service-status-j54drd5e.js → cors-19taf7de.js} +2 -2
- package/dist/chunks/{service-status-np6fwbmz.js → cors-1tk2rec1.js} +30 -29
- package/dist/chunks/{service-status-mhyatxpf.js → cors-1x5dvcb3.js} +18 -18
- package/dist/chunks/{service-status-5fmydwgy.js → cors-360ay1ws.js} +2 -2
- package/dist/chunks/{service-status-pg3sqc69.js → cors-44qh4kfc.js} +4 -4
- package/dist/chunks/{service-status-2vy10eeh.js → cors-4r8g7rwq.js} +3 -3
- package/dist/chunks/{service-status-gtkdacvk.js → cors-5ytyqf1q.js} +5 -4
- package/dist/chunks/{service-status-9m28rhbj.js → cors-72xpy55t.js} +6 -6
- package/dist/chunks/{service-status-62qjgyra.js → cors-735x1s0d.js} +3 -3
- package/dist/chunks/{service-status-30gqa6y8.js → cors-73mn2n3x.js} +4 -4
- package/dist/chunks/{service-status-q4y3mw2d.js → cors-8cnxq26y.js} +3 -3
- package/dist/chunks/{service-status-j8182e46.js → cors-8d0mn004.js} +3 -3
- package/dist/chunks/{service-status-bptmkrac.js → cors-9e4rhycp.js} +3 -3
- package/dist/chunks/{service-status-anm12x33.js → cors-anm12x33.js} +1 -1
- package/dist/chunks/{service-status-bkk2wfbz.js → cors-bkk2wfbz.js} +1 -1
- package/dist/chunks/{service-status-fsrvj92d.js → cors-bwz286mg.js} +3 -3
- package/dist/chunks/{service-status-sstsrjtg.js → cors-byt4hbw9.js} +7 -7
- package/dist/chunks/{service-status-jy5syrnz.js → cors-drahxf95.js} +30 -34
- package/dist/chunks/{service-status-t8yzmczr.js → cors-erzfdgke.js} +1 -1
- package/dist/chunks/{service-status-w8db1rkr.js → cors-f3xezvck.js} +3 -3
- package/dist/chunks/{service-status-s07e4y6n.js → cors-g0rzwe5g.js} +7 -7
- package/dist/chunks/{service-status-ep84ha6r.js → cors-h2a6nn7k.js} +3 -3
- package/dist/chunks/cors-h6rt5k9s.js +24 -0
- package/dist/chunks/{service-status-m9wzfeff.js → cors-j03v2rh9.js} +3 -3
- package/dist/chunks/{service-status-qcy0p5fz.js → cors-jphw74cq.js} +3 -3
- package/dist/chunks/{service-status-nvmdgpqv.js → cors-nqswsw3h.js} +3 -3
- package/dist/chunks/{service-status-swb5yrqf.js → cors-p177e0cw.js} +3 -3
- package/dist/chunks/{service-status-srcrrwjk.js → cors-qggsn6y0.js} +3 -3
- package/dist/chunks/{service-status-zytx35xb.js → cors-r5pmcrqb.js} +10 -10
- package/dist/chunks/{service-status-99sfd1j8.js → cors-rjpqaa8h.js} +7 -7
- package/dist/chunks/{service-status-mpbfcr4e.js → cors-s1824482.js} +3 -3
- package/dist/chunks/{service-status-ccfecbt4.js → cors-tr76qvg4.js} +2 -2
- package/dist/chunks/{service-status-d00srfh1.js → cors-ty73jqxf.js} +3 -3
- package/dist/chunks/{service-status-nxdx74sv.js → cors-vw0q3knq.js} +3 -3
- package/dist/chunks/{service-status-3c937re8.js → cors-x5jn5rep.js} +3 -3
- package/dist/chunks/{service-status-xsrtpxyd.js → cors-xsrtpxyd.js} +1 -1
- package/dist/chunks/{service-status-k27f8enw.js → cors-y1vwtgfh.js} +4 -4
- package/dist/chunks/{service-status-387sf4vs.js → cors-ybxyv6z5.js} +2 -2
- package/dist/chunks/{service-status-ym5ktahd.js → cors-yk6p4dkd.js} +33 -33
- package/dist/chunks/{service-status-n7kafg5g.js → cors-ysb51p4r.js} +3 -3
- package/dist/chunks/{service-status-acgs9zzk.js → cors-ywn523ee.js} +5 -5
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- 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 +3 -3
- package/dist/process.d.ts +4 -3
- package/dist/process.js +50 -50
- package/dist/pty-environment.js +1 -1
- 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 → cors-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-status-q4bn6dy8.js → cors-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{service-status-smaf4a18.js → cors-smaf4a18.js} +0 -0
- /package/dist/chunks/{service-status-yc7nft6q.js → cors-yc7nft6q.js} +0 -0
package/dist/handlers/mcp.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
McpHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-x5jn5rep.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
McpHandler2 as McpHandler
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Session } from "@opencode/core/session";
|
|
2
|
-
export declare const MessageHandler: import("effect/Layer").Layer<import("effect/
|
|
2
|
+
export declare const MessageHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.message">, never, Session.Service | (import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization)>;
|
package/dist/handlers/message.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MessageHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-13tvbs17.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
MessageHandler2 as MessageHandler
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MigrationHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const MigrationHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.migration">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/database/database").Service>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MigrationHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-ybxyv6z5.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
MigrationHandler2 as MigrationHandler
|
|
11
11
|
};
|
package/dist/handlers/model.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ModelHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const ModelHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.model">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
package/dist/handlers/model.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-bwz286mg.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ModelHandler2 as ModelHandler
|
|
11
11
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Instance } from "@opencode/core/instance/service";
|
|
2
2
|
import { PermissionSaved } from "@opencode/core/permission/saved";
|
|
3
3
|
import { Session } from "@opencode/core/session";
|
|
4
|
-
export declare const PermissionHandler: import("effect/Layer").Layer<import("effect/
|
|
4
|
+
export declare const PermissionHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.permission">, never, Session.Service | Instance.Service | import("../middleware/session-location").SessionLocationMiddleware | (import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("effect/http/HttpRouter").Request<"Requires", PermissionSaved.Service>)>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PermissionHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-44qh4kfc.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
PermissionHandler2 as PermissionHandler
|
|
11
11
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
2
2
|
import { PtyTicket } from "@opencode/core/pty/ticket";
|
|
3
|
-
export declare const PersistentPtyHandler: import("effect/Layer").Layer<import("effect/
|
|
3
|
+
export declare const PersistentPtyHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.experimental">, never, PersistentPty.Service | PtyTicket.Service | (import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization)>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PersistentPtyHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-drahxf95.js";
|
|
4
|
+
import"../chunks/cors-h6rt5k9s.js";
|
|
5
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
6
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
7
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
8
|
+
import"../chunks/cors-ywn523ee.js";
|
|
9
|
+
import"../chunks/cors-smaf4a18.js";
|
|
10
|
+
import"../chunks/cors-q4bn6dy8.js";
|
|
11
11
|
export {
|
|
12
12
|
PersistentPtyHandler2 as PersistentPtyHandler
|
|
13
13
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PluginUpdate } from "@opencode/core/plugin/update";
|
|
2
|
-
export declare const PluginHandler: import("effect/Layer").Layer<import("effect/
|
|
2
|
+
export declare const PluginHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.plugin">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("effect/http/HttpRouter").Request<"Requires", PluginUpdate.Service>>;
|
package/dist/handlers/plugin.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PluginHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-735x1s0d.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
PluginHandler2 as PluginHandler
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Project } from "@opencode/core/project";
|
|
2
|
-
export declare const ProjectHandler: import("effect/Layer").Layer<import("effect/
|
|
2
|
+
export declare const ProjectHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.project">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("effect/http/HttpRouter").Request<"Requires", Project.Service>>;
|
package/dist/handlers/project.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProjectHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-360ay1ws.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ProjectHandler2 as ProjectHandler
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ProviderHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const ProviderHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.provider">, 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
|
ProviderHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-p177e0cw.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ProviderHandler2 as ProviderHandler
|
|
11
11
|
};
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import { Effect } from "effect";
|
|
2
|
-
|
|
1
|
+
import { Effect, Queue } from "effect";
|
|
2
|
+
import { Socket } from "effect/socket";
|
|
3
|
+
export type Outbound = string | Uint8Array | Socket.CloseEvent;
|
|
4
|
+
export declare function runPtySocket<R>(input: {
|
|
5
|
+
readonly socket: Socket.Socket;
|
|
6
|
+
readonly outbox: Queue.Dequeue<Outbound>;
|
|
7
|
+
readonly onOpen?: Effect.Effect<void, never, R>;
|
|
8
|
+
readonly onMessage: (message: string | Uint8Array) => Effect.Effect<void, never, R>;
|
|
9
|
+
readonly detach: () => void;
|
|
10
|
+
}): Effect.Effect<void, never, import("effect/Scope").Scope | R>;
|
package/dist/handlers/pty.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { PtyTicket } from "@opencode/core/pty/ticket";
|
|
2
2
|
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
3
3
|
import { PtyEnvironment } from "../pty-environment";
|
|
4
|
-
export declare const PtyHandler: import("effect/Layer").Layer<import("effect/
|
|
4
|
+
export declare const PtyHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.pty">, never, LocationServiceMap.Service | import("../location").LocationMiddleware | PtyTicket.Service | PtyEnvironment.Service | (import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization)>;
|
package/dist/handlers/pty.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PtyHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
11
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-1tk2rec1.js";
|
|
4
|
+
import"../chunks/cors-h6rt5k9s.js";
|
|
5
|
+
import"../chunks/cors-bkk2wfbz.js";
|
|
6
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
7
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
8
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
9
|
+
import"../chunks/cors-ywn523ee.js";
|
|
10
|
+
import"../chunks/cors-smaf4a18.js";
|
|
11
|
+
import"../chunks/cors-q4bn6dy8.js";
|
|
12
12
|
export {
|
|
13
13
|
PtyHandler2 as PtyHandler
|
|
14
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ReferenceHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const ReferenceHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.reference">, 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
|
ReferenceHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-ysb51p4r.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ReferenceHandler2 as ReferenceHandler
|
|
11
11
|
};
|
package/dist/handlers/rpc.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const RpcHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const RpcHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.rpc">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
package/dist/handlers/rpc.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RpcHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-10bq7mg4.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
RpcHandler2 as RpcHandler
|
|
11
11
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ServerAuth } from "../auth";
|
|
2
2
|
import { ServerInfo } from "../server-info";
|
|
3
3
|
import { ServerPairing } from "../pairing";
|
|
4
|
-
export declare const ServerHandler: import("effect/Layer").Layer<import("effect/
|
|
4
|
+
export declare const ServerHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.server">, never, ServerAuth.Config | ServerPairing.Service | import("effect/http/HttpRouter").Request<"Requires", ServerInfo.Service> | (import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization)>;
|
package/dist/handlers/server.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ServerHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
11
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-r5pmcrqb.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
|
+
import"../chunks/cors-anm12x33.js";
|
|
10
|
+
import"../chunks/cors-byt4hbw9.js";
|
|
11
|
+
import"../chunks/cors-g0rzwe5g.js";
|
|
12
12
|
export {
|
|
13
13
|
ServerHandler2 as ServerHandler
|
|
14
14
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Session } from "@opencode/core/session";
|
|
2
2
|
import { SessionTransfer } from "@opencode/core/session/transfer";
|
|
3
|
-
export declare const SessionHandler: import("effect/Layer").Layer<import("effect/
|
|
3
|
+
export declare const SessionHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.session">, never, Session.Service | import("../middleware/session-location").SessionLocationMiddleware | SessionTransfer.Service | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/database/database").Service> | (import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../middleware/form-location").FormLocationMiddleware)>;
|
package/dist/handlers/session.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-73mn2n3x.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
SessionHandler2 as SessionHandler
|
|
11
11
|
};
|
package/dist/handlers/shell.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ShellHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const ShellHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.shell">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
package/dist/handlers/shell.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ShellHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-qggsn6y0.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ShellHandler2 as ShellHandler
|
|
11
11
|
};
|
package/dist/handlers/skill.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SkillHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const SkillHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.skill">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
package/dist/handlers/skill.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SkillHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-j03v2rh9.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
SkillHandler2 as SkillHandler
|
|
11
11
|
};
|
package/dist/handlers/vcs.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Project } from "@opencode/core/project";
|
|
2
2
|
import { Bus } from "@opencode/core/bus";
|
|
3
3
|
import { LocationServiceMap } from "@opencode/core/location-services";
|
|
4
|
-
export declare const VcsHandler: import("effect/Layer").Layer<import("effect/
|
|
4
|
+
export declare const VcsHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.vcs">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | Bus.Service | Project.Service | LocationServiceMap.Service | import("../location").LocationMiddleware>;
|
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/cors-nqswsw3h.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-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/cors-9e4rhycp.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-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/cors-tr76qvg4.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-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>>;
|