@opencode/core 0.0.0-dev-20018 → 0.0.0-dev-20022
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 +76 -76
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{aisdk-native-2k79v3av.js → pty-0073hawd.js} +13 -13
- package/dist/chunks/{aisdk-native-69j91c1q.js → pty-00832hy7.js} +8 -8
- package/dist/chunks/{aisdk-native-w3qh93dp.js → pty-00nz894e.js} +23 -23
- package/dist/chunks/{aisdk-native-wz3830dt.js → pty-04921szq.js} +17 -17
- package/dist/chunks/{aisdk-native-xvakhrf5.js → pty-05v741zn.js} +27 -27
- package/dist/chunks/{aisdk-native-fwwk8vbp.js → pty-0996nyz8.js} +9 -9
- package/dist/chunks/{aisdk-native-d93s37va.js → pty-09c9b37t.js} +17 -17
- package/dist/chunks/{aisdk-native-0f9afca0.js → pty-0f9afca0.js} +2 -2
- package/dist/chunks/{aisdk-native-wjhgjkby.js → pty-0gnd4t8k.js} +6 -6
- package/dist/chunks/{aisdk-native-zv6dj9jh.js → pty-0hhen1xp.js} +18 -18
- package/dist/chunks/{aisdk-native-pyfzgqcd.js → pty-0jqtpwb9.js} +15 -15
- package/dist/chunks/{aisdk-native-rp1g7e9y.js → pty-0m0tvs7x.js} +4 -4
- package/dist/chunks/{aisdk-native-rex1x5b0.js → pty-0msbkmgc.js} +5 -5
- package/dist/chunks/{aisdk-native-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-6njza5sg.js → pty-0xw899c0.js} +5 -5
- package/dist/chunks/{aisdk-native-74nqchm7.js → pty-0xxz59sm.js} +20 -20
- package/dist/chunks/{aisdk-native-vsq6befk.js → pty-0yew5m2c.js} +14 -14
- package/dist/chunks/{aisdk-native-k5nhr4kg.js → pty-0zqn79kw.js} +9 -9
- package/dist/chunks/{aisdk-native-99j31chp.js → pty-12zx0m1n.js} +11 -11
- package/dist/chunks/{aisdk-native-sds13m34.js → pty-1813d5zh.js} +7 -7
- package/dist/chunks/{aisdk-native-r8xr0va3.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{aisdk-native-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-sj08vp51.js → pty-1m7ag7te.js} +26 -26
- package/dist/chunks/{aisdk-native-nh8dtxc9.js → pty-1p7f10vm.js} +8 -8
- package/dist/chunks/{aisdk-native-8v939q8p.js → pty-1wvf8tm7.js} +42 -42
- package/dist/chunks/{aisdk-native-8p7dxkr2.js → pty-1xqbjk83.js} +28 -28
- package/dist/chunks/{aisdk-native-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{aisdk-native-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-native-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{aisdk-native-zg2dh0gb.js → pty-27273vr0.js} +14 -14
- package/dist/chunks/{aisdk-native-afrtgck4.js → pty-277eer69.js} +4 -4
- package/dist/chunks/{aisdk-native-z8w9mw3w.js → pty-2980bn8j.js} +8 -8
- package/dist/chunks/{aisdk-native-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-r63d2cpx.js → pty-2azrqq3g.js} +15 -15
- package/dist/chunks/{aisdk-native-jpqdhqxp.js → pty-2egezm5d.js} +61 -61
- package/dist/chunks/{aisdk-native-cx67r7jq.js → pty-2ge9317b.js} +19 -19
- package/dist/chunks/{aisdk-native-2k8khapm.js → pty-2k8khapm.js} +1 -1
- package/dist/chunks/{aisdk-native-za9cswpv.js → pty-2mn4zdxt.js} +25 -25
- package/dist/chunks/{aisdk-native-1gbz2yn7.js → pty-2saetqtj.js} +97 -97
- package/dist/chunks/{aisdk-native-d4he2qe1.js → pty-2sejkfem.js} +9 -9
- package/dist/chunks/{aisdk-native-9v0bb2vy.js → pty-2sn7f2k5.js} +22 -22
- package/dist/chunks/{aisdk-native-bha4atvq.js → pty-2tfmgkzg.js} +4 -4
- package/dist/chunks/{aisdk-native-dj3z95sm.js → pty-2v48e9j0.js} +13 -13
- package/dist/chunks/{aisdk-native-3t6jcnqd.js → pty-346pdbfk.js} +18 -18
- package/dist/chunks/{aisdk-native-vk3vcmgn.js → pty-37wxtrb2.js} +47 -47
- package/dist/chunks/{aisdk-native-s0dr1ffy.js → pty-3aakhrf3.js} +23 -23
- package/dist/chunks/{aisdk-native-y55kc2vx.js → pty-3aycrrq3.js} +11 -11
- package/dist/chunks/{aisdk-native-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-native-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-hkka889t.js → pty-3hwnxrrs.js} +11 -11
- package/dist/chunks/{aisdk-native-gc8ffqbx.js → pty-3jj8eh0k.js} +5 -5
- package/dist/chunks/{aisdk-native-z5brd6pn.js → pty-3jkw6mfp.js} +12 -12
- package/dist/chunks/{aisdk-native-9v7tp3a5.js → pty-3pj6bshw.js} +16 -16
- package/dist/chunks/{aisdk-native-j6n6tav9.js → pty-3qkhrecg.js} +19 -19
- package/dist/chunks/{aisdk-native-g0gf468e.js → pty-3rp2m6fs.js} +89 -89
- package/dist/chunks/{aisdk-native-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-bmcwhvkh.js → pty-3vj84w1g.js} +6 -6
- package/dist/chunks/{aisdk-native-hayccemb.js → pty-3y23f4vy.js} +24 -24
- package/dist/chunks/{aisdk-native-0q0f95c6.js → pty-3zsf4n22.js} +3 -1
- package/dist/chunks/{aisdk-native-k9kj6xed.js → pty-44ke2mar.js} +6 -6
- package/dist/chunks/{aisdk-native-szs6apvm.js → pty-46akpagb.js} +22 -22
- package/dist/chunks/{aisdk-native-84sdy7q0.js → pty-4g643n2g.js} +69 -69
- package/dist/chunks/{aisdk-native-z3bfee9d.js → pty-53p5tbhc.js} +32 -32
- package/dist/chunks/{aisdk-native-gt7k8psx.js → pty-54h147px.js} +11 -11
- package/dist/chunks/{aisdk-native-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{aisdk-native-q52g9cy7.js → pty-58qkwrp9.js} +34 -34
- package/dist/chunks/{aisdk-native-1t3e53wh.js → pty-59xa7gwf.js} +15 -15
- package/dist/chunks/{aisdk-native-a1bz86dw.js → pty-5c4hm403.js} +3 -3
- package/dist/chunks/{aisdk-native-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-native-5ekn9679.js → pty-5ekn9679.js} +1 -1
- package/dist/chunks/{aisdk-native-44h5tttr.js → pty-5mtzsd3b.js} +4 -4
- package/dist/chunks/{aisdk-native-rk10gty7.js → pty-5rz2hsq0.js} +7 -7
- package/dist/chunks/{aisdk-native-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-bxc0gw8b.js → pty-621g1y7c.js} +24 -24
- package/dist/chunks/{aisdk-native-7sayt01t.js → pty-659e5h2p.js} +20 -20
- package/dist/chunks/{aisdk-native-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-native-vbwv88ck.js → pty-68rggvtd.js} +30 -30
- package/dist/chunks/{aisdk-native-5shjer5g.js → pty-6d6xcght.js} +8 -8
- package/dist/chunks/pty-6kdq0pjd.js +4 -0
- package/dist/chunks/{aisdk-native-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-native-01sqyddp.js → pty-6ncdq8ek.js} +10 -10
- package/dist/chunks/{aisdk-native-wgpyfcqa.js → pty-6qp9w1vx.js} +21 -21
- package/dist/chunks/{aisdk-native-17wvxwbg.js → pty-6sq4hjqm.js} +15 -15
- package/dist/chunks/pty-739gz0q2.js +252 -0
- package/dist/chunks/{aisdk-native-73tb2d7t.js → pty-73tb2d7t.js} +1 -1
- package/dist/chunks/{aisdk-native-wg29s3qa.js → pty-7aycs900.js} +19 -19
- package/dist/chunks/{aisdk-native-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/pty-7fj5dwt0.js +18 -0
- package/dist/chunks/{aisdk-native-26vwh202.js → pty-7ktegkxn.js} +4 -4
- package/dist/chunks/{aisdk-native-dzpm2t7b.js → pty-7q0vyatq.js} +4 -4
- package/dist/chunks/{aisdk-native-6ycg3kwq.js → pty-7w270t0f.js} +173 -173
- package/dist/chunks/{aisdk-native-jfvy1r44.js → pty-86yg7tfg.js} +5 -5
- package/dist/chunks/{aisdk-native-6qq30bkb.js → pty-8d0p2m37.js} +5 -5
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-s26cjxn6.js → pty-8f3q2yke.js} +22 -22
- package/dist/chunks/{aisdk-native-6z32fncg.js → pty-8fgcpw95.js} +16 -16
- package/dist/chunks/{aisdk-native-f928k5wf.js → pty-8hcybcw4.js} +4 -4
- package/dist/chunks/{aisdk-native-dhy3w197.js → pty-8kyrbpf3.js} +44 -44
- package/dist/chunks/{aisdk-native-xtht1rfq.js → pty-8wd5j64y.js} +25 -25
- package/dist/chunks/{aisdk-native-gmbv0vxt.js → pty-8yen0vmk.js} +22 -22
- package/dist/chunks/{aisdk-native-rmk2c50f.js → pty-92azg307.js} +5 -5
- package/dist/chunks/{aisdk-native-1xrycep4.js → pty-92nyndd7.js} +31 -31
- package/dist/chunks/{aisdk-native-55dp11vt.js → pty-954536qd.js} +13 -13
- package/dist/chunks/{aisdk-native-gs9fvvsc.js → pty-97evzm9t.js} +13 -13
- package/dist/chunks/{aisdk-native-3ktbe3hf.js → pty-97fmyryk.js} +6 -6
- package/dist/chunks/{aisdk-native-2x99fg7q.js → pty-98g0w5b8.js} +23 -23
- package/dist/chunks/{aisdk-native-rq6j0fn2.js → pty-9cxpqc5g.js} +18 -18
- package/dist/chunks/{aisdk-native-0hf9g8pg.js → pty-9gea571p.js} +6 -6
- package/dist/chunks/{aisdk-native-jca4demv.js → pty-9kmbd9mt.js} +2 -2
- package/dist/chunks/{aisdk-native-jx7jt0bb.js → pty-9pbg9mfa.js} +11 -11
- package/dist/chunks/{aisdk-native-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-dzp16vb6.js → pty-aqy70tp0.js} +9 -9
- package/dist/chunks/{aisdk-native-9bmkwbs0.js → pty-awc8k5we.js} +15 -15
- package/dist/chunks/{aisdk-native-mdhsaw86.js → pty-awmg9ays.js} +9 -9
- package/dist/chunks/{aisdk-native-1sb7x1ja.js → pty-axaeyqk5.js} +20 -20
- package/dist/chunks/{aisdk-native-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-dcwtkkkx.js → pty-b8smpw7b.js} +26 -26
- package/dist/chunks/{aisdk-native-hjs28znn.js → pty-ba5vgn6q.js} +11 -11
- package/dist/chunks/{aisdk-native-md0kpch2.js → pty-bd54m8y3.js} +22 -22
- package/dist/chunks/{aisdk-native-5e149kdp.js → pty-bga77shd.js} +34 -34
- package/dist/chunks/{aisdk-native-er9b7gc5.js → pty-bvdvfsqm.js} +26 -26
- package/dist/chunks/{aisdk-native-b0vp7t66.js → pty-c5k9fkg4.js} +3 -3
- package/dist/chunks/{aisdk-native-7337gnns.js → pty-cde1zna5.js} +19 -19
- package/dist/chunks/{aisdk-native-e2v6zjxr.js → pty-csk9s71t.js} +22 -22
- package/dist/chunks/{aisdk-native-j9bbq9sy.js → pty-ct8v1tk1.js} +5 -5
- package/dist/chunks/{aisdk-native-pmjh0aff.js → pty-d2vrte26.js} +16 -16
- package/dist/chunks/{aisdk-native-69bbxabs.js → pty-d5jh8j72.js} +302 -302
- package/dist/chunks/{aisdk-native-k206dy6w.js → pty-d9bxkxqe.js} +49 -49
- package/dist/chunks/{aisdk-native-k9d40v1y.js → pty-dg2cj1yd.js} +4 -4
- package/dist/chunks/{aisdk-native-qq8x5mwt.js → pty-dg5bcj4q.js} +4 -4
- package/dist/chunks/{aisdk-native-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{aisdk-native-tn0aqsam.js → pty-dj9sq318.js} +5 -5
- package/dist/chunks/{aisdk-native-421r5d5v.js → pty-dq0v80fr.js} +12 -12
- package/dist/chunks/{aisdk-native-907hxtj7.js → pty-drcaqnnk.js} +28 -28
- package/dist/chunks/{aisdk-native-hpdtgxjv.js → pty-dsc9f08d.js} +32 -32
- package/dist/chunks/{aisdk-native-eaj1djv9.js → pty-eaj1djv9.js} +1 -1
- package/dist/chunks/{aisdk-native-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-native-y2vw75ss.js → pty-eg2tb1rm.js} +11 -11
- package/dist/chunks/{aisdk-native-2f6y5qym.js → pty-egeb53tp.js} +36 -36
- package/dist/chunks/{aisdk-native-7z9xeg3c.js → pty-ehr488c1.js} +13 -13
- package/dist/chunks/{aisdk-native-28tkfjbz.js → pty-epbjbybc.js} +26 -26
- package/dist/chunks/{aisdk-native-t39v03va.js → pty-epch955d.js} +30 -30
- package/dist/chunks/{aisdk-native-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{aisdk-native-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-k76fn4kw.js → pty-f73rjn58.js} +4 -4
- package/dist/chunks/{aisdk-native-0302b5b5.js → pty-f8neaav3.js} +18 -18
- package/dist/chunks/{aisdk-native-jmwb3seb.js → pty-f99sh2kf.js} +46 -46
- package/dist/chunks/{aisdk-native-t40vv9yz.js → pty-fe8rbqv5.js} +3 -3
- package/dist/chunks/{aisdk-native-xnx5mes9.js → pty-fsvv4bbc.js} +10 -10
- package/dist/chunks/{aisdk-native-2hk845ne.js → pty-fts96dv9.js} +29 -29
- package/dist/chunks/{aisdk-native-d51a3xvr.js → pty-fxrkpyt4.js} +9 -9
- package/dist/chunks/{aisdk-native-3n74wv3g.js → pty-g083pv08.js} +43 -43
- package/dist/chunks/{aisdk-native-f8v7dp83.js → pty-g1eer3dm.js} +13 -13
- package/dist/chunks/{aisdk-native-qdcnzjn8.js → pty-gas3a14q.js} +29 -29
- package/dist/chunks/{aisdk-native-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-rwk1y0ce.js → pty-gdbk8ja4.js} +25 -25
- package/dist/chunks/{aisdk-native-7ywf0340.js → pty-gq06jwkj.js} +22 -22
- package/dist/chunks/{aisdk-native-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{aisdk-native-d8bwwvjm.js → pty-h2r7bbkd.js} +8 -8
- package/dist/chunks/{aisdk-native-6zy6thbp.js → pty-h57fftbf.js} +54 -54
- package/dist/chunks/{aisdk-native-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-ednp5hmx.js → pty-hcexmw40.js} +8 -8
- package/dist/chunks/{aisdk-native-f828m53h.js → pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{aisdk-native-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-2g8bhsfc.js → pty-j8dv7h16.js} +28 -28
- package/dist/chunks/{aisdk-native-h6s54by3.js → pty-jjhzpb55.js} +8 -8
- package/dist/chunks/{aisdk-native-3t8eac1t.js → pty-jw80jp6b.js} +4 -4
- package/dist/chunks/{aisdk-native-sfysyawj.js → pty-jwna9w0v.js} +1 -1
- package/dist/chunks/{aisdk-native-xbs4kcmg.js → pty-jx22f0nz.js} +13 -13
- package/dist/chunks/{aisdk-native-xajn4p7x.js → pty-jy93wyqx.js} +20 -20
- package/dist/chunks/{aisdk-native-k3c624dm.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{aisdk-native-sqy4ahhk.js → pty-k53npxr2.js} +1 -1
- package/dist/chunks/{aisdk-native-fz3htqfe.js → pty-kajhh18t.js} +9 -9
- package/dist/chunks/{aisdk-native-0sgn86k0.js → pty-ke2qywb5.js} +11 -11
- package/dist/chunks/{aisdk-native-wt533w0r.js → pty-ksjahays.js} +34 -34
- package/dist/chunks/{aisdk-native-2f4w56yt.js → pty-ksqmtdz9.js} +9 -9
- package/dist/chunks/{aisdk-native-8nte2a37.js → pty-ktt0ngdq.js} +13 -13
- package/dist/chunks/{aisdk-native-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{aisdk-native-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-native-nxcq9zd5.js → pty-m7477pm4.js} +11 -11
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-0ryd0fps.js → pty-mf44wyvt.js} +5 -5
- package/dist/chunks/{aisdk-native-q3t37ft6.js → pty-mf9m2v67.js} +3 -3
- package/dist/chunks/{aisdk-native-byr9wewt.js → pty-mj9w7m3d.js} +33 -33
- package/dist/chunks/{aisdk-native-f3jb83wz.js → pty-mynkytfk.js} +6 -6
- package/dist/chunks/{aisdk-native-wmnh767x.js → pty-mzrm7ehw.js} +41 -41
- package/dist/chunks/{aisdk-native-fyf4dfkk.js → pty-n3pf2vtm.js} +27 -27
- package/dist/chunks/{aisdk-native-pmgshs7m.js → pty-n5rcb3g0.js} +23 -23
- package/dist/chunks/{aisdk-native-kmcps0sp.js → pty-netwxqmf.js} +8 -8
- package/dist/chunks/{aisdk-native-pnv527nz.js → pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{aisdk-native-ax7mvj3e.js → pty-p4yd6ave.js} +4 -4
- package/dist/chunks/{aisdk-native-cmwkp3r5.js → pty-pa8pe2x7.js} +8 -8
- package/dist/chunks/{aisdk-native-fmcqyzhx.js → pty-ph20cxtq.js} +9 -9
- package/dist/chunks/{aisdk-native-bx7jpb3j.js → pty-phas83vg.js} +42 -42
- package/dist/chunks/{aisdk-native-mprqgbsq.js → pty-phtqmmnp.js} +10 -10
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-kndm10hy.js → pty-pzegqnfy.js} +5 -5
- package/dist/chunks/{aisdk-native-z1nwwvj7.js → pty-q2ezvbr5.js} +5 -5
- package/dist/chunks/{aisdk-native-v56ajmgg.js → pty-q581keqr.js} +2 -2
- package/dist/chunks/{aisdk-native-a46v4e4v.js → pty-qa3qhgw8.js} +4 -4
- package/dist/chunks/{aisdk-native-w9re2mp5.js → pty-qb7rnsyw.js} +30 -30
- package/dist/chunks/{aisdk-native-mdcrs755.js → pty-qbm6e03e.js} +22 -22
- package/dist/chunks/{aisdk-native-20c2583t.js → pty-qhkmyjn7.js} +10 -10
- package/dist/chunks/{aisdk-native-hnr5yq9h.js → pty-qn4ba14w.js} +5 -5
- package/dist/chunks/{aisdk-native-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-cjvkyn9q.js → pty-r504yxa7.js} +30 -30
- package/dist/chunks/{aisdk-native-mht03n9m.js → pty-r9b74k7g.js} +16 -16
- package/dist/chunks/{aisdk-native-x5ppsceb.js → pty-rbwjahas.js} +4 -4
- package/dist/chunks/{aisdk-native-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-native-1yjzzgg7.js → pty-rkdax40c.js} +7 -7
- package/dist/chunks/{aisdk-native-vdvf21h7.js → pty-rm94z0n9.js} +17 -17
- package/dist/chunks/{aisdk-native-b7f6f4rh.js → pty-rnxv7mtd.js} +11 -11
- package/dist/chunks/{aisdk-native-23pqda6t.js → pty-rph3zd4r.js} +4 -4
- package/dist/chunks/{aisdk-native-p6zm9yar.js → pty-rvxas66n.js} +11 -11
- package/dist/chunks/{aisdk-native-6p0merk9.js → pty-ryyzgwk8.js} +6 -6
- package/dist/chunks/{aisdk-native-sxqw1b1k.js → pty-s321g855.js} +28 -28
- package/dist/chunks/{aisdk-native-7zrjgwe4.js → pty-s5aaq3x4.js} +34 -34
- package/dist/chunks/pty-s5qac7qv.js +26 -0
- package/dist/chunks/{aisdk-native-1xjzz548.js → pty-s6j1pmrh.js} +10 -10
- package/dist/chunks/{aisdk-native-whg5qmgh.js → pty-sdcgvf1x.js} +15 -15
- package/dist/chunks/{aisdk-native-dsf3f9dm.js → pty-se4kmwxk.js} +11 -11
- package/dist/chunks/{aisdk-native-3q6r2g3k.js → pty-smza16da.js} +35 -35
- package/dist/chunks/{aisdk-native-mmr10ewq.js → pty-snpaajsm.js} +9 -9
- package/dist/chunks/{aisdk-native-g74c0m33.js → pty-ss96nb5e.js} +8 -8
- package/dist/chunks/{aisdk-native-021wq21s.js → pty-st7m3259.js} +6 -6
- package/dist/chunks/{aisdk-native-0v53mg2y.js → pty-sx1n432n.js} +4 -4
- package/dist/chunks/{aisdk-native-kpaj6vzy.js → pty-szq8ceg0.js} +27 -27
- package/dist/chunks/{aisdk-native-rqs589qw.js → pty-t2hpc9xa.js} +3 -3
- package/dist/chunks/{aisdk-native-c45ax64k.js → pty-t621a335.js} +323 -323
- package/dist/chunks/{aisdk-native-am440akt.js → pty-t8qq9kf4.js} +19 -19
- package/dist/chunks/{aisdk-native-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-yqhbtxf5.js → pty-tnen7gxg.js} +11 -11
- package/dist/chunks/{aisdk-native-xw5f9arm.js → pty-tt8fbnq7.js} +28 -28
- package/dist/chunks/{aisdk-native-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-native-dj647td7.js → pty-tza9tqr6.js} +19 -19
- package/dist/chunks/{aisdk-native-qsjcxkdn.js → pty-v4jw97dc.js} +4 -4
- package/dist/chunks/{aisdk-native-bcb8970c.js → pty-ve2cr55v.js} +18 -18
- package/dist/chunks/{aisdk-native-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-7zfytw8r.js → pty-ver4gz2z.js} +9 -9
- package/dist/chunks/{aisdk-native-vtxr0yy2.js → pty-vtxr0yy2.js} +2 -2
- package/dist/chunks/{aisdk-native-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-yd0qkhcy.js → pty-w7tz9xnv.js} +11 -11
- package/dist/chunks/{aisdk-native-1e1158v2.js → pty-wd3qynhg.js} +1 -1
- package/dist/chunks/{aisdk-native-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-9p2eh89p.js → pty-wtzj1gsr.js} +11 -11
- package/dist/chunks/{aisdk-native-m4372dev.js → pty-wvtedn3t.js} +4 -4
- package/dist/chunks/{aisdk-native-razfbmkw.js → pty-wzj8vn37.js} +7 -7
- package/dist/chunks/{aisdk-native-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-native-24khp7fr.js → pty-x79swths.js} +6 -6
- package/dist/chunks/{aisdk-native-q5v2zwww.js → pty-x7qrp6ew.js} +39 -39
- package/dist/chunks/{aisdk-native-1kt80rtv.js → pty-xfbfr6ja.js} +32 -32
- package/dist/chunks/{aisdk-native-w7aez7g3.js → pty-xfdcv1z1.js} +18 -18
- package/dist/chunks/{aisdk-native-xfkkasph.js → pty-xfkkasph.js} +1 -1
- package/dist/chunks/{aisdk-native-5yx90kmd.js → pty-xrav937z.js} +15 -15
- package/dist/chunks/{aisdk-native-1ds2my23.js → pty-xv60kj6n.js} +5 -5
- package/dist/chunks/{aisdk-native-g3yxg3fp.js → pty-xw5r7cj0.js} +14 -14
- package/dist/chunks/{aisdk-native-7fh6pp98.js → pty-xwcccng5.js} +40 -40
- package/dist/chunks/{aisdk-native-884h22he.js → pty-xz01qsb9.js} +6 -6
- package/dist/chunks/{aisdk-native-ney539pe.js → pty-y1332vc0.js} +12 -12
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-nzqr17tz.js → pty-y1qgwz29.js} +44 -44
- package/dist/chunks/{aisdk-native-dpkg50ah.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{aisdk-native-n4nzzcpz.js → pty-yentpcn4.js} +12 -12
- package/dist/chunks/{aisdk-native-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-native-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{aisdk-native-kty3n5sd.js → pty-yv88yh0p.js} +19 -19
- package/dist/chunks/{aisdk-native-d05awf3r.js → pty-yx5pzx7y.js} +32 -32
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{aisdk-native-k0js8chh.js → pty-zb34m256.js} +3 -3
- package/dist/chunks/{aisdk-native-asr2c80m.js → pty-zdyh66ht.js} +5 -5
- package/dist/chunks/{aisdk-native-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-native-8n45b0qb.js → pty-zet2pf0s.js} +54 -54
- package/dist/chunks/{aisdk-native-f43fgbda.js → pty-zj32sk49.js} +22 -22
- package/dist/chunks/{aisdk-native-j3e5qt8g.js → pty-zqpv39rv.js} +16 -16
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-bnmr3cva.js → pty-zrq8kphx.js} +8 -8
- package/dist/chunks/{aisdk-native-awzywe6v.js → pty-zt18mrv4.js} +32 -32
- package/dist/chunks/{aisdk-native-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +84 -84
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- 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 +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/util/error-summary.d.ts +2 -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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-0mesazry.js +0 -4
- package/dist/chunks/aisdk-native-bdfd4kzf.js +0 -252
- package/dist/chunks/aisdk-native-pf31ssb9.js +0 -18
- package/dist/chunks/aisdk-native-x3cxeggx.js +0 -26
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node86
|
|
7
|
+
} from "./pty-dq0v80fr.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service84,
|
|
13
|
+
node88
|
|
14
|
+
} from "./pty-se4kmwxk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service83,
|
|
17
|
+
node87
|
|
18
|
+
} from "./pty-d2vrte26.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-dj2t23y0.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-m0jqrx5p.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./pty-b8smpw7b.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./pty-xw5r7cj0.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service79,
|
|
34
|
+
node83
|
|
35
|
+
} from "./pty-ver4gz2z.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./pty-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
41
|
make12
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./pty-8d0p2m37.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service29
|
|
45
|
+
} from "./pty-t8qq9kf4.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./pty-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
|
|
|
53
53
|
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event7,
|
|
57
|
+
Info: () => Info5,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service28,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node31
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info5 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,17 +94,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event7 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service28 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const database = yield*
|
|
103
|
+
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
107
|
+
const locations = yield* Service79;
|
|
108
108
|
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service29).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event7.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service28.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node31 = Node.makeGlobalNode({
|
|
265
|
+
service: Service28,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node83]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service28, node31, exports_worktree2, OperationError2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-d5jh8j72.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service51
|
|
8
|
+
} from "./pty-y1qgwz29.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve2
|
|
11
|
+
} from "./pty-3vj84w1g.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin37
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin37 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service51;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -177,7 +177,7 @@ var Plugin11 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve2({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin37, exports_provider };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./pty-d2vrte26.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event17,
|
|
7
|
+
Service72,
|
|
8
|
+
node75
|
|
9
|
+
} from "./pty-58qkwrp9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service52,
|
|
12
|
+
node56
|
|
13
|
+
} from "./pty-jy93wyqx.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./pty-xw5r7cj0.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-gq06jwkj.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-pzegqnfy.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
Service53,
|
|
36
36
|
Event11,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
node57
|
|
38
|
+
} from "./pty-8fgcpw95.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./pty-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service51,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer19,
|
|
53
|
+
node: () => node55,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options6 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service51 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service51, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service80;
|
|
97
|
+
const watcher = yield* Service52;
|
|
98
|
+
const bus = yield* Service83;
|
|
99
|
+
const credentials = yield* Service72;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service53;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,7 +221,7 @@ var layer21 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
@@ -250,7 +250,7 @@ var layer21 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service51.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer21 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured7(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service51,
|
|
268
|
+
layer: layer19(options),
|
|
269
|
+
deps: [node56, node87, FSUtil.node, Global.node, node84, node75, node57]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node55 = configured7();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options6, Service51, Test2, testLayer2, layer19, configured7, node55, exports_config };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make22,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make22 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make22, exports_keyed_mutex };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service54,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node58
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service54 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service54.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node58 = makeLocationNode({
|
|
143
|
+
service: Service54,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service54, node58, exports_tool_output2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./pty-d2vrte26.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./pty-zt18mrv4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./pty-621g1y7c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./pty-yentpcn4.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-97fmyryk.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-rbwjahas.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-mynkytfk.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service45;
|
|
58
|
+
const toolOutput = yield* Service54;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|