@opencode/server 2.0.25 → 2.0.27
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/{location-1nwce8pe.js → pty-environment-08x9tjee.js} +2 -2
- package/dist/chunks/{location-sstsrjtg.js → pty-environment-0chp8crd.js} +8 -8
- package/dist/chunks/pty-environment-0d864bga.js +15 -0
- package/dist/chunks/{location-c7mfxxxb.js → pty-environment-1k1cts14.js} +6 -6
- package/dist/chunks/{location-0d9kah4z.js → pty-environment-383t61pr.js} +7 -7
- package/dist/chunks/{location-v9pcqbqn.js → pty-environment-43r48nqn.js} +3 -3
- package/dist/chunks/{location-7gfv664k.js → pty-environment-4d1eemzq.js} +6 -4
- package/dist/chunks/{location-krn4521r.js → pty-environment-4dv9a668.js} +3 -3
- package/dist/chunks/{location-w070c2h2.js → pty-environment-4hhhes7w.js} +3 -3
- package/dist/chunks/{location-f7sjppyz.js → pty-environment-4yg61rns.js} +32 -31
- package/dist/chunks/{location-gtkdacvk.js → pty-environment-5ytyqf1q.js} +5 -4
- package/dist/chunks/{location-7rxakzjh.js → pty-environment-5zsr2h86.js} +2 -2
- package/dist/chunks/{location-hvft24jv.js → pty-environment-7vd5668a.js} +2 -2
- package/dist/chunks/{location-weqhmjbd.js → pty-environment-8137b89p.js} +3 -3
- package/dist/chunks/{location-m9xs9t19.js → pty-environment-8ad8dwnf.js} +7 -7
- package/dist/chunks/{location-0vyswjsz.js → pty-environment-97eb2r3v.js} +3 -3
- package/dist/chunks/{location-9cw9axw5.js → pty-environment-9snwnvf8.js} +3 -3
- package/dist/chunks/{location-x2by5wsf.js → pty-environment-aey6dvfz.js} +30 -34
- package/dist/chunks/{location-anm12x33.js → pty-environment-anm12x33.js} +1 -1
- package/dist/chunks/{location-f2c3fmpg.js → pty-environment-b56hqv74.js} +13 -5
- package/dist/chunks/{location-dqsr2g0t.js → pty-environment-bx47k33v.js} +3 -3
- package/dist/chunks/{location-93wjydnn.js → pty-environment-c6kb7fmf.js} +7 -7
- package/dist/chunks/{location-t8yzmczr.js → pty-environment-erzfdgke.js} +1 -1
- package/dist/chunks/{location-td9k2nw3.js → pty-environment-ewe1fzkk.js} +6 -3
- package/dist/chunks/{location-934cmkaf.js → pty-environment-ftaz8n62.js} +3 -3
- package/dist/chunks/pty-environment-h6rt5k9s.js +24 -0
- package/dist/chunks/{location-4znne276.js → pty-environment-h8ws5ssa.js} +2 -2
- package/dist/chunks/{location-ap5bajez.js → pty-environment-hkm2snxm.js} +33 -33
- package/dist/chunks/{location-796j10e5.js → pty-environment-j4zqsxgy.js} +3 -3
- package/dist/chunks/{location-16qfdx6b.js → pty-environment-nn6dbt3f.js} +3 -3
- package/dist/chunks/{location-ceje7ncg.js → pty-environment-pfs7tp5t.js} +20 -19
- package/dist/chunks/{location-1xva44q8.js → pty-environment-ptey1p5v.js} +3 -3
- package/dist/chunks/{location-g85r3kcp.js → pty-environment-qbh90c1d.js} +3 -3
- package/dist/chunks/{location-jzqzrtw5.js → pty-environment-rf01ee6q.js} +2 -2
- package/dist/chunks/{location-yybdkkb6.js → pty-environment-rntbwr87.js} +3 -3
- package/dist/chunks/{location-cqdj4ap7.js → pty-environment-ssyxw8nc.js} +5 -5
- package/dist/chunks/{location-9gvk307e.js → pty-environment-sxyyq1rb.js} +10 -10
- package/dist/chunks/{location-gny2k2ap.js → pty-environment-tqspcwns.js} +4 -4
- package/dist/chunks/{location-4rww2e47.js → pty-environment-vb5yx5r0.js} +3 -3
- package/dist/chunks/{location-n52yc5x0.js → pty-environment-vbzm2jgm.js} +3 -3
- package/dist/chunks/{location-2sy3c7de.js → pty-environment-vghchchj.js} +10 -10
- package/dist/chunks/{location-xsrtpxyd.js → pty-environment-vpz7f20y.js} +4 -4
- package/dist/chunks/{location-ym27c8rr.js → pty-environment-y1gfy88d.js} +4 -4
- package/dist/chunks/{location-ajzgetf8.js → pty-environment-yehasrps.js} +3 -3
- package/dist/chunks/{location-y1grnrmm.js → pty-environment-z6sxg6td.js} +2 -2
- package/dist/chunks/{location-ca257yb3.js → pty-environment-zessacar.js} +3 -3
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +7 -7
- package/dist/fetch.d.ts +1 -1
- 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 +4 -2
- 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 +5 -4
- 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/location-hezj1jdf.js +0 -7
- package/dist/chunks/location-vb9atgxj.js +0 -15
- /package/dist/chunks/{location-9rqn6x4v.js → pty-environment-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-q4bn6dy8.js → pty-environment-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{location-smaf4a18.js → pty-environment-smaf4a18.js} +0 -0
- /package/dist/chunks/{location-yc7nft6q.js → pty-environment-yc7nft6q.js} +0 -0
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/pty-environment-43r48nqn.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-ssyxw8nc.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-4d1eemzq.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-ftaz8n62.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-h8ws5ssa.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-zessacar.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-vb5yx5r0.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-rf01ee6q.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-ewe1fzkk.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-y1gfy88d.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-aey6dvfz.js";
|
|
4
|
+
import"../chunks/pty-environment-h6rt5k9s.js";
|
|
5
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
6
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
8
|
+
import"../chunks/pty-environment-q4bn6dy8.js";
|
|
9
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
10
|
+
import"../chunks/pty-environment-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/pty-environment-8137b89p.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-0d864bga.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-97eb2r3v.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-4yg61rns.js";
|
|
4
|
+
import"../chunks/pty-environment-h6rt5k9s.js";
|
|
5
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
6
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
8
|
+
import"../chunks/pty-environment-383t61pr.js";
|
|
9
|
+
import"../chunks/pty-environment-q4bn6dy8.js";
|
|
10
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
11
|
+
import"../chunks/pty-environment-smaf4a18.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/pty-environment-yehasrps.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-z6sxg6td.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-sxyyq1rb.js";
|
|
4
|
+
import"../chunks/pty-environment-c6kb7fmf.js";
|
|
5
|
+
import"../chunks/pty-environment-anm12x33.js";
|
|
6
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
7
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
8
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
9
|
+
import"../chunks/pty-environment-0chp8crd.js";
|
|
10
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
11
|
+
import"../chunks/pty-environment-smaf4a18.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/pty-environment-tqspcwns.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-4dv9a668.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-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/pty-environment-bx47k33v.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
SkillHandler2 as SkillHandler
|
|
11
11
|
};
|