@opencode/core 0.0.0-dev-20001 → 0.0.0-dev-20003
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 +82 -82
- 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/{persistent-pty-2sjbwh8c.js → file-0g3aqr52.js} +13 -13
- package/dist/chunks/{persistent-pty-eaj1djv9.js → file-0gdmqesm.js} +8 -8
- package/dist/chunks/{persistent-pty-rkn362zb.js → file-0mpqr77g.js} +16 -16
- package/dist/chunks/{persistent-pty-63t8mypd.js → file-0nj76588.js} +20 -20
- package/dist/chunks/{persistent-pty-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-factba7n.js → file-0pf2e52h.js} +3 -3
- package/dist/chunks/{persistent-pty-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-rzpbq8m1.js → file-0vrwetc9.js} +15 -15
- package/dist/chunks/{persistent-pty-qc5ntz1d.js → file-0wcwk7gc.js} +26 -26
- package/dist/chunks/{persistent-pty-1080qp6z.js → file-1080qp6z.js} +1 -1
- package/dist/chunks/{persistent-pty-26s3bdt9.js → file-1cq1dekj.js} +37 -37
- package/dist/chunks/{persistent-pty-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-m688y65p.js → file-1f5fh47k.js} +11 -11
- package/dist/chunks/{persistent-pty-zhcafb9x.js → file-1xagxxtw.js} +33 -33
- package/dist/chunks/{persistent-pty-arz3vx5k.js → file-1yaq039p.js} +15 -15
- package/dist/chunks/{persistent-pty-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-warmmh1m.js → file-25ajpb73.js} +3 -3
- package/dist/chunks/{persistent-pty-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{persistent-pty-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-zee1rnkq.js → file-2vs2nh1n.js} +4 -4
- package/dist/chunks/{persistent-pty-k53npxr2.js → file-37mwd34b.js} +1 -1
- package/dist/chunks/{persistent-pty-dw2g2n7y.js → file-3cndm9je.js} +24 -24
- package/dist/chunks/{persistent-pty-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-ft0qtczr.js → file-3gj0hb40.js} +8 -8
- package/dist/chunks/{persistent-pty-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-wchatq2q.js → file-3pbgv27k.js} +24 -24
- package/dist/chunks/{persistent-pty-7sfnpa80.js → file-3pt707jp.js} +10 -10
- package/dist/chunks/{persistent-pty-1zpw9mw1.js → file-3rqs9vk3.js} +16 -16
- package/dist/chunks/{persistent-pty-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-9pswcrc4.js → file-46mjq1pt.js} +16 -16
- package/dist/chunks/{persistent-pty-re97pqet.js → file-48pac6vd.js} +13 -13
- package/dist/chunks/{persistent-pty-dpdgxbb1.js → file-4h7fv3fp.js} +22 -22
- package/dist/chunks/{persistent-pty-4146b8yh.js → file-4j0j23ey.js} +3 -3
- package/dist/chunks/{persistent-pty-qyc7x7z5.js → file-4j7mpkgx.js} +21 -21
- package/dist/chunks/{persistent-pty-d16x3hw8.js → file-4s7j885y.js} +24 -24
- package/dist/chunks/{persistent-pty-ykr3afan.js → file-4t3s258c.js} +8 -8
- package/dist/chunks/{persistent-pty-jptceg29.js → file-51egpm6x.js} +31 -31
- package/dist/chunks/{persistent-pty-x75m8cnz.js → file-54b10ezm.js} +12 -12
- package/dist/chunks/{persistent-pty-0ke265bw.js → file-57ez7d0k.js} +5 -5
- package/dist/chunks/{persistent-pty-feex15hn.js → file-5bxvyw76.js} +20 -20
- package/dist/chunks/{persistent-pty-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-5ekn9679.js → file-5ekn9679.js} +1 -1
- package/dist/chunks/{persistent-pty-06j82gr5.js → file-5gs6ad6e.js} +17 -17
- package/dist/chunks/{persistent-pty-251fq3yt.js → file-5nsey3wr.js} +7 -7
- package/dist/chunks/{persistent-pty-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-5xtgfte3.js → file-5xtgfte3.js} +1 -1
- package/dist/chunks/{persistent-pty-m7d2j08w.js → file-5xzfw7ns.js} +4 -4
- package/dist/chunks/{persistent-pty-fmz924ae.js → file-63kmhf8y.js} +4 -4
- package/dist/chunks/{persistent-pty-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-3wggxd0g.js → file-6c4shfhc.js} +51 -51
- package/dist/chunks/{persistent-pty-2402vzrj.js → file-6h73sxmp.js} +5 -5
- package/dist/chunks/{persistent-pty-0shdscng.js → file-6kx7krqt.js} +59 -59
- package/dist/chunks/{persistent-pty-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-f52kf95x.js → file-6z8pkecr.js} +21 -21
- package/dist/chunks/{persistent-pty-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-5fznqp73.js → file-7etxhnt7.js} +4 -4
- package/dist/chunks/{persistent-pty-aqsacfjy.js → file-7wrm002y.js} +8 -8
- package/dist/chunks/{persistent-pty-rnfswt5s.js → file-7z6w84v8.js} +35 -35
- package/dist/chunks/{persistent-pty-y6mhz57t.js → file-80scg3y3.js} +4 -4
- package/dist/chunks/{persistent-pty-f1mqex3k.js → file-84as8cq2.js} +23 -23
- package/dist/chunks/{persistent-pty-9zjxkq4z.js → file-85s8v53t.js} +3 -3
- package/dist/chunks/{persistent-pty-e6hd9jay.js → file-89e39zcy.js} +6 -6
- package/dist/chunks/{persistent-pty-tcezcvh9.js → file-89znhe33.js} +4 -4
- package/dist/chunks/{persistent-pty-r1hamq85.js → file-8bnmerw3.js} +21 -21
- package/dist/chunks/{persistent-pty-dy85ckvv.js → file-8c801g49.js} +30 -30
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-dj2t23y0.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-1js78yem.js → file-8zccz2ek.js} +11 -11
- package/dist/chunks/{persistent-pty-cr5b1n6y.js → file-93x6jy41.js} +14 -14
- package/dist/chunks/{persistent-pty-6v3qmmgj.js → file-94xx1xn7.js} +20 -20
- package/dist/chunks/{persistent-pty-hse91znn.js → file-961898vc.js} +9 -9
- package/dist/chunks/{persistent-pty-sjj5q5p7.js → file-9899r06h.js} +11 -11
- package/dist/chunks/{persistent-pty-4c2df9zx.js → file-99xay3p1.js} +8 -8
- package/dist/chunks/{persistent-pty-d48vtfkp.js → file-9d2rp1cq.js} +17 -17
- package/dist/chunks/{persistent-pty-kmm1f1wa.js → file-9d637bmc.js} +5 -5
- package/dist/chunks/{persistent-pty-xfbn00ej.js → file-9h3wk7z7.js} +8 -8
- package/dist/chunks/{persistent-pty-4eyny2x4.js → file-9m26091w.js} +28 -28
- package/dist/chunks/{persistent-pty-348snc1t.js → file-9qwpg2je.js} +15 -15
- package/dist/chunks/{persistent-pty-jbbq3td5.js → file-9rsv4pta.js} +11 -11
- package/dist/chunks/{persistent-pty-7crdshgt.js → file-a0pvmwfx.js} +9 -9
- package/dist/chunks/{persistent-pty-5c4hm403.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-3h6p5hfd.js → file-a2vvwmx1.js} +24 -24
- package/dist/chunks/{persistent-pty-cxbap5yk.js → file-a42rk15d.js} +17 -17
- package/dist/chunks/{persistent-pty-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-89mvg365.js → file-ahfn6acx.js} +4 -4
- package/dist/chunks/{persistent-pty-vpshg2tm.js → file-aj65n88x.js} +4 -4
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → file-ak8wweg5.js} +2 -2
- package/dist/chunks/{persistent-pty-yzzhc2zs.js → file-at64addj.js} +32 -32
- package/dist/chunks/{persistent-pty-k61k5w90.js → file-ay0ceryn.js} +26 -26
- package/dist/chunks/{persistent-pty-zvberzsv.js → file-az4mp36y.js} +20 -20
- package/dist/chunks/{persistent-pty-vftqyr62.js → file-azx1z7rw.js} +25 -25
- package/dist/chunks/{persistent-pty-d2s3wkz4.js → file-b0smj49a.js} +9 -9
- package/dist/chunks/{persistent-pty-bzw5p0v3.js → file-b6apyc6e.js} +35 -35
- package/dist/chunks/{persistent-pty-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-sx1n432n.js → file-bf0ztrs3.js} +4 -4
- package/dist/chunks/{persistent-pty-p7y4s0m8.js → file-bgpx11m8.js} +12 -12
- package/dist/chunks/{persistent-pty-1nwxscpy.js → file-bgs9y14h.js} +5 -5
- package/dist/chunks/{persistent-pty-pnnq9hbh.js → file-bk8ffd6t.js} +16 -16
- package/dist/chunks/{persistent-pty-1rf1qtgk.js → file-bp3526j7.js} +32 -32
- package/dist/chunks/{persistent-pty-91mb3y5y.js → file-bpr04gve.js} +15 -15
- package/dist/chunks/{persistent-pty-e4erjdx3.js → file-bqytp8dw.js} +8 -8
- package/dist/chunks/{persistent-pty-nax8v91w.js → file-bxf8jet0.js} +24 -24
- package/dist/chunks/{persistent-pty-cy0spz2z.js → file-c8gxxwp7.js} +38 -38
- package/dist/chunks/{persistent-pty-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-dra9bm4c.js → file-cgm0pb56.js} +10 -10
- package/dist/chunks/{persistent-pty-n5mghb8v.js → file-ck8hsc54.js} +9 -9
- package/dist/chunks/{persistent-pty-0jdct4vn.js → file-cptt9y6c.js} +6 -6
- package/dist/chunks/{persistent-pty-8e18ys7f.js → file-crtqttvk.js} +15 -15
- package/dist/chunks/{persistent-pty-cwa6csj7.js → file-cwa6csj7.js} +2 -2
- package/dist/chunks/{persistent-pty-jatykmcp.js → file-d26jp9g7.js} +7 -7
- package/dist/chunks/{persistent-pty-x6vejd3b.js → file-d5d0dfzv.js} +30 -30
- package/dist/chunks/{persistent-pty-m4b2b706.js → file-d5m60ny4.js} +28 -28
- package/dist/chunks/{persistent-pty-yjdjwa94.js → file-d79a47f7.js} +5 -5
- package/dist/chunks/{persistent-pty-k17td3rr.js → file-d9dt1v1f.js} +4 -4
- package/dist/chunks/{persistent-pty-5pp3ynyy.js → file-df9g2pwv.js} +89 -89
- package/dist/chunks/{persistent-pty-ze7293fq.js → file-dne7xynx.js} +15 -15
- package/dist/chunks/{persistent-pty-57b9ws8p.js → file-drwq78ky.js} +5 -5
- package/dist/chunks/{persistent-pty-gwda3vg2.js → file-dsppwhma.js} +9 -9
- package/dist/chunks/{persistent-pty-5qd3pb7m.js → file-e3qxr5gk.js} +2 -2
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → file-ebe9bak5.js} +4 -4
- package/dist/chunks/{persistent-pty-ns89s3d7.js → file-eczzbh8s.js} +13 -13
- package/dist/chunks/{persistent-pty-ef5x83kb.js → file-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-02vnja26.js → file-eh0zrp3v.js} +2 -2
- package/dist/chunks/{persistent-pty-qsf83v83.js → file-ep1x895y.js} +35 -35
- package/dist/chunks/{persistent-pty-7kvmecgy.js → file-epe0b0fd.js} +16 -16
- package/dist/chunks/{persistent-pty-erw5rpbs.js → file-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-pq64y31t.js → file-f2y9n0vy.js} +15 -15
- package/dist/chunks/{persistent-pty-k1qrnqst.js → file-f5gy8qwh.js} +8 -8
- package/dist/chunks/{persistent-pty-hdnk95c8.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-7zgnt065.js → file-f8drsx4b.js} +23 -23
- package/dist/chunks/{persistent-pty-ccs2c1bh.js → file-f8eamx95.js} +42 -42
- package/dist/chunks/{persistent-pty-m2d0j7c0.js → file-fhs97t90.js} +9 -9
- package/dist/chunks/{persistent-pty-cq27jvec.js → file-fjcndyh6.js} +9 -9
- package/dist/chunks/{persistent-pty-3tq5qxbk.js → file-fkjmw100.js} +4 -4
- package/dist/chunks/{persistent-pty-4ddzh0v1.js → file-fp6js440.js} +2 -2
- package/dist/chunks/{persistent-pty-e942ejx1.js → file-fqj9nv8j.js} +5 -5
- package/dist/chunks/{persistent-pty-jexxy024.js → file-fqka1xvk.js} +3 -3
- package/dist/chunks/{persistent-pty-n3d06r9t.js → file-ftcx6nj6.js} +24 -24
- package/dist/chunks/{persistent-pty-qj49ekh6.js → file-g6dwdzmh.js} +5 -5
- package/dist/chunks/{persistent-pty-qa3qhgw8.js → file-g8d3gcyj.js} +7 -7
- package/dist/chunks/{persistent-pty-q6t4s3zd.js → file-gam671ft.js} +1 -1
- package/dist/chunks/{persistent-pty-ppke3c5n.js → file-gaqvx1xw.js} +3 -3
- package/dist/chunks/{persistent-pty-c3tmynma.js → file-gbfgt6sn.js} +47 -47
- package/dist/chunks/{persistent-pty-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-c9ex5cwa.js → file-gtfshpks.js} +92 -92
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-zg3tcem2.js → file-h04zhhvt.js} +9 -9
- package/dist/chunks/{persistent-pty-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-jbmcst8e.js → file-hb5p3hph.js} +6 -6
- package/dist/chunks/{persistent-pty-4tma0fsr.js → file-hmr5kz4g.js} +9 -9
- package/dist/chunks/{persistent-pty-510m7gjw.js → file-hnr5yq9h.js} +5 -5
- package/dist/chunks/{persistent-pty-y2m72ezy.js → file-hqs29f2b.js} +12 -12
- package/dist/chunks/{persistent-pty-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-ed86yh56.js → file-j6cy3yns.js} +11 -11
- package/dist/chunks/{persistent-pty-fmgpc4my.js → file-j6m77yeb.js} +30 -30
- package/dist/chunks/{persistent-pty-37rrne4q.js → file-jd2ww0mk.js} +1 -1
- package/dist/chunks/{persistent-pty-aa0gpb6n.js → file-jgtvd3t4.js} +3 -3
- package/dist/chunks/{persistent-pty-t35mr6en.js → file-jgvadg7f.js} +24 -24
- package/dist/chunks/{persistent-pty-5et4qy09.js → file-jy05rcjm.js} +15 -15
- package/dist/chunks/{persistent-pty-de2bbkbe.js → file-k1es8bc8.js} +10 -10
- package/dist/chunks/{persistent-pty-nzks3jc8.js → file-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-gg4dpy88.js → file-k8hpw67k.js} +5 -5
- package/dist/chunks/{persistent-pty-cw86rn5q.js → file-kncnnm9v.js} +11 -11
- package/dist/chunks/{persistent-pty-h3ek80ta.js → file-kpnhg8q0.js} +6 -6
- package/dist/chunks/{persistent-pty-y7k45b13.js → file-kq8bq8dw.js} +179 -179
- package/dist/chunks/{persistent-pty-yrrfxzmt.js → file-kqjrebtm.js} +18 -18
- package/dist/chunks/{persistent-pty-brkzx8ca.js → file-kz5gp9n9.js} +44 -44
- package/dist/chunks/{persistent-pty-m3fdjcah.js → file-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-d5b6jkc9.js → file-m7zf272p.js} +5 -5
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-mfqp6xfm.js → file-mfqp6xfm.js} +2 -2
- package/dist/chunks/{persistent-pty-c3ewdk9q.js → file-mg83p4ch.js} +35 -35
- package/dist/chunks/{persistent-pty-nnspx4pw.js → file-mggvfrpa.js} +6 -6
- package/dist/chunks/{persistent-pty-2q6kkxxq.js → file-mh1qkymb.js} +4 -4
- package/dist/chunks/{persistent-pty-df1v60n5.js → file-mq6pntxv.js} +11 -11
- package/dist/chunks/{persistent-pty-r5x6zcsm.js → file-mvfsc1pv.js} +3 -3
- package/dist/chunks/{persistent-pty-p127k79g.js → file-n2q888ww.js} +10 -10
- package/dist/chunks/{persistent-pty-vh5e817s.js → file-n31tt50y.js} +18 -18
- package/dist/chunks/{persistent-pty-ybhbtxjg.js → file-n7rhs6pj.js} +9 -9
- package/dist/chunks/{persistent-pty-7dvgeykw.js → file-n9rh2a3m.js} +22 -22
- package/dist/chunks/{persistent-pty-a8mfdwnk.js → file-nknv447d.js} +54 -54
- package/dist/chunks/{persistent-pty-2xfper2k.js → file-np51y1wd.js} +9 -9
- package/dist/chunks/{persistent-pty-94acgbaq.js → file-nqcmdb0w.js} +15 -15
- package/dist/chunks/{persistent-pty-2jjexhp9.js → file-nrkwc0dg.js} +17 -17
- package/dist/chunks/{persistent-pty-p28j5sbe.js → file-p28j5sbe.js} +2 -2
- package/dist/chunks/{persistent-pty-j8z3d1d1.js → file-p50sa4k8.js} +33 -33
- package/dist/chunks/{persistent-pty-cavr175a.js → file-p51p3jcg.js} +21 -21
- package/dist/chunks/{persistent-pty-dg2cj1yd.js → file-pf9pgydg.js} +4 -4
- package/dist/chunks/{persistent-pty-4n7mevx0.js → file-pj55ck15.js} +26 -26
- package/dist/chunks/{persistent-pty-dg5bcj4q.js → file-pjedbq3k.js} +6 -6
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-hqt5d750.js → file-pkvxx0dx.js} +23 -23
- package/dist/chunks/{persistent-pty-qfckc8ww.js → file-ppgzpeqf.js} +25 -25
- package/dist/chunks/{persistent-pty-0301v5d4.js → file-ppxkdq9b.js} +9 -9
- package/dist/chunks/{persistent-pty-1bmd05sh.js → file-pqjwr6wn.js} +30 -30
- package/dist/chunks/{persistent-pty-k5bqq78w.js → file-pyfqw2rm.js} +5 -5
- package/dist/chunks/{persistent-pty-jpbtdz7j.js → file-q15mr003.js} +13 -13
- package/dist/chunks/file-q509s3k3.js +18 -0
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → file-qgn6gcr1.js} +1 -1
- package/dist/chunks/{persistent-pty-03wgpffp.js → file-qm374v6w.js} +6 -6
- package/dist/chunks/{persistent-pty-j260a8hh.js → file-qnbxrd86.js} +13 -13
- package/dist/chunks/{persistent-pty-p776grxc.js → file-qq4qjjy7.js} +24 -24
- package/dist/chunks/{persistent-pty-pq009wkf.js → file-qqaq1tbn.js} +32 -32
- package/dist/chunks/{persistent-pty-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-3grpvr0x.js → file-qzenpgs1.js} +6 -6
- package/dist/chunks/{persistent-pty-qhc1hnsx.js → file-r4jnj0e8.js} +7 -7
- package/dist/chunks/{persistent-pty-d4j0d6g7.js → file-r6bcthm8.js} +10 -10
- package/dist/chunks/{persistent-pty-wrzkdsf5.js → file-rcgs7rjg.js} +23 -23
- package/dist/chunks/{persistent-pty-rdw6cm16.js → file-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-yfwykd95.js → file-rnsnxg5k.js} +8 -8
- package/dist/chunks/{persistent-pty-c8x40s92.js → file-rqhsstds.js} +9 -9
- package/dist/chunks/{persistent-pty-svvemcs6.js → file-rsc9fyh1.js} +8 -8
- package/dist/chunks/{persistent-pty-y575bkyz.js → file-s08w5vyw.js} +39 -39
- package/dist/chunks/{persistent-pty-yrznvahk.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{persistent-pty-v710rhrc.js → file-sd5vfqt4.js} +23 -23
- package/dist/chunks/{persistent-pty-27b310mf.js → file-sezme2zf.js} +11 -11
- package/dist/chunks/{persistent-pty-ejx6caqb.js → file-sg6affy2.js} +4 -4
- package/dist/chunks/{persistent-pty-a3n22e4k.js → file-smt9nx56.js} +15 -15
- package/dist/chunks/{persistent-pty-zpqymkmv.js → file-sn8k5w5s.js} +13 -13
- package/dist/chunks/{persistent-pty-qe6yd3vy.js → file-sqafhkxq.js} +20 -20
- package/dist/chunks/{persistent-pty-bw9zjykr.js → file-sxzvkvgj.js} +6 -6
- package/dist/chunks/{persistent-pty-hrqvzjyr.js → file-syfkgjgr.js} +30 -30
- package/dist/chunks/{persistent-pty-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-y81fdv5s.js → file-tt8rvt36.js} +5 -5
- package/dist/chunks/{persistent-pty-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-zqm1r2z0.js → file-twrzm18h.js} +8 -8
- package/dist/chunks/{persistent-pty-fwkkykk2.js → file-txqar36n.js} +19 -19
- package/dist/chunks/file-v3m8zswr.js +26 -0
- package/dist/chunks/{persistent-pty-532h92k8.js → file-vdpncwhs.js} +25 -25
- package/dist/chunks/{persistent-pty-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-gnx4ytbv.js → file-vkxpz7g2.js} +4 -4
- package/dist/chunks/{persistent-pty-7ag8gg1a.js → file-vpwvqgnv.js} +5 -5
- package/dist/chunks/{persistent-pty-c5drhkvr.js → file-vstag346.js} +22 -22
- package/dist/chunks/{persistent-pty-z0wq6kh9.js → file-vvf56fbk.js} +40 -40
- package/dist/chunks/{persistent-pty-74rrnwt7.js → file-vy4zg7qh.js} +12 -12
- package/dist/chunks/{persistent-pty-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-cehc4fcm.js → file-w587stx7.js} +9 -9
- package/dist/chunks/{persistent-pty-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-fq9618wy.js → file-wgz7hchk.js} +6 -6
- package/dist/chunks/{persistent-pty-12ygs1y2.js → file-wjv2022v.js} +29 -29
- package/dist/chunks/{persistent-pty-y56ehv6b.js → file-wk5z6jzv.js} +2 -2
- package/dist/chunks/{persistent-pty-z9qyhhpt.js → file-wpm2rk0p.js} +6 -6
- package/dist/chunks/{persistent-pty-wqgbc62j.js → file-wx970249.js} +57 -57
- package/dist/chunks/{persistent-pty-7xpfs8hq.js → file-wyfsrm3h.js} +15 -15
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-2kbmmw84.js → file-x3taryep.js} +15 -15
- package/dist/chunks/{persistent-pty-cqh1h3gn.js → file-x4fdevfx.js} +15 -15
- package/dist/chunks/{persistent-pty-g11rfc9f.js → file-x5e9capc.js} +5 -5
- package/dist/chunks/{persistent-pty-b1rzham2.js → file-x911a3rn.js} +9 -9
- package/dist/chunks/{persistent-pty-m3ktmgc5.js → file-xb4nz3yw.js} +17 -17
- package/dist/chunks/{persistent-pty-t5ehz8va.js → file-xdvkratw.js} +12 -12
- package/dist/chunks/{persistent-pty-kskhsqm3.js → file-xe9t6z83.js} +11 -11
- package/dist/chunks/{persistent-pty-zekjwgez.js → file-xmnpnma7.js} +8 -8
- package/dist/chunks/file-xvs8zake.js +252 -0
- package/dist/chunks/{persistent-pty-qcvmd6b9.js → file-xyv4p6em.js} +9 -9
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-dpkg50ah.js → file-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-dsn3ey9m.js → file-ycv0w0a9.js} +26 -26
- package/dist/chunks/{persistent-pty-rhraev7y.js → file-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-28zq9rra.js → file-ypf2r24a.js} +16 -16
- package/dist/chunks/{persistent-pty-y2pttbdt.js → file-yqcrm5rh.js} +6 -6
- package/dist/chunks/{persistent-pty-r9byqgec.js → file-yrf5hh55.js} +13 -13
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-0ytdgy0f.js → file-yrtahcj6.js} +27 -27
- package/dist/chunks/{persistent-pty-af04s6ss.js → file-yt0fqk68.js} +5 -5
- package/dist/chunks/{persistent-pty-0xezjjjn.js → file-yw8t9dwe.js} +8 -8
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-h4n5n8rw.js → file-z2jtgbj0.js} +4 -4
- package/dist/chunks/{persistent-pty-3w0fmcng.js → file-z3pw5915.js} +5 -5
- package/dist/chunks/{persistent-pty-3baz7vjv.js → file-zdtzvc09.js} +5 -5
- package/dist/chunks/{persistent-pty-g8jasmdt.js → file-ze3aemja.js} +11 -11
- package/dist/chunks/{persistent-pty-1vmwvk68.js → file-ze7vmps7.js} +36 -36
- package/dist/chunks/{persistent-pty-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-kygpjxdc.js → file-zf6fk84t.js} +8 -8
- package/dist/chunks/file-zqjzf2ta.js +503 -0
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-efvcp6ns.js → file-zvf7qddh.js} +7 -7
- package/dist/chunks/{persistent-pty-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-mzvzs703.js → file-zz2qg7p3.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +83 -83
- 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 +122 -122
- 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 +122 -122
- package/dist/config/plugin/shell.js +122 -122
- 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 +119 -119
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- 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 +92 -92
- 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 +99 -99
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- 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 +90 -90
- 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 +5 -5
- 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 +99 -99
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +84 -84
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- 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 +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- 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 +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- 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 +1 -1
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +91 -91
- 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 +121 -121
- 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 +69 -69
- 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 +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +98 -98
- 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 +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- 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 +92 -92
- package/dist/session/message-updater.js +2 -2
- 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 +228 -228
- 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 +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- 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 +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +119 -119
- 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 +119 -119
- 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 +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- 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/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 +80 -80
- package/dist/workspace/driver.js +5 -5
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-1b8jsvpy.js +0 -252
- package/dist/chunks/persistent-pty-7fj5dwt0.js +0 -18
- package/dist/chunks/persistent-pty-ghg0rxwy.js +0 -26
- package/dist/chunks/persistent-pty-w53xn0nw.js +0 -503
- /package/dist/chunks/{persistent-pty-0mesazry.js → file-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → file-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → file-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → file-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-85s8v53t.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-aj65n88x.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-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: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info28,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service64,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node67
|
|
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 ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service64 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service64, 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 Info28({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service64.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(Service78, 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 Info28({
|
|
80
|
+
id: ID15.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(Service78, 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(Event16.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event16.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(Service78, 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(Event16.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(Service78, 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(Event16.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(Service78, 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(Event16.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node67 = makeGlobalNode({ service: Service64, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event16, Info28, Service64, node67, exports_credential };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node50
|
|
5
|
+
} from "./file-j6cy3yns.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-pf9pgydg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service72,
|
|
12
|
+
node75
|
|
13
|
+
} from "./file-yw8t9dwe.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-wx970249.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-9899r06h.js";
|
|
20
20
|
import {
|
|
21
21
|
Error4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-n9rh2a3m.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service24,
|
|
25
|
+
node28
|
|
26
|
+
} from "./file-1f5fh47k.js";
|
|
27
27
|
import {
|
|
28
28
|
make14
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-drwq78ky.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-37mwd34b.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service23,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer9,
|
|
45
|
+
node: () => node27,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
|
|
|
156
156
|
}));
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class Service23 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
161
|
+
var layer9 = Layer.effect(Service23, Effect.gen(function* () {
|
|
162
|
+
const hooks = yield* Service72;
|
|
163
|
+
const transport = yield* Service24;
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
166
|
const session = input.session;
|
|
@@ -258,17 +258,17 @@ var layer13 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
258
258
|
};
|
|
259
259
|
});
|
|
260
260
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
261
|
-
return
|
|
261
|
+
return Service23.of({
|
|
262
262
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
263
263
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
264
264
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
265
265
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
266
266
|
});
|
|
267
267
|
}));
|
|
268
|
-
var
|
|
269
|
-
service:
|
|
270
|
-
layer:
|
|
271
|
-
deps: [
|
|
268
|
+
var node27 = makeLocationNode({
|
|
269
|
+
service: Service23,
|
|
270
|
+
layer: layer9,
|
|
271
|
+
deps: [node75, node28, node50]
|
|
272
272
|
});
|
|
273
273
|
|
|
274
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
274
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service23, layer9, node27, exports_model_request };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./file-8c801g49.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-n7rhs6pj.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-wx970249.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-wjv2022v.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-0g3aqr52.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-85s8v53t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./file-93x6jy41.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service59,
|
|
13
|
+
node62
|
|
14
|
+
} from "./file-qqaq1tbn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID8,
|
|
17
|
+
Service47,
|
|
18
|
+
node49
|
|
19
|
+
} from "./file-a2vvwmx1.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-n7rhs6pj.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-0gdmqesm.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-pf9pgydg.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mq6pntxv.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service45,
|
|
34
|
+
node47
|
|
35
|
+
} from "./file-0mpqr77g.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-wx970249.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make13
|
|
41
|
+
} from "./file-9d2rp1cq.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service30,
|
|
44
|
+
node33
|
|
45
|
+
} from "./file-ycv0w0a9.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service27,
|
|
48
|
+
node30
|
|
49
|
+
} from "./file-txqar36n.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service71,
|
|
52
|
+
node74
|
|
53
|
+
} from "./file-n9rh2a3m.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service29,
|
|
56
|
+
node32
|
|
57
|
+
} from "./file-azx1z7rw.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service28,
|
|
60
|
+
node31
|
|
61
|
+
} from "./file-pkvxx0dx.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
63
|
+
Service22,
|
|
64
|
+
node26
|
|
65
|
+
} from "./file-0nj76588.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service26,
|
|
68
|
+
node29
|
|
69
|
+
} from "./file-4h7fv3fp.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service21,
|
|
72
|
+
node25
|
|
73
|
+
} from "./file-xb4nz3yw.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service23,
|
|
76
|
+
node27
|
|
77
|
+
} from "./file-d5m60ny4.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service43,
|
|
80
|
+
node45
|
|
81
|
+
} from "./file-0g3aqr52.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./file-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service20,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node24
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service20 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
97
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service47;
|
|
99
|
+
const builtins = yield* Service27;
|
|
100
|
+
const model = yield* Service59;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
102
|
+
const discovery = yield* Service30;
|
|
103
|
+
const entries = yield* Service21;
|
|
104
|
+
const location = yield* Service80;
|
|
105
|
+
const mcpInstructions = yield* Service28;
|
|
106
|
+
const mcpTools = yield* Service29;
|
|
107
|
+
const models = yield* Service43;
|
|
108
|
+
const request = yield* Service23;
|
|
109
|
+
const referenceInstructions = yield* Service22;
|
|
110
|
+
const skillInstructions = yield* Service26;
|
|
111
|
+
const store = yield* Service45;
|
|
112
|
+
const registry = yield* Service71;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID8.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
168
|
loaded.builtins,
|
|
169
|
-
|
|
169
|
+
make13(loaded.tools.codeModeCatalog),
|
|
170
170
|
loaded.discovery,
|
|
171
171
|
loaded.skills,
|
|
172
172
|
loaded.references,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service20.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node24 = makeLocationNode({
|
|
195
|
+
service: Service20,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
node49,
|
|
199
|
+
node62,
|
|
200
200
|
node88,
|
|
201
|
+
node30,
|
|
202
|
+
node33,
|
|
203
|
+
node25,
|
|
204
|
+
node84,
|
|
205
|
+
node31,
|
|
206
|
+
node32,
|
|
207
|
+
node26,
|
|
201
208
|
node45,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
node42,
|
|
207
|
-
node44,
|
|
208
|
-
node67,
|
|
209
|
-
node40,
|
|
210
|
-
node70,
|
|
211
|
-
node39,
|
|
212
|
-
node51
|
|
209
|
+
node27,
|
|
210
|
+
node47,
|
|
211
|
+
node29,
|
|
212
|
+
node74
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service20, node24, exports_context };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-aj65n88x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./file-p50sa4k8.js";
|
|
7
7
|
import {
|
|
8
8
|
Error4
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-n9rh2a3m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./file-zz2qg7p3.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-n7rhs6pj.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-d9dt1v1f.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-hb5p3hph.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service55;
|
|
58
|
+
const toolOutput = yield* Service53;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
9
|
make: () => make14,
|
|
10
|
-
render: () =>
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
32
|
function make14(tools) {
|
|
33
|
-
return
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export { make14,
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|