@opencode/core 0.0.0-dev-20043 → 0.0.0-dev-20048
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{aisdk-z3q2cbzw.js → state-01hrvc9d.js} +11 -11
- package/dist/chunks/{aisdk-xhz5mp1h.js → state-048mvh15.js} +26 -26
- package/dist/chunks/{aisdk-mxmf76sr.js → state-04etjcjv.js} +18 -18
- package/dist/chunks/{aisdk-9ajwmfn8.js → state-06fa46aw.js} +35 -35
- package/dist/chunks/{aisdk-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-0mmgcj54.js → state-0x0rejgs.js} +13 -13
- package/dist/chunks/{aisdk-qmtyj29t.js → state-191n6bah.js} +11 -11
- package/dist/chunks/{aisdk-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-jbsysrkf.js → state-1dz0a09m.js} +9 -9
- package/dist/chunks/{aisdk-rtgcb18b.js → state-1fcrsx1q.js} +8 -8
- package/dist/chunks/{aisdk-8qr332cz.js → state-1h5r6g9j.js} +13 -13
- package/dist/chunks/{aisdk-s10j4zrr.js → state-1knck39s.js} +13 -13
- package/dist/chunks/{aisdk-mzm8rqr7.js → state-1nkfddbq.js} +10 -10
- package/dist/chunks/{aisdk-k09eseht.js → state-1rxhvb8z.js} +19 -19
- package/dist/chunks/{aisdk-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-6h73sxmp.js → state-2402vzrj.js} +5 -5
- package/dist/chunks/{aisdk-3gqqpt8p.js → state-2629fpm1.js} +9 -9
- package/dist/chunks/{aisdk-xxze4mr0.js → state-287djwcw.js} +16 -16
- package/dist/chunks/{aisdk-jxdfsfqg.js → state-29jghzvv.js} +8 -8
- package/dist/chunks/{aisdk-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-rdq063h9.js → state-2ehzxgs2.js} +17 -17
- package/dist/chunks/{aisdk-4qav2fem.js → state-2nws2gjr.js} +5 -5
- package/dist/chunks/{aisdk-j6vwkzpm.js → state-2pcga327.js} +23 -23
- package/dist/chunks/{aisdk-13qme1fa.js → state-2q76gmxn.js} +24 -24
- package/dist/chunks/{aisdk-6kj0q6js.js → state-2rfpmfe1.js} +43 -43
- package/dist/chunks/{aisdk-se4ds7p4.js → state-2rs2jmw8.js} +27 -27
- package/dist/chunks/{aisdk-cwa6csj7.js → state-2sejkfem.js} +9 -9
- package/dist/chunks/{aisdk-7q7mfth4.js → state-2vmqg2px.js} +11 -11
- package/dist/chunks/{aisdk-41wzkj33.js → state-39z47dss.js} +15 -15
- package/dist/chunks/{aisdk-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-6bpp9beb.js → state-3gb4mbad.js} +166 -166
- package/dist/chunks/{aisdk-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-b99w0g26.js → state-3ppptnan.js} +6 -6
- package/dist/chunks/{aisdk-b5mdm4wc.js → state-3qbgdjz5.js} +20 -20
- package/dist/chunks/{aisdk-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-9w4ppqge.js → state-3tt1qkhr.js} +5 -5
- package/dist/chunks/{aisdk-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-cnacsjhk.js → state-3xead72a.js} +3 -3
- package/dist/chunks/{aisdk-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{aisdk-njm9g9x3.js → state-4d234pj1.js} +24 -24
- package/dist/chunks/{aisdk-q8hxnt6y.js → state-4jqw9tdg.js} +7 -7
- package/dist/chunks/{aisdk-weje2hnw.js → state-4k5d13q0.js} +4 -4
- package/dist/chunks/{aisdk-7sv1gmyv.js → state-4np4xevn.js} +5 -5
- package/dist/chunks/{aisdk-bhna4c8e.js → state-4xgye4q4.js} +20 -20
- package/dist/chunks/{aisdk-0java4bc.js → state-4xh8p5r9.js} +42 -42
- package/dist/chunks/{aisdk-s467t6d3.js → state-4xk4yn8m.js} +20 -20
- package/dist/chunks/{aisdk-gdkm09q9.js → state-4yb9sg3q.js} +10 -10
- package/dist/chunks/{aisdk-8rsf771b.js → state-4z6yjmn2.js} +25 -25
- package/dist/chunks/{aisdk-2yp7980w.js → state-54crpygx.js} +30 -30
- package/dist/chunks/{aisdk-dg2cj1yd.js → state-56dkfrzf.js} +4 -4
- package/dist/chunks/{aisdk-33w4ejhs.js → state-56gdpj1q.js} +6 -6
- package/dist/chunks/{aisdk-57ez7d0k.js → state-57ez7d0k.js} +2 -2
- package/dist/chunks/{aisdk-zzmc825q.js → state-59qdxchp.js} +13 -13
- package/dist/chunks/{aisdk-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-5ekn9679.js → state-5ekn9679.js} +1 -1
- package/dist/chunks/{aisdk-ryprma71.js → state-5hcsf9we.js} +10 -10
- package/dist/chunks/{aisdk-6sw8nmq3.js → state-5mf4awx7.js} +1 -1
- package/dist/chunks/{aisdk-6vt2w020.js → state-5rcwft22.js} +14 -14
- package/dist/chunks/{aisdk-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-7dqw4kz8.js → state-607tc6va.js} +5 -5
- package/dist/chunks/{aisdk-cvphz1qf.js → state-659vz1hh.js} +11 -11
- package/dist/chunks/{aisdk-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-w1cebep0.js → state-6b8xfggn.js} +2 -2
- package/dist/chunks/{aisdk-f4rjsfva.js → state-6d35anwg.js} +9 -9
- package/dist/chunks/{aisdk-x2g3x7xx.js → state-6g307qqy.js} +32 -32
- package/dist/chunks/{aisdk-vpykqa8z.js → state-6ht0qgxp.js} +27 -27
- package/dist/chunks/{aisdk-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-w7vjeneh.js → state-6pcpef1g.js} +35 -35
- package/dist/chunks/{aisdk-49ytw9e6.js → state-6rzyxrbs.js} +30 -30
- package/dist/chunks/{aisdk-6ysrkrkr.js → state-6ysrkrkr.js} +1 -1
- package/dist/chunks/{aisdk-rst4cyxn.js → state-70y8twc4.js} +11 -11
- package/dist/chunks/{aisdk-84cy8r8q.js → state-7213dkvb.js} +5 -5
- package/dist/chunks/{aisdk-zrw5m3sy.js → state-78d4400s.js} +13 -13
- package/dist/chunks/{aisdk-7rjgn8bj.js → state-78kgqsf0.js} +15 -15
- package/dist/chunks/{aisdk-bnnnfr1h.js → state-7b4th3wc.js} +4 -4
- package/dist/chunks/{aisdk-4hgmwzg4.js → state-7b9kdrwd.js} +10 -10
- package/dist/chunks/{aisdk-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-sykjr06b.js → state-7d4y95ya.js} +14 -14
- package/dist/chunks/{aisdk-mhkvc446.js → state-7yh4e7ss.js} +3 -3
- package/dist/chunks/{aisdk-ddhq0d0y.js → state-86neyp8d.js} +23 -23
- package/dist/chunks/{aisdk-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{aisdk-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-arxah4je.js → state-8dsn79bq.js} +3 -3
- package/dist/chunks/{aisdk-ghcc1exw.js → state-8ex1v7ge.js} +5 -5
- package/dist/chunks/{aisdk-30846h32.js → state-8mbscqky.js} +8 -8
- package/dist/chunks/{aisdk-df2b9eza.js → state-8pap4f00.js} +11 -11
- package/dist/chunks/{aisdk-a5bcffjj.js → state-8vse6jtk.js} +23 -23
- package/dist/chunks/{aisdk-94ek1h2f.js → state-94ek1h2f.js} +2 -2
- package/dist/chunks/{aisdk-f0qe216m.js → state-9pyyqvsg.js} +34 -34
- package/dist/chunks/{aisdk-ns15zm60.js → state-9vtsvkk2.js} +6 -6
- package/dist/chunks/{aisdk-xhrync7w.js → state-9xxts4r9.js} +11 -11
- package/dist/chunks/{aisdk-6ah266bh.js → state-a2855keb.js} +6 -6
- package/dist/chunks/{aisdk-rcpjzbgq.js → state-a7q99tff.js} +10 -10
- package/dist/chunks/{aisdk-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-wj8xe67y.js → state-ac3z5j2t.js} +18 -18
- package/dist/chunks/{aisdk-e5qbkagq.js → state-ad7b423w.js} +14 -14
- package/dist/chunks/{aisdk-607q5haz.js → state-afed7ext.js} +5 -5
- package/dist/chunks/{aisdk-hpfvhvya.js → state-ahd542yp.js} +8 -8
- package/dist/chunks/{aisdk-xzbdt9ab.js → state-asxwsg8x.js} +13 -13
- package/dist/chunks/{aisdk-kjqja31j.js → state-av919pbz.js} +16 -16
- package/dist/chunks/{aisdk-9jwxq161.js → state-b09hzw3k.js} +2 -2
- package/dist/chunks/{aisdk-f724wvfx.js → state-b3x7v9y3.js} +17 -17
- package/dist/chunks/{aisdk-j104s97f.js → state-b5ts8e9j.js} +29 -29
- package/dist/chunks/{aisdk-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-h6r3nrb9.js → state-bc5edygd.js} +4 -4
- package/dist/chunks/{aisdk-4cr6q8tp.js → state-bfcdvpvm.js} +35 -35
- package/dist/chunks/{aisdk-zwvttwhj.js → state-bj6d7p72.js} +41 -41
- package/dist/chunks/{aisdk-s0hza5ac.js → state-bjn91642.js} +4 -4
- package/dist/chunks/{aisdk-r33ff4dw.js → state-bjs2yq5f.js} +6 -6
- package/dist/chunks/{aisdk-3pd9cgf5.js → state-bm37k6ny.js} +12 -12
- package/dist/chunks/{aisdk-ptff6sjs.js → state-bqp27804.js} +11 -11
- package/dist/chunks/{aisdk-19trpjps.js → state-c1vn73fw.js} +8 -8
- package/dist/chunks/{aisdk-bscb95cy.js → state-c576t1j6.js} +7 -7
- package/dist/chunks/state-c59kzj7e.js +26 -0
- package/dist/chunks/{aisdk-y2f8s5as.js → state-c9esyfej.js} +11 -11
- package/dist/chunks/{aisdk-ckecvw8r.js → state-ckecvw8r.js} +2 -2
- package/dist/chunks/{aisdk-mtr0qdvt.js → state-cyhjr8qz.js} +8 -8
- package/dist/chunks/{aisdk-aad6bg3s.js → state-dh7fhzye.js} +25 -25
- package/dist/chunks/{aisdk-3cfzdc8e.js → state-dj9sq318.js} +5 -5
- package/dist/chunks/{aisdk-ejwj3fxg.js → state-dkza8aye.js} +4 -4
- package/dist/chunks/{aisdk-vfgkq0y4.js → state-dr5yhmv3.js} +11 -11
- package/dist/chunks/{aisdk-4m64c65m.js → state-e0c9kqzd.js} +24 -24
- package/dist/chunks/{aisdk-5drdw4ad.js → state-e4n8ty8m.js} +5 -5
- package/dist/chunks/{aisdk-3zgzsr0q.js → state-e5xpd6yj.js} +6 -6
- package/dist/chunks/{aisdk-1z0zvxs4.js → state-eaxw8sd7.js} +6 -6
- package/dist/chunks/{aisdk-fj48dtty.js → state-eb018chj.js} +17 -17
- package/dist/chunks/{aisdk-fj3mzqxp.js → state-ebwvn17w.js} +9 -9
- package/dist/chunks/{aisdk-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-erw5rpbs.js → state-erw5rpbs.js} +2 -2
- package/dist/chunks/{aisdk-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-1k3gd00q.js → state-ew8ymzjh.js} +39 -39
- package/dist/chunks/{aisdk-kcafvxea.js → state-ezrkp374.js} +21 -21
- package/dist/chunks/{aisdk-1acjjqhc.js → state-f2n192rq.js} +4 -4
- package/dist/chunks/{aisdk-301trp6s.js → state-f6e6ss5q.js} +37 -37
- package/dist/chunks/{aisdk-kearjya1.js → state-f88pna8a.js} +16 -16
- package/dist/chunks/{aisdk-nrqfcddc.js → state-f8x6snpr.js} +25 -25
- package/dist/chunks/{aisdk-jcvwj9jm.js → state-fkrg1jgt.js} +28 -28
- package/dist/chunks/{aisdk-a2ew8a62.js → state-fqb2p7cx.js} +4 -4
- package/dist/chunks/{aisdk-8we7jnmb.js → state-fzk5c087.js} +11 -11
- package/dist/chunks/{aisdk-y9vcbm1p.js → state-g3q8xvt3.js} +10 -10
- package/dist/chunks/{aisdk-gj07xn6c.js → state-g7s6zfm9.js} +4 -4
- package/dist/chunks/{aisdk-vdezy000.js → state-g9e6bpz0.js} +10 -10
- package/dist/chunks/{aisdk-v83ykmtz.js → state-gb1apezm.js} +9 -9
- package/dist/chunks/{aisdk-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-yvaqedcc.js → state-gf2vt3wd.js} +6 -6
- package/dist/chunks/{aisdk-kwr9b569.js → state-gr5cvhzt.js} +17 -17
- package/dist/chunks/{aisdk-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{aisdk-g9na247e.js → state-h2kxbj17.js} +27 -27
- package/dist/chunks/{aisdk-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-q9e07d2s.js → state-hcam9bsc.js} +7 -7
- package/dist/chunks/{aisdk-q8d57wmy.js → state-hj53m8my.js} +48 -48
- package/dist/chunks/{aisdk-ctmr8zqa.js → state-hn57h045.js} +4 -4
- package/dist/chunks/{aisdk-wbkyxrgf.js → state-hnr5yq9h.js} +5 -5
- package/dist/chunks/{aisdk-23yqmb8f.js → state-hvf24zfz.js} +11 -11
- package/dist/chunks/{aisdk-acqxbg4k.js → state-hwkkb16b.js} +10 -10
- package/dist/chunks/{aisdk-j1et25fn.js → state-hy85xjwn.js} +17 -17
- package/dist/chunks/{aisdk-hn2a1jts.js → state-j1t4gz23.js} +14 -14
- package/dist/chunks/{aisdk-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-vncycja5.js → state-j83byb14.js} +4 -4
- package/dist/chunks/{aisdk-ggre7qjc.js → state-jac560fq.js} +45 -44
- package/dist/chunks/{aisdk-md1mxm32.js → state-jc202cmk.js} +15 -15
- package/dist/chunks/{aisdk-mrvphsyr.js → state-jegaewj3.js} +1 -1
- package/dist/chunks/{aisdk-9k4dsn9s.js → state-jjs3a33e.js} +2 -2
- package/dist/chunks/{aisdk-9qtpfedr.js → state-jraye65f.js} +17 -17
- package/dist/chunks/{aisdk-w1hs50qs.js → state-jrq8nyb6.js} +7 -7
- package/dist/chunks/{aisdk-vy1fzztp.js → state-jw49cbrr.js} +33 -33
- package/dist/chunks/{aisdk-0s819d2z.js → state-kfkd8wec.js} +69 -69
- package/dist/chunks/{aisdk-pqyzdwpj.js → state-kwrhfw2b.js} +43 -43
- package/dist/chunks/{aisdk-qbw5z373.js → state-m297x91g.js} +33 -33
- package/dist/chunks/{aisdk-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-cavr175a.js → state-magykp64.js} +4 -4
- package/dist/chunks/{aisdk-xfndja2y.js → state-mct0z50y.js} +145 -145
- package/dist/chunks/{aisdk-knb7evpn.js → state-mmr7bq34.js} +8 -8
- package/dist/chunks/{aisdk-yqaxhd4h.js → state-mxgm4s8c.js} +10 -10
- package/dist/chunks/{aisdk-5hca813f.js → state-mzchxfnj.js} +35 -35
- package/dist/chunks/{aisdk-5xpznt2d.js → state-n1ka8r9d.js} +4 -4
- package/dist/chunks/{aisdk-df2tmfns.js → state-n94bagkt.js} +6 -6
- package/dist/chunks/{aisdk-zkkhmxqr.js → state-n9tzwawk.js} +9 -9
- package/dist/chunks/{aisdk-5qhpwbp8.js → state-ngg98v4n.js} +22 -22
- package/dist/chunks/{aisdk-eqq925v7.js → state-nzgjyyka.js} +12 -12
- package/dist/chunks/{aisdk-k3c624dm.js → state-nzks3jc8.js} +3 -3
- package/dist/chunks/{aisdk-gd8nda9a.js → state-p27t6t4y.js} +8 -8
- package/dist/chunks/{aisdk-2j39ymwc.js → state-p6e7gv25.js} +24 -24
- package/dist/chunks/{aisdk-7ypyawfv.js → state-p9cjdk98.js} +3 -3
- package/dist/chunks/{aisdk-rcs0ttvg.js → state-p9xq1f21.js} +3 -3
- package/dist/chunks/{aisdk-5xtgfte3.js → state-pa8pe2x7.js} +8 -8
- package/dist/chunks/{aisdk-g8jasmdt.js → state-pb1eahw5.js} +8 -8
- package/dist/chunks/{aisdk-nqr5ekqz.js → state-pc6cxjb1.js} +25 -25
- package/dist/chunks/{aisdk-7gvwkz6m.js → state-pecb0brz.js} +5 -5
- package/dist/chunks/{aisdk-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-bxw160v3.js → state-pr15s9x7.js} +4 -4
- package/dist/chunks/{aisdk-z8dnjp6n.js → state-pv6ekvy2.js} +3 -3
- package/dist/chunks/{aisdk-h9sgrmr0.js → state-q3zdsabs.js} +12 -12
- package/dist/chunks/{aisdk-q509s3k3.js → state-q509s3k3.js} +1 -1
- package/dist/chunks/{aisdk-np82xyew.js → state-q7rs3snj.js} +16 -16
- package/dist/chunks/{aisdk-pgjxk18r.js → state-q7z5ybcs.js} +28 -28
- package/dist/chunks/{aisdk-sx7145gr.js → state-q805jq9w.js} +22 -22
- package/dist/chunks/{aisdk-qg0jgkcp.js → state-qg0jgkcp.js} +2 -2
- package/dist/chunks/{aisdk-h54hk005.js → state-qnvmbtfx.js} +4 -4
- package/dist/chunks/{aisdk-jtxrazbm.js → state-qp2982tz.js} +24 -24
- package/dist/chunks/{aisdk-n8a0h2pm.js → state-qpxsvy3c.js} +9 -9
- package/dist/chunks/{aisdk-drwq78ky.js → state-qqeeq2t9.js} +7 -7
- package/dist/chunks/{aisdk-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-awykrb7t.js → state-qsjxsvq7.js} +43 -43
- package/dist/chunks/{aisdk-3zmmkmaf.js → state-qv94b06t.js} +8 -8
- package/dist/chunks/{aisdk-614h0x94.js → state-qy6sahra.js} +15 -15
- package/dist/chunks/{aisdk-zfq801h6.js → state-r01t9b5y.js} +6 -6
- package/dist/chunks/{aisdk-a7ca17ex.js → state-r45gbma7.js} +13 -13
- package/dist/chunks/{aisdk-tgbbcyzv.js → state-r75f9j48.js} +22 -22
- package/dist/chunks/{aisdk-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-afbb2www.js → state-rm6wncmf.js} +29 -29
- package/dist/chunks/{aisdk-h8tv1jm0.js → state-rmmjpg08.js} +17 -17
- package/dist/chunks/{aisdk-7v81x33d.js → state-rpjgfq5s.js} +9 -9
- package/dist/chunks/{aisdk-kk1agj7a.js → state-rqhn2029.js} +8 -8
- package/dist/chunks/{aisdk-vjs4934y.js → state-rqsrgvme.js} +23 -23
- package/dist/chunks/{aisdk-w0vhv3nr.js → state-rykzdxn5.js} +24 -24
- package/dist/chunks/{aisdk-tm61rbhm.js → state-s01cwswe.js} +14 -14
- package/dist/chunks/{aisdk-bdjtm858.js → state-s5y17vq3.js} +15 -15
- package/dist/chunks/{aisdk-d84aefxh.js → state-sa80r6qx.js} +5 -5
- package/dist/chunks/{aisdk-fj29krbq.js → state-sd5h2e1z.js} +24 -24
- package/dist/chunks/{aisdk-36bfp3ph.js → state-seamasfj.js} +15 -15
- package/dist/chunks/{aisdk-k53npxr2.js → state-sfntmzm9.js} +1 -1
- package/dist/chunks/{aisdk-x0at58h7.js → state-sqwg4mrh.js} +16 -16
- package/dist/chunks/{aisdk-4rsyzgyb.js → state-t11acq0z.js} +10 -10
- package/dist/chunks/{aisdk-s8d7rejh.js → state-t550f9t1.js} +4 -4
- package/dist/chunks/{aisdk-rnvh3dsy.js → state-t73kc664.js} +20 -20
- package/dist/chunks/{aisdk-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-0qrsrrf1.js → state-te4wg8hb.js} +8 -8
- package/dist/chunks/{aisdk-7v0wrj4c.js → state-tgmyeeeq.js} +5 -5
- package/dist/chunks/{aisdk-jv4bkc1v.js → state-tgnbsyzc.js} +24 -24
- package/dist/chunks/{aisdk-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-p23am7q5.js → state-v27qvcw0.js} +308 -308
- package/dist/chunks/{aisdk-a327e9v3.js → state-v28c62ks.js} +5 -5
- package/dist/chunks/{aisdk-1fy9785z.js → state-v3k62wtp.js} +3 -3
- package/dist/chunks/{aisdk-qhsdqg8d.js → state-v4sjsb1y.js} +20 -20
- package/dist/chunks/{aisdk-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-csea7638.js → state-vfs4gywg.js} +15 -15
- package/dist/chunks/{aisdk-qrf18deb.js → state-vgy9r72p.js} +13 -13
- package/dist/chunks/{aisdk-bh5r0ywp.js → state-vsn9dek0.js} +4 -4
- package/dist/chunks/{aisdk-vtxr0yy2.js → state-vtxr0yy2.js} +2 -2
- package/dist/chunks/{aisdk-f4jw3e7w.js → state-vx23e58e.js} +15 -15
- package/dist/chunks/{aisdk-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-hzn7gray.js → state-w0vds1sa.js} +10 -10
- package/dist/chunks/{aisdk-q8j10mn3.js → state-w35smk9y.js} +12 -12
- package/dist/chunks/{aisdk-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-x53kfsbc.js → state-w6s8wqk9.js} +11 -11
- package/dist/chunks/{aisdk-c2g6qb9t.js → state-w6wdv7p0.js} +15 -15
- package/dist/chunks/{aisdk-8ew6f0n8.js → state-wa1e4jxq.js} +8 -8
- package/dist/chunks/{aisdk-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
- package/dist/chunks/{aisdk-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-e66gtfvp.js → state-we8naas4.js} +30 -30
- package/dist/chunks/{aisdk-z5j3hngj.js → state-wgpw1z2m.js} +23 -23
- package/dist/chunks/{aisdk-m0r31qfn.js → state-wj76ss2k.js} +4 -4
- package/dist/chunks/{aisdk-y56ehv6b.js → state-wk5z6jzv.js} +2 -2
- package/dist/chunks/{aisdk-8sjp7en6.js → state-wpnzd8g9.js} +73 -73
- package/dist/chunks/{aisdk-xzqbnygg.js → state-wsdek6tf.js} +5 -5
- package/dist/chunks/{aisdk-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-4nd6ya58.js → state-x3w0806v.js} +17 -17
- package/dist/chunks/{aisdk-vwxpba44.js → state-xe3pxytk.js} +2 -2
- package/dist/chunks/{aisdk-23qf75cd.js → state-xqxmyzxd.js} +11 -11
- package/dist/chunks/{aisdk-v79x8jzm.js → state-xvy48wje.js} +4 -4
- package/dist/chunks/{aisdk-6xwcf1a8.js → state-y19c3zcv.js} +4 -4
- package/dist/chunks/{aisdk-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-skyymkrr.js → state-y6f0p4jw.js} +2 -2
- package/dist/chunks/{aisdk-dpkg50ah.js → state-y71avatq.js} +4 -4
- package/dist/chunks/{aisdk-qzfge27n.js → state-ydm09cmz.js} +19 -19
- package/dist/chunks/{aisdk-reqy9a92.js → state-yjybrs9s.js} +21 -21
- package/dist/chunks/{aisdk-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{aisdk-150yg2gd.js → state-yt3hy1g9.js} +5 -5
- package/dist/chunks/{aisdk-z07pqspn.js → state-z07pqspn.js} +3 -3
- package/dist/chunks/{aisdk-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-9cr4gnp8.js → state-z4a2hn5h.js} +13 -13
- package/dist/chunks/{aisdk-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{aisdk-k0agtv8c.js → state-za2j8b29.js} +13 -13
- package/dist/chunks/{aisdk-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-9wsscq4s.js → state-zs9646ss.js} +53 -53
- package/dist/chunks/{aisdk-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{aisdk-0a0q6pwz.js → state-zzktyp0b.js} +10 -10
- 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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- 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 +99 -99
- 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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +95 -95
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- 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 +86 -86
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/model-resolver.d.ts +2 -0
- package/dist/types/session/model-transport.d.ts +1 -1
- 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 +92 -92
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/aisdk-1sq2hj63.js +0 -26
- /package/dist/chunks/{aisdk-0mesazry.js → state-0mesazry.js} +0 -0
- /package/dist/chunks/{aisdk-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{aisdk-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{aisdk-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./state-c9esyfej.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./state-06fa46aw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin49,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service78;
|
|
57
|
+
const permission = yield* Service57;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options5,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options5 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options5]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options5, Spec2, exports_plugin3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-g3q8xvt3.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./state-fkrg1jgt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-dh7fhzye.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-sd5h2e1z.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service79;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-hcam9bsc.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-g3q8xvt3.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin37,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin37 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin19 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint3, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin19 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint3, Plugin37, exports_parallel };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./state-ezrkp374.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service16,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-1h5r6g9j.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service70
|
|
11
|
+
} from "./state-7d4y95ya.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./state-06fa46aw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service56
|
|
17
|
+
} from "./state-78kgqsf0.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin6,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin6 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service56;
|
|
56
|
+
const fileMutation = yield* Service16;
|
|
57
|
+
const environment = yield* Service68;
|
|
58
|
+
const formatter = yield* Service70;
|
|
59
|
+
const permission = yield* Service57;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input6,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output4, toModelContent2, Plugin6, exports_write };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-jjs3a33e.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service67,
|
|
10
|
+
node70
|
|
11
|
+
} from "./state-s01cwswe.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./state-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options10,
|
|
25
|
+
Service: () => Service66,
|
|
26
|
+
configured: () => configured10,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer22,
|
|
29
|
+
node: () => node69,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options10 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service66 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service66, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service67;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service66.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service66, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service80;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service66.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service66.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service80;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured10(options) {
|
|
186
|
+
return makeLocationNode({ service: Service66, layer: layer22(options), deps: [node84, node70] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node69 = configured10();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options10, Service66, ripgrepLayer2, fffLayer2, layer22, configured10, node69, exports_search };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-v3k62wtp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-pr15s9x7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node57
|
|
12
|
+
} from "./state-vx23e58e.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service40,
|
|
15
|
+
node42
|
|
16
|
+
} from "./state-3ppptnan.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./state-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service38
|
|
26
|
+
} from "./state-hn57h045.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-e5xpd6yj.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service59,
|
|
32
|
+
node62
|
|
33
|
+
} from "./state-nzgjyyka.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./state-qnvmbtfx.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./state-eb018chj.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./state-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service37,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
49
|
layer: () => layer15,
|
|
50
|
-
node: () =>
|
|
50
|
+
node: () => node40,
|
|
51
51
|
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service37 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var layer15 = Layer.effect(
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service59;
|
|
70
|
+
const instances = yield* Service40;
|
|
71
71
|
const bus = yield* Service83;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service54;
|
|
73
73
|
const db = (yield* Service84).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,14 +82,14 @@ var layer15 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make15({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer15 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service37.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer15 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
132
|
+
var node40 = makeGlobalNode({
|
|
133
|
+
service: Service37,
|
|
134
134
|
layer: layer15,
|
|
135
|
-
deps: [
|
|
135
|
+
deps: [node62, node42, node87, node88, node57]
|
|
136
136
|
});
|
|
137
|
-
var noopLayer2 = Layer.succeed(
|
|
137
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service30, Service30.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service37, terminal2, layer15, node40, noopLayer2, exports_execution };
|