@opencode/server 2.4.1 → 2.4.2
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 +45 -1
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{workerd-0rzj25w4.js → range-017ycvbx.js} +1 -1
- package/dist/chunks/{workerd-86dz2n4m.js → range-0x6anvwr.js} +2 -2
- package/dist/chunks/{workerd-39nnfjx1.js → range-39nnfjx1.js} +1 -1
- package/dist/chunks/{workerd-b1x3j2e8.js → range-3rtm8r3z.js} +2 -2
- package/dist/chunks/{workerd-7dtbad8d.js → range-3te71694.js} +7 -7
- package/dist/chunks/{workerd-nkfbbfe7.js → range-5pef2nys.js} +4 -4
- package/dist/chunks/{workerd-hgrkvk6s.js → range-6pm6ek88.js} +1 -1
- package/dist/chunks/{workerd-20wvj9q6.js → range-78jk0pbb.js} +2 -2
- package/dist/chunks/{workerd-kffke7z4.js → range-79t5cra8.js} +14 -10
- package/dist/chunks/{workerd-7x6cg3xs.js → range-7zz6jxhb.js} +2 -2
- package/dist/chunks/{workerd-8sb6qqpn.js → range-8sb6qqpn.js} +1 -1
- package/dist/chunks/{workerd-4r2ye500.js → range-9agv2b4c.js} +2 -2
- package/dist/chunks/{workerd-qahj7606.js → range-aexh791j.js} +1 -1
- package/dist/chunks/{workerd-zrptb2x8.js → range-amxj52x5.js} +2 -2
- package/dist/chunks/{workerd-s8t5gq7c.js → range-ay32z58n.js} +3 -3
- package/dist/chunks/{workerd-pv4dnzzq.js → range-b3sk57wg.js} +1 -1
- package/dist/chunks/{workerd-b7yt2ykh.js → range-c6kzfg4f.js} +2 -2
- package/dist/chunks/{workerd-w13ad1dk.js → range-cddawxec.js} +3 -3
- package/dist/chunks/{workerd-djr0jy89.js → range-djr0jy89.js} +1 -1
- package/dist/chunks/range-dnyhqccw.js +27 -0
- package/dist/chunks/{workerd-d0advawr.js → range-f93zkajm.js} +2 -2
- package/dist/chunks/{workerd-g23ffrnz.js → range-g23ffrnz.js} +2 -2
- package/dist/chunks/{workerd-wh07bcjv.js → range-gwtm9cga.js} +1 -1
- package/dist/chunks/{workerd-v0z8pce5.js → range-heqw7kpr.js} +2 -2
- package/dist/chunks/{workerd-6t6fd9bq.js → range-hgd5b6k8.js} +2 -2
- package/dist/chunks/{workerd-j4at0y5c.js → range-j4at0y5c.js} +1 -1
- package/dist/chunks/{workerd-8mfdzabk.js → range-jrjpfy36.js} +2 -2
- package/dist/chunks/{workerd-n6ypjnhz.js → range-jy2ammbg.js} +1 -1
- package/dist/chunks/{workerd-g97h7k0s.js → range-k2bx5n4e.js} +1 -1
- package/dist/chunks/{workerd-t8azv5ge.js → range-k518ftvz.js} +2 -2
- package/dist/chunks/{workerd-edwk6ehd.js → range-k58xpxwn.js} +1 -1
- package/dist/chunks/{workerd-w9jcwh65.js → range-kqr36gas.js} +7 -7
- package/dist/chunks/{workerd-8n1ypg70.js → range-mjhh6jvz.js} +3 -3
- package/dist/chunks/{workerd-myqk22k5.js → range-myqk22k5.js} +2 -2
- package/dist/chunks/{workerd-77gnb026.js → range-n8nthg9q.js} +4 -4
- package/dist/chunks/{workerd-b87bs0cf.js → range-pa4xtt5h.js} +2 -2
- package/dist/chunks/range-qpnw2qd1.js +58 -0
- package/dist/chunks/{workerd-rktygpea.js → range-rktygpea.js} +1 -1
- package/dist/chunks/{workerd-k26h7zjg.js → range-rn83nvae.js} +2 -2
- package/dist/chunks/{workerd-smaf4a18.js → range-rqgv9x42.js} +6 -2
- package/dist/chunks/{workerd-5dgtfnrn.js → range-s3d15g1k.js} +23 -17
- package/dist/chunks/{workerd-vxy32kc1.js → range-s557cdqw.js} +14 -4
- package/dist/chunks/{workerd-73tyf2qy.js → range-s6q3ch5r.js} +8 -8
- package/dist/chunks/{workerd-t62b1gmw.js → range-sqfq92mf.js} +2 -2
- package/dist/chunks/{workerd-j80tzjj3.js → range-stx1bw5w.js} +3 -3
- package/dist/chunks/{workerd-t32e1bbt.js → range-t32e1bbt.js} +1 -1
- package/dist/chunks/{workerd-g80pvn6e.js → range-tmb89r25.js} +2 -2
- package/dist/chunks/{workerd-jpqse2v9.js → range-tmbyzr8c.js} +35 -35
- package/dist/chunks/{workerd-4gbck4qg.js → range-vkj8vbyf.js} +2 -2
- package/dist/chunks/{workerd-p9wp66hf.js → range-vnpm7f9y.js} +1 -1
- package/dist/chunks/{workerd-3rn5pzng.js → range-wa6vk4hf.js} +14 -9
- package/dist/chunks/{workerd-bvm82fhd.js → range-wazndna9.js} +4 -4
- package/dist/chunks/{workerd-fvpjvjpp.js → range-wecgp61r.js} +7 -7
- package/dist/chunks/{workerd-7ydfwv45.js → range-x2qy7jg1.js} +1 -1
- package/dist/chunks/{workerd-dqfyxmp4.js → range-zs3ssmns.js} +26 -21
- package/dist/chunks/{workerd-p4zkxzv7.js → range-zx60pg73.js} +1 -1
- package/dist/content-headers.js +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.d.ts +57 -0
- package/dist/fetch.js +64 -61
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/artifact.js +3 -3
- package/dist/handlers/automation.js +2 -2
- package/dist/handlers/blob.js +3 -3
- package/dist/handlers/command.js +6 -6
- package/dist/handlers/config.js +6 -6
- package/dist/handlers/credential.js +7 -7
- package/dist/handlers/debug.js +6 -6
- package/dist/handlers/event.js +7 -7
- package/dist/handlers/form.js +6 -6
- package/dist/handlers/fs.js +8 -8
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/job.js +2 -2
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/machine.js +1 -1
- package/dist/handlers/mcp.js +8 -8
- package/dist/handlers/media.js +2 -2
- package/dist/handlers/message.js +7 -7
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.d.ts +1 -1
- package/dist/handlers/persistent-pty.js +17 -16
- package/dist/handlers/plugin.js +6 -6
- package/dist/handlers/project.js +6 -6
- package/dist/handlers/provider.js +6 -6
- package/dist/handlers/pty-socket.js +1 -1
- package/dist/handlers/pty.js +8 -8
- package/dist/handlers/push.d.ts +28 -0
- package/dist/handlers/push.js +6 -0
- package/dist/handlers/reference.js +6 -6
- package/dist/handlers/rpc.js +6 -6
- package/dist/handlers/server.js +9 -9
- package/dist/handlers/session-error.d.ts +3 -1
- package/dist/handlers/session-error.js +4 -2
- package/dist/handlers/session.js +7 -7
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/usage.js +6 -6
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/voice.js +6 -6
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.js +6 -6
- package/dist/handlers.d.ts +1 -1
- package/dist/handlers.js +54 -53
- package/dist/location.js +4 -4
- package/dist/media-uri.js +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/defect-response.js +1 -1
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.d.ts +1 -1
- package/dist/pairing.js +3 -3
- package/dist/process.js +62 -61
- package/dist/range.js +1 -1
- package/dist/request-site.js +2 -2
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +4 -2
- package/dist/routes.js +58 -57
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +1 -1
- package/dist/workerd.d.ts +20 -6
- package/dist/workerd.js +87 -81
- package/package.json +9 -9
- package/dist/chunks/workerd-4apj6a8e.js +0 -13
- /package/dist/chunks/{workerd-9rqn6x4v.js → range-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workerd-bd8755ek.js → range-bd8755ek.js} +0 -0
- /package/dist/chunks/{workerd-n26yr6pw.js → range-n26yr6pw.js} +0 -0
- /package/dist/chunks/{workerd-q187pxxd.js → range-q187pxxd.js} +0 -0
- /package/dist/chunks/{workerd-q4bn6dy8.js → range-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{workerd-xthc02cw.js → range-xthc02cw.js} +0 -0
- /package/dist/chunks/{workerd-yc7nft6q.js → range-yc7nft6q.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requireConnectable2,
|
|
3
3
|
IntegrationHandler2
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/range-9agv2b4c.js";
|
|
5
|
+
import"../chunks/range-ay32z58n.js";
|
|
6
|
+
import"../chunks/range-aexh791j.js";
|
|
7
|
+
import"../chunks/range-jy2ammbg.js";
|
|
8
|
+
import"../chunks/range-stx1bw5w.js";
|
|
9
|
+
import"../chunks/range-rqgv9x42.js";
|
|
10
10
|
export {
|
|
11
11
|
IntegrationHandler2 as IntegrationHandler,
|
|
12
12
|
requireConnectable2 as requireConnectable
|
package/dist/handlers/job.js
CHANGED
|
@@ -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/range-gwtm9cga.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
LocationHandler2 as LocationHandler
|
|
11
11
|
};
|
package/dist/handlers/machine.js
CHANGED
package/dist/handlers/mcp.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
McpHandler2
|
|
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/range-wazndna9.js";
|
|
4
|
+
import"../chunks/range-q187pxxd.js";
|
|
5
|
+
import"../chunks/range-ay32z58n.js";
|
|
6
|
+
import"../chunks/range-aexh791j.js";
|
|
7
|
+
import"../chunks/range-jy2ammbg.js";
|
|
8
|
+
import"../chunks/range-stx1bw5w.js";
|
|
9
|
+
import"../chunks/range-rqgv9x42.js";
|
|
10
|
+
import"../chunks/range-q4bn6dy8.js";
|
|
11
11
|
export {
|
|
12
12
|
McpHandler2 as McpHandler
|
|
13
13
|
};
|
package/dist/handlers/media.js
CHANGED
package/dist/handlers/message.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MessageHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/range-cddawxec.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
|
+
import"../chunks/range-xthc02cw.js";
|
|
10
10
|
export {
|
|
11
11
|
MessageHandler2 as MessageHandler
|
|
12
12
|
};
|
|
@@ -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/range-b3sk57wg.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
MigrationHandler2 as MigrationHandler
|
|
11
11
|
};
|
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/range-f93zkajm.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
ModelHandler2 as ModelHandler
|
|
11
11
|
};
|
|
@@ -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/range-mjhh6jvz.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.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/http-api/HttpApiGroup").Service<"server", "server.experimental">, never, import("@opencode/
|
|
3
|
+
export declare const PersistentPtyHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.experimental">, never, import("@opencode/util/fs-util").FSUtil.Service | import("@opencode/util/global").Service | import("@opencode/core/database/database").Service | import("@opencode/core/kv").Service | import("@opencode/core/job").Service | import("@opencode/core/machine/identity").Service | import("@opencode/core/machine/machines").Service | import("@opencode/core/location-service-map").Service | PersistentPty.Service | import("@opencode/core/session").Service | import("@opencode/core/automation").Service | import("@opencode/core/blob-store").Service | PtyTicket.Service | import("@opencode/core/push/list").Service | (import("@opencode/protocol/middleware/authorization").Authorization | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware)>;
|
|
@@ -1,21 +1,22 @@
|
|
|
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/
|
|
11
|
-
import"../chunks/
|
|
12
|
-
import"../chunks/
|
|
13
|
-
import"../chunks/
|
|
14
|
-
import"../chunks/
|
|
15
|
-
import"../chunks/
|
|
16
|
-
import"../chunks/
|
|
17
|
-
import"../chunks/
|
|
18
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/range-79t5cra8.js";
|
|
4
|
+
import"../chunks/range-sqfq92mf.js";
|
|
5
|
+
import"../chunks/range-qpnw2qd1.js";
|
|
6
|
+
import"../chunks/range-djr0jy89.js";
|
|
7
|
+
import"../chunks/range-017ycvbx.js";
|
|
8
|
+
import"../chunks/range-6pm6ek88.js";
|
|
9
|
+
import"../chunks/range-q187pxxd.js";
|
|
10
|
+
import"../chunks/range-g23ffrnz.js";
|
|
11
|
+
import"../chunks/range-x2qy7jg1.js";
|
|
12
|
+
import"../chunks/range-ay32z58n.js";
|
|
13
|
+
import"../chunks/range-aexh791j.js";
|
|
14
|
+
import"../chunks/range-jy2ammbg.js";
|
|
15
|
+
import"../chunks/range-stx1bw5w.js";
|
|
16
|
+
import"../chunks/range-rqgv9x42.js";
|
|
17
|
+
import"../chunks/range-q4bn6dy8.js";
|
|
18
|
+
import"../chunks/range-8sb6qqpn.js";
|
|
19
|
+
import"../chunks/range-t32e1bbt.js";
|
|
19
20
|
export {
|
|
20
21
|
PersistentPtyHandler2 as PersistentPtyHandler
|
|
21
22
|
};
|
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/range-78jk0pbb.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
PluginHandler2 as PluginHandler
|
|
11
11
|
};
|
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/range-k58xpxwn.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
ProjectHandler2 as ProjectHandler
|
|
11
11
|
};
|
|
@@ -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/range-hgd5b6k8.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
ProviderHandler2 as ProviderHandler
|
|
11
11
|
};
|
package/dist/handlers/pty.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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/
|
|
3
|
+
} from "../chunks/range-5pef2nys.js";
|
|
4
|
+
import"../chunks/range-q187pxxd.js";
|
|
5
|
+
import"../chunks/range-ay32z58n.js";
|
|
6
|
+
import"../chunks/range-aexh791j.js";
|
|
7
|
+
import"../chunks/range-jy2ammbg.js";
|
|
8
|
+
import"../chunks/range-stx1bw5w.js";
|
|
9
|
+
import"../chunks/range-rqgv9x42.js";
|
|
10
|
+
import"../chunks/range-q4bn6dy8.js";
|
|
11
11
|
export {
|
|
12
12
|
PtyHandler2 as PtyHandler
|
|
13
13
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Effect } from "effect";
|
|
2
|
+
import { PushList } from "@opencode/core/push/list";
|
|
3
|
+
import { InvalidRequestError, PushDeviceNotFoundError } from "@opencode/protocol/errors";
|
|
4
|
+
import { Session } from "@opencode/core/session";
|
|
5
|
+
import type { Push } from "@opencode/schema/push";
|
|
6
|
+
export declare const makePush: Effect.Effect<{
|
|
7
|
+
get: () => Effect.Effect<{
|
|
8
|
+
data: Push.Info;
|
|
9
|
+
}, never, never>;
|
|
10
|
+
register: (id: string & import("effect/Brand").Brand<"Push.DeviceID">, payload: Push.Register) => Effect.Effect<{
|
|
11
|
+
data: Push.Registered;
|
|
12
|
+
}, InvalidRequestError, never>;
|
|
13
|
+
remove: (id: string & import("effect/Brand").Brand<"Push.DeviceID">) => Effect.Effect<void, never, never>;
|
|
14
|
+
update: (id: string & import("effect/Brand").Brand<"Push.DeviceID">, payload: Push.DevicePatch) => Effect.Effect<{
|
|
15
|
+
data: Push.Device;
|
|
16
|
+
}, PushDeviceNotFoundError, never>;
|
|
17
|
+
setDeviceBell: (id: string & import("effect/Brand").Brand<"Push.DeviceID">, sessionID: string & import("effect/Brand").Brand<"SessionID">, bell: Push.Bell) => Effect.Effect<{
|
|
18
|
+
data: Push.Bell;
|
|
19
|
+
}, InvalidRequestError | PushDeviceNotFoundError, never>;
|
|
20
|
+
removeDeviceBell: (id: string & import("effect/Brand").Brand<"Push.DeviceID">, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<void, PushDeviceNotFoundError, never>;
|
|
21
|
+
setSessionBell: (sessionID: string & import("effect/Brand").Brand<"SessionID">, bell: Push.Bell) => Effect.Effect<{
|
|
22
|
+
data: Push.Bell;
|
|
23
|
+
}, InvalidRequestError, never>;
|
|
24
|
+
removeSessionBell: (sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<void, never, never>;
|
|
25
|
+
setSettings: (settings: Push.Settings) => Effect.Effect<{
|
|
26
|
+
data: Push.Settings;
|
|
27
|
+
}, InvalidRequestError, never>;
|
|
28
|
+
}, never, Session.Service | PushList.Service>;
|
|
@@ -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/range-k518ftvz.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
ReferenceHandler2 as ReferenceHandler
|
|
11
11
|
};
|
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/range-zx60pg73.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
RpcHandler2 as RpcHandler
|
|
11
11
|
};
|
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/range-s6q3ch5r.js";
|
|
4
|
+
import"../chunks/range-kqr36gas.js";
|
|
5
|
+
import"../chunks/range-ay32z58n.js";
|
|
6
|
+
import"../chunks/range-aexh791j.js";
|
|
7
|
+
import"../chunks/range-jy2ammbg.js";
|
|
8
|
+
import"../chunks/range-stx1bw5w.js";
|
|
9
|
+
import"../chunks/range-rqgv9x42.js";
|
|
10
|
+
import"../chunks/range-3te71694.js";
|
|
11
|
+
import"../chunks/range-j4at0y5c.js";
|
|
12
12
|
export {
|
|
13
13
|
ServerHandler2 as ServerHandler
|
|
14
14
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Session } from "@opencode/core/session";
|
|
2
2
|
import type { Snapshot } from "@opencode/core/snapshot";
|
|
3
|
-
import {
|
|
3
|
+
import { Skill } from "@opencode/core/skill";
|
|
4
|
+
import { MessageNotFoundError, SessionNotFoundError, SkillLoadError, UnknownError } from "@opencode/protocol/errors";
|
|
4
5
|
import { Effect } from "effect";
|
|
5
6
|
export declare function missingSession(error: Session.NotFoundError): SessionNotFoundError;
|
|
7
|
+
export declare function skillLoadFailed(error: Skill.LoadError): SkillLoadError;
|
|
6
8
|
export declare function missingMessage(error: Session.MessageNotFoundError): MessageNotFoundError;
|
|
7
9
|
export declare function failedMessageDecode(error: Session.MessageDecodeError): Effect.Effect<never, UnknownError, never>;
|
|
8
10
|
/** Snapshot repositories are host state clients cannot repair, so surface only a log reference. */
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2,
|
|
3
|
+
skillLoadFailed2,
|
|
3
4
|
missingMessage2,
|
|
4
5
|
failedMessageDecode2,
|
|
5
6
|
failedSnapshot2
|
|
6
|
-
} from "../chunks/
|
|
7
|
+
} from "../chunks/range-rqgv9x42.js";
|
|
7
8
|
export {
|
|
8
9
|
failedMessageDecode2 as failedMessageDecode,
|
|
9
10
|
failedSnapshot2 as failedSnapshot,
|
|
10
11
|
missingMessage2 as missingMessage,
|
|
11
|
-
missingSession2 as missingSession
|
|
12
|
+
missingSession2 as missingSession,
|
|
13
|
+
skillLoadFailed2 as skillLoadFailed
|
|
12
14
|
};
|
package/dist/handlers/session.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/range-zs3ssmns.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
|
+
import"../chunks/range-xthc02cw.js";
|
|
10
10
|
export {
|
|
11
11
|
SessionHandler2 as SessionHandler
|
|
12
12
|
};
|
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/range-3rtm8r3z.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
ShellHandler2 as ShellHandler
|
|
11
11
|
};
|
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/range-dnyhqccw.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
SkillHandler2 as SkillHandler
|
|
11
11
|
};
|
package/dist/handlers/usage.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UsageHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/range-vkj8vbyf.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
UsageHandler2 as UsageHandler
|
|
11
11
|
};
|
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/range-tmb89r25.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
VcsHandler2 as VcsHandler
|
|
11
11
|
};
|
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/range-heqw7kpr.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
VoiceHandler2 as VoiceHandler
|
|
11
11
|
};
|
|
@@ -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/range-7zz6jxhb.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
WebSearchHandler2 as WebSearchHandler
|
|
11
11
|
};
|
|
@@ -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/range-vnpm7f9y.js";
|
|
4
|
+
import"../chunks/range-ay32z58n.js";
|
|
5
|
+
import"../chunks/range-aexh791j.js";
|
|
6
|
+
import"../chunks/range-jy2ammbg.js";
|
|
7
|
+
import"../chunks/range-stx1bw5w.js";
|
|
8
|
+
import"../chunks/range-rqgv9x42.js";
|
|
9
9
|
export {
|
|
10
10
|
WorktreeHandler2 as WorktreeHandler
|
|
11
11
|
};
|