@opencode/core 0.0.0-dev-19438 → 0.0.0-dev-19439
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +3 -3
- package/dist/bus.js +71 -71
- package/dist/catalog.js +81 -81
- package/dist/chunks/{file-td1bwv9m.js → formatter-00nm36c8.js} +9 -9
- package/dist/chunks/{file-4qbtf2xm.js → formatter-021h0nrt.js} +5 -5
- package/dist/chunks/{file-5trk58xb.js → formatter-095yekjx.js} +4 -4
- package/dist/chunks/{file-b8n110tt.js → formatter-0ghbvpbq.js} +5 -5
- package/dist/chunks/{file-z2maercm.js → formatter-0mckgfc3.js} +32 -32
- package/dist/chunks/{file-4rpd5z62.js → formatter-0nm12y21.js} +2 -2
- package/dist/chunks/{file-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-99tcg3bm.js → formatter-0ped3br2.js} +11 -11
- package/dist/chunks/{file-0q0f95c6.js → formatter-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-d86az2qg.js → formatter-0sz3434e.js} +20 -20
- package/dist/chunks/{file-tfg00z1r.js → formatter-0t1gcbnc.js} +16 -16
- package/dist/chunks/{file-e6g776ht.js → formatter-0t42w751.js} +18 -18
- package/dist/chunks/{file-s3h59be2.js → formatter-0vb1f5pm.js} +22 -22
- package/dist/chunks/{file-qbka3964.js → formatter-0vr1v3xt.js} +24 -24
- package/dist/chunks/{file-fq1h1v14.js → formatter-18cztcj7.js} +3 -3
- package/dist/chunks/{file-yp2x3t23.js → formatter-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-mrw4weg4.js → formatter-1ah30sey.js} +5 -5
- package/dist/chunks/{file-f3kdsvs6.js → formatter-1cf11pks.js} +26 -26
- package/dist/chunks/{file-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-fzsrmebp.js → formatter-1j6vcx8p.js} +24 -24
- package/dist/chunks/{file-6bg31a94.js → formatter-1trm2ftq.js} +13 -13
- package/dist/chunks/{file-21r38tys.js → formatter-21r38tys.js} +1 -1
- package/dist/chunks/{file-6h73sxmp.js → formatter-2402vzrj.js} +5 -5
- package/dist/chunks/{file-azec8exe.js → formatter-285areat.js} +7 -7
- package/dist/chunks/{file-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-84tssp1s.js → formatter-2d6j2h4j.js} +6 -6
- package/dist/chunks/{file-195b9hkp.js → formatter-2d97fjv4.js} +26 -26
- package/dist/chunks/{file-pd9nar43.js → formatter-2dcw9sq7.js} +18 -18
- package/dist/chunks/{file-rywfhtnt.js → formatter-2jvn1219.js} +19 -19
- package/dist/chunks/{file-7dqw4kz8.js → formatter-2k8khapm.js} +5 -5
- package/dist/chunks/{file-9ay0erd8.js → formatter-2msj1ncg.js} +173 -173
- package/dist/chunks/{file-5z7h86dp.js → formatter-2pm4epw0.js} +5 -5
- package/dist/chunks/{file-3kt1zrpp.js → formatter-2qnv7z47.js} +85 -85
- package/dist/chunks/{file-egqspz5t.js → formatter-2syw43ez.js} +9 -9
- package/dist/chunks/{file-embw8kgh.js → formatter-2vs2nh1n.js} +4 -4
- package/dist/chunks/{file-2sgjhdq8.js → formatter-30txw56n.js} +26 -26
- package/dist/chunks/{file-esdnemd6.js → formatter-31dz7cp4.js} +1 -1
- package/dist/chunks/{file-56gdpj1q.js → formatter-33w4ejhs.js} +6 -6
- package/dist/chunks/formatter-35kzsz4m.js +22 -0
- package/dist/chunks/{file-3w2b2yj4.js → formatter-3cfzdc8e.js} +5 -5
- package/dist/chunks/{file-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-q043d12m.js → formatter-3hf7z3yq.js} +4 -4
- package/dist/chunks/{file-69q31xtv.js → formatter-3pb5g2zf.js} +4 -4
- package/dist/chunks/{file-kcvfr73y.js → formatter-3pkm5zsv.js} +46 -46
- package/dist/chunks/{file-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-rn18s34v.js → formatter-3vd6qc07.js} +9 -9
- package/dist/chunks/{file-z2rxccdg.js → formatter-4b0yvbnv.js} +9 -9
- package/dist/chunks/{file-jhtsdbae.js → formatter-4c2c4z0k.js} +34 -34
- package/dist/chunks/{file-9v3118pd.js → formatter-4e4zhwn8.js} +26 -26
- package/dist/chunks/{file-gj4x8zz6.js → formatter-4j6h5n25.js} +15 -15
- package/dist/chunks/{file-1vd4786e.js → formatter-4jwp497k.js} +9 -9
- package/dist/chunks/{file-bxxxhdn8.js → formatter-4mxshjsa.js} +21 -21
- package/dist/chunks/{file-416qpt5q.js → formatter-4swyx596.js} +30 -30
- package/dist/chunks/{file-11h1hnb3.js → formatter-4yg7xpeb.js} +2 -2
- package/dist/chunks/{file-fec1vscd.js → formatter-5507e9e8.js} +39 -39
- package/dist/chunks/{file-nmpjh5tr.js → formatter-5afqb7wg.js} +30 -30
- package/dist/chunks/{file-5daktx2q.js → formatter-5daktx2q.js} +1 -1
- package/dist/chunks/{file-j2j5pzjs.js → formatter-5jgkwf9z.js} +5 -5
- package/dist/chunks/{file-vabb23s0.js → formatter-5jtdmvnp.js} +1 -1
- package/dist/chunks/{file-0cq9sm51.js → formatter-5mbh52c5.js} +34 -34
- package/dist/chunks/{file-e7n26ax2.js → formatter-5n6j4vsj.js} +8 -8
- package/dist/chunks/{file-xnn90w67.js → formatter-5syt3tya.js} +24 -24
- package/dist/chunks/{file-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-8qqdnwax.js → formatter-5w7tckb9.js} +15 -15
- package/dist/chunks/{file-rbb6h0rd.js → formatter-5yjc0kdb.js} +11 -11
- package/dist/chunks/{file-ypy1tgyh.js → formatter-5ztyb0s9.js} +13 -13
- package/dist/chunks/{file-206fxkvm.js → formatter-617j0ppb.js} +20 -20
- package/dist/chunks/formatter-619r8v3y.js +18 -0
- package/dist/chunks/{file-q5sxxe7s.js → formatter-668nd1zd.js} +19 -19
- package/dist/chunks/{file-669tq793.js → formatter-669tq793.js} +1 -1
- package/dist/chunks/{file-kkmk6wev.js → formatter-66g4p5h5.js} +11 -11
- package/dist/chunks/{file-n2egqj3k.js → formatter-68yeam9s.js} +10 -10
- package/dist/chunks/{file-g713qgch.js → formatter-6ad8zjmg.js} +22 -22
- package/dist/chunks/{file-6jnybvqn.js → formatter-6jnybvqn.js} +2 -2
- package/dist/chunks/{file-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-gj7pn1ka.js → formatter-6rdehx4s.js} +11 -11
- package/dist/chunks/{file-t9qhnrv6.js → formatter-6zjp47af.js} +6 -6
- package/dist/chunks/{file-71q4at8m.js → formatter-71q4at8m.js} +1 -1
- package/dist/chunks/{file-befft0k5.js → formatter-72yrt324.js} +18 -18
- package/dist/chunks/{file-8kpa3sfw.js → formatter-7azxt0pz.js} +25 -25
- package/dist/chunks/{file-9vqmh8rd.js → formatter-7be57pfy.js} +25 -25
- package/dist/chunks/{file-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-91p1v22t.js → formatter-7j2qha59.js} +8 -8
- package/dist/chunks/{file-p7r5e3re.js → formatter-7s0w6q3c.js} +27 -27
- package/dist/chunks/{file-34202413.js → formatter-7swy916s.js} +25 -25
- package/dist/chunks/{file-g5twr0sp.js → formatter-80e0yyk8.js} +14 -14
- package/dist/chunks/{file-8s0m5yrh.js → formatter-81k6gtxt.js} +20 -20
- package/dist/chunks/{file-zfv8a0ht.js → formatter-85rv8zbb.js} +14 -14
- package/dist/chunks/{file-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-qefhz522.js → formatter-8dnxqjce.js} +11 -11
- package/dist/chunks/{file-8s84r2ab.js → formatter-8g8qrqs2.js} +19 -19
- package/dist/chunks/{file-0tqgm7xh.js → formatter-8kpvhf1n.js} +33 -33
- package/dist/chunks/{file-nrj82zgb.js → formatter-8n2resjc.js} +28 -28
- package/dist/chunks/{file-8p4f9s12.js → formatter-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-3kff94q5.js → formatter-8t5w0ytw.js} +6 -6
- package/dist/chunks/{file-kyrbgmgz.js → formatter-8z17e00v.js} +2 -2
- package/dist/chunks/{file-79rym0vx.js → formatter-8z52dtec.js} +18 -18
- package/dist/chunks/{file-t33aqq77.js → formatter-90p59b3a.js} +8 -8
- package/dist/chunks/{file-t3ejw313.js → formatter-9adx019p.js} +41 -41
- package/dist/chunks/{file-ngx16gc5.js → formatter-9bzc32ne.js} +12 -12
- package/dist/chunks/{file-ja6srv6s.js → formatter-9dafp5sw.js} +29 -29
- package/dist/chunks/{file-75v5avbv.js → formatter-9gk1gqp3.js} +6 -6
- package/dist/chunks/formatter-9hmhmwp5.js +462 -0
- package/dist/chunks/{file-x5df1stp.js → formatter-9ht5y0bp.js} +58 -58
- package/dist/chunks/{file-n92g5px8.js → formatter-9mxd4efq.js} +17 -17
- package/dist/chunks/{file-81swgkk7.js → formatter-9pv0dm11.js} +9 -9
- package/dist/chunks/{file-xp2ajnz8.js → formatter-9rzgchqg.js} +24 -24
- package/dist/chunks/{file-wc01vwq2.js → formatter-9z5mp38j.js} +19 -19
- package/dist/chunks/{file-0p4j4cv0.js → formatter-9zswys26.js} +9 -9
- package/dist/chunks/{file-a1bz86dw.js → formatter-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-awz7xhfp.js → formatter-a4exdnt3.js} +4 -4
- package/dist/chunks/{file-tsdrwk88.js → formatter-a5mbhza4.js} +11 -11
- package/dist/chunks/{file-v3smhzc7.js → formatter-a7xpxmvw.js} +23 -23
- package/dist/chunks/{file-aaet6srn.js → formatter-aaet6srn.js} +2 -2
- package/dist/chunks/{file-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-szgy4byf.js → formatter-bajakh74.js} +4 -4
- package/dist/chunks/{file-wb1yzg53.js → formatter-bdhtzght.js} +20 -20
- package/dist/chunks/{file-reygygas.js → formatter-bkqv14q1.js} +6 -6
- package/dist/chunks/{file-0bc9xa41.js → formatter-bpvz3mp1.js} +15 -15
- package/dist/chunks/{file-5cvqq58e.js → formatter-bz38aey9.js} +3 -3
- package/dist/chunks/{file-verq85zk.js → formatter-c3w3adeh.js} +4 -4
- package/dist/chunks/{file-67mjd9te.js → formatter-c92gkee6.js} +9 -9
- package/dist/chunks/{file-vsp1fds9.js → formatter-cavr175a.js} +21 -21
- package/dist/chunks/{file-614n5vxr.js → formatter-cbf23dhs.js} +14 -14
- package/dist/chunks/{file-gqzswqpg.js → formatter-cct3q0a5.js} +32 -32
- package/dist/chunks/{file-cfpkc3c9.js → formatter-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-n3ehebhz.js → formatter-crc3g98t.js} +12 -12
- package/dist/chunks/{file-ntp00jbn.js → formatter-ctck25gh.js} +51 -51
- package/dist/chunks/{file-3yknbgq7.js → formatter-d3cg80ds.js} +11 -11
- package/dist/chunks/{file-qaeybh9m.js → formatter-d7r387ef.js} +6 -6
- package/dist/chunks/{file-nmwa5e32.js → formatter-dam1xtkf.js} +13 -13
- package/dist/chunks/{file-pvp2wc9z.js → formatter-dbmntw5q.js} +11 -11
- package/dist/chunks/{file-2cmcktmr.js → formatter-dh76dsr9.js} +10 -10
- package/dist/chunks/{file-xr2q0tqq.js → formatter-dtqv72tr.js} +23 -23
- package/dist/chunks/{file-31hyewty.js → formatter-dv1d3m2q.js} +40 -40
- package/dist/chunks/{file-xck56rmx.js → formatter-dyrkrqpz.js} +37 -37
- package/dist/chunks/{file-ms6rwfbv.js → formatter-e07ezkqg.js} +31 -31
- package/dist/chunks/{file-mdcc0ar8.js → formatter-ea17m5x7.js} +28 -28
- package/dist/chunks/{file-jh9jg79a.js → formatter-edqrezaz.js} +11 -11
- package/dist/chunks/{file-8x96bj0m.js → formatter-edrmdtr5.js} +4 -4
- package/dist/chunks/{file-87deq66t.js → formatter-eq20ba7x.js} +4 -4
- package/dist/chunks/{file-rbwxp75v.js → formatter-esv2341e.js} +36 -36
- package/dist/chunks/{file-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-he3a9kdv.js → formatter-f1yt1w90.js} +27 -27
- package/dist/chunks/{file-6jekb6p7.js → formatter-f3bjm0g3.js} +18 -18
- package/dist/chunks/{file-s7vx81dz.js → formatter-f81hbz6h.js} +9 -9
- package/dist/chunks/{file-f828m53h.js → formatter-f828m53h.js} +2 -2
- package/dist/chunks/{file-h2gyv3sg.js → formatter-f9bavhm2.js} +1 -1
- package/dist/chunks/{file-2ff89mrc.js → formatter-fbb40q07.js} +4 -4
- package/dist/chunks/{file-agmzfzv5.js → formatter-fbj83e1y.js} +16 -16
- package/dist/chunks/{file-dx6t03ys.js → formatter-fghqpq1c.js} +2 -2
- package/dist/chunks/{file-8pnwjqbd.js → formatter-fp08gjcx.js} +21 -21
- package/dist/chunks/{file-fxbjtjnd.js → formatter-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-zts5fb25.js → formatter-g8jasmdt.js} +11 -11
- package/dist/chunks/{file-vjjshyym.js → formatter-g9yjs11r.js} +22 -22
- package/dist/chunks/{file-ew6y6y1a.js → formatter-gab2tx2v.js} +30 -30
- package/dist/chunks/{file-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-9yb9755z.js → formatter-ggdbhyt9.js} +13 -13
- package/dist/chunks/{file-1enyjv7v.js → formatter-gkx770bk.js} +13 -13
- package/dist/chunks/{file-jvdqbckk.js → formatter-gmwb692f.js} +13 -13
- package/dist/chunks/{file-jjwvsmw4.js → formatter-gp9htv6t.js} +6 -6
- package/dist/chunks/{file-gv6a8nnw.js → formatter-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-v9n7g2jp.js → formatter-gw0b7z6j.js} +48 -48
- package/dist/chunks/{file-h03wrkyp.js → formatter-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-52az7e5h.js → formatter-h2zbnnby.js} +16 -16
- package/dist/chunks/{file-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-qacd23e2.js → formatter-hatqt65p.js} +4 -4
- package/dist/chunks/{file-c4vq1gr4.js → formatter-hdbh06sf.js} +27 -27
- package/dist/chunks/{file-nrrb2a3e.js → formatter-hjny2139.js} +25 -25
- package/dist/chunks/{file-nhy5jxhy.js → formatter-hjt4xg1x.js} +4 -4
- package/dist/chunks/{file-3n1sj9mp.js → formatter-hk4vbwmw.js} +1 -1
- package/dist/chunks/{file-zn15gz72.js → formatter-hvdm4zjc.js} +9 -9
- package/dist/chunks/{file-b3xk0srv.js → formatter-j06bdbff.js} +38 -38
- package/dist/chunks/{file-m4w483hc.js → formatter-j0bxhyf1.js} +6 -6
- package/dist/chunks/{file-j56e64zr.js → formatter-j56e64zr.js} +1 -1
- package/dist/chunks/{file-gzbkpp9m.js → formatter-j8zzr2am.js} +6 -6
- package/dist/chunks/{file-3yjg5mh2.js → formatter-jexxy024.js} +3 -3
- package/dist/chunks/{file-vypqtakx.js → formatter-jy16bfac.js} +1 -1
- package/dist/chunks/{file-e3qzfmye.js → formatter-kabm8qet.js} +18 -18
- package/dist/chunks/{file-kg06axw8.js → formatter-kg06axw8.js} +1 -1
- package/dist/chunks/{file-bv5t9bgg.js → formatter-krdddzze.js} +10 -10
- package/dist/chunks/{file-rb7pkpgx.js → formatter-m4b8n7qx.js} +27 -27
- package/dist/chunks/{file-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-b3ab3ctg.js → formatter-mdjvh03d.js} +6 -6
- package/dist/chunks/{file-7yh4e7ss.js → formatter-mhkvc446.js} +3 -3
- package/dist/chunks/{file-mkcjrzeh.js → formatter-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-ck83t0ny.js → formatter-mmwejawh.js} +25 -25
- package/dist/chunks/{file-famamp43.js → formatter-mssymtw4.js} +22 -22
- package/dist/chunks/{file-vq3dh784.js → formatter-n5d2spsf.js} +20 -20
- package/dist/chunks/{file-rctdwqm8.js → formatter-nbqjn8b8.js} +13 -13
- package/dist/chunks/{file-k2cps1w2.js → formatter-ndn3zy2s.js} +16 -16
- package/dist/chunks/{file-xbet31bz.js → formatter-nszmkgp8.js} +35 -35
- package/dist/chunks/{file-cqyrr4jp.js → formatter-nx7dmtbq.js} +91 -91
- package/dist/chunks/{file-sb15f9kd.js → formatter-p1kh2k2v.js} +22 -22
- package/dist/chunks/{file-fjmrr6sh.js → formatter-p1wf2k30.js} +9 -9
- package/dist/chunks/{file-j935v87r.js → formatter-paphc93g.js} +2 -2
- package/dist/chunks/{file-sqmt1xrx.js → formatter-pcfzsj1n.js} +32 -32
- package/dist/chunks/{file-2r4xr41j.js → formatter-pd5ra043.js} +23 -23
- package/dist/chunks/{file-fydnx5fx.js → formatter-pf1rkfgd.js} +41 -41
- package/dist/chunks/{file-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{file-xncegbyh.js → formatter-ptaftxqm.js} +6 -6
- package/dist/chunks/{file-2rk3das1.js → formatter-py4eyt8z.js} +22 -22
- package/dist/chunks/{file-xe3tttza.js → formatter-q0b5npqy.js} +10 -10
- package/dist/chunks/{file-56j57pys.js → formatter-qa1nr178.js} +15 -15
- package/dist/chunks/{file-ff8vf18q.js → formatter-qa5ynrpv.js} +7 -7
- package/dist/chunks/formatter-qapv375x.js +4 -0
- package/dist/chunks/{file-3trbxeqx.js → formatter-qmr73083.js} +1 -1
- package/dist/chunks/{file-11tcp5y8.js → formatter-qpxqmgt2.js} +4 -4
- package/dist/chunks/{file-wkwfxgj3.js → formatter-qr27hz8v.js} +4 -4
- package/dist/chunks/{file-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{file-wh05710z.js → formatter-r6mys28c.js} +45 -45
- package/dist/chunks/{file-664j63h8.js → formatter-r94jn7mf.js} +20 -20
- package/dist/chunks/{file-r9mregkx.js → formatter-r9mregkx.js} +2 -2
- package/dist/chunks/{file-zh30k3px.js → formatter-re8aperj.js} +9 -9
- package/dist/chunks/{file-d5n4bh35.js → formatter-reya8m0q.js} +26 -26
- package/dist/chunks/{file-ce5fknq2.js → formatter-rmk2c50f.js} +5 -5
- package/dist/chunks/{file-88sz8qcd.js → formatter-rsdf2nvv.js} +4 -4
- package/dist/chunks/{file-ec8389mk.js → formatter-s0esgemt.js} +4 -4
- package/dist/chunks/{file-d1xvm4af.js → formatter-s0sr0rvp.js} +11 -11
- package/dist/chunks/{file-0kzzmtkd.js → formatter-s3fk1mhb.js} +16 -16
- package/dist/chunks/{file-0z8fjeev.js → formatter-s54pw8rz.js} +17 -17
- package/dist/chunks/{file-3fj0ehej.js → formatter-skxg4786.js} +41 -41
- package/dist/chunks/{file-rs226bz6.js → formatter-sv9bpgvh.js} +5 -5
- package/dist/chunks/{file-37y0x4sa.js → formatter-t1vfcksq.js} +15 -15
- package/dist/chunks/{file-jxj1g7d6.js → formatter-t3ev4bbs.js} +5 -5
- package/dist/chunks/{file-t550f9t1.js → formatter-t550f9t1.js} +1 -1
- package/dist/chunks/{file-qcv4hsrb.js → formatter-t56rre3z.js} +13 -13
- package/dist/chunks/{file-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-a28msnrx.js → formatter-tcgf8zsh.js} +4 -4
- package/dist/chunks/{file-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/formatter-tkmn4y3s.js +247 -0
- package/dist/chunks/{file-w6vgwbtw.js → formatter-ts6jc9rr.js} +33 -33
- package/dist/chunks/{file-ashvqh0k.js → formatter-ttgj08hp.js} +8 -8
- package/dist/chunks/{file-tvtrv512.js → formatter-tvtrv512.js} +1 -1
- package/dist/chunks/{file-844ef7ks.js → formatter-v4hmzr0r.js} +8 -8
- package/dist/chunks/{file-9k2v62xn.js → formatter-v8ch97zc.js} +1 -1
- package/dist/chunks/{file-b3c6xmwh.js → formatter-vadmf725.js} +18 -18
- package/dist/chunks/{file-9ch41db7.js → formatter-vcx64ysh.js} +35 -35
- package/dist/chunks/{file-9bj2cvf7.js → formatter-vdnmb5h5.js} +9 -9
- package/dist/chunks/{file-hq8zt1th.js → formatter-ve6nm2s5.js} +6 -6
- package/dist/chunks/{file-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{file-an7cqtb7.js → formatter-vncycja5.js} +4 -4
- package/dist/chunks/{file-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-eykg37vx.js → formatter-w0psxf7y.js} +15 -15
- package/dist/chunks/{file-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-7ebn0nc0.js → formatter-w4arg62q.js} +6 -6
- package/dist/chunks/{file-03zt5v0h.js → formatter-w4vfbj5y.js} +11 -11
- package/dist/chunks/{file-dgbe4bt1.js → formatter-w6jjpet8.js} +18 -18
- package/dist/chunks/{file-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{file-pnfpsavj.js → formatter-wmpm68aq.js} +5 -5
- package/dist/chunks/{file-e7c5hh0v.js → formatter-wmsepf1h.js} +7 -7
- package/dist/chunks/{file-yc3z3e63.js → formatter-wnhwz1p5.js} +13 -13
- package/dist/chunks/{file-b3wkxfg9.js → formatter-wx9wy1qm.js} +1 -1
- package/dist/chunks/{file-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-k4t1n3ds.js → formatter-x1msyfgj.js} +8 -8
- package/dist/chunks/{file-kk4kf303.js → formatter-x4hnyy7a.js} +11 -11
- package/dist/chunks/{file-1wv7z5mx.js → formatter-xbtmma79.js} +32 -32
- package/dist/chunks/{file-1302kqpv.js → formatter-y0m5vzhp.js} +57 -57
- package/dist/chunks/{file-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-xacpwbjs.js → formatter-y5eyw352.js} +9 -9
- package/dist/chunks/{file-jwcy2c2z.js → formatter-y71avatq.js} +4 -4
- package/dist/chunks/{file-y2vrj84a.js → formatter-y74fwv73.js} +3 -3
- package/dist/chunks/{file-8n8qbvvf.js → formatter-y88dd9am.js} +32 -32
- package/dist/chunks/{file-m20ewzpv.js → formatter-y9nhn27x.js} +30 -30
- package/dist/chunks/{file-b4ssmz4r.js → formatter-ybhbtxjg.js} +9 -9
- package/dist/chunks/{file-yddgxcp4.js → formatter-yddgxcp4.js} +2 -2
- package/dist/chunks/{file-p1nm93x7.js → formatter-yjptyezs.js} +5 -5
- package/dist/chunks/{file-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-s4enseaf.js → formatter-yrznvahk.js} +2 -2
- package/dist/chunks/{file-yt0fqk68.js → formatter-yt0fqk68.js} +2 -2
- package/dist/chunks/{file-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-29x78va6.js → formatter-z63w68vq.js} +6 -6
- package/dist/chunks/{file-1tx98gn3.js → formatter-zc49taxq.js} +14 -14
- package/dist/chunks/{file-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-wxg97684.js → formatter-zemgttac.js} +25 -25
- package/dist/chunks/{file-gtwpvwn0.js → formatter-zkae56be.js} +68 -68
- package/dist/chunks/{file-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- 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 +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +3 -3
- 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 +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +71 -71
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- 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 +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +114 -114
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/file-0mesazry.js +0 -4
- package/dist/chunks/file-bxsmgxt8.js +0 -22
- package/dist/chunks/file-dk9ef0gz.js +0 -247
- package/dist/chunks/file-ht5y0zrb.js +0 -18
- package/dist/chunks/file-m2eczmet.js +0 -462
- /package/dist/chunks/{file-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → formatter-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → formatter-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → formatter-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./formatter-1trm2ftq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./formatter-9rzgchqg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service24,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-5ztyb0s9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service25
|
|
14
|
+
} from "./formatter-w0psxf7y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service67
|
|
17
|
+
} from "./formatter-9ht5y0bp.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service18,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-vadmf725.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input4,
|
|
34
|
+
Output: () => Output2,
|
|
35
|
+
Plugin: () => Plugin6,
|
|
36
|
+
name: () => name4
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name4 = "edit";
|
|
43
|
+
var Input4 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output2 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin6 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service18;
|
|
110
|
+
const fileMutation = yield* Service24;
|
|
111
|
+
const environment = yield* Service72;
|
|
112
|
+
const formatter = yield* Service25;
|
|
113
|
+
const location = yield* Service75;
|
|
114
|
+
const permission = yield* Service67;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name4,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input4,
|
|
120
|
+
output: Output2,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin28 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name4, Input4, Output2, Plugin6, exports_edit };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-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: () => Service52,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node55
|
|
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 Service52 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(Service52, 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(Service80, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service52.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 node55 = makeLocationNode({
|
|
143
|
+
service: Service52,
|
|
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, Service52, node55, exports_tool_output2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./formatter-s3fk1mhb.js";
|
|
8
|
+
import {
|
|
9
|
+
Event20,
|
|
5
10
|
Service78,
|
|
6
11
|
node82
|
|
7
|
-
} from "./
|
|
12
|
+
} from "./formatter-8kpvhf1n.js";
|
|
8
13
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./file-0tqgm7xh.js";
|
|
14
|
+
Service75,
|
|
15
|
+
node79
|
|
16
|
+
} from "./formatter-1trm2ftq.js";
|
|
13
17
|
import {
|
|
14
18
|
Service72,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
17
|
-
import {
|
|
18
|
-
Service69,
|
|
19
|
-
node72
|
|
20
|
-
} from "./file-xp2ajnz8.js";
|
|
19
|
+
node75
|
|
20
|
+
} from "./formatter-9rzgchqg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID6,
|
|
23
|
+
Service63,
|
|
24
|
+
node66
|
|
25
|
+
} from "./formatter-5syt3tya.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID5,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service62,
|
|
34
|
+
node65
|
|
35
|
+
} from "./formatter-zemgttac.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./formatter-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service36,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
|
+
layer: () => layer14,
|
|
67
|
+
node: () => node40
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID5.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service36 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service75;
|
|
178
|
+
const environment = yield* Service72;
|
|
179
|
+
const bus = yield* Service79;
|
|
180
|
+
const forms = yield* Service63;
|
|
181
|
+
const integration = yield* Service62;
|
|
182
|
+
const credentials = yield* Service78;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID5.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError4({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID6.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service72, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service36.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured5(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service36,
|
|
713
|
+
layer: layer14(options),
|
|
714
|
+
deps: [node79, node75, node83, node66, node65, node82]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node40 = configured5();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service36, Options5, layer14, configured5, node40, exports_mcp4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options10,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service59,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured9,
|
|
@@ -21,7 +21,7 @@ __export(exports_select, {
|
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node62,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service59 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service59.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
208
|
function configured9(options) {
|
|
209
|
-
return makeLocationNode({ service:
|
|
209
|
+
return makeLocationNode({ service: Service59, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node62 = configured9();
|
|
212
212
|
|
|
213
|
-
export { Options10,
|
|
213
|
+
export { Options10, Service59, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured9, node62, exports_select };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service50,
|
|
3
|
+
node53,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-dh76dsr9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service43,
|
|
8
|
+
node46
|
|
9
|
+
} from "./formatter-ve6nm2s5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service74
|
|
12
|
+
} from "./formatter-dtqv72tr.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-tkmn4y3s.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service50, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
29
29
|
return Effect.void;
|
|
30
30
|
if (Exit.isSuccess(exit)) {
|
|
31
|
-
build.close = Context.get(exit.value,
|
|
31
|
+
build.close = Context.get(exit.value, Service74).close;
|
|
32
32
|
return Effect.void;
|
|
33
33
|
}
|
|
34
34
|
MutableHashMap.remove(builds, ref);
|
|
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
50
50
|
})
|
|
51
51
|
};
|
|
52
52
|
const bindings = [
|
|
53
|
-
|
|
53
|
+
node46.replace(Layer.succeed(Service43, {
|
|
54
54
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
55
55
|
})),
|
|
56
56
|
...replacements,
|
|
57
|
-
|
|
57
|
+
node53.replace(Layer.succeed(Service50, map))
|
|
58
58
|
];
|
|
59
59
|
return map;
|
|
60
60
|
}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./formatter-r6mys28c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./formatter-vdnmb5h5.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-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: () => Plugin35
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = 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* Service46;
|
|
26
|
+
const image = yield* Service57;
|
|
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 Plugin18 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin35, exports_image };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref4
|
|
3
|
+
} from "./formatter-1trm2ftq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service50,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node53
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service50 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service50, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node53 = LayerNode.unbound(Service50, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
|
-
return
|
|
28
|
+
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service50, node53, canonical3, exports_location_service_map };
|