@opencode/server 2.0.32 → 2.1.0
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-gb66h69v.js → service-status-026wrard.js} +3 -3
- package/dist/chunks/{workerd-98r9ymd0.js → service-status-10jzh2zk.js} +6 -34
- package/dist/chunks/{workerd-1ahadpvw.js → service-status-1ahadpvw.js} +1 -1
- package/dist/chunks/{workerd-wtxh433d.js → service-status-2s3n8phw.js} +2 -2
- package/dist/chunks/{workerd-3nkz1tfz.js → service-status-3j8kyrsr.js} +7 -7
- package/dist/chunks/{workerd-19dc7z8q.js → service-status-4vaqgjp8.js} +2 -2
- package/dist/chunks/{workerd-0m09ryg3.js → service-status-56rkpa1p.js} +2 -2
- package/dist/chunks/{workerd-6kta5392.js → service-status-5bchp9s2.js} +2 -2
- package/dist/chunks/{workerd-xsrtpxyd.js → service-status-5w24ch67.js} +4 -4
- package/dist/chunks/{workerd-rmttg9h7.js → service-status-7q8ata5b.js} +1 -1
- package/dist/chunks/{workerd-sq0m2new.js → service-status-9h3s5d39.js} +18 -4
- package/dist/chunks/{workerd-67kmywtk.js → service-status-aajxxgqb.js} +2 -2
- package/dist/chunks/{workerd-anm12x33.js → service-status-anm12x33.js} +1 -1
- package/dist/chunks/{workerd-gx2yvssc.js → service-status-dc18tjnc.js} +3 -3
- package/dist/chunks/{workerd-v1jdrp9c.js → service-status-e2cx9grb.js} +1 -1
- package/dist/chunks/{workerd-atk2et4d.js → service-status-g0g9ma1m.js} +2 -2
- package/dist/chunks/{workerd-6t8za67t.js → service-status-g1bp01xw.js} +2 -2
- package/dist/chunks/{workerd-gqq6kfhc.js → service-status-gqq6kfhc.js} +1 -1
- package/dist/chunks/{workerd-w9v2ckxc.js → service-status-h29z6nze.js} +32 -32
- package/dist/chunks/{workerd-vtvdbwhg.js → service-status-hxgz4x38.js} +2 -2
- package/dist/chunks/{workerd-nvdz1s2r.js → service-status-j3626vk8.js} +2 -2
- package/dist/chunks/{workerd-hspp8v12.js → service-status-j66ekhc9.js} +2 -2
- package/dist/chunks/{workerd-g0rzwe5g.js → service-status-k7wggcq2.js} +7 -7
- package/dist/chunks/{workerd-zbkyrdqr.js → service-status-kmgak63h.js} +17 -17
- package/dist/chunks/{workerd-m0y4004e.js → service-status-ksvmmk2r.js} +1 -1
- package/dist/chunks/{workerd-pxdkane5.js → service-status-n3hqkreg.js} +2 -2
- package/dist/chunks/{workerd-n9y13hgv.js → service-status-n9y13hgv.js} +1 -1
- package/dist/chunks/{workerd-q8cqvm6j.js → service-status-nmcxqxxx.js} +2 -2
- package/dist/chunks/{workerd-6br0y3ag.js → service-status-qbrxhger.js} +1 -1
- package/dist/chunks/{workerd-kr61w04k.js → service-status-rbn15j6z.js} +8 -8
- package/dist/chunks/{workerd-77mqkxfz.js → service-status-rrf9gkkq.js} +2 -2
- package/dist/chunks/{workerd-q282hknm.js → service-status-rys6nden.js} +2 -2
- package/dist/chunks/{workerd-aqzwjzmb.js → service-status-scq1j2yg.js} +1 -1
- package/dist/chunks/{workerd-j8p25vmv.js → service-status-t7dxwnb0.js} +2 -2
- package/dist/chunks/{workerd-41c7f34m.js → service-status-tefn0j7n.js} +8 -8
- package/dist/chunks/{workerd-74sf36cc.js → service-status-vg73xc24.js} +1 -1
- package/dist/chunks/{workerd-xxxx0904.js → service-status-vkgak0vv.js} +2 -2
- package/dist/chunks/{workerd-5s6jxak8.js → service-status-vrkptjpq.js} +6 -6
- package/dist/chunks/{workerd-6v3300ee.js → service-status-vy0x6yc6.js} +2 -2
- package/dist/chunks/{workerd-bkk2wfbz.js → service-status-wv5twc2g.js} +8 -8
- package/dist/chunks/{workerd-ej45n981.js → service-status-xt7xrv1r.js} +2 -2
- package/dist/chunks/{workerd-cqhyyp3f.js → service-status-y7p3rgqn.js} +2 -2
- package/dist/chunks/{workerd-yet0vexm.js → service-status-yet0vexm.js} +1 -1
- package/dist/chunks/{workerd-yfz2nrjq.js → service-status-yfz2nrjq.js} +1 -1
- package/dist/chunks/{workerd-gv627jgt.js → service-status-zfjz2b4g.js} +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +1 -1
- 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 +2 -2
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.d.ts +1 -1
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.d.ts +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +5 -5
- package/dist/process.d.ts +27 -27
- package/dist/process.js +52 -52
- package/dist/pty-environment.js +7 -7
- 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 → service-status-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workerd-erzfdgke.js → service-status-erzfdgke.js} +0 -0
- /package/dist/chunks/{workerd-h6rt5k9s.js → service-status-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{workerd-q4bn6dy8.js → service-status-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{workerd-smaf4a18.js → service-status-smaf4a18.js} +0 -0
- /package/dist/chunks/{workerd-yc7nft6q.js → service-status-yc7nft6q.js} +0 -0
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/service-status-ksvmmk2r.js";
|
|
4
|
+
import"../chunks/service-status-026wrard.js";
|
|
5
|
+
import"../chunks/service-status-yet0vexm.js";
|
|
6
|
+
import"../chunks/service-status-1ahadpvw.js";
|
|
7
|
+
import"../chunks/service-status-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/service-status-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/http-api/HttpApiGroup").Service<"server", "server.server">, never, ServerAuth.Config |
|
|
4
|
+
export declare const ServerHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.server">, never, ServerAuth.Config | import("effect/http/HttpRouter").Request<"Requires", ServerInfo.Service> | ServerPairing.Service | (import("@opencode/protocol/middleware/authorization").Authorization | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware)>;
|
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/service-status-tefn0j7n.js";
|
|
4
|
+
import"../chunks/service-status-rbn15j6z.js";
|
|
5
|
+
import"../chunks/service-status-026wrard.js";
|
|
6
|
+
import"../chunks/service-status-yet0vexm.js";
|
|
7
|
+
import"../chunks/service-status-1ahadpvw.js";
|
|
8
|
+
import"../chunks/service-status-k7wggcq2.js";
|
|
9
|
+
import"../chunks/service-status-gqq6kfhc.js";
|
|
10
|
+
import"../chunks/service-status-smaf4a18.js";
|
|
11
|
+
import"../chunks/service-status-anm12x33.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/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/service-status-10jzh2zk.js";
|
|
4
|
+
import"../chunks/service-status-026wrard.js";
|
|
5
|
+
import"../chunks/service-status-yet0vexm.js";
|
|
6
|
+
import"../chunks/service-status-1ahadpvw.js";
|
|
7
|
+
import"../chunks/service-status-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/service-status-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/service-status-hxgz4x38.js";
|
|
4
|
+
import"../chunks/service-status-026wrard.js";
|
|
5
|
+
import"../chunks/service-status-yet0vexm.js";
|
|
6
|
+
import"../chunks/service-status-1ahadpvw.js";
|
|
7
|
+
import"../chunks/service-status-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/service-status-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/service-status-j66ekhc9.js";
|
|
4
|
+
import"../chunks/service-status-026wrard.js";
|
|
5
|
+
import"../chunks/service-status-yet0vexm.js";
|
|
6
|
+
import"../chunks/service-status-1ahadpvw.js";
|
|
7
|
+
import"../chunks/service-status-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/service-status-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/service-status-nmcxqxxx.js";
|
|
4
|
+
import"../chunks/service-status-026wrard.js";
|
|
5
|
+
import"../chunks/service-status-yet0vexm.js";
|
|
6
|
+
import"../chunks/service-status-1ahadpvw.js";
|
|
7
|
+
import"../chunks/service-status-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/service-status-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/service-status-rys6nden.js";
|
|
4
|
+
import"../chunks/service-status-026wrard.js";
|
|
5
|
+
import"../chunks/service-status-yet0vexm.js";
|
|
6
|
+
import"../chunks/service-status-1ahadpvw.js";
|
|
7
|
+
import"../chunks/service-status-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/service-status-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/service-status-g0g9ma1m.js";
|
|
4
|
+
import"../chunks/service-status-026wrard.js";
|
|
5
|
+
import"../chunks/service-status-yet0vexm.js";
|
|
6
|
+
import"../chunks/service-status-1ahadpvw.js";
|
|
7
|
+
import"../chunks/service-status-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/service-status-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/service-status-7q8ata5b.js";
|
|
4
|
+
import"../chunks/service-status-026wrard.js";
|
|
5
|
+
import"../chunks/service-status-yet0vexm.js";
|
|
6
|
+
import"../chunks/service-status-1ahadpvw.js";
|
|
7
|
+
import"../chunks/service-status-gqq6kfhc.js";
|
|
8
|
+
import"../chunks/service-status-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/service-status-h29z6nze.js";
|
|
4
|
+
import"./chunks/service-status-rrf9gkkq.js";
|
|
5
|
+
import"./chunks/service-status-aajxxgqb.js";
|
|
6
|
+
import"./chunks/service-status-vy0x6yc6.js";
|
|
7
|
+
import"./chunks/service-status-g0g9ma1m.js";
|
|
8
|
+
import"./chunks/service-status-zfjz2b4g.js";
|
|
9
|
+
import"./chunks/service-status-e2cx9grb.js";
|
|
10
|
+
import"./chunks/service-status-qbrxhger.js";
|
|
11
|
+
import"./chunks/service-status-dc18tjnc.js";
|
|
12
|
+
import"./chunks/service-status-4vaqgjp8.js";
|
|
13
|
+
import"./chunks/service-status-tefn0j7n.js";
|
|
14
|
+
import"./chunks/service-status-j66ekhc9.js";
|
|
15
|
+
import"./chunks/service-status-5bchp9s2.js";
|
|
16
|
+
import"./chunks/service-status-9h3s5d39.js";
|
|
17
|
+
import"./chunks/service-status-xt7xrv1r.js";
|
|
18
|
+
import"./chunks/service-status-2s3n8phw.js";
|
|
19
|
+
import"./chunks/service-status-ksvmmk2r.js";
|
|
20
|
+
import"./chunks/service-status-56rkpa1p.js";
|
|
21
|
+
import"./chunks/service-status-3j8kyrsr.js";
|
|
22
|
+
import"./chunks/service-status-g1bp01xw.js";
|
|
23
|
+
import"./chunks/service-status-7q8ata5b.js";
|
|
24
|
+
import"./chunks/service-status-rys6nden.js";
|
|
25
|
+
import"./chunks/service-status-vg73xc24.js";
|
|
26
|
+
import"./chunks/service-status-n3hqkreg.js";
|
|
27
|
+
import"./chunks/service-status-j3626vk8.js";
|
|
28
|
+
import"./chunks/service-status-t7dxwnb0.js";
|
|
29
|
+
import"./chunks/service-status-nmcxqxxx.js";
|
|
30
|
+
import"./chunks/service-status-scq1j2yg.js";
|
|
31
|
+
import"./chunks/service-status-h6rt5k9s.js";
|
|
32
|
+
import"./chunks/service-status-hxgz4x38.js";
|
|
33
|
+
import"./chunks/service-status-vkgak0vv.js";
|
|
34
|
+
import"./chunks/service-status-10jzh2zk.js";
|
|
35
|
+
import"./chunks/service-status-y7p3rgqn.js";
|
|
36
|
+
import"./chunks/service-status-rbn15j6z.js";
|
|
37
|
+
import"./chunks/service-status-026wrard.js";
|
|
38
|
+
import"./chunks/service-status-yet0vexm.js";
|
|
39
|
+
import"./chunks/service-status-1ahadpvw.js";
|
|
40
|
+
import"./chunks/service-status-k7wggcq2.js";
|
|
41
|
+
import"./chunks/service-status-gqq6kfhc.js";
|
|
42
|
+
import"./chunks/service-status-smaf4a18.js";
|
|
43
|
+
import"./chunks/service-status-q4bn6dy8.js";
|
|
44
|
+
import"./chunks/service-status-n9y13hgv.js";
|
|
45
|
+
import"./chunks/service-status-anm12x33.js";
|
|
46
|
+
import"./chunks/service-status-wv5twc2g.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
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
sessionInfo2,
|
|
7
7
|
requestRef2,
|
|
8
8
|
layer3
|
|
9
|
-
} from "./chunks/
|
|
10
|
-
import"./chunks/
|
|
9
|
+
} from "./chunks/service-status-gqq6kfhc.js";
|
|
10
|
+
import"./chunks/service-status-smaf4a18.js";
|
|
11
11
|
export {
|
|
12
12
|
LocationMiddleware2 as LocationMiddleware,
|
|
13
13
|
awaitPlugins2 as awaitPlugins,
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
authorizedRequest2,
|
|
4
4
|
authorizationLayer2,
|
|
5
5
|
Authorization2
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
6
|
+
} from "../chunks/service-status-yfz2nrjq.js";
|
|
7
|
+
import"../chunks/service-status-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/service-status-1ahadpvw.js";
|
|
5
|
+
import"../chunks/service-status-gqq6kfhc.js";
|
|
6
|
+
import"../chunks/service-status-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/service-status-yet0vexm.js";
|
|
5
|
+
import"../chunks/service-status-gqq6kfhc.js";
|
|
6
|
+
import"../chunks/service-status-smaf4a18.js";
|
|
7
7
|
export {
|
|
8
8
|
SessionLocationMiddleware2 as SessionLocationMiddleware,
|
|
9
9
|
sessionLocationLayer2 as sessionLocationLayer
|
package/dist/pairing.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service2,
|
|
3
|
+
node2,
|
|
4
4
|
exports_pairing
|
|
5
|
-
} from "./chunks/
|
|
5
|
+
} from "./chunks/service-status-rbn15j6z.js";
|
|
6
6
|
export {
|
|
7
7
|
exports_pairing as ServerPairing,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Service2 as Service,
|
|
9
|
+
node2 as node
|
|
10
10
|
};
|
package/dist/process.d.ts
CHANGED
|
@@ -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>;
|