@opencode-ai/core 0.0.0-dev-19100 → 0.0.0-dev-19102
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{job-cf3nzdp7.js → persistent-pty-010ymet8.js} +4 -4
- package/dist/chunks/{job-zzqnaw22.js → persistent-pty-03xjq0tm.js} +16 -16
- package/dist/chunks/{job-mjzwven8.js → persistent-pty-06b9fxmy.js} +27 -27
- package/dist/chunks/{job-jdahdk5n.js → persistent-pty-0d5mggnk.js} +25 -25
- package/dist/chunks/{job-0e0xafbb.js → persistent-pty-0e0xafbb.js} +2 -2
- package/dist/chunks/{job-mzcfs4x1.js → persistent-pty-0g7k506p.js} +10 -10
- package/dist/chunks/{job-2k8khapm.js → persistent-pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{job-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-0s9ayhjt.js → persistent-pty-0s9ayhjt.js} +1 -1
- package/dist/chunks/{job-sxesk63z.js → persistent-pty-0v9kxdr7.js} +11 -11
- package/dist/chunks/{job-ktk9a21d.js → persistent-pty-0w19ktq4.js} +2 -2
- package/dist/chunks/{job-74kf6wkb.js → persistent-pty-10pzdvzd.js} +7 -7
- package/dist/chunks/{job-1ct4r87x.js → persistent-pty-1ct4r87x.js} +1 -1
- package/dist/chunks/{job-rgpp5x08.js → persistent-pty-1f1wzhgc.js} +4 -4
- package/dist/chunks/{job-jfqtm2ew.js → persistent-pty-1g7epwpd.js} +7 -7
- package/dist/chunks/{job-s8g0x53e.js → persistent-pty-1mdarqb0.js} +37 -37
- package/dist/chunks/{job-v98qgn33.js → persistent-pty-1nk2mnc0.js} +3 -3
- package/dist/chunks/{job-4172h78j.js → persistent-pty-1nknpwm3.js} +4 -4
- package/dist/chunks/{job-0amrg371.js → persistent-pty-1r9xt4cr.js} +32 -32
- package/dist/chunks/{job-rbk154pb.js → persistent-pty-1s4k183h.js} +18 -18
- package/dist/chunks/{job-5t1zbbry.js → persistent-pty-1tag838h.js} +27 -27
- package/dist/chunks/{job-69ayqp0q.js → persistent-pty-20jvp80s.js} +8 -8
- package/dist/chunks/{job-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{job-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{job-7npnyrdg.js → persistent-pty-247ymhap.js} +1 -1
- package/dist/chunks/{job-29x78va6.js → persistent-pty-29x78va6.js} +2 -2
- package/dist/chunks/{job-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-7gt73157.js → persistent-pty-2b6y700x.js} +34 -34
- package/dist/chunks/{job-5zhf1z2n.js → persistent-pty-2ghkytyg.js} +36 -36
- package/dist/chunks/{job-2ht70gj7.js → persistent-pty-2ht70gj7.js} +1 -1
- package/dist/chunks/{job-2jqmte8w.js → persistent-pty-2jqmte8w.js} +2 -2
- package/dist/chunks/{job-8v1r77nv.js → persistent-pty-2pr8vdab.js} +43 -43
- package/dist/chunks/{job-x5yqqxk3.js → persistent-pty-2rjhfz2z.js} +6 -6
- package/dist/chunks/{job-mnhhr8vg.js → persistent-pty-2tn9agq3.js} +28 -28
- package/dist/chunks/{job-65gz9r6e.js → persistent-pty-30janqm6.js} +27 -27
- package/dist/chunks/persistent-pty-35chk74t.js +4 -0
- package/dist/chunks/{job-w6hdqetn.js → persistent-pty-369x3t65.js} +4 -4
- package/dist/chunks/{job-w4600456.js → persistent-pty-36mzbjn4.js} +4 -4
- package/dist/chunks/{job-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-76rzm6aj.js → persistent-pty-3j6zyyvs.js} +25 -25
- package/dist/chunks/{job-3qzbfqsy.js → persistent-pty-3qzbfqsy.js} +2 -2
- package/dist/chunks/{job-h9bwyndq.js → persistent-pty-3rtc4tqa.js} +6 -6
- package/dist/chunks/{job-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-z8msmd3j.js → persistent-pty-3t5jsk6c.js} +12 -12
- package/dist/chunks/{job-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/persistent-pty-40ke5ycv.js +18 -0
- package/dist/chunks/{job-454k5vzh.js → persistent-pty-454k5vzh.js} +1 -1
- package/dist/chunks/{job-882hrpbs.js → persistent-pty-4kav5gz3.js} +9 -9
- package/dist/chunks/{job-4r2nyarf.js → persistent-pty-4r2nyarf.js} +1 -1
- package/dist/chunks/{job-f7kbfcfh.js → persistent-pty-4xjdkfjs.js} +12 -12
- package/dist/chunks/{job-p81m17bq.js → persistent-pty-54bnqtv9.js} +23 -23
- package/dist/chunks/{job-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{job-5fmxt4p5.js → persistent-pty-5fmxt4p5.js} +1 -1
- package/dist/chunks/{job-5jvc5tg2.js → persistent-pty-5jvc5tg2.js} +1 -1
- package/dist/chunks/{job-qz49fwgp.js → persistent-pty-5mdrv3hm.js} +6 -6
- package/dist/chunks/{job-1ymqjxt6.js → persistent-pty-5tfcvdvj.js} +5 -5
- package/dist/chunks/{job-4k0h8fvt.js → persistent-pty-628cc3h3.js} +16 -16
- package/dist/chunks/{job-9gq6sz2t.js → persistent-pty-63kze1d3.js} +4 -4
- package/dist/chunks/{job-ahkm12yq.js → persistent-pty-64fqqfmx.js} +8 -8
- package/dist/chunks/{job-18832vz4.js → persistent-pty-66b3gex4.js} +22 -22
- package/dist/chunks/{job-q2eqbc76.js → persistent-pty-68qdqky7.js} +15 -15
- package/dist/chunks/{job-35mhrkea.js → persistent-pty-6d0jr2jk.js} +32 -32
- package/dist/chunks/{job-zmjynawk.js → persistent-pty-6h414ywr.js} +5 -5
- package/dist/chunks/{job-ecez4qqn.js → persistent-pty-6kgy03tf.js} +11 -11
- package/dist/chunks/{job-r72b02md.js → persistent-pty-6svye9h2.js} +9 -9
- package/dist/chunks/{job-6tf8tr4v.js → persistent-pty-6tf8tr4v.js} +2 -2
- package/dist/chunks/{job-595aw0pg.js → persistent-pty-6ykkc5x7.js} +33 -33
- package/dist/chunks/{job-6abnk40k.js → persistent-pty-6z5bwd8g.js} +9 -9
- package/dist/chunks/{job-cgsm4ny8.js → persistent-pty-70203jtn.js} +29 -29
- package/dist/chunks/{job-snkf112e.js → persistent-pty-70nq51cn.js} +20 -20
- package/dist/chunks/{job-711hfp6y.js → persistent-pty-711hfp6y.js} +2 -2
- package/dist/chunks/{job-b23jn8gs.js → persistent-pty-738s90ft.js} +7 -7
- package/dist/chunks/{job-p1bjw1dn.js → persistent-pty-73tf0mnp.js} +45 -45
- package/dist/chunks/{job-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-pw62wfs5.js → persistent-pty-7dz4r7mk.js} +8 -8
- package/dist/chunks/{job-nt3cjhda.js → persistent-pty-7k5q7gm2.js} +24 -24
- package/dist/chunks/{job-qhwm6mz4.js → persistent-pty-7x0f5kvq.js} +11 -11
- package/dist/chunks/{job-q0kqjkmf.js → persistent-pty-81xmbs00.js} +30 -30
- package/dist/chunks/{job-9egx1b5f.js → persistent-pty-82aytm87.js} +1 -1
- package/dist/chunks/{job-5721agwt.js → persistent-pty-88fw41mx.js} +16 -16
- package/dist/chunks/{job-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
- package/dist/chunks/{job-e5687zp2.js → persistent-pty-8g20mv6s.js} +18 -18
- package/dist/chunks/{job-byjwva70.js → persistent-pty-8hxn7kz0.js} +20 -20
- package/dist/chunks/{job-b2y7cwzc.js → persistent-pty-8jkpz5pq.js} +6 -6
- package/dist/chunks/{job-t8bmmp56.js → persistent-pty-8tj73bzm.js} +3 -3
- package/dist/chunks/{job-yge63rt3.js → persistent-pty-97058x90.js} +3 -3
- package/dist/chunks/{job-28pcbh69.js → persistent-pty-97f5v037.js} +4 -4
- package/dist/chunks/{job-dmfj988w.js → persistent-pty-97tyj6c6.js} +31 -31
- package/dist/chunks/{job-9qm9egsn.js → persistent-pty-9qm9egsn.js} +2 -2
- package/dist/chunks/{job-z25mwg4t.js → persistent-pty-a0q04gk3.js} +4 -4
- package/dist/chunks/{job-0946avfs.js → persistent-pty-a202dayn.js} +14 -14
- package/dist/chunks/{job-vep9yay1.js → persistent-pty-a3x9xvd8.js} +4 -4
- package/dist/chunks/{job-j36tnve8.js → persistent-pty-a62e05n8.js} +5 -5
- package/dist/chunks/{job-1xqencwf.js → persistent-pty-a80d3v2r.js} +17 -17
- package/dist/chunks/{job-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{job-7vhmdqap.js → persistent-pty-ac3j6t8f.js} +8 -8
- package/dist/chunks/{job-ejg3r42z.js → persistent-pty-acdzekmc.js} +15 -15
- package/dist/chunks/{job-ft2ykv9q.js → persistent-pty-af5cxv86.js} +52 -52
- package/dist/chunks/{job-q8eh6ga5.js → persistent-pty-aj6efch7.js} +12 -12
- package/dist/chunks/{job-ajtjthsy.js → persistent-pty-ajtjthsy.js} +2 -2
- package/dist/chunks/{job-06ehnqe9.js → persistent-pty-ajyamx78.js} +9 -9
- package/dist/chunks/{job-h0yr2gfs.js → persistent-pty-ak38yve4.js} +9 -9
- package/dist/chunks/{job-t5rzzqww.js → persistent-pty-ameg2vx3.js} +1 -1
- package/dist/chunks/{job-bf0ztrs3.js → persistent-pty-an7cqtb7.js} +4 -4
- package/dist/chunks/{job-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-bq4dtbh2.js → persistent-pty-b6xfkz6v.js} +32 -32
- package/dist/chunks/{job-b9wsbatv.js → persistent-pty-b9wsbatv.js} +1 -1
- package/dist/chunks/{job-5faehdjc.js → persistent-pty-bn8089at.js} +11 -11
- package/dist/chunks/{job-a72q18ty.js → persistent-pty-bpyfw359.js} +8 -8
- package/dist/chunks/{job-w51wkrn4.js → persistent-pty-bqgp69re.js} +15 -15
- package/dist/chunks/persistent-pty-by7j3p9d.js +22 -0
- package/dist/chunks/{job-jrh6xn4c.js → persistent-pty-bzc17vb9.js} +3 -3
- package/dist/chunks/{job-8c44xd3t.js → persistent-pty-c2c0m65v.js} +34 -34
- package/dist/chunks/{job-xhff6z51.js → persistent-pty-c3e32yye.js} +30 -30
- package/dist/chunks/{job-5y476dvm.js → persistent-pty-c47xcf4v.js} +17 -17
- package/dist/chunks/{job-c10fbwpz.js → persistent-pty-c4ka2x60.js} +35 -35
- package/dist/chunks/{job-8h9fkwdc.js → persistent-pty-c5g21jc3.js} +6 -6
- package/dist/chunks/{job-pstzsdxk.js → persistent-pty-cf6j12q4.js} +17 -17
- package/dist/chunks/persistent-pty-ch0he8ej.js +450 -0
- package/dist/chunks/{job-dxpa8sj6.js → persistent-pty-ckev9kd7.js} +3 -3
- package/dist/chunks/{job-s3239btt.js → persistent-pty-cqzeme2b.js} +16 -16
- package/dist/chunks/{job-2amnen0r.js → persistent-pty-craj34q5.js} +24 -24
- package/dist/chunks/{job-z0scd2p4.js → persistent-pty-czrfnqv4.js} +17 -17
- package/dist/chunks/{job-2jckzm9c.js → persistent-pty-d030bd0f.js} +11 -11
- package/dist/chunks/{job-62s86swy.js → persistent-pty-d3baj57q.js} +18 -18
- package/dist/chunks/{job-d72308c8.js → persistent-pty-d72308c8.js} +2 -2
- package/dist/chunks/{job-ex99dnp9.js → persistent-pty-d7zznenn.js} +9 -9
- package/dist/chunks/{job-w6tbt1ze.js → persistent-pty-d8brfqjj.js} +19 -19
- package/dist/chunks/{job-6v59swkn.js → persistent-pty-dba19q6g.js} +33 -33
- package/dist/chunks/{job-rh50mt9d.js → persistent-pty-ddbc03cc.js} +1 -1
- package/dist/chunks/{job-acsbsfnf.js → persistent-pty-e3vpkeje.js} +12 -12
- package/dist/chunks/{job-e999m61r.js → persistent-pty-edaf3eyg.js} +20 -20
- package/dist/chunks/{job-31s1nbqh.js → persistent-pty-eerwjj66.js} +48 -48
- package/dist/chunks/{job-j028xdjb.js → persistent-pty-eq1pz5kg.js} +3 -3
- package/dist/chunks/{job-gmrcnqc8.js → persistent-pty-eyrpjw8c.js} +26 -26
- package/dist/chunks/{job-5sg4xzjf.js → persistent-pty-ez5b8bq3.js} +7 -7
- package/dist/chunks/{job-2a0xfsw9.js → persistent-pty-f02rj1me.js} +82 -82
- package/dist/chunks/{job-0w09pq9x.js → persistent-pty-f44dq202.js} +5 -5
- package/dist/chunks/{job-sxj9wb3z.js → persistent-pty-f4ywn050.js} +17 -17
- package/dist/chunks/{job-4zqg48kz.js → persistent-pty-fa2er9zw.js} +9 -9
- package/dist/chunks/{job-m5jxsawq.js → persistent-pty-fgj7dkc9.js} +6 -6
- package/dist/chunks/{job-x6kesgn5.js → persistent-pty-fhzfk9q0.js} +23 -23
- package/dist/chunks/{job-d8v5a05d.js → persistent-pty-fjkyzcze.js} +11 -11
- package/dist/chunks/{job-g71sejg1.js → persistent-pty-fn2zck2h.js} +14 -14
- package/dist/chunks/{job-ewewazbk.js → persistent-pty-ftr4qpk4.js} +9 -9
- package/dist/chunks/{job-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-fxypknc8.js → persistent-pty-fxypknc8.js} +1 -1
- package/dist/chunks/{job-eqkrc45d.js → persistent-pty-g1v92phv.js} +1 -1
- package/dist/chunks/{job-zmya9kwb.js → persistent-pty-g2c9bhkq.js} +6 -6
- package/dist/chunks/{job-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-ze0c3xje.js → persistent-pty-gev0qjxp.js} +13 -13
- package/dist/chunks/{job-x4e1mx07.js → persistent-pty-gjswkc62.js} +26 -26
- package/dist/chunks/{job-66d911n1.js → persistent-pty-gkdfetxb.js} +10 -10
- package/dist/chunks/{job-x0mxa1zg.js → persistent-pty-gpkgrk3z.js} +2 -2
- package/dist/chunks/{job-xny325h3.js → persistent-pty-gqdgqbeh.js} +10 -10
- package/dist/chunks/{job-abv4wn07.js → persistent-pty-gynq7mwy.js} +17 -17
- package/dist/chunks/{job-0k72pry1.js → persistent-pty-h2st8tcp.js} +4 -4
- package/dist/chunks/{job-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-91cfcvzb.js → persistent-pty-h8q6a69m.js} +24 -24
- package/dist/chunks/{job-heyhwy2w.js → persistent-pty-heyhwy2w.js} +1 -1
- package/dist/chunks/{job-hrvm11jt.js → persistent-pty-hrvm11jt.js} +3 -3
- package/dist/chunks/{job-eqb4av08.js → persistent-pty-j8xe25ng.js} +28 -28
- package/dist/chunks/{job-mappsm8s.js → persistent-pty-j90p7j59.js} +4 -4
- package/dist/chunks/{job-s9gykg7q.js → persistent-pty-jn521bbx.js} +67 -67
- package/dist/chunks/{job-xxzpesbj.js → persistent-pty-jnhf5mef.js} +1 -1
- package/dist/chunks/{job-jwcy2c2z.js → persistent-pty-jwcy2c2z.js} +1 -1
- package/dist/chunks/{job-k4bwy1x5.js → persistent-pty-k4bwy1x5.js} +1 -1
- package/dist/chunks/{job-senknpt6.js → persistent-pty-k50eqkg3.js} +13 -13
- package/dist/chunks/{job-hdja7q8b.js → persistent-pty-kbg5ppnb.js} +13 -13
- package/dist/chunks/{job-92gfg2p2.js → persistent-pty-kbyz2dkt.js} +9 -9
- package/dist/chunks/{job-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{job-eart6cj3.js → persistent-pty-kpyq2w0f.js} +3 -3
- package/dist/chunks/{job-kvsjn1dr.js → persistent-pty-kvsjn1dr.js} +2 -2
- package/dist/chunks/{job-m70sbz6t.js → persistent-pty-m1ggyr73.js} +4 -4
- package/dist/chunks/{job-a9zfrvqc.js → persistent-pty-m3fm0fm8.js} +5 -5
- package/dist/chunks/{job-7fvhnn29.js → persistent-pty-m79fg301.js} +15 -15
- package/dist/chunks/{job-1g6w0xr7.js → persistent-pty-m7khsb1d.js} +22 -22
- package/dist/chunks/{job-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-fyk6bpvp.js → persistent-pty-mbapk581.js} +40 -40
- package/dist/chunks/{job-djr7m0g5.js → persistent-pty-me6p58dn.js} +25 -25
- package/dist/chunks/{job-2wqt9t8b.js → persistent-pty-mpzahx5f.js} +167 -167
- package/dist/chunks/{job-5pd5qg07.js → persistent-pty-msxx7emw.js} +18 -18
- package/dist/chunks/{job-mzz8wxd0.js → persistent-pty-n50399pa.js} +10 -10
- package/dist/chunks/{job-j2g5j66x.js → persistent-pty-n8bbtjn9.js} +11 -11
- package/dist/chunks/{job-cf3tj770.js → persistent-pty-nca7p386.js} +4 -4
- package/dist/chunks/{job-78bankzg.js → persistent-pty-ne5w19nk.js} +29 -29
- package/dist/chunks/{job-r1dvxz8z.js → persistent-pty-nrse418z.js} +15 -15
- package/dist/chunks/{job-v562m3aa.js → persistent-pty-nt2wbfgf.js} +23 -23
- package/dist/chunks/{job-4ncfc14q.js → persistent-pty-nzf6eghd.js} +10 -10
- package/dist/chunks/{job-10qv4wd5.js → persistent-pty-pae9v2p1.js} +8 -8
- package/dist/chunks/{job-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{job-aweyc29q.js → persistent-pty-pzjeeacc.js} +4 -4
- package/dist/chunks/{job-5frspsv4.js → persistent-pty-qg20g60x.js} +17 -17
- package/dist/chunks/{job-wk8nrfcs.js → persistent-pty-qmkhq1hj.js} +13 -13
- package/dist/chunks/{job-ky7swqx3.js → persistent-pty-qp6zthdp.js} +18 -18
- package/dist/chunks/{job-jvh5jvbh.js → persistent-pty-qqbjvkxt.js} +53 -53
- package/dist/chunks/persistent-pty-qqytqg20.js +243 -0
- package/dist/chunks/{job-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{job-d8e75fze.js → persistent-pty-r60qd0ca.js} +22 -22
- package/dist/chunks/{job-r8dhm0tv.js → persistent-pty-r8dhm0tv.js} +1 -1
- package/dist/chunks/{job-ac41bq3y.js → persistent-pty-rb1agnwm.js} +12 -12
- package/dist/chunks/{job-9gtkrrg6.js → persistent-pty-rmpjenwd.js} +8 -8
- package/dist/chunks/{job-y5m8pq0x.js → persistent-pty-rpksmvzr.js} +11 -11
- package/dist/chunks/{job-2h5svvvd.js → persistent-pty-rs8bkfty.js} +2 -2
- package/dist/chunks/{job-q7e6n9zn.js → persistent-pty-rvn46zq7.js} +9 -9
- package/dist/chunks/{job-mw73v21r.js → persistent-pty-s1zas8dv.js} +8 -8
- package/dist/chunks/{job-65gnmf57.js → persistent-pty-s3kg5m6x.js} +11 -11
- package/dist/chunks/{job-vepj04m5.js → persistent-pty-s6qgbjky.js} +6 -6
- package/dist/chunks/{job-ce9ncmzb.js → persistent-pty-s8g36k60.js} +4 -4
- package/dist/chunks/{job-jp40s068.js → persistent-pty-sagqnce1.js} +3 -3
- package/dist/chunks/{job-sba4qhjf.js → persistent-pty-sba4qhjf.js} +1 -1
- package/dist/chunks/{job-e4kkw97y.js → persistent-pty-scarvxmk.js} +11 -11
- package/dist/chunks/{job-45em0vfw.js → persistent-pty-serxh5qa.js} +9 -9
- package/dist/chunks/{job-qgbsg1ke.js → persistent-pty-sgh09qtt.js} +27 -27
- package/dist/chunks/{job-9d04b11k.js → persistent-pty-shbsgx5h.js} +10 -10
- package/dist/chunks/{job-shfbkbb1.js → persistent-pty-skfe9q3s.js} +46 -46
- package/dist/chunks/{job-1eq7j3rm.js → persistent-pty-smgpfta5.js} +12 -12
- package/dist/chunks/{job-6b15sfh8.js → persistent-pty-ss7602g3.js} +18 -18
- package/dist/chunks/{job-qma472jp.js → persistent-pty-stfay7w2.js} +60 -60
- package/dist/chunks/{job-45nbt49a.js → persistent-pty-sy4zz7rh.js} +12 -12
- package/dist/chunks/{job-y8b5kh1c.js → persistent-pty-t7dkb9mz.js} +7 -7
- package/dist/chunks/{job-xnq53k63.js → persistent-pty-ta4jwntf.js} +4 -4
- package/dist/chunks/{job-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-wqdnwa2t.js → persistent-pty-tckacx9z.js} +32 -32
- package/dist/chunks/{job-6ebcx9xt.js → persistent-pty-tgpxmjaj.js} +21 -21
- package/dist/chunks/{job-bcezcar3.js → persistent-pty-thfv75je.js} +5 -5
- package/dist/chunks/{job-tjykrgmx.js → persistent-pty-tjykrgmx.js} +1 -1
- package/dist/chunks/{job-7k7y8275.js → persistent-pty-ts7bph5s.js} +89 -89
- package/dist/chunks/{job-4kkh8pys.js → persistent-pty-twtpgget.js} +7 -7
- package/dist/chunks/{job-rvwskcwc.js → persistent-pty-twy2b4zd.js} +8 -8
- package/dist/chunks/{job-mhjy9geh.js → persistent-pty-vng46sf0.js} +4 -4
- package/dist/chunks/{job-gkhj65gm.js → persistent-pty-vqxj4jm3.js} +21 -21
- package/dist/chunks/{job-cswytkgq.js → persistent-pty-vrxbpmbb.js} +43 -43
- package/dist/chunks/{job-pzhzvtrg.js → persistent-pty-vwnnwet6.js} +51 -51
- package/dist/chunks/{job-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-fw75d2j2.js → persistent-pty-w40bmgb5.js} +27 -27
- package/dist/chunks/{job-yr2007ak.js → persistent-pty-w5g2dnw1.js} +39 -39
- package/dist/chunks/{job-sqrpkr4f.js → persistent-pty-w6z2g4f7.js} +28 -28
- package/dist/chunks/{job-s97py5dz.js → persistent-pty-w7y9r27g.js} +44 -44
- package/dist/chunks/{job-pjsc4zyk.js → persistent-pty-wctfcgtb.js} +6 -6
- package/dist/chunks/{job-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{job-bfmmzv3y.js → persistent-pty-we5ggtsr.js} +8 -8
- package/dist/chunks/{job-y86695j7.js → persistent-pty-wvx09938.js} +12 -12
- package/dist/chunks/{job-y0gb186e.js → persistent-pty-x15v48ws.js} +15 -15
- package/dist/chunks/{job-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-yt5k7jn8.js → persistent-pty-x2rt1cxd.js} +5 -5
- package/dist/chunks/{job-fqygmygp.js → persistent-pty-x92yqmyb.js} +28 -28
- package/dist/chunks/{job-rdtt4ycx.js → persistent-pty-xa3k010d.js} +32 -32
- package/dist/chunks/{job-pydkqggy.js → persistent-pty-xmtn9a9r.js} +27 -27
- package/dist/chunks/{job-rw08jxvr.js → persistent-pty-xr14zjyh.js} +11 -11
- package/dist/chunks/{job-9vcfn3x3.js → persistent-pty-xspyb9m3.js} +8 -8
- package/dist/chunks/{job-vc8jhytw.js → persistent-pty-xw378f4n.js} +28 -28
- package/dist/chunks/{job-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-93a8yfjt.js → persistent-pty-y2cqme3r.js} +5 -5
- package/dist/chunks/{job-5c5mxy69.js → persistent-pty-y6raa7nc.js} +35 -35
- package/dist/chunks/{job-hb548ks1.js → persistent-pty-y89bt055.js} +11 -11
- package/dist/chunks/{job-p1h159n9.js → persistent-pty-yawraddd.js} +14 -14
- package/dist/chunks/{job-kk3rr3qh.js → persistent-pty-yfbd16n1.js} +5 -5
- package/dist/chunks/{job-t71v2ka4.js → persistent-pty-ykczf8eq.js} +5 -5
- package/dist/chunks/{job-nag7dxjf.js → persistent-pty-ymbwt96j.js} +9 -9
- package/dist/chunks/{job-gjb9fvjc.js → persistent-pty-yvyswnaa.js} +9 -9
- package/dist/chunks/{job-wta9sx1g.js → persistent-pty-yxzxwnyx.js} +8 -8
- package/dist/chunks/{job-famd3pv6.js → persistent-pty-yzd93mfj.js} +5 -5
- package/dist/chunks/{job-n5b9871t.js → persistent-pty-yzp432d8.js} +38 -38
- package/dist/chunks/{job-z1k01bn4.js → persistent-pty-z1k01bn4.js} +2 -2
- package/dist/chunks/{job-jbqt9jv7.js → persistent-pty-za3gge5n.js} +31 -31
- package/dist/chunks/{job-eexzqnt3.js → persistent-pty-zbqrcwzf.js} +23 -23
- package/dist/chunks/{job-k6mws45t.js → persistent-pty-zcc5h559.js} +24 -24
- package/dist/chunks/{job-y6c4d9ha.js → persistent-pty-zhhz7vvj.js} +22 -22
- package/dist/chunks/{job-r2qnyvne.js → persistent-pty-zja0h37x.js} +3 -3
- package/dist/chunks/{job-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/persistent-pty-zy35xm16.js +20 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +72 -72
- package/dist/file-mutation.js +89 -89
- 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 +215 -215
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +7 -7
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +344 -344
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +82 -82
- 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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +210 -210
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- 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 +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- 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 +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +112 -112
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +7 -7
- package/dist/chunks/job-25sqyrs3.js +0 -22
- package/dist/chunks/job-7zk4hah4.js +0 -4
- package/dist/chunks/job-c6w4sqp6.js +0 -450
- package/dist/chunks/job-dxj72tfx.js +0 -18
- package/dist/chunks/job-hrk0pm50.js +0 -243
- package/dist/chunks/job-nv1mfemk.js +0 -20
- /package/dist/chunks/{job-0fabt78z.js → persistent-pty-0fabt78z.js} +0 -0
- /package/dist/chunks/{job-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3t738kvx.js → persistent-pty-3t738kvx.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-41nvscxy.js → persistent-pty-41nvscxy.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-982e01ww.js → persistent-pty-982e01ww.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a1tpkmh4.js → persistent-pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mntxs535.js → persistent-pty-mntxs535.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-p8qxwesx.js → persistent-pty-p8qxwesx.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-se0s1eqw.js → persistent-pty-se0s1eqw.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x1b8g1yb.js → persistent-pty-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{job-zbjnn3ac.js → persistent-pty-zbjnn3ac.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service67
|
|
8
|
+
} from "./persistent-pty-c47xcf4v.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./persistent-pty-vqxj4jm3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service50
|
|
14
|
+
} from "./persistent-pty-68qdqky7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-kbg5ppnb.js";
|
|
20
20
|
import {
|
|
21
21
|
externalDirectoryPermission2,
|
|
22
22
|
resolvePath2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service38
|
|
24
|
+
} from "./persistent-pty-628cc3h3.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service40
|
|
27
|
+
} from "./persistent-pty-af5cxv86.js";
|
|
28
28
|
import {
|
|
29
29
|
fileDiff2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-6prwharc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/patch.ts
|
|
36
36
|
var exports_patch = {};
|
|
37
37
|
__export(exports_patch, {
|
|
38
38
|
Applied: () => Applied2,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
39
|
+
Input: () => Input4,
|
|
40
|
+
Output: () => Output3,
|
|
41
41
|
PatchTool: () => exports_patch,
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
Plugin: () => Plugin18,
|
|
43
|
+
name: () => name4,
|
|
44
44
|
toModelContent: () => toModelContent4
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
@@ -86,8 +86,8 @@ It is important to remember:
|
|
|
86
86
|
`;
|
|
87
87
|
|
|
88
88
|
// src/tool/plugin/patch.ts
|
|
89
|
-
var
|
|
90
|
-
var
|
|
89
|
+
var name4 = "patch";
|
|
90
|
+
var Input4 = Schema.Struct({
|
|
91
91
|
patchText: Schema.String.annotate({
|
|
92
92
|
description: "The full patch text describing add, update, and delete operations"
|
|
93
93
|
})
|
|
@@ -97,7 +97,7 @@ var Applied2 = Schema.Struct({
|
|
|
97
97
|
resource: Schema.String,
|
|
98
98
|
target: Schema.String
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Output3 = Schema.Struct({
|
|
101
101
|
applied: Schema.Array(Applied2),
|
|
102
102
|
files: Schema.Array(FileDiff.Info)
|
|
103
103
|
});
|
|
@@ -106,21 +106,21 @@ var toModelContent4 = (output) => [
|
|
|
106
106
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
107
107
|
].join(`
|
|
108
108
|
`);
|
|
109
|
-
var
|
|
109
|
+
var Plugin18 = {
|
|
110
110
|
id: "opencode.tool.patch",
|
|
111
111
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const mutation = yield*
|
|
114
|
-
const fileMutation = yield*
|
|
115
|
-
const formatter = yield*
|
|
116
|
-
const location = yield*
|
|
117
|
-
const permission = yield*
|
|
112
|
+
const environment = yield* Service66;
|
|
113
|
+
const mutation = yield* Service38;
|
|
114
|
+
const fileMutation = yield* Service13;
|
|
115
|
+
const formatter = yield* Service50;
|
|
116
|
+
const location = yield* Service67;
|
|
117
|
+
const permission = yield* Service40;
|
|
118
118
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
119
|
-
name:
|
|
119
|
+
name: name4,
|
|
120
120
|
options: { codemode: false, permission: "edit" },
|
|
121
121
|
description: patch_default,
|
|
122
|
-
input:
|
|
123
|
-
output:
|
|
122
|
+
input: Input4,
|
|
123
|
+
output: Output3,
|
|
124
124
|
execute: (input, context) => {
|
|
125
125
|
const applied = [];
|
|
126
126
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -330,4 +330,4 @@ function trimDiff(diff) {
|
|
|
330
330
|
`);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { name4, Input4, Applied2, Output3, toModelContent4, Plugin18, exports_patch };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.filterStatusOk(http).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-bzc17vb9.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./persistent-pty-smgpfta5.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-0e0xafbb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-mntxs535.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-twtpgget.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service41,
|
|
21
|
+
node43
|
|
22
|
+
} from "./persistent-pty-yawraddd.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service19,
|
|
25
|
+
node22
|
|
26
|
+
} from "./persistent-pty-f02rj1me.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-tjykrgmx.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode-ai/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service78;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service19;
|
|
65
|
+
const store = yield* Service41;
|
|
66
66
|
const db = (yield* Service80).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node3 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node82, llmClient2, node22, node43, node84]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-97f5v037.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-af5cxv86.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service31,
|
|
13
|
+
node33
|
|
14
|
+
} from "./persistent-pty-qqbjvkxt.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name13
|
|
18
|
+
} from "./persistent-pty-b6xfkz6v.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
24
|
var exports_instructions5 = {};
|
|
25
25
|
__export(exports_instructions5, {
|
|
26
26
|
McpInstructions: () => exports_instructions5,
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
27
|
+
Service: () => Service28,
|
|
28
|
+
layer: () => layer12,
|
|
29
|
+
node: () => node30
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service28 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer12 = Layer.effect(Service28, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service31;
|
|
69
|
+
return Service28.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make20({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node30 = makeLocationNode({ service: Service28, layer: layer12, deps: [node33] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service28, layer12, node30, exports_instructions5 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node72
|
|
6
|
+
} from "./persistent-pty-shbsgx5h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID12
|
|
9
|
+
} from "./persistent-pty-ymbwt96j.js";
|
|
10
10
|
import {
|
|
11
11
|
Slug2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-gebd4c9n.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-bzc17vb9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./persistent-pty-smgpfta5.js";
|
|
21
21
|
import {
|
|
22
22
|
ProjectTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-9qm9egsn.js";
|
|
24
24
|
import {
|
|
25
25
|
WorktreeTable2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-ajtjthsy.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service67,
|
|
29
|
+
node70
|
|
30
|
+
} from "./persistent-pty-c47xcf4v.js";
|
|
31
31
|
import {
|
|
32
32
|
DirectoryUnavailableError2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
canonical3
|
|
34
|
+
} from "./persistent-pty-y2cqme3r.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
make17
|
|
37
|
+
} from "./persistent-pty-7x0f5kvq.js";
|
|
38
38
|
import {
|
|
39
39
|
__export
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
41
41
|
|
|
42
42
|
// src/worktree.ts
|
|
43
43
|
var exports_worktree = {};
|
|
@@ -46,21 +46,21 @@ __export(exports_worktree, {
|
|
|
46
46
|
DestinationExistsError: () => DestinationExistsError2,
|
|
47
47
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
48
48
|
DuplicateStrategyError: () => DuplicateStrategyError2,
|
|
49
|
-
Event: () =>
|
|
50
|
-
Info: () =>
|
|
49
|
+
Event: () => Event7,
|
|
50
|
+
Info: () => Info9,
|
|
51
51
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
52
52
|
List: () => List2,
|
|
53
53
|
ListEntry: () => ListEntry3,
|
|
54
|
-
ListInput: () =>
|
|
54
|
+
ListInput: () => ListInput5,
|
|
55
55
|
RefreshInput: () => RefreshInput2,
|
|
56
56
|
RefreshResult: () => RefreshResult2,
|
|
57
57
|
RemoveInput: () => RemoveInput2,
|
|
58
|
-
Service: () =>
|
|
58
|
+
Service: () => Service45,
|
|
59
59
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
60
60
|
StrategyID: () => StrategyID2,
|
|
61
61
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
62
62
|
Worktree: () => exports_worktree,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node47,
|
|
64
64
|
refreshAfterBoot: () => refreshAfterBoot2,
|
|
65
65
|
refreshNode: () => refreshNode2
|
|
66
66
|
});
|
|
@@ -76,21 +76,21 @@ var StrategyID2 = Worktree.StrategyID;
|
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
78
|
var RefreshInput2 = Schema.Struct({
|
|
79
|
-
projectID:
|
|
79
|
+
projectID: ID12
|
|
80
80
|
}).annotate({ identifier: "Worktree.RefreshInput" });
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
86
|
-
var
|
|
85
|
+
var Info9 = Worktree.Info;
|
|
86
|
+
var ListInput5 = Worktree.ListInput;
|
|
87
87
|
var List2 = Worktree.List;
|
|
88
88
|
var ListEntry3 = Schema.Struct({
|
|
89
89
|
directory: AbsolutePath2,
|
|
90
90
|
type: Schema.Literals(["root", "worktree"])
|
|
91
91
|
}).annotate({ identifier: "Worktree.ListEntry" });
|
|
92
92
|
|
|
93
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
93
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID12, directory: Schema.optional(AbsolutePath2) }) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -104,13 +104,13 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
104
104
|
|
|
105
105
|
class DuplicateStrategyError2 extends Schema.TaggedError()("Worktree.DuplicateStrategyError", { strategy: StrategyID2 }) {
|
|
106
106
|
}
|
|
107
|
-
var
|
|
107
|
+
var Event7 = Worktree.Event;
|
|
108
108
|
|
|
109
|
-
class
|
|
109
|
+
class Service45 extends Context.Service()("@opencode/v2/Worktree") {
|
|
110
110
|
}
|
|
111
111
|
var refreshAfterBoot2 = Effect.gen(function* () {
|
|
112
|
-
const location = yield*
|
|
113
|
-
const worktrees = yield*
|
|
112
|
+
const location = yield* Service67;
|
|
113
|
+
const worktrees = yield* Service45;
|
|
114
114
|
yield* Effect.gen(function* () {
|
|
115
115
|
yield* Effect.logInfo("worktree refresh started", { projectID: location.project.id });
|
|
116
116
|
const result = yield* worktrees.refresh({ projectID: location.project.id });
|
|
@@ -121,14 +121,14 @@ var refreshAfterBoot2 = Effect.gen(function* () {
|
|
|
121
121
|
});
|
|
122
122
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped, Effect.asVoid);
|
|
123
123
|
});
|
|
124
|
-
var layer = Layer.effect(
|
|
124
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
125
125
|
const fs = yield* FSUtil.Service;
|
|
126
126
|
const db = (yield* Service80).db;
|
|
127
|
-
const bus = yield*
|
|
127
|
+
const bus = yield* Service78;
|
|
128
128
|
const processService = yield* AppProcess.Service;
|
|
129
129
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
130
130
|
if (update)
|
|
131
|
-
yield* bus.publish(
|
|
131
|
+
yield* bus.publish(Event7.Updated, { projectID });
|
|
132
132
|
});
|
|
133
133
|
const ops = {
|
|
134
134
|
list: Effect.fn("Worktree.list")(function* (projectID) {
|
|
@@ -155,13 +155,13 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
155
155
|
return yield* new DuplicateStrategyError2({ strategy: strategy.id });
|
|
156
156
|
registry.set(strategy.id, strategy);
|
|
157
157
|
});
|
|
158
|
-
const gitStrategy = yield*
|
|
158
|
+
const gitStrategy = yield* make17;
|
|
159
159
|
yield* register(gitStrategy).pipe(Effect.orDie);
|
|
160
160
|
const source = Effect.fnUntraced(function* (input, projectID) {
|
|
161
161
|
const sourceDirectory = input ?? (yield* ops.primary(projectID))?.directory;
|
|
162
162
|
if (!sourceDirectory)
|
|
163
163
|
return yield* new SourceDirectoryNotFoundError2({ projectID });
|
|
164
|
-
const resolved = yield*
|
|
164
|
+
const resolved = yield* canonical3(fs, sourceDirectory);
|
|
165
165
|
if ((yield* ops.find(projectID, resolved)) === undefined)
|
|
166
166
|
return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
|
|
167
167
|
return resolved;
|
|
@@ -213,7 +213,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
213
213
|
return result;
|
|
214
214
|
});
|
|
215
215
|
const remove = Effect.fn("Worktree.remove")(function* (input) {
|
|
216
|
-
const worktreeDirectory = yield*
|
|
216
|
+
const worktreeDirectory = yield* canonical3(fs, input.directory);
|
|
217
217
|
const stored = yield* ops.find(input.projectID, worktreeDirectory);
|
|
218
218
|
if (!stored?.strategy)
|
|
219
219
|
return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
244
244
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
245
245
|
return changes;
|
|
246
246
|
});
|
|
247
|
-
return
|
|
247
|
+
return Service45.of({
|
|
248
248
|
register,
|
|
249
249
|
list: ops.list,
|
|
250
250
|
create,
|
|
@@ -252,15 +252,15 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
252
252
|
refresh
|
|
253
253
|
});
|
|
254
254
|
}));
|
|
255
|
-
var
|
|
256
|
-
service:
|
|
255
|
+
var node47 = makeGlobalNode({
|
|
256
|
+
service: Service45,
|
|
257
257
|
layer,
|
|
258
|
-
deps: [FSUtil.node,
|
|
258
|
+
deps: [FSUtil.node, node72, node82, node84, AppProcess.node]
|
|
259
259
|
});
|
|
260
260
|
var refreshNode2 = makeLocationNode({
|
|
261
261
|
name: "worktree-refresh",
|
|
262
262
|
layer: Layer.effectDiscard(refreshAfterBoot2),
|
|
263
|
-
deps: [
|
|
263
|
+
deps: [node47, node70]
|
|
264
264
|
});
|
|
265
265
|
|
|
266
|
-
export { StrategyID2, CreateInput3, RemoveInput2, RefreshInput2, RefreshResult2,
|
|
266
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshInput2, RefreshResult2, Info9, ListInput5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, DuplicateStrategyError2, Event7, Service45, refreshAfterBoot2, node47, refreshNode2, exports_worktree };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service59,
|
|
10
|
+
node: () => node62
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service59 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service59.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node62 = makeLocationNode({ service: Service59, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service59, node62, exports_hooks };
|