@opencode/core 0.0.0-dev-20000 → 0.0.0-dev-20001
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{model-resolver-m7t37vek.js → persistent-pty-02vnja26.js} +2 -2
- package/dist/chunks/{model-resolver-05szsj41.js → persistent-pty-0301v5d4.js} +11 -11
- package/dist/chunks/{model-resolver-z4068eyq.js → persistent-pty-03wgpffp.js} +8 -8
- package/dist/chunks/{model-resolver-begh0jjd.js → persistent-pty-06j82gr5.js} +17 -17
- package/dist/chunks/{model-resolver-4hndnerf.js → persistent-pty-0jdct4vn.js} +6 -6
- package/dist/chunks/{model-resolver-2fgn2we9.js → persistent-pty-0ke265bw.js} +7 -7
- package/dist/chunks/{model-resolver-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-xj9c03pw.js → persistent-pty-0shdscng.js} +68 -68
- package/dist/chunks/{model-resolver-tx9w5tca.js → persistent-pty-0xezjjjn.js} +8 -8
- package/dist/chunks/{model-resolver-zmf7epqt.js → persistent-pty-0ytdgy0f.js} +24 -24
- package/dist/chunks/{model-resolver-s0hza5ac.js → persistent-pty-1080qp6z.js} +4 -4
- package/dist/chunks/{model-resolver-fbfs1p3d.js → persistent-pty-12ygs1y2.js} +25 -25
- package/dist/chunks/persistent-pty-1b8jsvpy.js +252 -0
- package/dist/chunks/{model-resolver-bzpr344t.js → persistent-pty-1bmd05sh.js} +26 -26
- package/dist/chunks/{model-resolver-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-4z2468ba.js → persistent-pty-1js78yem.js} +22 -22
- package/dist/chunks/{model-resolver-dtqg9ce1.js → persistent-pty-1nwxscpy.js} +5 -5
- package/dist/chunks/{model-resolver-aczm2rxs.js → persistent-pty-1rf1qtgk.js} +28 -28
- package/dist/chunks/{model-resolver-n96ncz0a.js → persistent-pty-1vmwvk68.js} +35 -35
- package/dist/chunks/{model-resolver-0m8zc7zn.js → persistent-pty-1zpw9mw1.js} +12 -12
- package/dist/chunks/{model-resolver-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-thj49w3f.js → persistent-pty-251fq3yt.js} +7 -7
- package/dist/chunks/{model-resolver-3agcf731.js → persistent-pty-26s3bdt9.js} +43 -43
- package/dist/chunks/{model-resolver-wa5fn18k.js → persistent-pty-27b310mf.js} +11 -11
- package/dist/chunks/{model-resolver-krbbkavy.js → persistent-pty-28zq9rra.js} +14 -14
- package/dist/chunks/{model-resolver-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-2wkarfxb.js → persistent-pty-2jjexhp9.js} +17 -17
- package/dist/chunks/{model-resolver-mdm19ygt.js → persistent-pty-2kbmmw84.js} +17 -17
- package/dist/chunks/{model-resolver-x9mtwtp0.js → persistent-pty-2q6kkxxq.js} +4 -4
- package/dist/chunks/{model-resolver-28hv8daj.js → persistent-pty-2sjbwh8c.js} +13 -13
- package/dist/chunks/{model-resolver-4k3f784t.js → persistent-pty-2xfper2k.js} +9 -9
- package/dist/chunks/{model-resolver-tc4pcybw.js → persistent-pty-348snc1t.js} +36 -36
- package/dist/chunks/{model-resolver-g83zqadm.js → persistent-pty-37rrne4q.js} +1 -1
- package/dist/chunks/{model-resolver-sk1h1qsj.js → persistent-pty-3baz7vjv.js} +5 -5
- package/dist/chunks/{model-resolver-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-eg6f78tx.js → persistent-pty-3grpvr0x.js} +7 -7
- package/dist/chunks/{model-resolver-6a9wqxav.js → persistent-pty-3h6p5hfd.js} +21 -21
- package/dist/chunks/{model-resolver-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-44ke2mar.js → persistent-pty-3tq5qxbk.js} +8 -8
- package/dist/chunks/{model-resolver-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-tz2bjj40.js → persistent-pty-3w0fmcng.js} +5 -5
- package/dist/chunks/{model-resolver-58jf3t5q.js → persistent-pty-3wggxd0g.js} +45 -45
- package/dist/chunks/{model-resolver-cb3fxghj.js → persistent-pty-4146b8yh.js} +3 -3
- package/dist/chunks/{model-resolver-qvb3nf84.js → persistent-pty-4c2df9zx.js} +8 -8
- package/dist/chunks/{model-resolver-pqfrnb1v.js → persistent-pty-4ddzh0v1.js} +10 -10
- package/dist/chunks/{model-resolver-xfv3pavf.js → persistent-pty-4eyny2x4.js} +24 -24
- package/dist/chunks/{model-resolver-qa42b0qm.js → persistent-pty-4n7mevx0.js} +30 -30
- package/dist/chunks/{model-resolver-g36s099n.js → persistent-pty-4tma0fsr.js} +11 -11
- package/dist/chunks/{model-resolver-yjptyezs.js → persistent-pty-510m7gjw.js} +5 -5
- package/dist/chunks/{model-resolver-t9w9gn5n.js → persistent-pty-532h92k8.js} +22 -22
- package/dist/chunks/{model-resolver-xfkkasph.js → persistent-pty-57b9ws8p.js} +7 -7
- package/dist/chunks/{model-resolver-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
- package/dist/chunks/{model-resolver-a7k9f908.js → persistent-pty-5et4qy09.js} +15 -15
- package/dist/chunks/{model-resolver-qyb91t3f.js → persistent-pty-5fznqp73.js} +6 -6
- package/dist/chunks/{model-resolver-n71jfxt4.js → persistent-pty-5pp3ynyy.js} +85 -85
- package/dist/chunks/{model-resolver-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-g0445xdp.js → persistent-pty-5xtgfte3.js} +6 -6
- package/dist/chunks/{model-resolver-3fm5zfbn.js → persistent-pty-63t8mypd.js} +16 -16
- package/dist/chunks/{model-resolver-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-b66nv89x.js → persistent-pty-6v3qmmgj.js} +18 -18
- package/dist/chunks/{model-resolver-c488s98d.js → persistent-pty-74rrnwt7.js} +5 -5
- package/dist/chunks/{model-resolver-1jqe3dpm.js → persistent-pty-7ag8gg1a.js} +7 -7
- package/dist/chunks/{model-resolver-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-k0t2epba.js → persistent-pty-7crdshgt.js} +11 -11
- package/dist/chunks/{model-resolver-g0kbvjej.js → persistent-pty-7dvgeykw.js} +24 -24
- package/dist/chunks/persistent-pty-7fj5dwt0.js +18 -0
- package/dist/chunks/{model-resolver-qtv9ncch.js → persistent-pty-7kvmecgy.js} +18 -18
- package/dist/chunks/{model-resolver-7kpff7kp.js → persistent-pty-7sfnpa80.js} +8 -8
- package/dist/chunks/{model-resolver-nb8wcjkv.js → persistent-pty-7xpfs8hq.js} +19 -19
- package/dist/chunks/{model-resolver-fj98xnxf.js → persistent-pty-7zgnt065.js} +23 -23
- package/dist/chunks/{model-resolver-h01nhy7h.js → persistent-pty-89mvg365.js} +4 -4
- package/dist/chunks/{model-resolver-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-6wjgjjys.js → persistent-pty-8e18ys7f.js} +20 -20
- package/dist/chunks/{model-resolver-5t68c6r6.js → persistent-pty-91mb3y5y.js} +11 -11
- package/dist/chunks/{model-resolver-ra9qb9xd.js → persistent-pty-94acgbaq.js} +27 -27
- package/dist/chunks/{model-resolver-zz8q6pd3.js → persistent-pty-9pswcrc4.js} +18 -18
- package/dist/chunks/{model-resolver-4b6qd0e2.js → persistent-pty-9zjxkq4z.js} +3 -3
- package/dist/chunks/{model-resolver-qhmmrrfr.js → persistent-pty-a3n22e4k.js} +15 -15
- package/dist/chunks/{model-resolver-jca4demv.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{model-resolver-w35rqvbd.js → persistent-pty-a8mfdwnk.js} +47 -47
- package/dist/chunks/{model-resolver-atazjj4k.js → persistent-pty-aa0gpb6n.js} +3 -3
- package/dist/chunks/{model-resolver-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-yt0fqk68.js → persistent-pty-af04s6ss.js} +5 -5
- package/dist/chunks/{model-resolver-9erfw3e9.js → persistent-pty-aqsacfjy.js} +10 -10
- package/dist/chunks/{model-resolver-yx9ma9ke.js → persistent-pty-arz3vx5k.js} +15 -15
- package/dist/chunks/{model-resolver-yr3ev74z.js → persistent-pty-b1rzham2.js} +8 -8
- package/dist/chunks/{model-resolver-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-jmjny7z7.js → persistent-pty-brkzx8ca.js} +44 -44
- package/dist/chunks/{model-resolver-fpq9acqp.js → persistent-pty-bw9zjykr.js} +6 -6
- package/dist/chunks/{model-resolver-v1n7f3bv.js → persistent-pty-bzw5p0v3.js} +38 -38
- package/dist/chunks/{model-resolver-bktrs35w.js → persistent-pty-c3ewdk9q.js} +35 -35
- package/dist/chunks/{model-resolver-my074bcz.js → persistent-pty-c3tmynma.js} +47 -47
- package/dist/chunks/{model-resolver-rfh2gm6b.js → persistent-pty-c5drhkvr.js} +15 -15
- package/dist/chunks/{model-resolver-76h15cea.js → persistent-pty-c8x40s92.js} +15 -15
- package/dist/chunks/{model-resolver-fj17ffs4.js → persistent-pty-c9ex5cwa.js} +81 -81
- package/dist/chunks/{model-resolver-g190xswt.js → persistent-pty-cavr175a.js} +4 -4
- package/dist/chunks/{model-resolver-cdfabfzn.js → persistent-pty-ccs2c1bh.js} +41 -41
- package/dist/chunks/{model-resolver-c6wsyg9f.js → persistent-pty-cehc4fcm.js} +7 -7
- package/dist/chunks/{model-resolver-jkh9wndb.js → persistent-pty-cq27jvec.js} +9 -9
- package/dist/chunks/{model-resolver-4j9e7cf8.js → persistent-pty-cqh1h3gn.js} +17 -17
- package/dist/chunks/{model-resolver-cggswk6d.js → persistent-pty-cr5b1n6y.js} +5 -5
- package/dist/chunks/{model-resolver-174jbkxj.js → persistent-pty-cw86rn5q.js} +11 -11
- package/dist/chunks/{model-resolver-79qaa2kf.js → persistent-pty-cwa6csj7.js} +9 -9
- package/dist/chunks/{model-resolver-vhh0q4nc.js → persistent-pty-cxbap5yk.js} +17 -17
- package/dist/chunks/{model-resolver-k922v2jb.js → persistent-pty-cy0spz2z.js} +36 -36
- package/dist/chunks/{model-resolver-7edpsxsq.js → persistent-pty-d16x3hw8.js} +22 -22
- package/dist/chunks/{model-resolver-vtr3qy6y.js → persistent-pty-d2s3wkz4.js} +9 -9
- package/dist/chunks/{model-resolver-d5fw341f.js → persistent-pty-d48vtfkp.js} +16 -16
- package/dist/chunks/{model-resolver-z9mxambq.js → persistent-pty-d4j0d6g7.js} +10 -10
- package/dist/chunks/{model-resolver-str9ee35.js → persistent-pty-d5b6jkc9.js} +5 -5
- package/dist/chunks/{model-resolver-zdewk29h.js → persistent-pty-de2bbkbe.js} +3 -3
- package/dist/chunks/{model-resolver-ck7nwdye.js → persistent-pty-df1v60n5.js} +8 -8
- package/dist/chunks/{model-resolver-k9d40v1y.js → persistent-pty-dg2cj1yd.js} +4 -4
- package/dist/chunks/{model-resolver-5qkxfyep.js → persistent-pty-dg5bcj4q.js} +6 -6
- package/dist/chunks/{model-resolver-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-bx0s8vkw.js → persistent-pty-dpdgxbb1.js} +15 -15
- package/dist/chunks/{model-resolver-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-f2f4fq37.js → persistent-pty-dra9bm4c.js} +12 -12
- package/dist/chunks/{model-resolver-0x74s4t4.js → persistent-pty-dsn3ey9m.js} +22 -22
- package/dist/chunks/{model-resolver-8v5x5jkq.js → persistent-pty-dw2g2n7y.js} +22 -22
- package/dist/chunks/{model-resolver-38xyry6s.js → persistent-pty-dy85ckvv.js} +29 -29
- package/dist/chunks/{model-resolver-mv0cq2z8.js → persistent-pty-e4erjdx3.js} +5 -5
- package/dist/chunks/{model-resolver-1s3p39g4.js → persistent-pty-e6hd9jay.js} +6 -6
- package/dist/chunks/{model-resolver-4xhhjths.js → persistent-pty-e942ejx1.js} +8 -8
- package/dist/chunks/{model-resolver-eaj1djv9.js → persistent-pty-eaj1djv9.js} +1 -1
- package/dist/chunks/{model-resolver-9a7hdk7d.js → persistent-pty-ed86yh56.js} +11 -11
- package/dist/chunks/{model-resolver-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-ashh1ge4.js → persistent-pty-efvcp6ns.js} +11 -11
- package/dist/chunks/{model-resolver-2k6pk5vr.js → persistent-pty-ejx6caqb.js} +4 -4
- package/dist/chunks/{model-resolver-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-resolver-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-s96k9d5p.js → persistent-pty-f1mqex3k.js} +27 -27
- package/dist/chunks/{model-resolver-sd9tm8pe.js → persistent-pty-f52kf95x.js} +14 -14
- package/dist/chunks/{model-resolver-cynj0k86.js → persistent-pty-factba7n.js} +3 -3
- package/dist/chunks/{model-resolver-pmt63s4b.js → persistent-pty-feex15hn.js} +16 -16
- package/dist/chunks/{model-resolver-v17cfwww.js → persistent-pty-fmgpc4my.js} +27 -27
- package/dist/chunks/{model-resolver-4fbyhaeh.js → persistent-pty-fmz924ae.js} +4 -4
- package/dist/chunks/{model-resolver-pk8w8bk6.js → persistent-pty-fq9618wy.js} +6 -6
- package/dist/chunks/{model-resolver-snvbvate.js → persistent-pty-ft0qtczr.js} +8 -8
- package/dist/chunks/{model-resolver-rweywjj1.js → persistent-pty-fwkkykk2.js} +10 -10
- package/dist/chunks/{model-resolver-vvge8z52.js → persistent-pty-g11rfc9f.js} +5 -5
- package/dist/chunks/{model-resolver-818pfwc9.js → persistent-pty-g8jasmdt.js} +8 -8
- package/dist/chunks/{model-resolver-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-84zcxbc9.js → persistent-pty-gg4dpy88.js} +5 -5
- package/dist/chunks/persistent-pty-ghg0rxwy.js +26 -0
- package/dist/chunks/{model-resolver-bha4atvq.js → persistent-pty-gnx4ytbv.js} +4 -4
- package/dist/chunks/{model-resolver-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-pdwdsh5k.js → persistent-pty-gwda3vg2.js} +11 -11
- package/dist/chunks/{model-resolver-spf3as2g.js → persistent-pty-h3ek80ta.js} +8 -8
- package/dist/chunks/{model-resolver-4wv1b6rs.js → persistent-pty-h4n5n8rw.js} +4 -4
- package/dist/chunks/{model-resolver-44h5tttr.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-resolver-5hn0anhr.js → persistent-pty-hqt5d750.js} +19 -19
- package/dist/chunks/{model-resolver-qh2rvgcy.js → persistent-pty-hrqvzjyr.js} +18 -18
- package/dist/chunks/{model-resolver-vm3q9gwz.js → persistent-pty-hse91znn.js} +9 -9
- package/dist/chunks/{model-resolver-s4waqpsd.js → persistent-pty-j260a8hh.js} +13 -13
- package/dist/chunks/{model-resolver-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-yp71q2zj.js → persistent-pty-j8z3d1d1.js} +25 -25
- package/dist/chunks/{model-resolver-2ky1fxdg.js → persistent-pty-jatykmcp.js} +14 -14
- package/dist/chunks/{model-resolver-dm8zbqys.js → persistent-pty-jbbq3td5.js} +9 -9
- package/dist/chunks/{model-resolver-yyafvb72.js → persistent-pty-jbmcst8e.js} +3 -3
- package/dist/chunks/{model-resolver-q3t37ft6.js → persistent-pty-jexxy024.js} +3 -3
- package/dist/chunks/{model-resolver-1vpcg86p.js → persistent-pty-jpbtdz7j.js} +17 -17
- package/dist/chunks/{model-resolver-cz7kh7dr.js → persistent-pty-jptceg29.js} +33 -33
- package/dist/chunks/{model-resolver-7jasy514.js → persistent-pty-k17td3rr.js} +4 -4
- package/dist/chunks/{model-resolver-4arb9zza.js → persistent-pty-k1qrnqst.js} +8 -8
- package/dist/chunks/{model-resolver-sqy4ahhk.js → persistent-pty-k53npxr2.js} +1 -1
- package/dist/chunks/{model-resolver-qyyztgt2.js → persistent-pty-k5bqq78w.js} +5 -5
- package/dist/chunks/{model-resolver-3fpk5dv0.js → persistent-pty-k61k5w90.js} +26 -26
- package/dist/chunks/{model-resolver-dngkxtp1.js → persistent-pty-kmm1f1wa.js} +5 -5
- package/dist/chunks/{model-resolver-h6awx5kd.js → persistent-pty-kskhsqm3.js} +11 -11
- package/dist/chunks/{model-resolver-bjgp5qsh.js → persistent-pty-kygpjxdc.js} +8 -8
- package/dist/chunks/{model-resolver-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-24dd53tp.js → persistent-pty-m2d0j7c0.js} +5 -5
- package/dist/chunks/{model-resolver-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-tbjske3a.js → persistent-pty-m3ktmgc5.js} +13 -13
- package/dist/chunks/{model-resolver-9ax1p4ye.js → persistent-pty-m4b2b706.js} +32 -32
- package/dist/chunks/{model-resolver-mdjvh782.js → persistent-pty-m688y65p.js} +11 -11
- package/dist/chunks/{model-resolver-6219dr34.js → persistent-pty-m7d2j08w.js} +4 -4
- package/dist/chunks/{model-resolver-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-mfqp6xfm.js → persistent-pty-mfqp6xfm.js} +2 -2
- package/dist/chunks/{model-resolver-8pccpkv9.js → persistent-pty-mzvzs703.js} +12 -12
- package/dist/chunks/{model-resolver-ed6vg7gg.js → persistent-pty-n3d06r9t.js} +24 -24
- package/dist/chunks/{model-resolver-whxapjwv.js → persistent-pty-n5mghb8v.js} +9 -9
- package/dist/chunks/{model-resolver-ckd8zaaf.js → persistent-pty-nax8v91w.js} +21 -21
- package/dist/chunks/{model-resolver-k64bnwpa.js → persistent-pty-nnspx4pw.js} +6 -6
- package/dist/chunks/{model-resolver-y0vc2xyv.js → persistent-pty-ns89s3d7.js} +15 -15
- package/dist/chunks/{model-resolver-k3c624dm.js → persistent-pty-nzks3jc8.js} +3 -3
- package/dist/chunks/{model-resolver-d14vprx8.js → persistent-pty-p127k79g.js} +8 -8
- package/dist/chunks/{model-resolver-tbz0fdvh.js → persistent-pty-p28j5sbe.js} +5 -5
- package/dist/chunks/{model-resolver-nz2zjb46.js → persistent-pty-p776grxc.js} +24 -24
- package/dist/chunks/{model-resolver-kh9zez9n.js → persistent-pty-p7y4s0m8.js} +12 -12
- package/dist/chunks/{model-resolver-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-a233dc7h.js → persistent-pty-pnnq9hbh.js} +26 -26
- package/dist/chunks/{model-resolver-5a56x6pe.js → persistent-pty-ppke3c5n.js} +3 -3
- package/dist/chunks/{model-resolver-7entrr9d.js → persistent-pty-pq009wkf.js} +27 -27
- package/dist/chunks/{model-resolver-9mxycm4n.js → persistent-pty-pq64y31t.js} +11 -11
- package/dist/chunks/{model-resolver-bgpjdstn.js → persistent-pty-q6t4s3zd.js} +1 -1
- package/dist/chunks/{model-resolver-fdv30zvt.js → persistent-pty-qa3qhgw8.js} +5 -5
- package/dist/chunks/{model-resolver-aqe8m42w.js → persistent-pty-qc5ntz1d.js} +26 -26
- package/dist/chunks/{model-resolver-pnc3prtr.js → persistent-pty-qcvmd6b9.js} +18 -18
- package/dist/chunks/{model-resolver-p13zq1q5.js → persistent-pty-qe6yd3vy.js} +20 -20
- package/dist/chunks/{model-resolver-6jd6xyvr.js → persistent-pty-qfckc8ww.js} +25 -25
- package/dist/chunks/{model-resolver-fcrkznn8.js → persistent-pty-qgn6gcr1.js} +5 -5
- package/dist/chunks/{model-resolver-nzrwgsp4.js → persistent-pty-qhc1hnsx.js} +7 -7
- package/dist/chunks/{model-resolver-nx8b8w69.js → persistent-pty-qj49ekh6.js} +5 -5
- package/dist/chunks/{model-resolver-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-nhjaecst.js → persistent-pty-qsf83v83.js} +33 -33
- package/dist/chunks/{model-resolver-9f502qc3.js → persistent-pty-qyc7x7z5.js} +21 -21
- package/dist/chunks/{model-resolver-n7xx8kr6.js → persistent-pty-r1hamq85.js} +21 -21
- package/dist/chunks/{model-resolver-j028xdjb.js → persistent-pty-r5x6zcsm.js} +3 -3
- package/dist/chunks/{model-resolver-tk3x1716.js → persistent-pty-r9byqgec.js} +13 -13
- package/dist/chunks/{model-resolver-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-zga4qn8p.js → persistent-pty-re97pqet.js} +13 -13
- package/dist/chunks/{model-resolver-r8xr0va3.js → persistent-pty-rhraev7y.js} +4 -4
- package/dist/chunks/{model-resolver-7c2qk6yp.js → persistent-pty-rkn362zb.js} +14 -14
- package/dist/chunks/{model-resolver-c2fgwm5w.js → persistent-pty-rnfswt5s.js} +33 -33
- package/dist/chunks/{model-resolver-zz841dsp.js → persistent-pty-rzpbq8m1.js} +15 -15
- package/dist/chunks/{model-resolver-ax3ghaez.js → persistent-pty-sjj5q5p7.js} +11 -11
- package/dist/chunks/{model-resolver-t44e5ekz.js → persistent-pty-svvemcs6.js} +3 -3
- package/dist/chunks/{model-resolver-pmr4s4kc.js → persistent-pty-sx1n432n.js} +4 -4
- package/dist/chunks/{model-resolver-mty6m7w9.js → persistent-pty-t35mr6en.js} +21 -21
- package/dist/chunks/{model-resolver-e4s55qb8.js → persistent-pty-t5ehz8va.js} +23 -23
- package/dist/chunks/{model-resolver-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-kstfjgce.js → persistent-pty-v710rhrc.js} +18 -18
- package/dist/chunks/{model-resolver-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-9h82tyv8.js → persistent-pty-vftqyr62.js} +25 -25
- package/dist/chunks/{model-resolver-c9fwgwbn.js → persistent-pty-vh5e817s.js} +19 -19
- package/dist/chunks/{model-resolver-fb5x04t9.js → persistent-pty-vpshg2tm.js} +4 -4
- package/dist/chunks/{model-resolver-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/persistent-pty-w53xn0nw.js +503 -0
- package/dist/chunks/{model-resolver-hw06r73w.js → persistent-pty-warmmh1m.js} +3 -3
- package/dist/chunks/{model-resolver-0tc3z27w.js → persistent-pty-wchatq2q.js} +17 -17
- package/dist/chunks/{model-resolver-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-71n90aqe.js → persistent-pty-wqgbc62j.js} +44 -44
- package/dist/chunks/{model-resolver-wwxnzhtj.js → persistent-pty-wrzkdsf5.js} +17 -17
- package/dist/chunks/{model-resolver-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-g0jvtwam.js → persistent-pty-x6vejd3b.js} +28 -28
- package/dist/chunks/{model-resolver-frznjamf.js → persistent-pty-x75m8cnz.js} +15 -15
- package/dist/chunks/{model-resolver-vqpavwsp.js → persistent-pty-xfbn00ej.js} +10 -10
- package/dist/chunks/{model-resolver-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-srfprz60.js → persistent-pty-y2m72ezy.js} +16 -16
- package/dist/chunks/{model-resolver-zp6gb285.js → persistent-pty-y2pttbdt.js} +6 -6
- package/dist/chunks/{model-resolver-bzgcn0jp.js → persistent-pty-y56ehv6b.js} +9 -9
- package/dist/chunks/{model-resolver-gyrg5twe.js → persistent-pty-y575bkyz.js} +43 -43
- package/dist/chunks/{model-resolver-h90v2x9d.js → persistent-pty-y6mhz57t.js} +4 -4
- package/dist/chunks/{model-resolver-xec6pqx5.js → persistent-pty-y7k45b13.js} +171 -171
- package/dist/chunks/{model-resolver-ycwdbjxs.js → persistent-pty-y81fdv5s.js} +5 -5
- package/dist/chunks/{model-resolver-gmjjhz4f.js → persistent-pty-ybhbtxjg.js} +3 -3
- package/dist/chunks/{model-resolver-xbtb5td3.js → persistent-pty-yfwykd95.js} +7 -7
- package/dist/chunks/{model-resolver-h8h70yyk.js → persistent-pty-yjdjwa94.js} +5 -5
- package/dist/chunks/{model-resolver-x9hfrad7.js → persistent-pty-ykr3afan.js} +10 -10
- package/dist/chunks/{model-resolver-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-vj84vw6v.js → persistent-pty-yrrfxzmt.js} +14 -14
- package/dist/chunks/{model-resolver-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-hj6m6sww.js → persistent-pty-yzzhc2zs.js} +23 -23
- package/dist/chunks/{model-resolver-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-r6k8j3qp.js → persistent-pty-z0wq6kh9.js} +39 -39
- package/dist/chunks/{model-resolver-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-zst1va42.js → persistent-pty-z9qyhhpt.js} +8 -8
- package/dist/chunks/{model-resolver-yvp2mdaf.js → persistent-pty-ze7293fq.js} +20 -20
- package/dist/chunks/{model-resolver-f73rjn58.js → persistent-pty-zee1rnkq.js} +4 -4
- package/dist/chunks/{model-resolver-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-9n0wq1sz.js → persistent-pty-zekjwgez.js} +10 -10
- package/dist/chunks/{model-resolver-zvwz45r0.js → persistent-pty-zg3tcem2.js} +9 -9
- package/dist/chunks/{model-resolver-3ksyz8es.js → persistent-pty-zhcafb9x.js} +28 -28
- package/dist/chunks/{model-resolver-awxzdy28.js → persistent-pty-zpqymkmv.js} +13 -13
- package/dist/chunks/{model-resolver-ez8b3w29.js → persistent-pty-zqm1r2z0.js} +11 -11
- package/dist/chunks/{model-resolver-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-4perdbh7.js → persistent-pty-zvberzsv.js} +15 -15
- package/dist/chunks/{model-resolver-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- 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 +98 -98
- 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/id/id.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 +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +82 -82
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/model-resolver-9sh4wc5j.js +0 -18
- package/dist/chunks/model-resolver-appk1rsm.js +0 -252
- package/dist/chunks/model-resolver-kdqm869a.js +0 -503
- package/dist/chunks/model-resolver-qpq35ba3.js +0 -26
- /package/dist/chunks/{model-resolver-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-vpshg2tm.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-cr5b1n6y.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service68,
|
|
12
|
+
node72
|
|
13
|
+
} from "./persistent-pty-3h6p5hfd.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-ybhbtxjg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service66,
|
|
19
|
+
node70
|
|
20
|
+
} from "./persistent-pty-rkn362zb.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service67,
|
|
26
|
+
node71
|
|
27
|
+
} from "./persistent-pty-2jjexhp9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service69,
|
|
30
|
+
node73
|
|
31
|
+
} from "./persistent-pty-0xezjjjn.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event13,
|
|
46
|
+
ID: () => ID8,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service65,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node69
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event13 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID8 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
77
|
+
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID8.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID10.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID8,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID8,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID8
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service65 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
132
|
const location = yield* Service79;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service68;
|
|
134
|
+
const sessions = yield* Service66;
|
|
135
|
+
const saved = yield* Service67;
|
|
136
|
+
const hooks = yield* Service69;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID8.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID8.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service65.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node69 = makeLocationNode({
|
|
303
|
+
service: Service65,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87, node83,
|
|
305
|
+
deps: [node87, node83, node72, node70, node71, node73]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node69, exports_permission2, Rule3, Ruleset2, Event13 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-74rrnwt7.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service71,
|
|
16
|
+
node75
|
|
17
|
+
} from "./persistent-pty-d4j0d6g7.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service55,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node58,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service55 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service71;
|
|
110
|
+
return Service55.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node58 = makeGlobalNode({
|
|
171
|
+
service: Service55,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node85, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node75]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service55, isError2, validateBranch2, node58, exports_repository_cache };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-9zjxkq4z.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-vpshg2tm.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node82
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key3, Value2, Event19, Info31, Service78, node82, exports_credential };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-f1mqex3k.js";
|
|
7
7
|
import {
|
|
8
8
|
Service79,
|
|
9
9
|
node83
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-cr5b1n6y.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service65,
|
|
13
|
+
node69
|
|
14
|
+
} from "./persistent-pty-wqgbc62j.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service17,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node19,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service17 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
60
|
const location = yield* Service79;
|
|
61
|
-
const permission = yield*
|
|
61
|
+
const permission = yield* Service65;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service17.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node19 = makeLocationNode({ service: Service17, layer, deps: [FSUtil.node, node83, node69] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service17, resolvePath2, node19, exports_file_access };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-pq009wkf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./persistent-pty-bzw5p0v3.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-5fznqp73.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service51;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID12.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make7();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make7, OllamaPlugin2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-vpshg2tm.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-cr5b1n6y.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service66,
|
|
14
|
+
node70
|
|
15
|
+
} from "./persistent-pty-rkn362zb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service9,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node11
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service9 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service66;
|
|
41
41
|
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service9.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node11 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node, node83,
|
|
101
|
+
deps: [node87, FSUtil.node, node83, node70]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service9, node11, exports_instructions };
|