@opencode/core 0.0.0-dev-21460 → 0.0.0-dev-21465
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{repository-cache-bfnqc4d0.js → form-016766j9.js} +18 -18
- package/dist/chunks/{repository-cache-y2vmg8pj.js → form-01cqkeg5.js} +15 -15
- package/dist/chunks/{repository-cache-aj7mw0zk.js → form-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-cq0ra0jh.js → form-04pgjytt.js} +18 -18
- package/dist/chunks/{repository-cache-6ac9zck1.js → form-06xsmntz.js} +2 -2
- package/dist/chunks/{repository-cache-cg54xxwj.js → form-0803f5qt.js} +12 -12
- package/dist/chunks/{repository-cache-0gdmqesm.js → form-0gdmqesm.js} +1 -1
- package/dist/chunks/{repository-cache-v210v162.js → form-0javqkgf.js} +9 -9
- package/dist/chunks/{repository-cache-s8764fh1.js → form-0rmvh565.js} +22 -22
- package/dist/chunks/{repository-cache-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-cache-w95yk9fa.js → form-0w5vvvza.js} +14 -14
- package/dist/chunks/{repository-cache-4tsdpayj.js → form-0wg788cr.js} +27 -27
- package/dist/chunks/{repository-cache-j4xwnxxe.js → form-11n2qc1w.js} +22 -22
- package/dist/chunks/{repository-cache-khan5c8r.js → form-14mvz572.js} +21 -21
- package/dist/chunks/{repository-cache-4n1wqqn5.js → form-1avk3spj.js} +2 -2
- package/dist/chunks/{repository-cache-27w5k9zf.js → form-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-mt8bq6wm.js → form-1g3gwk2z.js} +3 -3
- package/dist/chunks/{repository-cache-vzvdzsp8.js → form-1m7xhcrz.js} +15 -15
- package/dist/chunks/{repository-cache-eh4p6hf5.js → form-1w6dzaea.js} +31 -31
- package/dist/chunks/{repository-cache-09ypmjbv.js → form-1zzvd88w.js} +4 -4
- package/dist/chunks/{repository-cache-1p6gkt63.js → form-20v7rmhc.js} +48 -48
- package/dist/chunks/{repository-cache-djg74ehg.js → form-23cg475f.js} +11 -11
- package/dist/chunks/{repository-cache-5ky00pdm.js → form-2c942fag.js} +33 -33
- package/dist/chunks/{repository-cache-bfvhqt57.js → form-2tq7hcqy.js} +6 -6
- package/dist/chunks/{repository-cache-7q5zkc9a.js → form-2w245n37.js} +20 -20
- package/dist/chunks/{repository-cache-c2qmhs8t.js → form-2wef4h5g.js} +53 -53
- package/dist/chunks/{repository-cache-e4514827.js → form-30zggejz.js} +34 -34
- package/dist/chunks/{repository-cache-fk6x8bjb.js → form-35kkhned.js} +11 -11
- package/dist/chunks/{repository-cache-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{repository-cache-qaejpsje.js → form-3kbekj0y.js} +29 -29
- package/dist/chunks/{repository-cache-s441vsqw.js → form-3mgfngs8.js} +45 -45
- package/dist/chunks/{repository-cache-kmj26603.js → form-3t06g8dq.js} +6 -6
- package/dist/chunks/{repository-cache-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-2wt8nezh.js → form-4240acyr.js} +19 -19
- package/dist/chunks/{repository-cache-g8bf95t1.js → form-4475rdhr.js} +21 -21
- package/dist/chunks/{repository-cache-k7frbprm.js → form-44ebccsv.js} +14 -14
- package/dist/chunks/{repository-cache-4r758bxz.js → form-4873sk86.js} +31 -31
- package/dist/chunks/{repository-cache-80scg3y3.js → form-4bm5ja14.js} +4 -4
- package/dist/chunks/{repository-cache-w97r3myk.js → form-4cjtq72a.js} +4 -4
- package/dist/chunks/{repository-cache-b5cvzhy7.js → form-4jv8yfzb.js} +32 -32
- package/dist/chunks/{repository-cache-mx9vqzsb.js → form-4mwpykj0.js} +6 -6
- package/dist/chunks/{repository-cache-thdw9z92.js → form-4myhz5et.js} +11 -11
- package/dist/chunks/{repository-cache-wdj21rq2.js → form-4wsv5c1t.js} +3 -3
- package/dist/chunks/{repository-cache-rb3bf4ta.js → form-51nq886d.js} +24 -24
- package/dist/chunks/{repository-cache-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-cache-sy8aafnh.js → form-555zyyej.js} +12 -12
- package/dist/chunks/{repository-cache-hwjkc1fd.js → form-581y63dt.js} +9 -9
- package/dist/chunks/{repository-cache-0krdeasz.js → form-5b6y4xvt.js} +4 -4
- package/dist/chunks/{repository-cache-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-0fhevdjt.js → form-5nw065t4.js} +5 -5
- package/dist/chunks/{repository-cache-9ts5gs6y.js → form-5r05bxdk.js} +50 -50
- package/dist/chunks/{repository-cache-xsd5t8ts.js → form-5tj8nqep.js} +7 -7
- package/dist/chunks/{repository-cache-92swnv4m.js → form-5y480sgp.js} +8 -8
- package/dist/chunks/{repository-cache-q3q02nra.js → form-61k5npwt.js} +24 -24
- package/dist/chunks/{repository-cache-6827pfxn.js → form-6827pfxn.js} +1 -1
- package/dist/chunks/{repository-cache-etbdxt5c.js → form-6mb40wrd.js} +13 -13
- package/dist/chunks/{repository-cache-6pc27hjz.js → form-6pc27hjz.js} +2 -2
- package/dist/chunks/{repository-cache-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{repository-cache-03vjgxp8.js → form-6zbvbaat.js} +5 -5
- package/dist/chunks/{repository-cache-t9gapptp.js → form-725pwqma.js} +16 -16
- package/dist/chunks/{repository-cache-y35aym2w.js → form-772b1pf2.js} +6 -6
- package/dist/chunks/{repository-cache-775gj3j1.js → form-775gj3j1.js} +2 -2
- package/dist/chunks/{repository-cache-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-0tzy42a9.js → form-7sbn2nrf.js} +8 -8
- package/dist/chunks/{repository-cache-n89rhept.js → form-7z27y5ft.js} +18 -18
- package/dist/chunks/{repository-cache-89znhe33.js → form-89znhe33.js} +1 -1
- package/dist/chunks/{repository-cache-e0hwqygg.js → form-8advq6hn.js} +187 -187
- package/dist/chunks/{repository-cache-7yn4yp07.js → form-8bajgbmy.js} +16 -16
- package/dist/chunks/{repository-cache-kerhshr9.js → form-8dff8bqa.js} +5 -5
- package/dist/chunks/{repository-cache-dpt9takt.js → form-8jrmvma7.js} +96 -96
- package/dist/chunks/{repository-cache-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{repository-cache-8mywswrd.js → form-8mywswrd.js} +1 -1
- package/dist/chunks/{repository-cache-njn7svrx.js → form-8x3eefsg.js} +5 -5
- package/dist/chunks/{repository-cache-1rft7swv.js → form-936v1wb5.js} +4 -4
- package/dist/chunks/{repository-cache-sk60w5yp.js → form-9dxjs7sq.js} +4 -4
- package/dist/chunks/{repository-cache-9wev2pgg.js → form-9wev2pgg.js} +1 -1
- package/dist/chunks/{repository-cache-a20pjse5.js → form-a20pjse5.js} +3 -3
- package/dist/chunks/{repository-cache-8cgdxtst.js → form-a22nawqy.js} +27 -27
- package/dist/chunks/{repository-cache-cmvvh89a.js → form-a50jwcz2.js} +17 -17
- package/dist/chunks/{repository-cache-p4ev34c6.js → form-ac224h82.js} +5 -5
- package/dist/chunks/{repository-cache-kaa2ns5k.js → form-aff53cds.js} +18 -18
- package/dist/chunks/{repository-cache-dtnbwmg7.js → form-ajtbt6ny.js} +15 -15
- package/dist/chunks/{repository-cache-bhdq219t.js → form-awmarwrv.js} +11 -11
- package/dist/chunks/{repository-cache-xzyddccp.js → form-b37y94hj.js} +11 -11
- package/dist/chunks/{repository-cache-01p087vs.js → form-b5sf85zq.js} +8 -8
- package/dist/chunks/{repository-cache-s5q4smqk.js → form-b61k6ame.js} +25 -25
- package/dist/chunks/{repository-cache-0r3c1bmw.js → form-b674v2dg.js} +5 -5
- package/dist/chunks/{repository-cache-42q84ag7.js → form-b6ee0mz0.js} +56 -56
- package/dist/chunks/{repository-cache-f9h0bmn8.js → form-bapqkk7v.js} +11 -11
- package/dist/chunks/{repository-cache-z7e4qa79.js → form-bkjx84ct.js} +28 -28
- package/dist/chunks/{repository-cache-gn85dn78.js → form-bqae3fjp.js} +10 -10
- package/dist/chunks/{repository-cache-bzeyqsqd.js → form-bzeyqsqd.js} +1 -1
- package/dist/chunks/{repository-cache-f9056yzv.js → form-cd65nwh0.js} +11 -11
- package/dist/chunks/{repository-cache-0zxm2zaw.js → form-cj2gcgr0.js} +10 -10
- package/dist/chunks/{repository-cache-46xapkgq.js → form-cmr35qp5.js} +25 -25
- package/dist/chunks/{repository-cache-pa8pe2x7.js → form-cmwkp3r5.js} +8 -8
- package/dist/chunks/{repository-cache-d7fp9s3w.js → form-ctvabab8.js} +38 -38
- package/dist/chunks/{repository-cache-qmqgtz8f.js → form-cwa6csj7.js} +9 -9
- package/dist/chunks/{repository-cache-mktar7aj.js → form-d1wmmgpz.js} +6 -6
- package/dist/chunks/{repository-cache-4zjv7vh9.js → form-d2bpn3vr.js} +8 -8
- package/dist/chunks/form-d8membp7.js +26 -0
- package/dist/chunks/{repository-cache-zkbbq4dt.js → form-dcezxpa9.js} +16 -16
- package/dist/chunks/{repository-cache-ghnq0868.js → form-dg7zdyb1.js} +18 -18
- package/dist/chunks/{repository-cache-p50c7myx.js → form-dgzq35zb.js} +3 -3
- package/dist/chunks/{repository-cache-aa3p0grs.js → form-dhpppt5y.js} +19 -19
- package/dist/chunks/{repository-cache-drwq78ky.js → form-drwq78ky.js} +1 -1
- package/dist/chunks/{repository-cache-b5pzk1w6.js → form-ds0xwmnc.js} +45 -45
- package/dist/chunks/{repository-cache-n42ws626.js → form-dtnfggyv.js} +12 -12
- package/dist/chunks/form-dxj72tfx.js +18 -0
- package/dist/chunks/form-e2x20gr3.js +257 -0
- package/dist/chunks/{repository-cache-5qd3pb7m.js → form-e3qxr5gk.js} +2 -2
- package/dist/chunks/{repository-cache-2fpbmj4a.js → form-eb59rt6g.js} +23 -23
- package/dist/chunks/{repository-cache-5rzwp8tz.js → form-ed1g29hy.js} +3 -3
- package/dist/chunks/{repository-cache-r5mam93n.js → form-edrm97qd.js} +20 -20
- package/dist/chunks/{repository-cache-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{repository-cache-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-hcv80w8f.js → form-fcag7s6h.js} +8 -8
- package/dist/chunks/{repository-cache-fcy631f0.js → form-fcy631f0.js} +1 -1
- package/dist/chunks/{repository-cache-0b36yc2a.js → form-fhdzhsn5.js} +41 -41
- package/dist/chunks/{repository-cache-jp7rf1q7.js → form-fn9ftacf.js} +30 -30
- package/dist/chunks/{repository-cache-8wejdmph.js → form-fp3pxq9j.js} +10 -10
- package/dist/chunks/{repository-cache-j7e7jnf7.js → form-fptceakp.js} +47 -47
- package/dist/chunks/{repository-cache-9nw2rpfz.js → form-fxh06m44.js} +85 -85
- package/dist/chunks/{repository-cache-ve45bn9x.js → form-g13qewtb.js} +6 -6
- package/dist/chunks/{repository-cache-y7nndgyc.js → form-g686f6pq.js} +9 -9
- package/dist/chunks/{repository-cache-1pxz8ven.js → form-g6yfr6ja.js} +5 -5
- package/dist/chunks/{repository-cache-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-4tjj4m8n.js → form-gd8jdxd3.js} +11 -11
- package/dist/chunks/{repository-cache-7q7gc744.js → form-gdab7akb.js} +23 -23
- package/dist/chunks/{repository-cache-b0nz1egw.js → form-gdn3wds6.js} +11 -11
- package/dist/chunks/{repository-cache-jknb9njf.js → form-ggbxennn.js} +40 -40
- package/dist/chunks/{repository-cache-zmtrh7z6.js → form-gjvvdrsn.js} +29 -29
- package/dist/chunks/{repository-cache-xvpfz61x.js → form-gqh6mgsw.js} +16 -16
- package/dist/chunks/{repository-cache-x661k3y3.js → form-gqtdsdt7.js} +4 -4
- package/dist/chunks/{repository-cache-cj61rx2c.js → form-gyjy7m7x.js} +16 -16
- package/dist/chunks/{repository-cache-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-y56ehv6b.js → form-h71w788e.js} +9 -9
- package/dist/chunks/{repository-cache-xdx7acry.js → form-hes1j7ga.js} +9 -9
- package/dist/chunks/{repository-cache-a2abd7c8.js → form-hfg7n11m.js} +13 -13
- package/dist/chunks/{repository-cache-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{repository-cache-c2stk2mm.js → form-hjhsp0kf.js} +11 -11
- package/dist/chunks/{repository-cache-9rmnry6z.js → form-hptzwsnd.js} +5 -5
- package/dist/chunks/{repository-cache-bcsnmsfv.js → form-hxds782p.js} +66 -66
- package/dist/chunks/{repository-cache-bk7cr9nn.js → form-hzz8n40p.js} +9 -9
- package/dist/chunks/{repository-cache-es79jehb.js → form-jbx74xhg.js} +11 -11
- package/dist/chunks/{repository-cache-shgfme6y.js → form-jdtqvfs1.js} +9 -9
- package/dist/chunks/{repository-cache-k332vpf5.js → form-jj6wv1pj.js} +3 -3
- package/dist/chunks/{repository-cache-t445km54.js → form-jj8zce4f.js} +21 -21
- package/dist/chunks/{repository-cache-acpej7js.js → form-jjb12tdg.js} +26 -26
- package/dist/chunks/{repository-cache-6yncxzed.js → form-jqppps04.js} +11 -11
- package/dist/chunks/{repository-cache-faasdkpb.js → form-jv2rx0fh.js} +14 -14
- package/dist/chunks/{repository-cache-na2qt776.js → form-k6tr81d3.js} +11 -11
- package/dist/chunks/{repository-cache-4pka7j6v.js → form-k9t01da4.js} +5 -5
- package/dist/chunks/{repository-cache-maxwxnrc.js → form-kanhem1c.js} +22 -22
- package/dist/chunks/{repository-cache-gf5160ad.js → form-kg45811x.js} +7 -7
- package/dist/chunks/{repository-cache-2vwvyx2g.js → form-kh7axb5n.js} +39 -39
- package/dist/chunks/{repository-cache-khmqacep.js → form-khmqacep.js} +1 -1
- package/dist/chunks/{repository-cache-5zn069ks.js → form-kj7h7wvk.js} +34 -34
- package/dist/chunks/{repository-cache-x5n6rhaq.js → form-kmy8rgmt.js} +26 -26
- package/dist/chunks/{repository-cache-qwwrvzk6.js → form-knax8rr9.js} +13 -13
- package/dist/chunks/{repository-cache-pjrd54q9.js → form-kpwafw7z.js} +13 -13
- package/dist/chunks/{repository-cache-d26ntzqk.js → form-kt69stq4.js} +21 -16
- package/dist/chunks/{repository-cache-kwb1v3vj.js → form-kwb1v3vj.js} +1 -1
- package/dist/chunks/{repository-cache-rzvtppca.js → form-ky6kp414.js} +9 -9
- package/dist/chunks/{repository-cache-fr5g4ae7.js → form-m1cp809k.js} +13 -13
- package/dist/chunks/{repository-cache-rhgbdkcw.js → form-m1vtybs6.js} +4 -4
- package/dist/chunks/{repository-cache-8hr3x0db.js → form-m3g1rwfa.js} +2 -2
- package/dist/chunks/{repository-cache-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-maspj1v3.js → form-maspj1v3.js} +1 -1
- package/dist/chunks/{repository-cache-98m99f87.js → form-me9v5sdg.js} +6 -6
- package/dist/chunks/{repository-cache-wg8mj883.js → form-mg47wcxc.js} +1 -1
- package/dist/chunks/{repository-cache-ar1cg2aj.js → form-mhdmgddq.js} +32 -32
- package/dist/chunks/{repository-cache-450x4k77.js → form-mqmr3v55.js} +6 -6
- package/dist/chunks/{repository-cache-b97d4gnm.js → form-msbm8nhp.js} +9 -9
- package/dist/chunks/{repository-cache-m5jcjszt.js → form-mtpeagzc.js} +3 -3
- package/dist/chunks/{repository-cache-3m1qjwf2.js → form-mwcxzzpp.js} +10 -10
- package/dist/chunks/{repository-cache-z8b9xacy.js → form-mx35zq31.js} +51 -51
- package/dist/chunks/{repository-cache-fn3caeej.js → form-mxt12g5z.js} +17 -17
- package/dist/chunks/{repository-cache-yyj6wd33.js → form-myjjf3z2.js} +19 -19
- package/dist/chunks/{repository-cache-day0cpb0.js → form-n3d5pb88.js} +17 -17
- package/dist/chunks/{repository-cache-63rqhaqj.js → form-n4kgxwdp.js} +18 -18
- package/dist/chunks/{repository-cache-hsgb4j0v.js → form-n7b1k3p6.js} +9 -9
- package/dist/chunks/{repository-cache-fmsvjh24.js → form-n90cc1d7.js} +25 -25
- package/dist/chunks/{repository-cache-31g1jsst.js → form-n9mdxvj7.js} +11 -11
- package/dist/chunks/{repository-cache-s3s0e237.js → form-nk28bvce.js} +13 -13
- package/dist/chunks/{repository-cache-neter18e.js → form-nwpzdbp7.js} +17 -17
- package/dist/chunks/{repository-cache-gne8f8zx.js → form-p5eszqcd.js} +8 -8
- package/dist/chunks/{repository-cache-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-waj948mc.js → form-ppy8n5rb.js} +13 -13
- package/dist/chunks/{repository-cache-1n547s99.js → form-pq3ytayb.js} +35 -35
- package/dist/chunks/{repository-cache-c1p87g8p.js → form-prpepx7q.js} +29 -29
- package/dist/chunks/{repository-cache-m8r31wvh.js → form-prytbjkr.js} +12 -12
- package/dist/chunks/form-pvmfrnx8.js +523 -0
- package/dist/chunks/{repository-cache-cqe88zww.js → form-pwdns4hw.js} +5 -5
- package/dist/chunks/{repository-cache-erjn3gam.js → form-q3c1rjff.js} +24 -24
- package/dist/chunks/{repository-cache-7nm86vqr.js → form-q8ddfw9c.js} +1 -1
- package/dist/chunks/{repository-cache-t6vsspdg.js → form-qa3qhgw8.js} +7 -7
- package/dist/chunks/{repository-cache-2k8khapm.js → form-qgn6gcr1.js} +5 -5
- package/dist/chunks/{repository-cache-wb3npxmx.js → form-qrj5j2rw.js} +24 -24
- package/dist/chunks/{repository-cache-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-ecj0sxev.js → form-qse2fwzv.js} +13 -13
- package/dist/chunks/{repository-cache-a7rvq0vj.js → form-qxbakmsa.js} +11 -11
- package/dist/chunks/{repository-cache-tq6mjjtf.js → form-r83yw8wf.js} +41 -41
- package/dist/chunks/{repository-cache-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-9n3ec7dh.js → form-rgv41h4e.js} +41 -41
- package/dist/chunks/{repository-cache-txm3e8qz.js → form-rkg4v3e5.js} +9 -9
- package/dist/chunks/{repository-cache-7q1pjkp3.js → form-rqm8fqta.js} +15 -15
- package/dist/chunks/{repository-cache-3wsyhczt.js → form-rs6bz05r.js} +30 -30
- package/dist/chunks/{repository-cache-m2r0nwr4.js → form-rwbh6jmv.js} +33 -33
- package/dist/chunks/{repository-cache-y7wkqyfh.js → form-ryh6wemf.js} +20 -20
- package/dist/chunks/{repository-cache-ka6d3s58.js → form-s1976h36.js} +20 -20
- package/dist/chunks/{repository-cache-e6xd5sk6.js → form-s7gb32a0.js} +15 -15
- package/dist/chunks/{repository-cache-begd6zth.js → form-sawf26wz.js} +32 -32
- package/dist/chunks/{repository-cache-7amepzc8.js → form-sbaf2nx7.js} +11 -11
- package/dist/chunks/{repository-cache-axfvp7va.js → form-sjzb79xx.js} +8 -8
- package/dist/chunks/{repository-cache-xzcw8fss.js → form-sk60y1at.js} +30 -30
- package/dist/chunks/{repository-cache-xwvq48yb.js → form-smctgjrc.js} +45 -45
- package/dist/chunks/{repository-cache-rs7cjgc2.js → form-sxtjavh1.js} +11 -11
- package/dist/chunks/{repository-cache-syv4x271.js → form-syv4x271.js} +1 -1
- package/dist/chunks/{repository-cache-fdrztmbp.js → form-t5wqwvpt.js} +21 -21
- package/dist/chunks/{repository-cache-ypjr4kpw.js → form-t96cs5ce.js} +4 -4
- package/dist/chunks/{repository-cache-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-6ypv3jsn.js → form-tb727afn.js} +34 -34
- package/dist/chunks/{repository-cache-c39s302y.js → form-tdev1d3v.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-hcbxgsym.js → form-tdwynqds.js} +11 -11
- package/dist/chunks/{repository-cache-mre6e2bz.js → form-tjgry73g.js} +25 -25
- package/dist/chunks/{repository-cache-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
- package/dist/chunks/{repository-cache-9t8688mm.js → form-txcxq65b.js} +23 -23
- package/dist/chunks/{repository-cache-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{repository-cache-nz56sr1f.js → form-v13b12ef.js} +5 -5
- package/dist/chunks/{repository-cache-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{repository-cache-e7gxy7fd.js → form-vep9yay1.js} +4 -4
- package/dist/chunks/{repository-cache-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-xzmr40r3.js → form-vr2brrr8.js} +14 -14
- package/dist/chunks/{repository-cache-70q6x9sh.js → form-vx8n1q2f.js} +23 -23
- package/dist/chunks/{repository-cache-0xxnzx42.js → form-vxmetbc4.js} +19 -19
- package/dist/chunks/{repository-cache-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-w1eejvng.js → form-w1eejvng.js} +1 -1
- package/dist/chunks/{repository-cache-yhyj8seq.js → form-w2bpwhyq.js} +12 -12
- package/dist/chunks/{repository-cache-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-w5v1nc2x.js → form-w9fyvhpg.js} +43 -43
- package/dist/chunks/{repository-cache-wakvkjy4.js → form-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-cache-h9hmxamh.js → form-wc14v8ca.js} +25 -25
- package/dist/chunks/{repository-cache-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-jgfm49py.js → form-whkpkx14.js} +37 -37
- package/dist/chunks/{repository-cache-7c5qva4r.js → form-wjmzy10g.js} +5 -5
- package/dist/chunks/{repository-cache-jsdm87ms.js → form-wp2t38dg.js} +21 -21
- package/dist/chunks/{repository-cache-x99b0ndd.js → form-wp7ag42z.js} +33 -33
- package/dist/chunks/{repository-cache-3n5vhy7z.js → form-wqggg88q.js} +26 -26
- package/dist/chunks/{repository-cache-a7fmgszc.js → form-x2wh3pjk.js} +12 -12
- package/dist/chunks/{repository-cache-vfjhn2wd.js → form-x3gqap9d.js} +4 -4
- package/dist/chunks/{repository-cache-stgww97k.js → form-xafejemj.js} +1 -1
- package/dist/chunks/{repository-cache-vca9tefh.js → form-xbwfvkb6.js} +28 -28
- package/dist/chunks/{repository-cache-hxnv0h4d.js → form-xh7vdwvp.js} +36 -36
- package/dist/chunks/{repository-cache-3mypk436.js → form-xpw9xx05.js} +34 -34
- package/dist/chunks/{repository-cache-re7drvpd.js → form-xteysx5g.js} +30 -30
- package/dist/chunks/{repository-cache-8vcf4cwr.js → form-xw9fg8fb.js} +2 -2
- package/dist/chunks/{repository-cache-0q346xwt.js → form-y05mj14p.js} +7 -7
- package/dist/chunks/{repository-cache-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-dpkg50ah.js → form-y71avatq.js} +4 -4
- package/dist/chunks/{repository-cache-awbtvej0.js → form-ye8nnmax.js} +6 -6
- package/dist/chunks/{repository-cache-mv2tdfz1.js → form-yg2pn9b7.js} +5 -5
- package/dist/chunks/{repository-cache-bh8xtp3j.js → form-yh885z4g.js} +25 -25
- package/dist/chunks/{repository-cache-g5wgwq6x.js → form-yjv8c9gv.js} +8 -8
- package/dist/chunks/{repository-cache-wjr9rjd7.js → form-ywt8jp22.js} +6 -6
- package/dist/chunks/{repository-cache-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-0e8pwxm1.js → form-z0rftk5n.js} +5 -5
- package/dist/chunks/{repository-cache-z18fegx4.js → form-z18fegx4.js} +1 -1
- package/dist/chunks/{repository-cache-q9nxkgyw.js → form-z7egd2a4.js} +16 -16
- package/dist/chunks/{repository-cache-vws1dc27.js → form-zaq0zjc7.js} +8 -8
- package/dist/chunks/{repository-cache-k0xvjywy.js → form-zbqwxq10.js} +58 -58
- package/dist/chunks/{repository-cache-kne8f3cn.js → form-zcrspsvn.js} +4 -4
- package/dist/chunks/{repository-cache-9gbxqhfr.js → form-zhvzg80z.js} +5 -5
- package/dist/chunks/{repository-cache-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-y1seeq9p.js → form-ztasg8c4.js} +19 -19
- package/dist/chunks/{repository-cache-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-cache-1kccv5dj.js → form-zxwf9a1d.js} +9 -9
- 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 +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +76 -76
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +162 -162
- package/dist/session/diff.js +90 -90
- 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 +224 -224
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +162 -162
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/repository-cache-ky0e2j5w.js +0 -523
- package/dist/chunks/repository-cache-q509s3k3.js +0 -18
- package/dist/chunks/repository-cache-rdknsxcs.js +0 -26
- package/dist/chunks/repository-cache-v19kdf3f.js +0 -257
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{repository-cache-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wjj7prxr.js → form-wjj7prxr.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-0gdmqesm.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-dgzq35zb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
|
+
import {
|
|
5
|
+
Service86,
|
|
6
|
+
node90
|
|
7
|
+
} from "./form-bapqkk7v.js";
|
|
4
8
|
import {
|
|
5
9
|
Service85,
|
|
6
10
|
node89
|
|
7
|
-
} from "./
|
|
11
|
+
} from "./form-8bajgbmy.js";
|
|
8
12
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service86,
|
|
14
|
-
node90
|
|
15
|
-
} from "./repository-cache-cg54xxwj.js";
|
|
13
|
+
Service83,
|
|
14
|
+
node86
|
|
15
|
+
} from "./form-0803f5qt.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-0javqkgf.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./form-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-xw9fg8fb.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./form-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info27,
|
|
41
41
|
NotFoundError: () => NotFoundError12,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service82,
|
|
44
44
|
UpdateInput: () => UpdateInput4,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node85,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID16 = ID17;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info27 = Info28;
|
|
63
63
|
var UpdateInput4 = UpdateInput5;
|
|
64
64
|
|
|
65
65
|
class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
-
projectID:
|
|
66
|
+
projectID: ID16
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service82 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,12 +98,12 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service83;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const db = (yield*
|
|
105
|
+
const bus = yield* Service85;
|
|
106
|
+
const db = (yield* Service86).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
109
109
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event20.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID16.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
173
173
|
if (!row)
|
|
174
174
|
return yield* new NotFoundError12({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event20.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID16.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID16.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID16.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID16.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service82.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node85 = makeGlobalNode({
|
|
310
|
+
service: Service82,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node89, node90, FSUtil.node, node86, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service82;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node85]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID16, Vcs2, Current2, Info27, UpdateInput4, NotFoundError12, root2, Service82, node85, sweepNode2, exports_project };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./form-smctgjrc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./form-hes1j7ga.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin7
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin7 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service58;
|
|
26
|
+
const image = yield* Service35;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin12 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin7, exports_image };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./form-8bajgbmy.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-gqtdsdt7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID10,
|
|
14
|
+
Service65,
|
|
15
|
+
node67,
|
|
16
|
+
Event14
|
|
17
|
+
} from "./form-3kbekj0y.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node84
|
|
21
|
+
} from "./form-gqh6mgsw.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event13,
|
|
43
|
+
ID: () => ID9,
|
|
44
|
+
Info: () => Info17,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service64,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node66,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event13 } from "@opencode/schema/provider";
|
|
75
|
+
var ID9 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -283,9 +283,9 @@ var Request3 = Provider.Request;
|
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info17 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service64 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,10 +298,10 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
301
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service85;
|
|
303
|
+
const integrations = yield* Service65;
|
|
304
|
+
const location = yield* Service81;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info17.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service64.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node66 = makeLocationNode({ service: Service64, layer, deps: [node89, node67, node84] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info17, Service64, node66, exports_provider3, Event13 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./form-2c942fag.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./form-smctgjrc.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service64;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service58);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make18,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-0gdmqesm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available2,
|
|
11
|
+
Service33,
|
|
12
|
+
node36
|
|
13
|
+
} from "./form-xbwfvkb6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions4 = {};
|
|
20
|
+
__export(exports_instructions4, {
|
|
21
|
+
Service: () => Service29,
|
|
22
|
+
SkillInstructions: () => exports_instructions4,
|
|
23
|
+
node: () => node33
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID4,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -64,13 +64,13 @@ var update = (previous, current) => {
|
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service29 extends Context.Service()("@opencode/SkillInstructions") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const skills = yield*
|
|
71
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
70
|
+
const skills = yield* Service33;
|
|
71
|
+
return Service29.of({
|
|
72
72
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
73
|
-
const available =
|
|
73
|
+
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
74
74
|
return make18({
|
|
75
75
|
key: Key3.make("core/skill-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
84
84
|
})
|
|
85
85
|
});
|
|
86
86
|
}));
|
|
87
|
-
var
|
|
87
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [node36] });
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service29, node33, exports_instructions4 };
|