@opencode/server 2.0.26 → 2.0.28
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 +17 -14
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{fetch-6fr0a7bp.js → server-info-1fx5fmdj.js} +22 -21
- package/dist/chunks/{fetch-80mhd8t7.js → server-info-2nsepnqy.js} +3 -3
- package/dist/chunks/{fetch-zhympcbw.js → server-info-2yr2dq97.js} +3 -3
- package/dist/chunks/{fetch-d00srfh1.js → server-info-3154e7fk.js} +3 -3
- package/dist/chunks/{fetch-g9rgg5ys.js → server-info-31acg4hb.js} +3 -3
- package/dist/chunks/{fetch-w1fepcwh.js → server-info-49c878v9.js} +3 -3
- package/dist/chunks/{fetch-cm271yqe.js → server-info-4b0899hb.js} +3 -3
- package/dist/chunks/{fetch-8c9kbrtm.js → server-info-5w10ccet.js} +2 -2
- package/dist/chunks/{fetch-gtkdacvk.js → server-info-5ytyqf1q.js} +5 -4
- package/dist/chunks/{fetch-hajt4q09.js → server-info-72ygafj3.js} +3 -3
- package/dist/chunks/{fetch-n1svm92q.js → server-info-75c938bc.js} +6 -6
- package/dist/chunks/{fetch-agftk6b6.js → server-info-91mt6ewz.js} +3 -3
- package/dist/chunks/{fetch-t1n0m4wb.js → server-info-a6kxe6a7.js} +30 -34
- package/dist/chunks/{fetch-1kbkbftd.js → server-info-agw55v2c.js} +4 -4
- package/dist/chunks/{fetch-anm12x33.js → server-info-anm12x33.js} +1 -1
- package/dist/chunks/{fetch-mjepr257.js → server-info-cfhthk6z.js} +2 -2
- package/dist/chunks/{fetch-j3pdvhe2.js → server-info-cx1d1bht.js} +3 -3
- package/dist/chunks/{fetch-gj6tv0s4.js → server-info-e4x9285j.js} +6 -3
- package/dist/chunks/{fetch-r5bb0n1s.js → server-info-e7pctymn.js} +2 -2
- package/dist/chunks/{fetch-t8yzmczr.js → server-info-erzfdgke.js} +1 -1
- package/dist/chunks/{fetch-eekrj6qv.js → server-info-f4b2q3tn.js} +2 -2
- package/dist/chunks/{fetch-cy7y42ks.js → server-info-f6n7ws9b.js} +4 -4
- package/dist/chunks/{fetch-78n975k2.js → server-info-fzcjf2mc.js} +10 -10
- package/dist/chunks/{fetch-1w9kp1gg.js → server-info-ga3m49sz.js} +3 -3
- package/dist/chunks/{fetch-kzj5eept.js → server-info-gat934pw.js} +33 -33
- package/dist/chunks/{fetch-acgs9zzk.js → server-info-gymtz25n.js} +14 -6
- package/dist/chunks/server-info-h6rt5k9s.js +24 -0
- package/dist/chunks/{fetch-54sczv30.js → server-info-hg93khqa.js} +7 -7
- package/dist/chunks/server-info-j5aeaa16.js +15 -0
- package/dist/chunks/{fetch-bvp1r88z.js → server-info-jabz3c4v.js} +3 -3
- package/dist/chunks/{fetch-t70dy8sr.js → server-info-kd6vzpgq.js} +3 -3
- package/dist/chunks/{fetch-rwwc81rq.js → server-info-pf9p09ew.js} +2 -2
- package/dist/chunks/{fetch-wb43dd8f.js → server-info-pmjbkszz.js} +6 -4
- package/dist/chunks/{fetch-c6kb7fmf.js → server-info-s07e4y6n.js} +7 -7
- package/dist/chunks/{fetch-0chp8crd.js → server-info-sstsrjtg.js} +8 -8
- package/dist/chunks/{fetch-4qyjttng.js → server-info-swdgbzpj.js} +3 -3
- package/dist/chunks/{fetch-jxc39wgw.js → server-info-t3j5ftv1.js} +3 -3
- package/dist/chunks/{fetch-053p7hbt.js → server-info-v1czxanb.js} +7 -7
- package/dist/chunks/{fetch-b44t4qeg.js → server-info-wys7phx0.js} +30 -29
- package/dist/chunks/{fetch-rhnwnf76.js → server-info-x0608mvx.js} +2 -2
- package/dist/chunks/{fetch-nxdx74sv.js → server-info-x74w7e1f.js} +3 -3
- package/dist/chunks/{fetch-q9rkrfm7.js → server-info-x9vr2ttf.js} +5 -5
- package/dist/chunks/{fetch-0y03q8mn.js → server-info-xmwystkq.js} +3 -3
- package/dist/chunks/{fetch-5w24ch67.js → server-info-xsrtpxyd.js} +4 -4
- package/dist/chunks/{fetch-m4fq9qce.js → server-info-y9mzegx1.js} +6 -6
- package/dist/chunks/{fetch-m6xk774d.js → server-info-zs542hzz.js} +3 -3
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.d.ts +5 -5
- package/dist/fetch.js +49 -49
- 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 +5 -3
- package/dist/location.js +6 -4
- package/dist/middleware/authorization.d.ts +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.d.ts +2 -2
- 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 +9 -8
- package/dist/process.js +52 -52
- 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 +3 -3
- package/dist/workerd.js +50 -50
- package/package.json +14 -12
- package/dist/chunks/fetch-dy0yben3.js +0 -15
- package/dist/chunks/fetch-hezj1jdf.js +0 -7
- /package/dist/chunks/{fetch-9rqn6x4v.js → server-info-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{fetch-q4bn6dy8.js → server-info-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{fetch-smaf4a18.js → server-info-smaf4a18.js} +0 -0
- /package/dist/chunks/{fetch-yc7nft6q.js → server-info-yc7nft6q.js} +0 -0
package/dist/handlers/form.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FormHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const FormHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.form">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
package/dist/handlers/form.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/server-info-91mt6ewz.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
FormHandler2 as FormHandler
|
|
11
11
|
};
|
package/dist/handlers/fs.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FileSystemHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const FileSystemHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.fs">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
package/dist/handlers/fs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FileSystemHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/server-info-x9vr2ttf.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
FileSystemHandler2 as FileSystemHandler
|
|
11
11
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { LocationServiceMap } from "@opencode/core/location-services";
|
|
2
2
|
import { Global } from "@opencode/util/global";
|
|
3
|
-
export declare const GenerateHandler: import("effect/Layer").Layer<import("effect/
|
|
3
|
+
export declare const GenerateHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.generate">, never, Global.Service | LocationServiceMap.Service | (import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization)>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenerateHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/server-info-pmjbkszz.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
GenerateHandler2 as GenerateHandler
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { WellKnown } from "@opencode/core/wellknown";
|
|
2
|
-
export declare const IntegrationHandler: import("effect/Layer").Layer<import("effect/
|
|
2
|
+
export declare const IntegrationHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.integration">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("effect/http/HttpRouter").Request<"Requires", WellKnown.Service>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IntegrationHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/server-info-72ygafj3.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
IntegrationHandler2 as IntegrationHandler
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
2
|
-
export declare const LocationHandler: import("effect/Layer").Layer<import("effect/
|
|
2
|
+
export declare const LocationHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.location">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | LocationServiceMap.Service | import("../location").LocationMiddleware>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/server-info-cfhthk6z.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
LocationHandler2 as LocationHandler
|
|
11
11
|
};
|
package/dist/handlers/mcp.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const McpHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const McpHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.mcp">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
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/server-info-cx1d1bht.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-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/server-info-jabz3c4v.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-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/server-info-x0608mvx.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-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/server-info-e4x9285j.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-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/server-info-agw55v2c.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-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/server-info-a6kxe6a7.js";
|
|
4
|
+
import"../chunks/server-info-h6rt5k9s.js";
|
|
5
|
+
import"../chunks/server-info-q4bn6dy8.js";
|
|
6
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
7
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
8
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
9
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
10
|
+
import"../chunks/server-info-smaf4a18.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/server-info-49c878v9.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-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/server-info-j5aeaa16.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-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/server-info-swdgbzpj.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-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/server-info-wys7phx0.js";
|
|
4
|
+
import"../chunks/server-info-h6rt5k9s.js";
|
|
5
|
+
import"../chunks/server-info-q4bn6dy8.js";
|
|
6
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
7
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
8
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
9
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
10
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
11
|
+
import"../chunks/server-info-75c938bc.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/server-info-kd6vzpgq.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-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/server-info-5w10ccet.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-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/server-info-fzcjf2mc.js";
|
|
4
|
+
import"../chunks/server-info-anm12x33.js";
|
|
5
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
6
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
7
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
8
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
9
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
10
|
+
import"../chunks/server-info-s07e4y6n.js";
|
|
11
|
+
import"../chunks/server-info-sstsrjtg.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/server-info-f6n7ws9b.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-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/server-info-2yr2dq97.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-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/server-info-4b0899hb.js";
|
|
4
|
+
import"../chunks/server-info-t3j5ftv1.js";
|
|
5
|
+
import"../chunks/server-info-3154e7fk.js";
|
|
6
|
+
import"../chunks/server-info-x74w7e1f.js";
|
|
7
|
+
import"../chunks/server-info-gymtz25n.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
SkillHandler2 as SkillHandler
|
|
11
11
|
};
|