@opencode/server 0.0.0-dev-1325 → 0.0.0-dev-1326
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.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{location-j9bm09j4.js → event-feed-0bzgr4rt.js} +1 -1
- package/dist/chunks/{location-z030czn6.js → event-feed-0d9m1wm4.js} +2 -2
- package/dist/chunks/{location-wtrkk6n8.js → event-feed-1pw2nrsx.js} +1 -1
- package/dist/chunks/{location-ghcy4ddk.js → event-feed-2d18d1yn.js} +1 -1
- package/dist/chunks/{location-39nnfjx1.js → event-feed-39nnfjx1.js} +1 -1
- package/dist/chunks/{location-3svx81fb.js → event-feed-3cp4agan.js} +3 -3
- package/dist/chunks/{location-2b13xzyt.js → event-feed-4vbpeb73.js} +2 -2
- package/dist/chunks/{location-cx7az6y7.js → event-feed-55yh37zc.js} +2 -2
- package/dist/chunks/{location-nezkqcz0.js → event-feed-5b1w9hwr.js} +2 -2
- package/dist/chunks/{location-3d706mcp.js → event-feed-5z0ssrt9.js} +18 -16
- package/dist/chunks/{location-n7n1k6t0.js → event-feed-6f7nn4kk.js} +2 -2
- package/dist/chunks/{location-20aw7tea.js → event-feed-6jmqkv3t.js} +35 -35
- package/dist/chunks/{location-w7qv5azt.js → event-feed-6ptjjp36.js} +2 -2
- package/dist/chunks/{location-c0pd5awd.js → event-feed-735y9bwf.js} +2 -2
- package/dist/chunks/{location-7ydfwv45.js → event-feed-7ydfwv45.js} +1 -1
- package/dist/chunks/{location-xygx09yd.js → event-feed-8ptkdkh0.js} +2 -2
- package/dist/chunks/{location-27f8nny0.js → event-feed-8q8t4r9z.js} +2 -2
- package/dist/chunks/{location-8sb6qqpn.js → event-feed-8sb6qqpn.js} +1 -1
- package/dist/chunks/{location-9cd3a4b8.js → event-feed-9cd3a4b8.js} +1 -1
- package/dist/chunks/{location-065pppgn.js → event-feed-9d8cvn0j.js} +2 -2
- package/dist/chunks/{location-z4znncxg.js → event-feed-a5hb5213.js} +2 -2
- package/dist/chunks/{location-8pn9ceqg.js → event-feed-a9m1qywq.js} +3 -3
- package/dist/chunks/{location-fvpjvjpp.js → event-feed-arzv3fj6.js} +4 -4
- package/dist/chunks/{location-7qpea5x7.js → event-feed-aw6r5m46.js} +2 -2
- package/dist/chunks/{location-3te71694.js → event-feed-b1prsepx.js} +4 -4
- package/dist/chunks/{location-669rq3zn.js → event-feed-cha5bc7v.js} +3 -3
- package/dist/chunks/{location-bwjy9ex5.js → event-feed-d6gdrha6.js} +2 -2
- package/dist/chunks/{location-djr0jy89.js → event-feed-djr0jy89.js} +1 -1
- package/dist/chunks/{location-0tp9bckc.js → event-feed-dx59hhqy.js} +1 -1
- package/dist/chunks/{location-xhsknm82.js → event-feed-e4amrgg0.js} +2 -2
- package/dist/chunks/{location-g23ffrnz.js → event-feed-g23ffrnz.js} +2 -2
- package/dist/chunks/{location-2q06e3dd.js → event-feed-harnzwyx.js} +1 -1
- package/dist/chunks/{location-j4at0y5c.js → event-feed-j4at0y5c.js} +1 -1
- package/dist/chunks/{location-500wz90y.js → event-feed-jdn2h5zy.js} +2 -2
- package/dist/chunks/{location-9chkqb53.js → event-feed-knscys1g.js} +4 -4
- package/dist/chunks/{location-ah2sj2pr.js → event-feed-kstarh2s.js} +1 -1
- package/dist/chunks/{location-k3qt4jsw.js → event-feed-mbf5t0tq.js} +1 -1
- package/dist/chunks/{location-ahhjt1wh.js → event-feed-mnk4yp0a.js} +2 -2
- package/dist/chunks/{location-myqk22k5.js → event-feed-myqk22k5.js} +2 -2
- package/dist/chunks/{location-mzs0n5xz.js → event-feed-mzs0n5xz.js} +1 -1
- package/dist/chunks/{location-fhb2ewd9.js → event-feed-p4hr7w7j.js} +2 -2
- package/dist/chunks/{location-01ta1g14.js → event-feed-p7f8d9ed.js} +4 -4
- package/dist/chunks/{location-7b9xm1qg.js → event-feed-rktygpea.js} +4 -1
- package/dist/chunks/{location-9epy4pks.js → event-feed-rxp97434.js} +4 -4
- package/dist/chunks/event-feed-syfzpkey.js +144 -0
- package/dist/chunks/{location-t32e1bbt.js → event-feed-t32e1bbt.js} +1 -1
- package/dist/chunks/{location-2ghz4m36.js → event-feed-tb37vts4.js} +13 -9
- package/dist/chunks/{location-ywn523ee.js → event-feed-tdwf54y9.js} +3 -3
- package/dist/chunks/{location-66wjg7cg.js → event-feed-tphz28p0.js} +4 -4
- package/dist/chunks/{location-yr4jk19s.js → event-feed-vjj7wrqn.js} +2 -2
- package/dist/chunks/{location-qzq425w0.js → event-feed-vxnq9y72.js} +5 -5
- package/dist/chunks/{location-mevm0qpj.js → event-feed-y50v5y23.js} +4 -4
- package/dist/chunks/{location-ryf8gt7t.js → event-feed-ye16b3jy.js} +2 -2
- package/dist/chunks/{location-vw0q3knq.js → event-feed-ytyf0yt4.js} +1 -1
- package/dist/content-headers.js +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +3 -3
- package/dist/fetch.js +60 -59
- 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.d.ts +61 -0
- package/dist/handlers/machine.js +16 -0
- 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 +16 -15
- 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/reference.js +6 -6
- package/dist/handlers/rpc.js +6 -6
- package/dist/handlers/server.js +9 -9
- package/dist/handlers/session-error.js +1 -1
- 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 +53 -52
- 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.js +1 -1
- package/dist/process.js +70 -63
- 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 +3 -2
- package/dist/routes.js +57 -56
- package/dist/server-info.js +3 -3
- package/dist/service-status.js +1 -1
- package/dist/workerd.js +61 -60
- package/package.json +8 -8
- /package/dist/chunks/{location-9rqn6x4v.js → event-feed-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-bd8755ek.js → event-feed-bd8755ek.js} +0 -0
- /package/dist/chunks/{location-n26yr6pw.js → event-feed-n26yr6pw.js} +0 -0
- /package/dist/chunks/{location-q187pxxd.js → event-feed-q187pxxd.js} +0 -0
- /package/dist/chunks/{location-q4bn6dy8.js → event-feed-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{location-smaf4a18.js → event-feed-smaf4a18.js} +0 -0
- /package/dist/chunks/{location-xthc02cw.js → event-feed-xthc02cw.js} +0 -0
- /package/dist/chunks/{location-yc7nft6q.js → event-feed-yc7nft6q.js} +0 -0
package/dist/fetch.js
CHANGED
|
@@ -1,65 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make3,
|
|
3
3
|
exports_fetch
|
|
4
|
-
} from "./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/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
58
|
-
import"./chunks/
|
|
59
|
-
import"./chunks/
|
|
60
|
-
import"./chunks/
|
|
61
|
-
import"./chunks/
|
|
62
|
-
import"./chunks/
|
|
4
|
+
} from "./chunks/event-feed-vxnq9y72.js";
|
|
5
|
+
import"./chunks/event-feed-myqk22k5.js";
|
|
6
|
+
import"./chunks/event-feed-yc7nft6q.js";
|
|
7
|
+
import"./chunks/event-feed-5z0ssrt9.js";
|
|
8
|
+
import"./chunks/event-feed-bd8755ek.js";
|
|
9
|
+
import"./chunks/event-feed-rktygpea.js";
|
|
10
|
+
import"./chunks/event-feed-n26yr6pw.js";
|
|
11
|
+
import"./chunks/event-feed-6jmqkv3t.js";
|
|
12
|
+
import"./chunks/event-feed-2d18d1yn.js";
|
|
13
|
+
import"./chunks/event-feed-mbf5t0tq.js";
|
|
14
|
+
import"./chunks/event-feed-y50v5y23.js";
|
|
15
|
+
import"./chunks/event-feed-1pw2nrsx.js";
|
|
16
|
+
import"./chunks/event-feed-6ptjjp36.js";
|
|
17
|
+
import"./chunks/event-feed-jdn2h5zy.js";
|
|
18
|
+
import"./chunks/event-feed-3cp4agan.js";
|
|
19
|
+
import"./chunks/event-feed-8q8t4r9z.js";
|
|
20
|
+
import"./chunks/event-feed-55yh37zc.js";
|
|
21
|
+
import"./chunks/event-feed-5b1w9hwr.js";
|
|
22
|
+
import"./chunks/event-feed-rxp97434.js";
|
|
23
|
+
import"./chunks/event-feed-mnk4yp0a.js";
|
|
24
|
+
import"./chunks/event-feed-dx59hhqy.js";
|
|
25
|
+
import"./chunks/event-feed-cha5bc7v.js";
|
|
26
|
+
import"./chunks/event-feed-a5hb5213.js";
|
|
27
|
+
import"./chunks/event-feed-4vbpeb73.js";
|
|
28
|
+
import"./chunks/event-feed-735y9bwf.js";
|
|
29
|
+
import"./chunks/event-feed-ye16b3jy.js";
|
|
30
|
+
import"./chunks/event-feed-d6gdrha6.js";
|
|
31
|
+
import"./chunks/event-feed-p4hr7w7j.js";
|
|
32
|
+
import"./chunks/event-feed-tb37vts4.js";
|
|
33
|
+
import"./chunks/event-feed-aw6r5m46.js";
|
|
34
|
+
import"./chunks/event-feed-g23ffrnz.js";
|
|
35
|
+
import"./chunks/event-feed-djr0jy89.js";
|
|
36
|
+
import"./chunks/event-feed-q187pxxd.js";
|
|
37
|
+
import"./chunks/event-feed-syfzpkey.js";
|
|
38
|
+
import"./chunks/event-feed-9cd3a4b8.js";
|
|
39
|
+
import"./chunks/event-feed-p7f8d9ed.js";
|
|
40
|
+
import"./chunks/event-feed-9d8cvn0j.js";
|
|
41
|
+
import"./chunks/event-feed-6f7nn4kk.js";
|
|
42
|
+
import"./chunks/event-feed-7ydfwv45.js";
|
|
43
|
+
import"./chunks/event-feed-8ptkdkh0.js";
|
|
44
|
+
import"./chunks/event-feed-harnzwyx.js";
|
|
45
|
+
import"./chunks/event-feed-e4amrgg0.js";
|
|
46
|
+
import"./chunks/event-feed-0bzgr4rt.js";
|
|
47
|
+
import"./chunks/event-feed-knscys1g.js";
|
|
48
|
+
import"./chunks/event-feed-tphz28p0.js";
|
|
49
|
+
import"./chunks/event-feed-0d9m1wm4.js";
|
|
50
|
+
import"./chunks/event-feed-vjj7wrqn.js";
|
|
51
|
+
import"./chunks/event-feed-8sb6qqpn.js";
|
|
52
|
+
import"./chunks/event-feed-t32e1bbt.js";
|
|
53
|
+
import"./chunks/event-feed-a9m1qywq.js";
|
|
54
|
+
import"./chunks/event-feed-kstarh2s.js";
|
|
55
|
+
import"./chunks/event-feed-ytyf0yt4.js";
|
|
56
|
+
import"./chunks/event-feed-tdwf54y9.js";
|
|
57
|
+
import"./chunks/event-feed-smaf4a18.js";
|
|
58
|
+
import"./chunks/event-feed-arzv3fj6.js";
|
|
59
|
+
import"./chunks/event-feed-xthc02cw.js";
|
|
60
|
+
import"./chunks/event-feed-b1prsepx.js";
|
|
61
|
+
import"./chunks/event-feed-q4bn6dy8.js";
|
|
62
|
+
import"./chunks/event-feed-mzs0n5xz.js";
|
|
63
|
+
import"./chunks/event-feed-j4at0y5c.js";
|
|
63
64
|
export {
|
|
64
65
|
exports_fetch as ServerFetch,
|
|
65
66
|
make3 as make
|
package/dist/handlers/agent.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/event-feed-5b1w9hwr.js";
|
|
4
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
5
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
6
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
7
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
8
|
+
import"../chunks/event-feed-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
AgentHandler2 as AgentHandler
|
|
11
11
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeArtifact2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/event-feed-aw6r5m46.js";
|
|
4
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
5
|
+
import"../chunks/event-feed-smaf4a18.js";
|
|
6
6
|
export {
|
|
7
7
|
makeArtifact2 as makeArtifact
|
|
8
8
|
};
|
package/dist/handlers/blob.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeBlobGet2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/event-feed-g23ffrnz.js";
|
|
4
|
+
import"../chunks/event-feed-8sb6qqpn.js";
|
|
5
|
+
import"../chunks/event-feed-t32e1bbt.js";
|
|
6
6
|
export {
|
|
7
7
|
makeBlobGet2 as makeBlobGet
|
|
8
8
|
};
|
package/dist/handlers/command.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/event-feed-8q8t4r9z.js";
|
|
4
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
5
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
6
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
7
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
8
|
+
import"../chunks/event-feed-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CommandHandler2 as CommandHandler
|
|
11
11
|
};
|
package/dist/handlers/config.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConfigHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/event-feed-0bzgr4rt.js";
|
|
4
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
5
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
6
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
7
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
8
|
+
import"../chunks/event-feed-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ConfigHandler2 as ConfigHandler
|
|
11
11
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CredentialHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/event-feed-a5hb5213.js";
|
|
4
|
+
import"../chunks/event-feed-4vbpeb73.js";
|
|
5
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
6
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
7
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
8
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
9
|
+
import"../chunks/event-feed-smaf4a18.js";
|
|
10
10
|
export {
|
|
11
11
|
CredentialHandler2 as CredentialHandler
|
|
12
12
|
};
|
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/event-feed-jdn2h5zy.js";
|
|
4
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
5
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
6
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
7
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
8
|
+
import"../chunks/event-feed-smaf4a18.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/event-feed-d6gdrha6.js";
|
|
4
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
5
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
6
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
7
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
8
|
+
import"../chunks/event-feed-smaf4a18.js";
|
|
9
|
+
import"../chunks/event-feed-arzv3fj6.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/event-feed-55yh37zc.js";
|
|
4
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
5
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
6
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
7
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
8
|
+
import"../chunks/event-feed-smaf4a18.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/event-feed-p7f8d9ed.js";
|
|
4
|
+
import"../chunks/event-feed-8sb6qqpn.js";
|
|
5
|
+
import"../chunks/event-feed-t32e1bbt.js";
|
|
6
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
7
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
8
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
9
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
10
|
+
import"../chunks/event-feed-smaf4a18.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/event-feed-6ptjjp36.js";
|
|
4
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
5
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
6
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
7
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
8
|
+
import"../chunks/event-feed-smaf4a18.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/event-feed-4vbpeb73.js";
|
|
5
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
6
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
7
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
8
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
9
|
+
import"../chunks/event-feed-smaf4a18.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/event-feed-1pw2nrsx.js";
|
|
4
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
5
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
6
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
7
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
8
|
+
import"../chunks/event-feed-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
LocationHandler2 as LocationHandler
|
|
11
11
|
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type WebSocket, WebSocketServer } from "@effect/platform-node-shared/NodeWS";
|
|
2
|
+
import { LocationServiceMap } from "@opencode/core/location-services";
|
|
3
|
+
import { Identity } from "@opencode/core/machine/identity";
|
|
4
|
+
import { Link } from "@opencode/core/machine/link";
|
|
5
|
+
import { Machines } from "@opencode/core/machine/machines";
|
|
6
|
+
import { Global } from "@opencode/util/global";
|
|
7
|
+
import { Context, Effect, Scope } from "effect";
|
|
8
|
+
import { type HttpServerRequest, HttpServerResponse } from "effect/http";
|
|
9
|
+
import { Socket } from "effect/socket";
|
|
10
|
+
import { IncomingMessage } from "node:http";
|
|
11
|
+
/**
|
|
12
|
+
* Only for tests, as `Link.Fixed` is: called with the endpoint's `ws` server when it is made, so a test can count its
|
|
13
|
+
* clients and watch a socket from the home's side. Production never sets it.
|
|
14
|
+
*/
|
|
15
|
+
export declare const Watch: Context.Reference<(sockets: WebSocketServer) => void>;
|
|
16
|
+
/** Whether the `machines` flag is on in the server's base configuration, where the video routes read theirs. */
|
|
17
|
+
export declare const machinesEnabled: Effect.Effect<Effect.Effect<boolean, never, never>, never, Global.Service | LocationServiceMap.Service>;
|
|
18
|
+
/**
|
|
19
|
+
* Upgrades a request the HTTP server took off its parser, on the endpoint's own `ws` server, and gives its `ws` socket
|
|
20
|
+
* for the scope. Closing the scope sends the close and waits until the connection is gone, dropping it if the peer has
|
|
21
|
+
* not answered within `CLOSING`: the HTTP response the route returns afterwards must find nothing to be written to.
|
|
22
|
+
*/
|
|
23
|
+
export declare const upgrade: (sockets: WebSocketServer, request: IncomingMessage) => Effect.Effect<WebSocket, Link.Closed, Scope.Scope>;
|
|
24
|
+
/** What the carrier and the keepalive use of a `ws` socket. */
|
|
25
|
+
export interface Transport {
|
|
26
|
+
readonly bufferedAmount: number;
|
|
27
|
+
/** Whether reading is stopped because enough already waits unread. Nothing the peer sends is seen meanwhile. */
|
|
28
|
+
readonly isPaused: boolean;
|
|
29
|
+
/** Calls back once the socket has taken the message, or cannot. */
|
|
30
|
+
send(message: Uint8Array, taken: () => void): void;
|
|
31
|
+
ping(): void;
|
|
32
|
+
on(event: "pong" | "ping" | "message", listener: () => void): unknown;
|
|
33
|
+
off(event: "pong" | "ping" | "message", listener: () => void): unknown;
|
|
34
|
+
/** Drops the connection at once, sending nothing more. */
|
|
35
|
+
terminate(): void;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A `ws` socket as the link's carrier, read through Effect's reader. A text message ends it like a closed socket, before
|
|
39
|
+
* anything is decrypted: the caller closes the socket. Inbound memory is bounded by the socket: `ws` refuses a message
|
|
40
|
+
* over `MAX_FRAME` before buffering it, `upgrade` drops the connection on one under `MIN_FRAME`, and the reader stops
|
|
41
|
+
* reading once 64 KiB waits, so what is held is that and what one read of the connection brings, and a read that still
|
|
42
|
+
* brings more than `MAX_WAITING` ends the carrier. `send` returns once the socket has taken the message, so the link's
|
|
43
|
+
* one writer never has more than a frame waiting behind a slow peer, and it drops a socket that takes nothing at all
|
|
44
|
+
* for `STALL`.
|
|
45
|
+
*/
|
|
46
|
+
export declare const carrier: (reader: Socket.Reader, transport: Transport) => Link.Carrier;
|
|
47
|
+
/**
|
|
48
|
+
* The idle limit of a served link: pings the peer every `PING` and drops the connection once a whole interval passes
|
|
49
|
+
* with nothing from it. Its answer counts, and so does anything else it sent. While reading is paused none of that can
|
|
50
|
+
* be seen, so an interval is held against the peer only if reading was paused at neither end of it. That covers a
|
|
51
|
+
* pause in between as well: reading pauses on a message, and a message is the peer heard.
|
|
52
|
+
*/
|
|
53
|
+
export declare const keepalive: (transport: Transport) => Effect.Effect<void, never, never>;
|
|
54
|
+
/**
|
|
55
|
+
* `machine.link` in the `server.experimental` group: the WebSocket where a machine's link lands. Anyone who can reach
|
|
56
|
+
* the server can open it, and only the link's handshake gets past it. One scope per connection holds the socket and the
|
|
57
|
+
* link's fibers, and closing it is the only way a connection ends, whatever ended it. The first request shaped like a
|
|
58
|
+
* link upgrade reads the flag from the server's base configuration, which loads that configuration once even when the
|
|
59
|
+
* flag is off; only a GET WebSocket upgrade to exactly this path does.
|
|
60
|
+
*/
|
|
61
|
+
export declare const makeMachineLink: Effect.Effect<(request: HttpServerRequest.HttpServerRequest) => Effect.Effect<HttpServerResponse.HttpServerResponse, never, HttpServerRequest.HttpServerRequest>, never, Scope.Scope | Global.Service | Identity.Service | Machines.Service | LocationServiceMap.Service>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Watch2,
|
|
3
|
+
machinesEnabled2,
|
|
4
|
+
upgrade2,
|
|
5
|
+
carrier2,
|
|
6
|
+
keepalive2,
|
|
7
|
+
makeMachineLink2
|
|
8
|
+
} from "../chunks/event-feed-syfzpkey.js";
|
|
9
|
+
export {
|
|
10
|
+
Watch2 as Watch,
|
|
11
|
+
carrier2 as carrier,
|
|
12
|
+
keepalive2 as keepalive,
|
|
13
|
+
machinesEnabled2 as machinesEnabled,
|
|
14
|
+
makeMachineLink2 as makeMachineLink,
|
|
15
|
+
upgrade2 as upgrade
|
|
16
|
+
};
|
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/event-feed-rxp97434.js";
|
|
4
|
+
import"../chunks/event-feed-q187pxxd.js";
|
|
5
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
6
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
7
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
8
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
9
|
+
import"../chunks/event-feed-smaf4a18.js";
|
|
10
|
+
import"../chunks/event-feed-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/event-feed-3cp4agan.js";
|
|
4
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
5
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
6
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
7
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
8
|
+
import"../chunks/event-feed-smaf4a18.js";
|
|
9
|
+
import"../chunks/event-feed-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/event-feed-2d18d1yn.js";
|
|
4
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
5
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
6
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
7
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
8
|
+
import"../chunks/event-feed-smaf4a18.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/event-feed-mnk4yp0a.js";
|
|
4
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
5
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
6
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
7
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
8
|
+
import"../chunks/event-feed-smaf4a18.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/event-feed-cha5bc7v.js";
|
|
4
|
+
import"../chunks/event-feed-a9m1qywq.js";
|
|
5
|
+
import"../chunks/event-feed-kstarh2s.js";
|
|
6
|
+
import"../chunks/event-feed-ytyf0yt4.js";
|
|
7
|
+
import"../chunks/event-feed-tdwf54y9.js";
|
|
8
|
+
import"../chunks/event-feed-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
PermissionHandler2 as PermissionHandler
|
|
11
11
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
2
2
|
import { PtyTicket } from "@opencode/core/pty/ticket";
|
|
3
|
-
export declare const PersistentPtyHandler: import("effect/Layer").Layer<import("effect/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/blob-store").Service | import("@opencode/core/automation").Service | import("@opencode/core/project").Service | PtyTicket.Service | (import("@opencode/protocol/middleware/authorization").Authorization | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware)>;
|