@opencode/server 2.4.0 → 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/{content-headers-0rzj25w4.js → range-017ycvbx.js} +1 -1
- package/dist/chunks/{content-headers-9t07vtvz.js → range-0x6anvwr.js} +2 -2
- package/dist/chunks/{content-headers-39nnfjx1.js → range-39nnfjx1.js} +1 -1
- package/dist/chunks/{content-headers-801prsqk.js → range-3rtm8r3z.js} +2 -2
- package/dist/chunks/{content-headers-z3e7v67k.js → range-3te71694.js} +7 -7
- package/dist/chunks/{content-headers-jhbndf2d.js → range-5pef2nys.js} +4 -4
- package/dist/chunks/range-6pm6ek88.js +48 -0
- package/dist/chunks/{content-headers-r40v995e.js → range-78jk0pbb.js} +2 -2
- package/dist/chunks/{content-headers-hnbeyfax.js → range-79t5cra8.js} +14 -10
- package/dist/chunks/{content-headers-8ja97vv6.js → range-7zz6jxhb.js} +2 -2
- package/dist/chunks/{content-headers-8sb6qqpn.js → range-8sb6qqpn.js} +1 -1
- package/dist/chunks/{content-headers-hk9crnsa.js → range-9agv2b4c.js} +2 -2
- package/dist/chunks/{content-headers-vw0q3knq.js → range-aexh791j.js} +1 -1
- package/dist/chunks/{content-headers-2cm4dfcc.js → range-amxj52x5.js} +2 -2
- package/dist/chunks/{content-headers-zjmacp9c.js → range-ay32z58n.js} +3 -3
- package/dist/chunks/{content-headers-2dzr03as.js → range-b3sk57wg.js} +1 -1
- package/dist/chunks/{content-headers-y60jfeab.js → range-c6kzfg4f.js} +2 -2
- package/dist/chunks/{content-headers-2rb1ee6g.js → range-cddawxec.js} +3 -3
- package/dist/chunks/{content-headers-djr0jy89.js → range-djr0jy89.js} +1 -1
- package/dist/chunks/range-dnyhqccw.js +27 -0
- package/dist/chunks/{content-headers-100nc7c0.js → range-f93zkajm.js} +2 -2
- package/dist/chunks/{content-headers-g23ffrnz.js → range-g23ffrnz.js} +2 -2
- package/dist/chunks/{content-headers-prn0chz2.js → range-gwtm9cga.js} +1 -1
- package/dist/chunks/{content-headers-s3zgwc17.js → range-heqw7kpr.js} +2 -2
- package/dist/chunks/{content-headers-p83m65n5.js → range-hgd5b6k8.js} +2 -2
- package/dist/chunks/{content-headers-j4at0y5c.js → range-j4at0y5c.js} +1 -1
- package/dist/chunks/{content-headers-b03d5rht.js → range-jrjpfy36.js} +2 -2
- package/dist/chunks/{content-headers-ah2sj2pr.js → range-jy2ammbg.js} +1 -1
- package/dist/chunks/{content-headers-d20xfnpc.js → range-k2bx5n4e.js} +1 -1
- package/dist/chunks/{content-headers-wka57cdm.js → range-k518ftvz.js} +2 -2
- package/dist/chunks/{content-headers-4zkx9wb3.js → range-k58xpxwn.js} +1 -1
- package/dist/chunks/{content-headers-mzs0n5xz.js → range-kqr36gas.js} +7 -7
- package/dist/chunks/{content-headers-gq4jwh93.js → range-mjhh6jvz.js} +3 -3
- package/dist/chunks/{content-headers-hmwn16zp.js → range-myqk22k5.js} +2 -2
- package/dist/chunks/{content-headers-7jm4dc4a.js → range-n8nthg9q.js} +4 -4
- package/dist/chunks/{content-headers-5jm9kajg.js → range-pa4xtt5h.js} +2 -2
- package/dist/chunks/range-qpnw2qd1.js +58 -0
- package/dist/chunks/{content-headers-rktygpea.js → range-rktygpea.js} +1 -1
- package/dist/chunks/{content-headers-4fc68szf.js → range-rn83nvae.js} +2 -2
- package/dist/chunks/{content-headers-smaf4a18.js → range-rqgv9x42.js} +6 -2
- package/dist/chunks/{content-headers-fjcqsaaz.js → range-s3d15g1k.js} +23 -17
- package/dist/chunks/{content-headers-ddrpmftb.js → range-s557cdqw.js} +14 -4
- package/dist/chunks/{content-headers-1r438we2.js → range-s6q3ch5r.js} +8 -8
- package/dist/chunks/{content-headers-7qpea5x7.js → range-sqfq92mf.js} +2 -2
- package/dist/chunks/{content-headers-ywn523ee.js → range-stx1bw5w.js} +3 -3
- package/dist/chunks/{content-headers-t32e1bbt.js → range-t32e1bbt.js} +1 -1
- package/dist/chunks/{content-headers-w3xmknp7.js → range-tmb89r25.js} +2 -2
- package/dist/chunks/{content-headers-mvp6540g.js → range-tmbyzr8c.js} +35 -35
- package/dist/chunks/{content-headers-ykk3p1r3.js → range-vkj8vbyf.js} +2 -2
- package/dist/chunks/{content-headers-yty6dk04.js → range-vnpm7f9y.js} +1 -1
- package/dist/chunks/{content-headers-0r476wkb.js → range-wa6vk4hf.js} +14 -9
- package/dist/chunks/{content-headers-hf3kgjhr.js → range-wazndna9.js} +4 -4
- package/dist/chunks/{content-headers-qfyg9gb7.js → range-wecgp61r.js} +7 -7
- package/dist/chunks/{content-headers-7ydfwv45.js → range-x2qy7jg1.js} +1 -1
- package/dist/chunks/{content-headers-ky9xhfwk.js → range-zs3ssmns.js} +26 -21
- package/dist/chunks/{content-headers-rmfb1myj.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.d.ts +1 -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/content-headers-9cd3a4b8.js +0 -69
- package/dist/chunks/content-headers-jmmhprac.js +0 -13
- /package/dist/chunks/{content-headers-9rqn6x4v.js → range-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{content-headers-bd8755ek.js → range-bd8755ek.js} +0 -0
- /package/dist/chunks/{content-headers-n26yr6pw.js → range-n26yr6pw.js} +0 -0
- /package/dist/chunks/{content-headers-q187pxxd.js → range-q187pxxd.js} +0 -0
- /package/dist/chunks/{content-headers-q4bn6dy8.js → range-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{content-headers-xthc02cw.js → range-xthc02cw.js} +0 -0
- /package/dist/chunks/{content-headers-yc7nft6q.js → range-yc7nft6q.js} +0 -0
package/dist/handlers/debug.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DebugHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/range-c6kzfg4f.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
|
DebugHandler2 as DebugHandler
|
|
11
11
|
};
|
package/dist/handlers/event.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EventHandler2
|
|
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-n8nthg9q.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-wecgp61r.js";
|
|
10
10
|
export {
|
|
11
11
|
EventHandler2 as EventHandler
|
|
12
12
|
};
|
package/dist/handlers/form.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/range-amxj52x5.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
|
FormHandler2 as FormHandler
|
|
11
11
|
};
|
package/dist/handlers/fs.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FileSystemHandler2
|
|
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-s557cdqw.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-8sb6qqpn.js";
|
|
10
|
+
import"../chunks/range-t32e1bbt.js";
|
|
11
11
|
export {
|
|
12
12
|
FileSystemHandler2 as FileSystemHandler
|
|
13
13
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenerateHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/range-jrjpfy36.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
|
GenerateHandler2 as GenerateHandler
|
|
11
11
|
};
|
|
@@ -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
|
};
|