@opencode/core 0.0.0-dev-21592 → 0.0.0-dev-21603
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/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{model-jx89vj1k.js → filesystem-033a0jkt.js} +3 -3
- package/dist/chunks/{model-aj7mw0zk.js → filesystem-034tev2y.js} +2 -2
- package/dist/chunks/{model-5z2mzmdm.js → filesystem-0kew33c2.js} +7 -7
- package/dist/chunks/{model-vssrn3v8.js → filesystem-0s34gk3x.js} +8 -8
- package/dist/chunks/{model-jgp3dhd9.js → filesystem-0t2efqex.js} +45 -45
- package/dist/chunks/{model-x78b4590.js → filesystem-116ca35p.js} +24 -24
- package/dist/chunks/{model-g56hrhg3.js → filesystem-1byvm3vx.js} +9 -9
- package/dist/chunks/{model-t25nhsq0.js → filesystem-1c8e1z5t.js} +5 -5
- package/dist/chunks/{model-27w5k9zf.js → filesystem-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-4qc2xvk6.js → filesystem-1tpn6myv.js} +36 -36
- package/dist/chunks/{model-vmwcq5xv.js → filesystem-1w51vxkz.js} +13 -13
- package/dist/chunks/{model-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-wqscedq8.js → filesystem-1y0wdj51.js} +4 -4
- package/dist/chunks/{model-s2gphw67.js → filesystem-22qxr633.js} +19 -19
- package/dist/chunks/{model-b5q9zetx.js → filesystem-2bxs16p1.js} +47 -47
- package/dist/chunks/{model-ggyjb5de.js → filesystem-2f3z3cr8.js} +337 -337
- package/dist/chunks/{model-ct02k7de.js → filesystem-2j6zzxrf.js} +5 -5
- package/dist/chunks/{model-k1whs75x.js → filesystem-2n0h6mem.js} +11 -11
- package/dist/chunks/{model-8xsxb202.js → filesystem-2q14gge3.js} +27 -27
- package/dist/chunks/{model-gwprnrgv.js → filesystem-2qc03bdv.js} +14 -14
- package/dist/chunks/{model-4txkrg0g.js → filesystem-2xm0hnd3.js} +11 -11
- package/dist/chunks/{model-2z1j29yd.js → filesystem-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-srsshwrf.js → filesystem-32tacxf9.js} +4 -4
- package/dist/chunks/{model-df6r7s43.js → filesystem-3af2h6f6.js} +18 -18
- package/dist/chunks/{model-0q0he6s7.js → filesystem-3dedk1s0.js} +28 -28
- package/dist/chunks/{model-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-egmw08v6.js → filesystem-3k4jc8v0.js} +5 -5
- package/dist/chunks/{model-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-9g5n6tdw.js → filesystem-3trpca19.js} +12 -12
- package/dist/chunks/{model-8jxvmzrw.js → filesystem-3v1362xg.js} +25 -25
- package/dist/chunks/{model-d2r51erv.js → filesystem-43jry69q.js} +8 -8
- package/dist/chunks/{model-4hwp5n1a.js → filesystem-4ap0d51q.js} +6 -6
- package/dist/chunks/{model-wb79839p.js → filesystem-4b4zxyy8.js} +9 -9
- package/dist/chunks/{model-g88zdbhx.js → filesystem-4ef8bwn9.js} +14 -14
- package/dist/chunks/{model-pngkbba6.js → filesystem-4k0n4aqd.js} +31 -31
- package/dist/chunks/{model-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{model-4xvmh7wp.js → filesystem-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-gprpk8mk.js → filesystem-4y366mta.js} +4 -4
- package/dist/chunks/{model-a49bexj4.js → filesystem-57r3w4mg.js} +35 -35
- package/dist/chunks/{model-5jp10723.js → filesystem-5ajak8ts.js} +45 -45
- package/dist/chunks/{model-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-hnbfgrzz.js → filesystem-5s0q14pj.js} +8 -8
- package/dist/chunks/{model-g4y1xy0d.js → filesystem-5wkrvrk3.js} +24 -24
- package/dist/chunks/{model-5zrxpy3q.js → filesystem-5zrxpy3q.js} +1 -1
- package/dist/chunks/{model-f1nzbf19.js → filesystem-61g7nd3s.js} +9 -9
- package/dist/chunks/{model-w47q07ee.js → filesystem-65k60evq.js} +5 -5
- package/dist/chunks/{model-5bj5kag9.js → filesystem-6825m99s.js} +20 -20
- package/dist/chunks/{model-5zfr5p9e.js → filesystem-6cxhfye1.js} +28 -28
- package/dist/chunks/{model-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-67zb0nc8.js → filesystem-6je74zf0.js} +16 -16
- package/dist/chunks/{model-6pjqjmy2.js → filesystem-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-x0n658k6.js → filesystem-6w1z0afp.js} +120 -48
- package/dist/chunks/{model-cw8gdmwg.js → filesystem-6xsqtwm9.js} +38 -38
- package/dist/chunks/{model-nah043kf.js → filesystem-770pw0s1.js} +4 -4
- package/dist/chunks/{model-q39pt7dd.js → filesystem-79yxn91x.js} +17 -17
- package/dist/chunks/{model-zgmrepvs.js → filesystem-7ag3s6hb.js} +4 -4
- package/dist/chunks/{model-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-e88dgn8f.js → filesystem-7csthhj8.js} +4 -4
- package/dist/chunks/{model-6vm2p5a1.js → filesystem-7e5ts14b.js} +18 -18
- package/dist/chunks/{model-a6strf84.js → filesystem-7f5nwzj1.js} +20 -20
- package/dist/chunks/{model-kw3tz860.js → filesystem-7fvw33xg.js} +12 -12
- package/dist/chunks/{model-6nb4ea3p.js → filesystem-7h2wc5qt.js} +16 -16
- package/dist/chunks/{model-ts1rzmt6.js → filesystem-7he63rq2.js} +5 -5
- package/dist/chunks/{model-mr3cdd38.js → filesystem-7k3s3q4g.js} +32 -32
- package/dist/chunks/{model-tq4xd5v5.js → filesystem-7kvsvhsr.js} +8 -8
- package/dist/chunks/{model-chrqa3e7.js → filesystem-7n2s0hvn.js} +5 -5
- package/dist/chunks/{model-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-czhx5hsv.js → filesystem-7zaqb5eb.js} +11 -11
- package/dist/chunks/{model-5newpn23.js → filesystem-81852ppe.js} +28 -28
- package/dist/chunks/filesystem-87sqwm80.js +18 -0
- package/dist/chunks/{model-mvthmwjs.js → filesystem-8fg642az.js} +5 -5
- package/dist/chunks/{model-q0qwz8mp.js → filesystem-8j62s4y7.js} +32 -32
- package/dist/chunks/{model-99h9c51m.js → filesystem-8k7htary.js} +7 -7
- package/dist/chunks/{model-tjfc794x.js → filesystem-8p2axgtb.js} +14 -14
- package/dist/chunks/{model-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-s64sqv58.js → filesystem-8wxy6m1c.js} +10 -10
- package/dist/chunks/{model-nv65jaj5.js → filesystem-8xs7txxn.js} +1 -1
- package/dist/chunks/{model-91rj84md.js → filesystem-91rj84md.js} +1 -1
- package/dist/chunks/{model-741bc9hj.js → filesystem-93cw99tk.js} +43 -43
- package/dist/chunks/{model-bkswmhj3.js → filesystem-942936k7.js} +48 -48
- package/dist/chunks/{model-dvj9ct8m.js → filesystem-998yhzzq.js} +3 -3
- package/dist/chunks/{model-vvf0vm2n.js → filesystem-9d47vacw.js} +17 -17
- package/dist/chunks/{model-fhzt8j0q.js → filesystem-9dzxay90.js} +20 -20
- package/dist/chunks/{model-a1bvjvf9.js → filesystem-9e4mvsvc.js} +43 -43
- package/dist/chunks/filesystem-9jjtdp7g.js +26 -0
- package/dist/chunks/{model-20d9rxq1.js → filesystem-a0pqy3jv.js} +11 -11
- package/dist/chunks/{model-j2gfe9ae.js → filesystem-a9mr4pbf.js} +29 -29
- package/dist/chunks/{model-wtgq8nqm.js → filesystem-an558sqv.js} +7 -7
- package/dist/chunks/{model-q9g9j9gh.js → filesystem-axbw4nz1.js} +21 -21
- package/dist/chunks/{model-3cbjf1nt.js → filesystem-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-4k6phjpp.js → filesystem-azwwy65a.js} +16 -16
- package/dist/chunks/{model-b0mv4wxm.js → filesystem-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-gtndzxs8.js → filesystem-b4rme3tx.js} +6 -6
- package/dist/chunks/{model-mrmbr746.js → filesystem-b55rpsr5.js} +4 -4
- package/dist/chunks/{model-qgeehj15.js → filesystem-b6kqqew2.js} +5 -5
- package/dist/chunks/{model-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
- package/dist/chunks/{model-01j7rzmr.js → filesystem-bcrvt9qa.js} +63 -63
- package/dist/chunks/{model-nyzphh1c.js → filesystem-be4y46ka.js} +15 -15
- package/dist/chunks/{model-78q1pp3f.js → filesystem-bhk5af8b.js} +19 -19
- package/dist/chunks/{model-2eqnzn4s.js → filesystem-bmk2h0av.js} +10 -10
- package/dist/chunks/{model-321ec0g4.js → filesystem-bmz6t6pq.js} +16 -16
- package/dist/chunks/{model-zw8we4s7.js → filesystem-bps13hr4.js} +13 -13
- package/dist/chunks/{model-bstexjd6.js → filesystem-bstexjd6.js} +1 -1
- package/dist/chunks/{model-nar1vcx8.js → filesystem-c1xd845s.js} +11 -11
- package/dist/chunks/{model-zrcjrc8a.js → filesystem-c3mghmzq.js} +21 -21
- package/dist/chunks/{model-pn50smkw.js → filesystem-c3rhye5x.js} +21 -21
- package/dist/chunks/{model-fzj23b6d.js → filesystem-cash41ab.js} +17 -17
- package/dist/chunks/{model-rb6ke7kq.js → filesystem-cc5x4asw.js} +22 -22
- package/dist/chunks/{model-8633aewc.js → filesystem-cd9vvngm.js} +2 -2
- package/dist/chunks/{model-fa339sjc.js → filesystem-cp6v88n8.js} +28 -28
- package/dist/chunks/{model-anx7ry72.js → filesystem-d0adv3wn.js} +4 -4
- package/dist/chunks/{model-szqbbbee.js → filesystem-d4r2kcv6.js} +44 -44
- package/dist/chunks/{model-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-gy8yxpp1.js → filesystem-d5rem3a1.js} +10 -10
- package/dist/chunks/{model-wzdjcsat.js → filesystem-dt3jkxpv.js} +15 -15
- package/dist/chunks/{model-p4h2267x.js → filesystem-dvebtgfn.js} +18 -18
- package/dist/chunks/{model-e834z07m.js → filesystem-e834z07m.js} +1 -1
- package/dist/chunks/{model-gxtyjb3d.js → filesystem-ea8rv3yk.js} +19 -19
- package/dist/chunks/{model-bn4a103g.js → filesystem-ed5h55sq.js} +19 -19
- package/dist/chunks/{model-r07gp9b9.js → filesystem-edpv0694.js} +4 -4
- package/dist/chunks/{model-g8vb2scg.js → filesystem-edvrbgb7.js} +9 -9
- package/dist/chunks/{model-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-hhwb3rx0.js → filesystem-ek8mq45z.js} +20 -20
- package/dist/chunks/{model-b67zw2j5.js → filesystem-epqb75p6.js} +10 -10
- package/dist/chunks/{model-953xbrr3.js → filesystem-eq3fc1qc.js} +5 -5
- package/dist/chunks/{model-bzr0y705.js → filesystem-esjx5599.js} +13 -13
- package/dist/chunks/{model-adpvjdsc.js → filesystem-ewt411c3.js} +24 -24
- package/dist/chunks/{model-c1hv1ece.js → filesystem-exnmcfra.js} +14 -14
- package/dist/chunks/{model-4w20wkzz.js → filesystem-f17hsh48.js} +14 -14
- package/dist/chunks/{model-mbqkgzdb.js → filesystem-f2de68n6.js} +3 -3
- package/dist/chunks/{model-vd89anp8.js → filesystem-f5pe5xbd.js} +11 -11
- package/dist/chunks/{model-pa0vwm8c.js → filesystem-fartem3k.js} +17 -17
- package/dist/chunks/{model-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-na88mdda.js → filesystem-fjqbqs01.js} +17 -17
- package/dist/chunks/{model-gc9zf11p.js → filesystem-fx5d1n8y.js} +2 -2
- package/dist/chunks/{model-0h8y3ex8.js → filesystem-fznmdakp.js} +4 -4
- package/dist/chunks/{model-fsq1pbsz.js → filesystem-g1sdaffb.js} +30 -30
- package/dist/chunks/{model-g5h9c0rr.js → filesystem-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-yqveydy6.js → filesystem-gc4rcfsx.js} +4 -4
- package/dist/chunks/{model-5cm23gk5.js → filesystem-ggdzy5vb.js} +13 -13
- package/dist/chunks/{model-51481qqa.js → filesystem-ggm2jm67.js} +12 -12
- package/dist/chunks/{model-tvs942hr.js → filesystem-gkkwf9ek.js} +23 -23
- package/dist/chunks/{model-vfpfqbnz.js → filesystem-gmxp0tf2.js} +32 -32
- package/dist/chunks/filesystem-h15n1nxh.js +257 -0
- package/dist/chunks/{model-tee140je.js → filesystem-hj2jsaw9.js} +21 -22
- package/dist/chunks/{model-jfb254mg.js → filesystem-hw3tvpxd.js} +13 -13
- package/dist/chunks/{model-pkax9v1w.js → filesystem-hx2kfbk2.js} +7 -7
- package/dist/chunks/{model-j113cymg.js → filesystem-j113cymg.js} +1 -1
- package/dist/chunks/{model-072q16cb.js → filesystem-jghabtcw.js} +28 -28
- package/dist/chunks/{model-d6gm4j52.js → filesystem-jgmj0zrj.js} +43 -43
- package/dist/chunks/{model-jfgmzhvh.js → filesystem-jhe7xhev.js} +36 -36
- package/dist/chunks/{model-jchrqzf6.js → filesystem-jneg3k74.js} +4 -4
- package/dist/chunks/{model-z6g09nf1.js → filesystem-jr7k77qs.js} +3 -3
- package/dist/chunks/{model-vrmm9ccr.js → filesystem-jx3jy26a.js} +14 -14
- package/dist/chunks/{model-sxj6qfjf.js → filesystem-jzckctm7.js} +27 -27
- package/dist/chunks/{model-5g6946ns.js → filesystem-k0rz3mv5.js} +21 -21
- package/dist/chunks/{model-g154atg6.js → filesystem-k2swmk98.js} +18 -18
- package/dist/chunks/{model-72g5xjtf.js → filesystem-k4p9vzj4.js} +6 -6
- package/dist/chunks/{model-k814nvkf.js → filesystem-k814nvkf.js} +1 -1
- package/dist/chunks/{model-8zzv4zj8.js → filesystem-kmx603z6.js} +50 -50
- package/dist/chunks/{model-9kg5w032.js → filesystem-kmzgegqq.js} +8 -8
- package/dist/chunks/{model-mkrzd24w.js → filesystem-kw88awxx.js} +22 -22
- package/dist/chunks/{model-3vq194ty.js → filesystem-kybr559y.js} +18 -18
- package/dist/chunks/{model-0xg995h5.js → filesystem-m07e8bkf.js} +18 -18
- package/dist/chunks/{model-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{model-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-66r9f6z1.js → filesystem-ma48de29.js} +5 -5
- package/dist/chunks/{model-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
- package/dist/chunks/{model-m1wmrjqx.js → filesystem-mgd76wh1.js} +15 -15
- package/dist/chunks/{model-dqgvvwe0.js → filesystem-mmkbt6v3.js} +9 -9
- package/dist/chunks/{model-qxerc9ee.js → filesystem-mqqgcg93.js} +4 -4
- package/dist/chunks/{model-c9t2ty9q.js → filesystem-mtkfycnh.js} +4 -4
- package/dist/chunks/{model-cbvv1y68.js → filesystem-my4zabxr.js} +3 -3
- package/dist/chunks/{model-n0p0277s.js → filesystem-n0p0277s.js} +1 -1
- package/dist/chunks/{model-7ye4ae45.js → filesystem-nad4mkqt.js} +8 -8
- package/dist/chunks/{model-wtnsyy90.js → filesystem-ndfn0p5e.js} +24 -24
- package/dist/chunks/{model-92m6938h.js → filesystem-nftmt6w7.js} +18 -18
- package/dist/chunks/{model-784fke7s.js → filesystem-nh58hc9m.js} +83 -83
- package/dist/chunks/{model-ddq31bgq.js → filesystem-nt6ka9fm.js} +15 -15
- package/dist/chunks/{model-99frgwf9.js → filesystem-ntshrafh.js} +19 -19
- package/dist/chunks/{model-54bbrvq7.js → filesystem-nv7qnqx3.js} +11 -11
- package/dist/chunks/{model-jj73fkkr.js → filesystem-nzhn8ym0.js} +18 -18
- package/dist/chunks/{model-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
- package/dist/chunks/{model-0n48jksk.js → filesystem-p1qvkr9d.js} +32 -32
- package/dist/chunks/{model-hwbsae6b.js → filesystem-p53t1m50.js} +32 -32
- package/dist/chunks/{model-d1rt1382.js → filesystem-p6brcwvv.js} +5 -5
- package/dist/chunks/{model-15v1gk62.js → filesystem-pe681sea.js} +32 -32
- package/dist/chunks/{model-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{model-c6sr2qh2.js → filesystem-pmr385ej.js} +11 -11
- package/dist/chunks/{model-3pj39t0e.js → filesystem-ps833y8c.js} +6 -6
- package/dist/chunks/{model-9437wt4d.js → filesystem-pta84ypa.js} +8 -8
- package/dist/chunks/{model-vf0zxygw.js → filesystem-pvg6n8yd.js} +26 -26
- package/dist/chunks/{model-63jssr0d.js → filesystem-pyeqa8z9.js} +15 -15
- package/dist/chunks/{model-4v9wqr06.js → filesystem-q0d1t4r8.js} +24 -24
- package/dist/chunks/{model-c3zdnxfx.js → filesystem-q45ckesn.js} +31 -31
- package/dist/chunks/{model-8jztxfpf.js → filesystem-qjgzc4b4.js} +4 -4
- package/dist/chunks/{model-q1nnka74.js → filesystem-qjhdweq9.js} +8 -8
- package/dist/chunks/{model-9nw8ck4g.js → filesystem-qmhe942t.js} +4 -4
- package/dist/chunks/{model-272c0xdt.js → filesystem-qnm4ee5f.js} +3 -3
- package/dist/chunks/{model-n4qksct9.js → filesystem-qxd0vyyx.js} +9 -9
- package/dist/chunks/{model-r0yr0wbs.js → filesystem-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-se9dn7rd.js → filesystem-r2skbm8f.js} +9 -9
- package/dist/chunks/{model-w2eysc6j.js → filesystem-r41sfy63.js} +6 -6
- package/dist/chunks/{model-6jpgtjve.js → filesystem-r5q168xg.js} +54 -54
- package/dist/chunks/{model-z0s5rknz.js → filesystem-r66x192s.js} +35 -35
- package/dist/chunks/{model-dkq45v8d.js → filesystem-r6wgv8c9.js} +2 -2
- package/dist/chunks/{model-gn6ba7xn.js → filesystem-r7bm2ta5.js} +6 -6
- package/dist/chunks/{model-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-qq9tt1td.js → filesystem-rbj8gs5v.js} +3 -3
- package/dist/chunks/{model-vdakd0pn.js → filesystem-rfytqs76.js} +86 -86
- package/dist/chunks/{model-xet4rz3q.js → filesystem-rhkbbz1f.js} +6 -6
- package/dist/chunks/{model-prv1cyb1.js → filesystem-rntrk4q6.js} +18 -18
- package/dist/chunks/{model-zba5tm1j.js → filesystem-rrad2nt9.js} +4 -4
- package/dist/chunks/{model-g8bt1dca.js → filesystem-rs61zdpp.js} +9 -9
- package/dist/chunks/{model-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-bq891ma8.js → filesystem-s0jq7590.js} +17 -17
- package/dist/chunks/{model-wsjw5zph.js → filesystem-s1w5fnqx.js} +21 -21
- package/dist/chunks/{model-6hfnb0rs.js → filesystem-s4s6vne1.js} +7 -7
- package/dist/chunks/{model-sysqhah2.js → filesystem-shzcewxt.js} +14 -14
- package/dist/chunks/{model-jj9caqwr.js → filesystem-spa8vgy8.js} +5 -5
- package/dist/chunks/{model-sqjzf8x2.js → filesystem-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-n6v2b7cw.js → filesystem-szcgc7h4.js} +5 -5
- package/dist/chunks/{model-0e0jgjy9.js → filesystem-t0861qrz.js} +11 -11
- package/dist/chunks/{model-t656wjzj.js → filesystem-t2wr9q9z.js} +13 -13
- package/dist/chunks/{model-9nkjg9qd.js → filesystem-t7e7c0ah.js} +6 -6
- package/dist/chunks/{model-8sxdqgb0.js → filesystem-tasvem1v.js} +6 -6
- package/dist/chunks/{model-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-tw8zr1ps.js → filesystem-tw8zr1ps.js} +1 -1
- package/dist/chunks/{model-twv2r8f4.js → filesystem-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-340hmagq.js → filesystem-ty2sm10g.js} +2 -2
- package/dist/chunks/{model-kgex5j78.js → filesystem-v11fj23z.js} +11 -11
- package/dist/chunks/{model-me5bcav6.js → filesystem-v2r1d0zg.js} +2 -2
- package/dist/chunks/{model-1r91ydea.js → filesystem-v6ssz0w4.js} +4 -4
- package/dist/chunks/{model-7bjqyjrs.js → filesystem-v714my2j.js} +36 -36
- package/dist/chunks/{model-6f9z7j1v.js → filesystem-v7ecd1j3.js} +17 -17
- package/dist/chunks/{model-kmfx2698.js → filesystem-vck145x8.js} +17 -17
- package/dist/chunks/{model-vd3b3yk9.js → filesystem-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{model-eqh43b5v.js → filesystem-vgk61ywp.js} +9 -9
- package/dist/chunks/{model-m37sd98t.js → filesystem-vmfhgzt5.js} +4 -4
- package/dist/chunks/{model-sztxty7m.js → filesystem-vq1p6kkc.js} +23 -23
- package/dist/chunks/{model-rjnacbrz.js → filesystem-vrcsa8qx.js} +9 -9
- package/dist/chunks/{model-g1ay4zd8.js → filesystem-vzmjdaw1.js} +9 -9
- package/dist/chunks/{model-35s4j9cr.js → filesystem-w0ng8sb4.js} +14 -14
- package/dist/chunks/{model-zf6q9j4p.js → filesystem-w3hdzqmq.js} +9 -9
- package/dist/chunks/{model-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-r6h7fdbc.js → filesystem-w4ey5q3y.js} +21 -21
- package/dist/chunks/{model-4pr8e29t.js → filesystem-w65kmk12.js} +15 -15
- package/dist/chunks/{model-jg5w3cjw.js → filesystem-w6e33p3k.js} +12 -12
- package/dist/chunks/{model-w8qtt4th.js → filesystem-w8qtt4th.js} +1 -1
- package/dist/chunks/{model-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{model-6r1yb0s4.js → filesystem-wh56f0xg.js} +14 -14
- package/dist/chunks/{model-9zpxcqdf.js → filesystem-wxf6pp3z.js} +32 -32
- package/dist/chunks/{model-5fsc8n82.js → filesystem-xcspg1bc.js} +10 -10
- package/dist/chunks/{model-0b8de6ew.js → filesystem-xh3hzw7q.js} +8 -8
- package/dist/chunks/{model-mq0mqgjr.js → filesystem-xrd94v26.js} +11 -11
- package/dist/chunks/{model-nfaaxv4r.js → filesystem-xs9f9c89.js} +18 -18
- package/dist/chunks/{model-raktd10s.js → filesystem-xw9sjbq7.js} +23 -23
- package/dist/chunks/{model-m7jmd0hd.js → filesystem-xxecem69.js} +26 -26
- package/dist/chunks/{model-0canpjbz.js → filesystem-xxwqbg00.js} +30 -30
- package/dist/chunks/{model-bhzsakrn.js → filesystem-y6v2r02b.js} +104 -62
- package/dist/chunks/{model-ttdgtk4q.js → filesystem-y9xrhqjb.js} +4 -4
- package/dist/chunks/{model-zvrj69sk.js → filesystem-ya1e3r6x.js} +20 -20
- package/dist/chunks/{model-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-n8hmsfpk.js → filesystem-yjzq9vex.js} +29 -29
- package/dist/chunks/{model-21vv1a77.js → filesystem-ypxm9172.js} +4 -4
- package/dist/chunks/{model-vkkc8t8a.js → filesystem-yyn8wt6y.js} +9 -9
- package/dist/chunks/{model-td85jp64.js → filesystem-yznjjmbw.js} +192 -192
- package/dist/chunks/{model-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-891v6h49.js → filesystem-z2g46f5b.js} +4 -4
- package/dist/chunks/{model-z38nccrw.js → filesystem-z38nccrw.js} +1 -1
- package/dist/chunks/{model-xeaspr23.js → filesystem-z5hhap5m.js} +7 -7
- package/dist/chunks/{model-w8a1jqtz.js → filesystem-ze4vdf9h.js} +1 -1
- package/dist/chunks/{model-nxv9x1zm.js → filesystem-zj8h54zn.js} +7 -7
- package/dist/chunks/{model-pz0r8h4k.js → filesystem-zjbp7710.js} +35 -35
- package/dist/chunks/{model-zkg84ctx.js → filesystem-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-7bw1g6gn.js → filesystem-zkgq49d1.js} +4 -4
- package/dist/chunks/{model-1w4vqh2t.js → filesystem-zmwx25fz.js} +2 -2
- package/dist/chunks/{model-j9qw6n70.js → filesystem-zqe6np9v.js} +42 -42
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +72 -72
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +112 -105
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +71 -0
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/mcp/client.d.ts +7 -2
- package/dist/types/mcp/index.d.ts +8 -1
- package/dist/types/mcp/socket-client.d.ts +28 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/model-6f6jf5mb.js +0 -26
- package/dist/chunks/model-grzehpz7.js +0 -18
- package/dist/chunks/model-wvqgfgh4.js +0 -257
- /package/dist/chunks/{model-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5fjb7ams.js → filesystem-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a058387c.js → filesystem-a058387c.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-edpv0694.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./filesystem-fartem3k.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service54,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node57
|
|
13
|
+
} from "./filesystem-v7ecd1j3.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event8,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID6,
|
|
28
|
+
Info: () => Info15,
|
|
29
|
+
NotFoundError: () => NotFoundError6,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service53,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node56
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event8 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID6 = Pty.ID;
|
|
43
|
+
var Info15 = Pty.Info;
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError6 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID6
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID6
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service53 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service85;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service79;
|
|
62
|
+
const shell = yield* Service54;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID6.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service53.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node56 = makeLocationNode({
|
|
273
|
+
service: Service53,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node89,
|
|
275
|
+
deps: [node89, node83, node57]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID6, Info15, CreateInput2, UpdateInput2, NotFoundError6, ExitedError2, Service53, node56, exports_pty, Event8 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-2z1j29yd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./filesystem-jgmj0zrj.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_webfetch, {
|
|
|
22
22
|
Input: () => Input8,
|
|
23
23
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
24
24
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin8,
|
|
26
26
|
WebFetchTool: () => exports_webfetch,
|
|
27
27
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
28
28
|
description: () => description3,
|
|
@@ -94,11 +94,11 @@ var convert = (content, contentType, format) => {
|
|
|
94
94
|
return extractTextFromHTML2(content);
|
|
95
95
|
return content;
|
|
96
96
|
};
|
|
97
|
-
var
|
|
97
|
+
var Plugin8 = {
|
|
98
98
|
id: "opencode.tool.webfetch",
|
|
99
99
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
100
100
|
const http = yield* HttpClient.HttpClient;
|
|
101
|
-
const permission = yield*
|
|
101
|
+
const permission = yield* Service67;
|
|
102
102
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
103
103
|
name: name8,
|
|
104
104
|
options: { codemode: false },
|
|
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
|
|
|
169
169
|
parser.end();
|
|
170
170
|
return text.trim();
|
|
171
171
|
}
|
|
172
|
-
export { name8, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input8,
|
|
172
|
+
export { name8, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input8, Plugin8, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./filesystem-ewt411c3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service33
|
|
6
|
+
} from "./filesystem-t7e7c0ah.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-87sqwm80.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service33;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./filesystem-zqe6np9v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service38
|
|
7
|
+
} from "./filesystem-v11fj23z.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin34
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin34 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service51;
|
|
27
|
+
const output = yield* Service38;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin3 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin34, exports_tool_output };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service48,
|
|
6
|
+
node50
|
|
7
|
+
} from "./filesystem-5ajak8ts.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-n0p0277s.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
16
|
var exports_generate2 = {};
|
|
17
17
|
__export(exports_generate2, {
|
|
18
18
|
Generate: () => exports_generate2,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service47,
|
|
21
21
|
UnavailableError: () => UnavailableError3,
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
|
+
node: () => node49
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -37,11 +37,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service47 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer20 = Layer.effect(Service47, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service48;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -71,12 +71,12 @@ var layer23 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
71
71
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service47.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node49 = makeLocationNode({
|
|
77
|
+
service: Service47,
|
|
78
|
+
layer: layer20,
|
|
79
|
+
deps: [node50, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError3, Service47, layer20, node49, exports_generate2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-xxwqbg00.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-p1qvkr9d.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info21.make({
|
|
98
|
+
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-g5h9c0rr.js";
|
|
7
7
|
import {
|
|
8
8
|
Service86,
|
|
9
9
|
node90
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-rbj8gs5v.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-qjgzc4b4.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node68
|
|
18
|
+
} from "./filesystem-y9xrhqjb.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID7,
|
|
31
|
+
Info: () => Info17,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service64,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
35
|
configured: () => configured10,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node67
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID7 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info17 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID7,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info19 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID7,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service64 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
67
|
var configured10 = (options = {}) => makeGlobalNode({
|
|
68
|
-
service:
|
|
68
|
+
service: Service64,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node90,
|
|
70
|
+
deps: [node90, node68]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info17({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service64.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID7.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node67 = configured10();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID7, Info17, NotFound2, CreateConflict2, Service64, configured10, node67, exports_workspace };
|