@opencode/server 2.0.32 → 2.1.1
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 +1994 -1968
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{workerd-v1jdrp9c.js → location-08x9tjee.js} +1 -1
- package/dist/chunks/{workerd-aqzwjzmb.js → location-0d864bga.js} +1 -1
- package/dist/chunks/{workerd-gx2yvssc.js → location-10hxeg6b.js} +3 -3
- package/dist/chunks/{workerd-zbkyrdqr.js → location-2c5m7t9e.js} +16 -16
- package/dist/chunks/{workerd-sq0m2new.js → location-33prfkkd.js} +18 -4
- package/dist/chunks/{workerd-wtxh433d.js → location-43r48nqn.js} +2 -2
- package/dist/chunks/{workerd-j8p25vmv.js → location-4d1eemzq.js} +2 -2
- package/dist/chunks/{workerd-vtvdbwhg.js → location-4dv9a668.js} +2 -2
- package/dist/chunks/{workerd-n9y13hgv.js → location-4g2hx1xt.js} +5 -5
- package/dist/chunks/{workerd-1ahadpvw.js → location-4hhhes7w.js} +1 -1
- package/dist/chunks/{workerd-gv627jgt.js → location-5zsr2h86.js} +1 -1
- package/dist/chunks/{workerd-q282hknm.js → location-686p2xfa.js} +2 -2
- package/dist/chunks/{workerd-41c7f34m.js → location-71n7prbj.js} +8 -8
- package/dist/chunks/{workerd-rmttg9h7.js → location-7vd5668a.js} +1 -1
- package/dist/chunks/{workerd-6t8za67t.js → location-8137b89p.js} +2 -2
- package/dist/chunks/{workerd-6kta5392.js → location-97eb2r3v.js} +2 -2
- package/dist/chunks/{workerd-gb66h69v.js → location-9snwnvf8.js} +3 -3
- package/dist/chunks/{workerd-anm12x33.js → location-anm12x33.js} +1 -1
- package/dist/chunks/{workerd-gqq6kfhc.js → location-b56hqv74.js} +3 -3
- package/dist/chunks/{workerd-bkk2wfbz.js → location-bkk2wfbz.js} +1 -1
- package/dist/chunks/{workerd-hspp8v12.js → location-bx47k33v.js} +2 -2
- package/dist/chunks/{workerd-w9v2ckxc.js → location-ctk1s78a.js} +32 -32
- package/dist/chunks/{workerd-atk2et4d.js → location-cv0ajwc9.js} +2 -2
- package/dist/chunks/{workerd-xxxx0904.js → location-ewe1fzkk.js} +2 -2
- package/dist/chunks/{workerd-19dc7z8q.js → location-ftaz8n62.js} +2 -2
- package/dist/chunks/{workerd-g0rzwe5g.js → location-ghk96rjy.js} +7 -7
- package/dist/chunks/{workerd-6br0y3ag.js → location-h8ws5ssa.js} +1 -1
- package/dist/chunks/{workerd-yet0vexm.js → location-j4zqsxgy.js} +1 -1
- package/dist/chunks/{workerd-6v3300ee.js → location-jkvn5n4s.js} +2 -2
- package/dist/chunks/{workerd-3nkz1tfz.js → location-p74g497q.js} +5 -5
- package/dist/chunks/{workerd-67kmywtk.js → location-ptey1p5v.js} +2 -2
- package/dist/chunks/{workerd-q8cqvm6j.js → location-qbh90c1d.js} +2 -2
- package/dist/chunks/{workerd-74sf36cc.js → location-rf01ee6q.js} +1 -1
- package/dist/chunks/{workerd-cqhyyp3f.js → location-rntbwr87.js} +2 -2
- package/dist/chunks/{workerd-kr61w04k.js → location-sstsrjtg.js} +7 -7
- package/dist/chunks/{workerd-77mqkxfz.js → location-ssyxw8nc.js} +2 -2
- package/dist/chunks/{workerd-5s6jxak8.js → location-tz3mehbr.js} +6 -6
- package/dist/chunks/{workerd-0m09ryg3.js → location-vb5yx5r0.js} +2 -2
- package/dist/chunks/{workerd-nvdz1s2r.js → location-vbzm2jgm.js} +2 -2
- package/dist/chunks/{workerd-xsrtpxyd.js → location-vpz7f20y.js} +4 -4
- package/dist/chunks/{workerd-98r9ymd0.js → location-wk806w00.js} +6 -34
- package/dist/chunks/{workerd-ej45n981.js → location-yehasrps.js} +2 -2
- package/dist/chunks/{workerd-yfz2nrjq.js → location-yfz2nrjq.js} +1 -1
- package/dist/chunks/{workerd-m0y4004e.js → location-z6sxg6td.js} +1 -1
- package/dist/chunks/{workerd-pxdkane5.js → location-zessacar.js} +2 -2
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +3 -3
- package/dist/fetch.d.ts +26 -26
- package/dist/fetch.js +50 -50
- 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 +1 -1
- 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/voice.d.ts +1 -1
- package/dist/handlers/voice.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 +44 -44
- package/dist/location.d.ts +1 -1
- package/dist/location.js +4 -4
- 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 +27 -27
- package/dist/process.js +52 -52
- package/dist/pty-environment.js +1 -1
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +2 -2
- package/dist/routes.js +47 -47
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +51 -51
- package/package.json +11 -11
- /package/dist/chunks/{workerd-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workerd-erzfdgke.js → location-erzfdgke.js} +0 -0
- /package/dist/chunks/{workerd-h6rt5k9s.js → location-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{workerd-q4bn6dy8.js → location-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{workerd-smaf4a18.js → location-smaf4a18.js} +0 -0
- /package/dist/chunks/{workerd-yc7nft6q.js → location-yc7nft6q.js} +0 -0
|
@@ -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/http-api/HttpApiGroup").Service<"server", "server.session">, never,
|
|
3
|
+
export declare const SessionHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.session">, never, import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/database/database").Service> | Session.Service | SessionTransfer.Service | import("../middleware/session-location").SessionLocationMiddleware | (import("@opencode/protocol/middleware/authorization").Authorization | import("../middleware/form-location").FormLocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware)>;
|
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/location-wk806w00.js";
|
|
4
|
+
import"../chunks/location-9snwnvf8.js";
|
|
5
|
+
import"../chunks/location-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/location-4hhhes7w.js";
|
|
7
|
+
import"../chunks/location-b56hqv74.js";
|
|
8
|
+
import"../chunks/location-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/http-api/HttpApiGroup").Service<"server", "server.shell">, never, import("@opencode/protocol/middleware/
|
|
1
|
+
export declare const ShellHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.shell">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|
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/location-4dv9a668.js";
|
|
4
|
+
import"../chunks/location-9snwnvf8.js";
|
|
5
|
+
import"../chunks/location-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/location-4hhhes7w.js";
|
|
7
|
+
import"../chunks/location-b56hqv74.js";
|
|
8
|
+
import"../chunks/location-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/http-api/HttpApiGroup").Service<"server", "server.skill">, never, import("@opencode/protocol/middleware/
|
|
1
|
+
export declare const SkillHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.skill">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|
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/location-bx47k33v.js";
|
|
4
|
+
import"../chunks/location-9snwnvf8.js";
|
|
5
|
+
import"../chunks/location-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/location-4hhhes7w.js";
|
|
7
|
+
import"../chunks/location-b56hqv74.js";
|
|
8
|
+
import"../chunks/location-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/http-api/HttpApiGroup").Service<"server", "server.vcs">, never, import("@opencode/protocol/middleware/
|
|
4
|
+
export declare const VcsHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.vcs">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | Bus.Service | Project.Service | LocationServiceMap.Service>;
|
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/location-qbh90c1d.js";
|
|
4
|
+
import"../chunks/location-9snwnvf8.js";
|
|
5
|
+
import"../chunks/location-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/location-4hhhes7w.js";
|
|
7
|
+
import"../chunks/location-b56hqv74.js";
|
|
8
|
+
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
VcsHandler2 as VcsHandler
|
|
11
11
|
};
|
package/dist/handlers/voice.d.ts
CHANGED
|
@@ -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 VoiceHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.voice">, never, Global.Service | LocationServiceMap.Service | (import("@opencode/protocol/middleware/
|
|
3
|
+
export declare const VoiceHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.voice">, never, Global.Service | LocationServiceMap.Service | (import("@opencode/protocol/middleware/authorization").Authorization | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware)>;
|
package/dist/handlers/voice.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VoiceHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/location-686p2xfa.js";
|
|
4
|
+
import"../chunks/location-9snwnvf8.js";
|
|
5
|
+
import"../chunks/location-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/location-4hhhes7w.js";
|
|
7
|
+
import"../chunks/location-b56hqv74.js";
|
|
8
|
+
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
VoiceHandler2 as VoiceHandler
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const WebSearchHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.websearch">, never, import("@opencode/protocol/middleware/
|
|
1
|
+
export declare const WebSearchHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.websearch">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|
|
@@ -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/location-cv0ajwc9.js";
|
|
4
|
+
import"../chunks/location-9snwnvf8.js";
|
|
5
|
+
import"../chunks/location-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/location-4hhhes7w.js";
|
|
7
|
+
import"../chunks/location-b56hqv74.js";
|
|
8
|
+
import"../chunks/location-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/http-api/HttpApiGroup").Service<"server", "server.worktree">, never, import("@opencode/protocol/middleware/
|
|
2
|
+
export declare const WorktreeHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.worktree">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | 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/location-7vd5668a.js";
|
|
4
|
+
import"../chunks/location-9snwnvf8.js";
|
|
5
|
+
import"../chunks/location-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/location-4hhhes7w.js";
|
|
7
|
+
import"../chunks/location-b56hqv74.js";
|
|
8
|
+
import"../chunks/location-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/http-api/HttpApiGroup").Service<"server", "server.
|
|
2
|
+
export declare const handlers: Layer.Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.agent"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.command"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.config"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.credential"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.debug"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.event"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.experimental"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.form"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.fs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.generate"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.integration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.location"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.mcp"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.message"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.migration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.model"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.permission"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.plugin"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.project"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.provider"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.pty"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.reference"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.rpc"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.server"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.session"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.shell"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.skill"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.vcs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.voice"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.websearch"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.worktree">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("./auth").Config | import("./middleware/form-location").FormLocationMiddleware | import("./location").LocationMiddleware | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/database/database").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/project").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/credential").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/wellknown").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("effect/http/HttpRouter").Request<"Requires", import("./server-info").Service> | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | 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/instance").Service | import("@opencode/core/session").Service | import("@opencode/core/worktree").Service | import("@opencode/core/location-service-map").Service | import("@opencode/core/pty/ticket").Service | import("@opencode/core/session/transfer").Service | import("./pairing").Service | import("./pty-environment").Service | import("./middleware/session-location").SessionLocationMiddleware>;
|
package/dist/handlers.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handlers2
|
|
3
|
-
} from "./chunks/
|
|
4
|
-
import"./chunks/
|
|
5
|
-
import"./chunks/
|
|
6
|
-
import"./chunks/
|
|
7
|
-
import"./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
10
|
-
import"./chunks/
|
|
11
|
-
import"./chunks/
|
|
12
|
-
import"./chunks/
|
|
13
|
-
import"./chunks/
|
|
14
|
-
import"./chunks/
|
|
15
|
-
import"./chunks/
|
|
16
|
-
import"./chunks/
|
|
17
|
-
import"./chunks/
|
|
18
|
-
import"./chunks/
|
|
19
|
-
import"./chunks/
|
|
20
|
-
import"./chunks/
|
|
21
|
-
import"./chunks/
|
|
22
|
-
import"./chunks/
|
|
23
|
-
import"./chunks/
|
|
24
|
-
import"./chunks/
|
|
25
|
-
import"./chunks/
|
|
26
|
-
import"./chunks/
|
|
27
|
-
import"./chunks/
|
|
28
|
-
import"./chunks/
|
|
29
|
-
import"./chunks/
|
|
30
|
-
import"./chunks/
|
|
31
|
-
import"./chunks/
|
|
32
|
-
import"./chunks/
|
|
33
|
-
import"./chunks/
|
|
34
|
-
import"./chunks/
|
|
35
|
-
import"./chunks/
|
|
36
|
-
import"./chunks/
|
|
37
|
-
import"./chunks/
|
|
38
|
-
import"./chunks/
|
|
39
|
-
import"./chunks/
|
|
40
|
-
import"./chunks/
|
|
41
|
-
import"./chunks/
|
|
42
|
-
import"./chunks/
|
|
43
|
-
import"./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
3
|
+
} from "./chunks/location-ctk1s78a.js";
|
|
4
|
+
import"./chunks/location-z6sxg6td.js";
|
|
5
|
+
import"./chunks/location-8137b89p.js";
|
|
6
|
+
import"./chunks/location-43r48nqn.js";
|
|
7
|
+
import"./chunks/location-vbzm2jgm.js";
|
|
8
|
+
import"./chunks/location-rf01ee6q.js";
|
|
9
|
+
import"./chunks/location-33prfkkd.js";
|
|
10
|
+
import"./chunks/location-zessacar.js";
|
|
11
|
+
import"./chunks/location-vb5yx5r0.js";
|
|
12
|
+
import"./chunks/location-97eb2r3v.js";
|
|
13
|
+
import"./chunks/location-yehasrps.js";
|
|
14
|
+
import"./chunks/location-71n7prbj.js";
|
|
15
|
+
import"./chunks/location-686p2xfa.js";
|
|
16
|
+
import"./chunks/location-wk806w00.js";
|
|
17
|
+
import"./chunks/location-7vd5668a.js";
|
|
18
|
+
import"./chunks/location-10hxeg6b.js";
|
|
19
|
+
import"./chunks/location-cv0ajwc9.js";
|
|
20
|
+
import"./chunks/location-ptey1p5v.js";
|
|
21
|
+
import"./chunks/location-p74g497q.js";
|
|
22
|
+
import"./chunks/location-h6rt5k9s.js";
|
|
23
|
+
import"./chunks/location-4dv9a668.js";
|
|
24
|
+
import"./chunks/location-h8ws5ssa.js";
|
|
25
|
+
import"./chunks/location-08x9tjee.js";
|
|
26
|
+
import"./chunks/location-rntbwr87.js";
|
|
27
|
+
import"./chunks/location-4d1eemzq.js";
|
|
28
|
+
import"./chunks/location-5zsr2h86.js";
|
|
29
|
+
import"./chunks/location-ssyxw8nc.js";
|
|
30
|
+
import"./chunks/location-bx47k33v.js";
|
|
31
|
+
import"./chunks/location-ewe1fzkk.js";
|
|
32
|
+
import"./chunks/location-ftaz8n62.js";
|
|
33
|
+
import"./chunks/location-qbh90c1d.js";
|
|
34
|
+
import"./chunks/location-0d864bga.js";
|
|
35
|
+
import"./chunks/location-jkvn5n4s.js";
|
|
36
|
+
import"./chunks/location-anm12x33.js";
|
|
37
|
+
import"./chunks/location-bkk2wfbz.js";
|
|
38
|
+
import"./chunks/location-ghk96rjy.js";
|
|
39
|
+
import"./chunks/location-4g2hx1xt.js";
|
|
40
|
+
import"./chunks/location-sstsrjtg.js";
|
|
41
|
+
import"./chunks/location-9snwnvf8.js";
|
|
42
|
+
import"./chunks/location-j4zqsxgy.js";
|
|
43
|
+
import"./chunks/location-4hhhes7w.js";
|
|
44
|
+
import"./chunks/location-b56hqv74.js";
|
|
45
|
+
import"./chunks/location-smaf4a18.js";
|
|
46
|
+
import"./chunks/location-q4bn6dy8.js";
|
|
47
47
|
export {
|
|
48
48
|
handlers2 as handlers
|
|
49
49
|
};
|
package/dist/location.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare const awaitPlugins: Effect.Effect<void, ServiceUnavailableError,
|
|
|
23
23
|
export declare function response<A, E, R>(data: Effect.Effect<A, E, R>): Effect.Effect<{
|
|
24
24
|
location: Location.Info;
|
|
25
25
|
data: A;
|
|
26
|
-
}, E, Location.Service
|
|
26
|
+
}, E, R | Location.Service>;
|
|
27
27
|
export declare const sessionInfo: (sessions: Session.Interface, sessionID: unknown) => Effect.Effect<Session.SessionSchema.Info, InvalidRequestError | import("@opencode/protocol/errors").SessionNotFoundError, never>;
|
|
28
28
|
export declare function requestRef(request: HttpServerRequest.HttpServerRequest): Location.Ref;
|
|
29
29
|
export declare const layer: Layer.Layer<LocationMiddleware, never, LocationServiceMap.Service>;
|
package/dist/location.js
CHANGED
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
response2,
|
|
6
6
|
sessionInfo2,
|
|
7
7
|
requestRef2,
|
|
8
|
-
|
|
9
|
-
} from "./chunks/
|
|
10
|
-
import"./chunks/
|
|
8
|
+
layer5
|
|
9
|
+
} from "./chunks/location-b56hqv74.js";
|
|
10
|
+
import"./chunks/location-smaf4a18.js";
|
|
11
11
|
export {
|
|
12
12
|
LocationMiddleware2 as LocationMiddleware,
|
|
13
13
|
awaitPlugins2 as awaitPlugins,
|
|
14
|
-
|
|
14
|
+
layer5 as layer,
|
|
15
15
|
locationErrors2 as locationErrors,
|
|
16
16
|
requestRef2 as requestRef,
|
|
17
17
|
response2 as response,
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
authorizedRequest2,
|
|
4
4
|
authorizationLayer2,
|
|
5
5
|
Authorization2
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
6
|
+
} from "../chunks/location-yfz2nrjq.js";
|
|
7
|
+
import"../chunks/location-anm12x33.js";
|
|
8
8
|
export {
|
|
9
9
|
Authorization2 as Authorization,
|
|
10
10
|
authorizationLayer2 as authorizationLayer,
|
|
@@ -14,5 +14,5 @@ declare const FormLocationMiddleware_base: HttpApiMiddleware.ServiceClass<FormLo
|
|
|
14
14
|
}, HttpApiMiddleware.HttpApiMiddleware<Instance.Services, readonly [typeof InvalidRequestError, typeof SessionNotFoundError, typeof LocationNotFoundError], never>>;
|
|
15
15
|
export declare class FormLocationMiddleware extends FormLocationMiddleware_base {
|
|
16
16
|
}
|
|
17
|
-
export declare const formLocationLayer: Layer.Layer<FormLocationMiddleware, never,
|
|
17
|
+
export declare const formLocationLayer: Layer.Layer<FormLocationMiddleware, never, Instance.Service | Session.Service | LocationServiceMap.Service>;
|
|
18
18
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormLocationMiddleware2,
|
|
3
3
|
formLocationLayer2
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/location-4hhhes7w.js";
|
|
5
|
+
import"../chunks/location-b56hqv74.js";
|
|
6
|
+
import"../chunks/location-smaf4a18.js";
|
|
7
7
|
export {
|
|
8
8
|
FormLocationMiddleware2 as FormLocationMiddleware,
|
|
9
9
|
formLocationLayer2 as formLocationLayer
|
|
@@ -13,5 +13,5 @@ declare const SessionLocationMiddleware_base: HttpApiMiddleware.ServiceClass<Ses
|
|
|
13
13
|
}, HttpApiMiddleware.HttpApiMiddleware<Instance.Services, readonly [typeof InvalidRequestError, typeof SessionNotFoundError, typeof LocationNotFoundError], never>>;
|
|
14
14
|
export declare class SessionLocationMiddleware extends SessionLocationMiddleware_base {
|
|
15
15
|
}
|
|
16
|
-
export declare const sessionLocationLayer: Layer.Layer<SessionLocationMiddleware, never,
|
|
16
|
+
export declare const sessionLocationLayer: Layer.Layer<SessionLocationMiddleware, never, Instance.Service | Session.Service>;
|
|
17
17
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionLocationMiddleware2,
|
|
3
3
|
sessionLocationLayer2
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/location-j4zqsxgy.js";
|
|
5
|
+
import"../chunks/location-b56hqv74.js";
|
|
6
|
+
import"../chunks/location-smaf4a18.js";
|
|
7
7
|
export {
|
|
8
8
|
SessionLocationMiddleware2 as SessionLocationMiddleware,
|
|
9
9
|
sessionLocationLayer2 as sessionLocationLayer
|
package/dist/pairing.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service5,
|
|
3
3
|
node3,
|
|
4
4
|
exports_pairing
|
|
5
|
-
} from "./chunks/
|
|
5
|
+
} from "./chunks/location-sstsrjtg.js";
|
|
6
6
|
export {
|
|
7
7
|
exports_pairing as ServerPairing,
|
|
8
|
-
|
|
8
|
+
Service5 as Service,
|
|
9
9
|
node3 as node
|
|
10
10
|
};
|
package/dist/process.d.ts
CHANGED
|
@@ -8,54 +8,54 @@ export interface Lifecycle<E = never, R = never> {
|
|
|
8
8
|
type App = Effect.Effect<HttpServerResponse.HttpServerResponse, unknown, HttpServerRequest.HttpServerRequest | Scope.Scope>;
|
|
9
9
|
export type Transform = (app: App) => App;
|
|
10
10
|
export declare const start: <E, R>(options: {
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
readonly fetch?: boolean | undefined;
|
|
11
|
+
readonly app?: {
|
|
12
|
+
readonly name?: string | undefined;
|
|
13
|
+
readonly version?: string | undefined;
|
|
14
|
+
readonly channel?: string | undefined;
|
|
16
15
|
} | undefined;
|
|
17
|
-
readonly
|
|
18
|
-
|
|
16
|
+
readonly hostname?: string | undefined;
|
|
17
|
+
readonly port?: number | undefined;
|
|
18
|
+
readonly password?: string | undefined;
|
|
19
|
+
readonly cors?: readonly string[] | undefined;
|
|
20
|
+
readonly simulation?: boolean | undefined;
|
|
21
|
+
readonly database?: {
|
|
22
|
+
readonly path?: string | undefined;
|
|
19
23
|
} | undefined;
|
|
20
24
|
readonly pty?: {
|
|
21
|
-
readonly root?: string | undefined;
|
|
22
25
|
readonly handoff?: {
|
|
23
26
|
readonly directory: string;
|
|
24
27
|
readonly instanceID: string;
|
|
25
28
|
readonly ticket: string;
|
|
26
29
|
readonly expiresAt: number;
|
|
27
30
|
} | undefined;
|
|
31
|
+
readonly root?: string | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly events?: {
|
|
34
|
+
readonly persist?: boolean | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly models?: {
|
|
37
|
+
readonly url?: string | undefined;
|
|
38
|
+
readonly file?: string | undefined;
|
|
39
|
+
readonly fetch?: boolean | undefined;
|
|
40
|
+
readonly snapshot?: boolean | undefined;
|
|
28
41
|
} | undefined;
|
|
29
42
|
readonly config?: {
|
|
30
43
|
readonly directory?: string | undefined;
|
|
31
44
|
readonly project?: boolean | undefined;
|
|
32
|
-
readonly content?: string | undefined;
|
|
33
|
-
readonly file?: string | undefined;
|
|
34
45
|
readonly claude?: boolean | undefined;
|
|
46
|
+
readonly file?: string | undefined;
|
|
47
|
+
readonly content?: string | undefined;
|
|
35
48
|
} | undefined;
|
|
36
|
-
readonly port?: number | undefined;
|
|
37
|
-
readonly fs?: {
|
|
38
|
-
readonly fff?: boolean | undefined;
|
|
39
|
-
readonly filewatcher?: boolean | undefined;
|
|
40
|
-
} | undefined;
|
|
41
|
-
readonly hostname?: string | undefined;
|
|
42
|
-
readonly cors?: readonly string[] | undefined;
|
|
43
49
|
readonly windows?: {
|
|
44
50
|
readonly gitbash?: string | undefined;
|
|
45
51
|
} | undefined;
|
|
46
|
-
readonly
|
|
47
|
-
|
|
48
|
-
readonly
|
|
49
|
-
readonly name?: string | undefined;
|
|
50
|
-
readonly channel?: string | undefined;
|
|
51
|
-
} | undefined;
|
|
52
|
-
readonly simulation?: boolean | undefined;
|
|
53
|
-
readonly database?: {
|
|
54
|
-
readonly path?: string | undefined;
|
|
52
|
+
readonly fs?: {
|
|
53
|
+
readonly filewatcher?: boolean | undefined;
|
|
54
|
+
readonly fff?: boolean | undefined;
|
|
55
55
|
} | undefined;
|
|
56
56
|
}, lifecycle?: Lifecycle<E, R> | undefined, transform?: Transform | undefined, remoteURLs?: (() => ReadonlyArray<string>) | undefined) => Effect.Effect<{
|
|
57
57
|
address: NetAddress.SocketAddress;
|
|
58
58
|
shutdown: Effect.Effect<void, never, never>;
|
|
59
59
|
updateAvailable: (version: string) => Effect.Effect<void, never, never>;
|
|
60
60
|
updated: (version: string) => Effect.Effect<void, never, never>;
|
|
61
|
-
},
|
|
61
|
+
}, E | Error, R | Scope.Scope>;
|