@opencode/server 2.0.26 → 2.0.28
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 +17 -14
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{fetch-6fr0a7bp.js → server-info-1fx5fmdj.js} +22 -21
- package/dist/chunks/{fetch-80mhd8t7.js → server-info-2nsepnqy.js} +3 -3
- package/dist/chunks/{fetch-zhympcbw.js → server-info-2yr2dq97.js} +3 -3
- package/dist/chunks/{fetch-d00srfh1.js → server-info-3154e7fk.js} +3 -3
- package/dist/chunks/{fetch-g9rgg5ys.js → server-info-31acg4hb.js} +3 -3
- package/dist/chunks/{fetch-w1fepcwh.js → server-info-49c878v9.js} +3 -3
- package/dist/chunks/{fetch-cm271yqe.js → server-info-4b0899hb.js} +3 -3
- package/dist/chunks/{fetch-8c9kbrtm.js → server-info-5w10ccet.js} +2 -2
- package/dist/chunks/{fetch-gtkdacvk.js → server-info-5ytyqf1q.js} +5 -4
- package/dist/chunks/{fetch-hajt4q09.js → server-info-72ygafj3.js} +3 -3
- package/dist/chunks/{fetch-n1svm92q.js → server-info-75c938bc.js} +6 -6
- package/dist/chunks/{fetch-agftk6b6.js → server-info-91mt6ewz.js} +3 -3
- package/dist/chunks/{fetch-t1n0m4wb.js → server-info-a6kxe6a7.js} +30 -34
- package/dist/chunks/{fetch-1kbkbftd.js → server-info-agw55v2c.js} +4 -4
- package/dist/chunks/{fetch-anm12x33.js → server-info-anm12x33.js} +1 -1
- package/dist/chunks/{fetch-mjepr257.js → server-info-cfhthk6z.js} +2 -2
- package/dist/chunks/{fetch-j3pdvhe2.js → server-info-cx1d1bht.js} +3 -3
- package/dist/chunks/{fetch-gj6tv0s4.js → server-info-e4x9285j.js} +6 -3
- package/dist/chunks/{fetch-r5bb0n1s.js → server-info-e7pctymn.js} +2 -2
- package/dist/chunks/{fetch-t8yzmczr.js → server-info-erzfdgke.js} +1 -1
- package/dist/chunks/{fetch-eekrj6qv.js → server-info-f4b2q3tn.js} +2 -2
- package/dist/chunks/{fetch-cy7y42ks.js → server-info-f6n7ws9b.js} +4 -4
- package/dist/chunks/{fetch-78n975k2.js → server-info-fzcjf2mc.js} +10 -10
- package/dist/chunks/{fetch-1w9kp1gg.js → server-info-ga3m49sz.js} +3 -3
- package/dist/chunks/{fetch-kzj5eept.js → server-info-gat934pw.js} +33 -33
- package/dist/chunks/{fetch-acgs9zzk.js → server-info-gymtz25n.js} +14 -6
- package/dist/chunks/server-info-h6rt5k9s.js +24 -0
- package/dist/chunks/{fetch-54sczv30.js → server-info-hg93khqa.js} +7 -7
- package/dist/chunks/server-info-j5aeaa16.js +15 -0
- package/dist/chunks/{fetch-bvp1r88z.js → server-info-jabz3c4v.js} +3 -3
- package/dist/chunks/{fetch-t70dy8sr.js → server-info-kd6vzpgq.js} +3 -3
- package/dist/chunks/{fetch-rwwc81rq.js → server-info-pf9p09ew.js} +2 -2
- package/dist/chunks/{fetch-wb43dd8f.js → server-info-pmjbkszz.js} +6 -4
- package/dist/chunks/{fetch-c6kb7fmf.js → server-info-s07e4y6n.js} +7 -7
- package/dist/chunks/{fetch-0chp8crd.js → server-info-sstsrjtg.js} +8 -8
- package/dist/chunks/{fetch-4qyjttng.js → server-info-swdgbzpj.js} +3 -3
- package/dist/chunks/{fetch-jxc39wgw.js → server-info-t3j5ftv1.js} +3 -3
- package/dist/chunks/{fetch-053p7hbt.js → server-info-v1czxanb.js} +7 -7
- package/dist/chunks/{fetch-b44t4qeg.js → server-info-wys7phx0.js} +30 -29
- package/dist/chunks/{fetch-rhnwnf76.js → server-info-x0608mvx.js} +2 -2
- package/dist/chunks/{fetch-nxdx74sv.js → server-info-x74w7e1f.js} +3 -3
- package/dist/chunks/{fetch-q9rkrfm7.js → server-info-x9vr2ttf.js} +5 -5
- package/dist/chunks/{fetch-0y03q8mn.js → server-info-xmwystkq.js} +3 -3
- package/dist/chunks/{fetch-5w24ch67.js → server-info-xsrtpxyd.js} +4 -4
- package/dist/chunks/{fetch-m4fq9qce.js → server-info-y9mzegx1.js} +6 -6
- package/dist/chunks/{fetch-m6xk774d.js → server-info-zs542hzz.js} +3 -3
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.d.ts +5 -5
- package/dist/fetch.js +49 -49
- 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 +10 -2
- 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/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 +43 -43
- package/dist/location.d.ts +5 -3
- package/dist/location.js +6 -4
- package/dist/middleware/authorization.d.ts +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.d.ts +2 -2
- 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 +9 -8
- package/dist/process.js +52 -52
- package/dist/pty-environment.js +5 -5
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +3 -3
- package/dist/routes.js +46 -46
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +50 -50
- package/package.json +14 -12
- package/dist/chunks/fetch-dy0yben3.js +0 -15
- package/dist/chunks/fetch-hezj1jdf.js +0 -7
- /package/dist/chunks/{fetch-9rqn6x4v.js → server-info-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{fetch-q4bn6dy8.js → server-info-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{fetch-smaf4a18.js → server-info-smaf4a18.js} +0 -0
- /package/dist/chunks/{fetch-yc7nft6q.js → server-info-yc7nft6q.js} +0 -0
package/dist/routes.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRoutes2,
|
|
3
3
|
createEmbeddedRoutes2
|
|
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/
|
|
4
|
+
} from "./chunks/server-info-1fx5fmdj.js";
|
|
5
|
+
import"./chunks/server-info-erzfdgke.js";
|
|
6
|
+
import"./chunks/server-info-5ytyqf1q.js";
|
|
7
|
+
import"./chunks/server-info-gat934pw.js";
|
|
8
|
+
import"./chunks/server-info-cfhthk6z.js";
|
|
9
|
+
import"./chunks/server-info-x0608mvx.js";
|
|
10
|
+
import"./chunks/server-info-zs542hzz.js";
|
|
11
|
+
import"./chunks/server-info-ga3m49sz.js";
|
|
12
|
+
import"./chunks/server-info-y9mzegx1.js";
|
|
13
|
+
import"./chunks/server-info-4b0899hb.js";
|
|
14
|
+
import"./chunks/server-info-a6kxe6a7.js";
|
|
15
|
+
import"./chunks/server-info-31acg4hb.js";
|
|
16
|
+
import"./chunks/server-info-x9vr2ttf.js";
|
|
17
|
+
import"./chunks/server-info-jabz3c4v.js";
|
|
18
|
+
import"./chunks/server-info-e7pctymn.js";
|
|
19
|
+
import"./chunks/server-info-91mt6ewz.js";
|
|
20
|
+
import"./chunks/server-info-72ygafj3.js";
|
|
21
|
+
import"./chunks/server-info-wys7phx0.js";
|
|
22
|
+
import"./chunks/server-info-h6rt5k9s.js";
|
|
23
|
+
import"./chunks/server-info-f6n7ws9b.js";
|
|
24
|
+
import"./chunks/server-info-2yr2dq97.js";
|
|
25
|
+
import"./chunks/server-info-agw55v2c.js";
|
|
26
|
+
import"./chunks/server-info-fzcjf2mc.js";
|
|
27
|
+
import"./chunks/server-info-pmjbkszz.js";
|
|
28
|
+
import"./chunks/server-info-f4b2q3tn.js";
|
|
29
|
+
import"./chunks/server-info-swdgbzpj.js";
|
|
30
|
+
import"./chunks/server-info-cx1d1bht.js";
|
|
31
|
+
import"./chunks/server-info-pf9p09ew.js";
|
|
32
|
+
import"./chunks/server-info-2nsepnqy.js";
|
|
33
|
+
import"./chunks/server-info-5w10ccet.js";
|
|
34
|
+
import"./chunks/server-info-kd6vzpgq.js";
|
|
35
|
+
import"./chunks/server-info-e4x9285j.js";
|
|
36
|
+
import"./chunks/server-info-49c878v9.js";
|
|
37
|
+
import"./chunks/server-info-j5aeaa16.js";
|
|
38
|
+
import"./chunks/server-info-xmwystkq.js";
|
|
39
|
+
import"./chunks/server-info-anm12x33.js";
|
|
40
|
+
import"./chunks/server-info-q4bn6dy8.js";
|
|
41
|
+
import"./chunks/server-info-t3j5ftv1.js";
|
|
42
|
+
import"./chunks/server-info-3154e7fk.js";
|
|
43
|
+
import"./chunks/server-info-x74w7e1f.js";
|
|
44
|
+
import"./chunks/server-info-gymtz25n.js";
|
|
45
|
+
import"./chunks/server-info-smaf4a18.js";
|
|
46
|
+
import"./chunks/server-info-hg93khqa.js";
|
|
47
|
+
import"./chunks/server-info-s07e4y6n.js";
|
|
48
|
+
import"./chunks/server-info-75c938bc.js";
|
|
49
|
+
import"./chunks/server-info-sstsrjtg.js";
|
|
50
50
|
export {
|
|
51
51
|
createEmbeddedRoutes2 as createEmbeddedRoutes,
|
|
52
52
|
createRoutes2 as createRoutes
|
package/dist/server-info.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service3,
|
|
3
|
+
layer4,
|
|
4
4
|
connectionURLs2,
|
|
5
5
|
exports_server_info
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/server-info-s07e4y6n.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_server_info as ServerInfo,
|
|
9
|
-
|
|
9
|
+
Service3 as Service,
|
|
10
10
|
connectionURLs2 as connectionURLs,
|
|
11
|
-
|
|
11
|
+
layer4 as layer
|
|
12
12
|
};
|
package/dist/service-status.js
CHANGED
package/dist/workerd.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import"./chunks/
|
|
2
|
-
import"./chunks/
|
|
3
|
-
import"./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/
|
|
1
|
+
import"./chunks/server-info-q4bn6dy8.js";
|
|
2
|
+
import"./chunks/server-info-smaf4a18.js";
|
|
3
|
+
import"./chunks/server-info-gymtz25n.js";
|
|
4
|
+
import"./chunks/server-info-3154e7fk.js";
|
|
5
|
+
import"./chunks/server-info-x74w7e1f.js";
|
|
6
|
+
import"./chunks/server-info-t3j5ftv1.js";
|
|
7
|
+
import"./chunks/server-info-anm12x33.js";
|
|
8
|
+
import"./chunks/server-info-pmjbkszz.js";
|
|
9
|
+
import"./chunks/server-info-jabz3c4v.js";
|
|
10
|
+
import"./chunks/server-info-e4x9285j.js";
|
|
11
|
+
import"./chunks/server-info-swdgbzpj.js";
|
|
12
|
+
import"./chunks/server-info-f6n7ws9b.js";
|
|
13
|
+
import"./chunks/server-info-agw55v2c.js";
|
|
14
|
+
import"./chunks/server-info-x9vr2ttf.js";
|
|
15
|
+
import"./chunks/server-info-91mt6ewz.js";
|
|
16
|
+
import"./chunks/server-info-xmwystkq.js";
|
|
17
|
+
import"./chunks/server-info-4b0899hb.js";
|
|
18
|
+
import"./chunks/server-info-5w10ccet.js";
|
|
19
|
+
import"./chunks/server-info-hg93khqa.js";
|
|
20
|
+
import"./chunks/server-info-y9mzegx1.js";
|
|
21
|
+
import"./chunks/server-info-ga3m49sz.js";
|
|
22
|
+
import"./chunks/server-info-49c878v9.js";
|
|
23
|
+
import"./chunks/server-info-s07e4y6n.js";
|
|
24
|
+
import"./chunks/server-info-sstsrjtg.js";
|
|
25
|
+
import"./chunks/server-info-fzcjf2mc.js";
|
|
26
|
+
import"./chunks/server-info-zs542hzz.js";
|
|
27
|
+
import"./chunks/server-info-75c938bc.js";
|
|
28
|
+
import"./chunks/server-info-h6rt5k9s.js";
|
|
29
|
+
import"./chunks/server-info-wys7phx0.js";
|
|
30
|
+
import"./chunks/server-info-a6kxe6a7.js";
|
|
31
|
+
import"./chunks/server-info-2yr2dq97.js";
|
|
32
|
+
import"./chunks/server-info-kd6vzpgq.js";
|
|
33
|
+
import"./chunks/server-info-cfhthk6z.js";
|
|
34
|
+
import"./chunks/server-info-72ygafj3.js";
|
|
35
|
+
import"./chunks/server-info-2nsepnqy.js";
|
|
36
|
+
import"./chunks/server-info-cx1d1bht.js";
|
|
37
|
+
import"./chunks/server-info-f4b2q3tn.js";
|
|
38
|
+
import"./chunks/server-info-j5aeaa16.js";
|
|
39
|
+
import"./chunks/server-info-pf9p09ew.js";
|
|
40
|
+
import"./chunks/server-info-31acg4hb.js";
|
|
41
|
+
import"./chunks/server-info-x0608mvx.js";
|
|
42
|
+
import"./chunks/server-info-e7pctymn.js";
|
|
43
|
+
import"./chunks/server-info-gat934pw.js";
|
|
44
|
+
import"./chunks/server-info-5ytyqf1q.js";
|
|
45
|
+
import"./chunks/server-info-erzfdgke.js";
|
|
46
|
+
import"./chunks/server-info-1fx5fmdj.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
} from "./chunks/
|
|
48
|
+
make3
|
|
49
|
+
} from "./chunks/server-info-v1czxanb.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./chunks/
|
|
52
|
+
} from "./chunks/server-info-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/workerd.ts
|
|
55
55
|
var exports_workerd = {};
|
|
@@ -71,7 +71,7 @@ import { Snapshot } from "@opencode/core/snapshot";
|
|
|
71
71
|
import { Vcs } from "@opencode/core/vcs";
|
|
72
72
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
73
73
|
function create(options) {
|
|
74
|
-
return
|
|
74
|
+
return make3(serverOptions(options), { overrides: replacements(options) });
|
|
75
75
|
}
|
|
76
76
|
function serverOptions(options) {
|
|
77
77
|
return {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/server",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.28",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -28,20 +28,22 @@
|
|
|
28
28
|
"probe:workerd": "bun run script/workerd-probe.ts"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@effect/platform-node": "4.0.
|
|
32
|
-
"@effect/platform-node-shared": "4.0.
|
|
33
|
-
"@opencode/core": "2.0.
|
|
34
|
-
"@opencode/protocol": "2.0.
|
|
35
|
-
"@opencode/schema": "2.0.
|
|
36
|
-
"@opencode/simulation": "2.0.
|
|
37
|
-
"@opencode/util": "2.0.
|
|
38
|
-
"effect": "4.0.
|
|
31
|
+
"@effect/platform-node": "4.0.1",
|
|
32
|
+
"@effect/platform-node-shared": "4.0.1",
|
|
33
|
+
"@opencode/core": "2.0.28",
|
|
34
|
+
"@opencode/protocol": "2.0.28",
|
|
35
|
+
"@opencode/schema": "2.0.28",
|
|
36
|
+
"@opencode/simulation": "2.0.28",
|
|
37
|
+
"@opencode/util": "2.0.28",
|
|
38
|
+
"effect": "4.0.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@opencode/
|
|
42
|
-
"@opencode/
|
|
41
|
+
"@opencode-ai/pty": "0.2.0",
|
|
42
|
+
"@opencode/client": "2.0.28",
|
|
43
|
+
"@opencode/plugin": "2.0.28",
|
|
43
44
|
"@tsconfig/bun": "1.0.9",
|
|
44
45
|
"@types/bun": "1.4.0",
|
|
45
|
-
"@typescript/native-preview": "7.0.0-dev.20251207.1"
|
|
46
|
+
"@typescript/native-preview": "7.0.0-dev.20251207.1",
|
|
47
|
+
"fast-check": "4.9.0"
|
|
46
48
|
}
|
|
47
49
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Api2
|
|
3
|
-
} from "./fetch-jxc39wgw.js";
|
|
4
|
-
|
|
5
|
-
// src/handlers/project.ts
|
|
6
|
-
import { Project } from "@opencode/core/project";
|
|
7
|
-
import { Effect } from "effect";
|
|
8
|
-
import { HttpApiBuilder } from "effect/unstable/httpapi";
|
|
9
|
-
import { ProjectNotFoundError } from "@opencode/protocol/errors";
|
|
10
|
-
var ProjectHandler2 = HttpApiBuilder.group(Api2, "server.project", (handlers) => handlers.handle("project.list", () => Project.Service.use((project) => project.list())).handle("project.update", (ctx) => Project.Service.use((project) => project.update({ ...ctx.payload, projectID: ctx.params.projectID }).pipe(Effect.mapError(() => new ProjectNotFoundError({
|
|
11
|
-
projectID: ctx.params.projectID,
|
|
12
|
-
message: `Project not found: ${ctx.params.projectID}`
|
|
13
|
-
}))))));
|
|
14
|
-
|
|
15
|
-
export { ProjectHandler2 };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|