@opencode/core 0.0.0-dev-19671 → 0.0.0-dev-19674
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{workspace-hvaems8d.js → pty-005agstz.js} +16 -16
- package/dist/chunks/{workspace-w1k39n5e.js → pty-06dxphr1.js} +4 -4
- package/dist/chunks/{workspace-hcersndf.js → pty-0bn9wq69.js} +3 -3
- package/dist/chunks/{workspace-hkfg6fzm.js → pty-0f9afca0.js} +5 -5
- package/dist/chunks/{workspace-qgn6gcr1.js → pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{workspace-smnrra21.js → pty-0p9dtxs1.js} +46 -46
- package/dist/chunks/{workspace-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-5dsd369z.js → pty-0v4tm5rw.js} +42 -42
- package/dist/chunks/{workspace-389m4hvq.js → pty-0vr0cdvh.js} +12 -12
- package/dist/chunks/{workspace-hvestmgn.js → pty-0zz4rd6y.js} +20 -20
- package/dist/chunks/{workspace-f7bq1znb.js → pty-1040s6af.js} +4 -4
- package/dist/chunks/{workspace-prq7hedt.js → pty-11dqjexa.js} +9 -9
- package/dist/chunks/{workspace-91ps8d76.js → pty-18hqe85b.js} +11 -11
- package/dist/chunks/{workspace-rhraev7y.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{workspace-sb006p00.js → pty-1cxhbzgd.js} +33 -33
- package/dist/chunks/{workspace-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-gwn8k4wf.js → pty-1frb376n.js} +10 -10
- package/dist/chunks/{workspace-tnvkd88y.js → pty-1qxk71h7.js} +31 -31
- package/dist/chunks/{workspace-8fdhqt0h.js → pty-1s7za8r8.js} +22 -22
- package/dist/chunks/pty-1tm0r3ht.js +4 -0
- package/dist/chunks/{workspace-0je2hj77.js → pty-1wc8ev08.js} +22 -22
- package/dist/chunks/{workspace-1ygqh575.js → pty-1ygqh575.js} +2 -2
- package/dist/chunks/{workspace-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{workspace-8rjf33zh.js → pty-2497c3gb.js} +25 -25
- package/dist/chunks/{workspace-npdm8rka.js → pty-27pm8xwp.js} +8 -8
- package/dist/chunks/{workspace-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-ghgqqbaf.js → pty-2a64njz4.js} +28 -28
- package/dist/chunks/{workspace-t5bshydd.js → pty-2gdwawmb.js} +41 -41
- package/dist/chunks/{workspace-gt1wmh2m.js → pty-2h71m0y1.js} +18 -18
- package/dist/chunks/{workspace-cwa6csj7.js → pty-2sejkfem.js} +9 -9
- package/dist/chunks/{workspace-s8amfvzn.js → pty-2y0fysv8.js} +68 -68
- package/dist/chunks/{workspace-0j6az8nh.js → pty-2z45ferc.js} +17 -17
- package/dist/chunks/{workspace-zg7gaeyh.js → pty-3a958b5j.js} +5 -5
- package/dist/chunks/{workspace-23pqda6t.js → pty-3b1q5j1v.js} +5 -5
- package/dist/chunks/{workspace-w7chzwtb.js → pty-3c3dzs67.js} +19 -19
- package/dist/chunks/{workspace-6gbsgjdw.js → pty-3ekjvzbw.js} +27 -27
- package/dist/chunks/{workspace-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-30ykn1ak.js → pty-3m13cm4e.js} +26 -26
- package/dist/chunks/{workspace-1bwttn16.js → pty-3qjwzzap.js} +7 -7
- package/dist/chunks/{workspace-hvy7stfb.js → pty-3r43kab8.js} +30 -30
- package/dist/chunks/{workspace-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-2evyaa68.js → pty-3ythc6yv.js} +4 -4
- package/dist/chunks/{workspace-xxgc1rvg.js → pty-40cvr20j.js} +9 -9
- package/dist/chunks/{workspace-44ke2mar.js → pty-44ke2mar.js} +2 -2
- package/dist/chunks/{workspace-xtqb0ezk.js → pty-4a9jgtk8.js} +33 -33
- package/dist/chunks/{workspace-v62hna1q.js → pty-4bwnmqz9.js} +11 -11
- package/dist/chunks/{workspace-s1nnrw4q.js → pty-4st5ggns.js} +3 -3
- package/dist/chunks/{workspace-bsjctv6r.js → pty-4wp66bzr.js} +12 -12
- package/dist/chunks/{workspace-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{workspace-5c4hm403.js → pty-5c4hm403.js} +3 -3
- package/dist/chunks/{workspace-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-kmxp3hgp.js → pty-5exzrj16.js} +104 -76
- package/dist/chunks/{workspace-45nxcmhf.js → pty-5fyzn1g0.js} +3 -3
- package/dist/chunks/{workspace-t7g5bjrx.js → pty-5sh9x8dt.js} +13 -13
- package/dist/chunks/{workspace-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-3a9k9ry6.js → pty-5vfe9zkh.js} +11 -11
- package/dist/chunks/{workspace-tkf802ad.js → pty-63wpvyg5.js} +166 -166
- package/dist/chunks/{workspace-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{workspace-4948km78.js → pty-6g11pzee.js} +24 -24
- package/dist/chunks/{workspace-b2gph9tb.js → pty-6kqz0sw2.js} +21 -21
- package/dist/chunks/{workspace-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-ej0h82cb.js → pty-6y3v0yak.js} +4 -4
- package/dist/chunks/{workspace-zhqwkags.js → pty-71506k9g.js} +19 -19
- package/dist/chunks/{workspace-escah170.js → pty-71w766xh.js} +40 -40
- package/dist/chunks/{workspace-0h6yxmx8.js → pty-736q711b.js} +17 -17
- package/dist/chunks/{workspace-73tb2d7t.js → pty-73tb2d7t.js} +1 -1
- package/dist/chunks/{workspace-3c4e3q8d.js → pty-7ac170kv.js} +4 -4
- package/dist/chunks/{workspace-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-zv0s4bhn.js → pty-7tz5zdeh.js} +14 -14
- package/dist/chunks/{workspace-psgps3dv.js → pty-850skrb0.js} +43 -42
- package/dist/chunks/{workspace-z9pg7np5.js → pty-87gqba2t.js} +23 -23
- package/dist/chunks/{workspace-89znhe33.js → pty-89znhe33.js} +1 -1
- package/dist/chunks/{workspace-6drfangj.js → pty-8bjgc9mz.js} +11 -11
- package/dist/chunks/{workspace-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-ws71cwg0.js → pty-90cw4v64.js} +20 -20
- package/dist/chunks/{workspace-qzz9148b.js → pty-9172rkmk.js} +4 -4
- package/dist/chunks/{workspace-8aa1j6tz.js → pty-935t04zr.js} +6 -6
- package/dist/chunks/{workspace-7atvz750.js → pty-972ydv8n.js} +15 -15
- package/dist/chunks/{workspace-y6xm7141.js → pty-97mj29ww.js} +11 -11
- package/dist/chunks/{workspace-9kg9e0a0.js → pty-9fday5he.js} +25 -25
- package/dist/chunks/{workspace-5yzzbxa7.js → pty-9hn6k4tm.js} +8 -8
- package/dist/chunks/{workspace-k3a5zdqs.js → pty-9j2e64em.js} +17 -17
- package/dist/chunks/{workspace-t6ysqdka.js → pty-9n8fqfgq.js} +8 -8
- package/dist/chunks/{workspace-vmgq4x8b.js → pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{workspace-qk9tkycn.js → pty-a5tya8df.js} +3 -3
- package/dist/chunks/{workspace-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-607q5haz.js → pty-ab8cnxkj.js} +12 -12
- package/dist/chunks/{workspace-09pz1379.js → pty-ag7cc6ae.js} +8 -8
- package/dist/chunks/{workspace-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-hxvthzq2.js → pty-b7eb1kpf.js} +16 -16
- package/dist/chunks/{workspace-snpzy104.js → pty-b8tjeqry.js} +11 -11
- package/dist/chunks/pty-b8vveb32.js +247 -0
- package/dist/chunks/{workspace-hq5yce46.js → pty-bavdgngm.js} +16 -16
- package/dist/chunks/{workspace-zm0p8k8r.js → pty-bbbg5gcy.js} +34 -34
- package/dist/chunks/{workspace-8nzjjcv6.js → pty-bh4tknr0.js} +22 -22
- package/dist/chunks/{workspace-hp7ncmkz.js → pty-bhvqp75t.js} +30 -30
- package/dist/chunks/{workspace-z5r7g7f5.js → pty-bqdz6k7x.js} +11 -11
- package/dist/chunks/{workspace-81n4387y.js → pty-bqv8mcm8.js} +4 -4
- package/dist/chunks/{workspace-4kc33j5f.js → pty-bv3ar4t8.js} +5 -5
- package/dist/chunks/{workspace-g8q03ywc.js → pty-bx8e55ya.js} +8 -8
- package/dist/chunks/{workspace-q84t20hj.js → pty-bxgfab9d.js} +6 -6
- package/dist/chunks/{workspace-4jc5c4h4.js → pty-bz85s9hh.js} +1 -1
- package/dist/chunks/{workspace-5yknvxxj.js → pty-cddb4mff.js} +5 -5
- package/dist/chunks/{workspace-twghd58z.js → pty-ckxk042a.js} +9 -9
- package/dist/chunks/{workspace-g69v9spt.js → pty-dc77grpk.js} +9 -9
- package/dist/chunks/{workspace-n4r3xatb.js → pty-dhmh7aw6.js} +4 -4
- package/dist/chunks/{workspace-z3mt4md8.js → pty-dhw9tk05.js} +25 -25
- package/dist/chunks/{workspace-dj2t23y0.js → pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{workspace-yb45ra6v.js → pty-dmje0bsk.js} +11 -11
- package/dist/chunks/{workspace-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{workspace-hdkexvht.js → pty-dxrx5bve.js} +28 -28
- package/dist/chunks/{workspace-wbwz8t9g.js → pty-e25vxe6e.js} +8 -8
- package/dist/chunks/{workspace-h04b1w3t.js → pty-e2673aay.js} +2 -2
- package/dist/chunks/{workspace-aspr6ja0.js → pty-e3yfb1af.js} +47 -47
- package/dist/chunks/{workspace-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-hhw162s6.js → pty-emvra4z4.js} +43 -43
- package/dist/chunks/{workspace-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-j23gdmwr.js → pty-f0bgfh1c.js} +4 -4
- package/dist/chunks/{workspace-n4761yre.js → pty-f3chkn2v.js} +41 -41
- package/dist/chunks/{workspace-h1wksrsc.js → pty-fbbqv6gz.js} +43 -43
- package/dist/chunks/{workspace-sh2f9rg6.js → pty-fbtpmqp8.js} +17 -17
- package/dist/chunks/{workspace-p0fws796.js → pty-ffn2kdck.js} +3 -3
- package/dist/chunks/{workspace-1t6ktrk6.js → pty-fj0bt93f.js} +4 -4
- package/dist/chunks/{workspace-kcfwfgb0.js → pty-fm1t1259.js} +9 -9
- package/dist/chunks/{workspace-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-nxnh93vj.js → pty-fy2wv845.js} +23 -23
- package/dist/chunks/{workspace-y6r56xpd.js → pty-fzgxakwn.js} +8 -8
- package/dist/chunks/{workspace-q3pp2a52.js → pty-g02dc5pq.js} +19 -19
- package/dist/chunks/{workspace-0tkcw078.js → pty-g51vc6t9.js} +85 -85
- package/dist/chunks/{workspace-ryr25ayn.js → pty-g8d3gcyj.js} +7 -7
- package/dist/chunks/{workspace-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-kmz2sf4s.js → pty-ge5c1s9a.js} +22 -22
- package/dist/chunks/{workspace-9qv7zabc.js → pty-gns6rj52.js} +8 -8
- package/dist/chunks/{workspace-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{workspace-44h5tttr.js → pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{workspace-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-hdnk95c8.js → pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{workspace-4rq3593v.js → pty-hemqm6a0.js} +13 -13
- package/dist/chunks/{workspace-bkr2fd2q.js → pty-hh3pbsjs.js} +14 -14
- package/dist/chunks/{workspace-hnakerc1.js → pty-hkcbg3z4.js} +7 -7
- package/dist/chunks/{workspace-gn8pj1cn.js → pty-hp2jeqkr.js} +26 -26
- package/dist/chunks/{workspace-dfxnf82f.js → pty-hw6s7maf.js} +7 -7
- package/dist/chunks/{workspace-w6qfgxh1.js → pty-j2bad2st.js} +1 -1
- package/dist/chunks/{workspace-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-5cmxdwv8.js → pty-jexxy024.js} +3 -3
- package/dist/chunks/{workspace-24qy9tjq.js → pty-jg9eaab2.js} +9 -9
- package/dist/chunks/{workspace-jppvw2tx.js → pty-jppvw2tx.js} +2 -2
- package/dist/chunks/{workspace-9t6hs79b.js → pty-jsh81p2x.js} +32 -32
- package/dist/chunks/{workspace-3kcbdbqr.js → pty-jwn5qy9f.js} +44 -44
- package/dist/chunks/{workspace-drpagt64.js → pty-jy9pcjq0.js} +14 -14
- package/dist/chunks/{workspace-pr5m8t29.js → pty-k0xymqd0.js} +11 -11
- package/dist/chunks/{workspace-f5qnaxd5.js → pty-k1603mw5.js} +32 -32
- package/dist/chunks/{workspace-557bzdk7.js → pty-k2gcmxmw.js} +16 -16
- package/dist/chunks/{workspace-jyw04mjt.js → pty-k6ed90aj.js} +15 -15
- package/dist/chunks/{workspace-ydqn5d54.js → pty-kcpq4mkg.js} +22 -22
- package/dist/chunks/{workspace-qre22asr.js → pty-kxdabtfm.js} +21 -21
- package/dist/chunks/{workspace-n3s6mywg.js → pty-m0f8gg3e.js} +25 -25
- package/dist/chunks/{workspace-m0jqrx5p.js → pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{workspace-d9p82da7.js → pty-m733xxny.js} +90 -90
- package/dist/chunks/{workspace-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-sv3vsz9b.js → pty-marnn1hp.js} +9 -9
- package/dist/chunks/{workspace-jd18ee23.js → pty-mh29eyjv.js} +6 -6
- package/dist/chunks/{workspace-qj8eh1ht.js → pty-mjymc32g.js} +4 -4
- package/dist/chunks/{workspace-ferfvg3a.js → pty-mnys6tec.js} +30 -30
- package/dist/chunks/{workspace-e53azfb2.js → pty-mrk7h3sm.js} +5 -5
- package/dist/chunks/{workspace-vm5tazhg.js → pty-nb2s3qfq.js} +10 -10
- package/dist/chunks/{workspace-ngz4ns8d.js → pty-ngz4ns8d.js} +1 -1
- package/dist/chunks/{workspace-nf6rxady.js → pty-njv35c9c.js} +15 -15
- package/dist/chunks/{workspace-pnv527nz.js → pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{workspace-6ksxgt26.js → pty-ntcnr6d2.js} +13 -13
- package/dist/chunks/{workspace-e1hrzsan.js → pty-p42y1bm5.js} +12 -12
- package/dist/chunks/{workspace-x9gmxsqr.js → pty-p96q0vzc.js} +20 -20
- package/dist/chunks/{workspace-0pay1wft.js → pty-p9rg9ssf.js} +13 -13
- package/dist/chunks/{workspace-zb3p66an.js → pty-p9zf421h.js} +18 -18
- package/dist/chunks/{workspace-f2jvx8nr.js → pty-pddgv2bp.js} +3 -3
- package/dist/chunks/{workspace-kha6mgrg.js → pty-pdnjh9qx.js} +6 -6
- package/dist/chunks/{workspace-z7ss4npn.js → pty-pgwf6rpj.js} +5 -5
- package/dist/chunks/{workspace-dda0p7y7.js → pty-ph20cxtq.js} +9 -9
- package/dist/chunks/{workspace-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-54kwzzdq.js → pty-pjx857cd.js} +22 -22
- package/dist/chunks/{workspace-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-qhetmh9m.js → pty-pqp3n84c.js} +34 -34
- package/dist/chunks/{workspace-rf9y195e.js → pty-ps02k4bp.js} +33 -33
- package/dist/chunks/{workspace-prvbm2dt.js → pty-pvkmyqfe.js} +32 -32
- package/dist/chunks/{workspace-t4s2v6tf.js → pty-px1xpczn.js} +29 -29
- package/dist/chunks/{workspace-k1qjy3je.js → pty-pyymvkzv.js} +26 -26
- package/dist/chunks/{workspace-xkqrdz3g.js → pty-q1rph7bj.js} +297 -297
- package/dist/chunks/{workspace-bct739vz.js → pty-q2b1ymqp.js} +4 -4
- package/dist/chunks/{workspace-sj9fhhwe.js → pty-q5rhn9x0.js} +11 -11
- package/dist/chunks/{workspace-g2qgxg4m.js → pty-q97sgnf3.js} +20 -20
- package/dist/chunks/{workspace-tpv4qbm3.js → pty-q9nw0fkx.js} +12 -12
- package/dist/chunks/{workspace-ae2ae2h2.js → pty-qbbxh0je.js} +11 -11
- package/dist/chunks/{workspace-08v4tsfk.js → pty-qdw5vfwv.js} +25 -25
- package/dist/chunks/{workspace-2rmd4dmq.js → pty-qfk7wg4g.js} +17 -17
- package/dist/chunks/{workspace-wbkyxrgf.js → pty-qjnxxf51.js} +5 -5
- package/dist/chunks/{workspace-0jejkkqb.js → pty-qncn4jq9.js} +21 -21
- package/dist/chunks/{workspace-q1a6wtse.js → pty-qqs6wgn3.js} +56 -56
- package/dist/chunks/{workspace-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-6e9fymwp.js → pty-qvzt4t8k.js} +25 -25
- package/dist/chunks/{workspace-166kng33.js → pty-qwjmgwmn.js} +8 -8
- package/dist/chunks/{workspace-haw093k4.js → pty-qxdvme72.js} +13 -13
- package/dist/chunks/{workspace-f88c89hd.js → pty-qybw96f7.js} +18 -18
- package/dist/chunks/{workspace-h3nb86px.js → pty-r3p3phz8.js} +28 -28
- package/dist/chunks/{workspace-mksgfzgs.js → pty-r72bb3g5.js} +5 -5
- package/dist/chunks/{workspace-r9mregkx.js → pty-r9mregkx.js} +2 -2
- package/dist/chunks/{workspace-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-nqbxdrg1.js → pty-rjnqjvjb.js} +20 -20
- package/dist/chunks/{workspace-rkdvqggb.js → pty-rkdvqggb.js} +5 -5
- package/dist/chunks/{workspace-hmdanemn.js → pty-rmg0m3t1.js} +8 -8
- package/dist/chunks/{workspace-5f01x7n9.js → pty-rx2s3z3c.js} +11 -11
- package/dist/chunks/{workspace-vq2k7p93.js → pty-s222w9ys.js} +5 -5
- package/dist/chunks/{workspace-1d95ekjq.js → pty-s6wn0jv5.js} +3 -3
- package/dist/chunks/{workspace-8yydsbjd.js → pty-s7k5x4g9.js} +35 -35
- package/dist/chunks/{workspace-fcgp2376.js → pty-s8bmxf4b.js} +9 -9
- package/dist/chunks/{workspace-02nrjc1r.js → pty-s8d7rejh.js} +8 -8
- package/dist/chunks/{workspace-eeaf82dq.js → pty-sm965ndy.js} +8 -8
- package/dist/chunks/{workspace-1xvwk0cv.js → pty-syqyze50.js} +10 -10
- package/dist/chunks/{workspace-7pxsyzj5.js → pty-t04gerxp.js} +11 -11
- package/dist/chunks/{workspace-tn0aqsam.js → pty-t0fxg8b9.js} +5 -5
- package/dist/chunks/{workspace-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-hzp1jycy.js → pty-tc37dsfn.js} +13 -13
- package/dist/chunks/{workspace-akrnn5pm.js → pty-tdhe5xga.js} +8 -8
- package/dist/chunks/{workspace-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-50npgdc7.js → pty-tn7fkxn8.js} +7 -7
- package/dist/chunks/{workspace-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-1e30kv18.js → pty-v0af3wsg.js} +32 -32
- package/dist/chunks/{workspace-w97vtpxb.js → pty-v1h7jmyp.js} +1 -1
- package/dist/chunks/{workspace-xycdmsp4.js → pty-v220wb3t.js} +15 -15
- package/dist/chunks/{workspace-m9rx6d56.js → pty-v88sgxh0.js} +12 -12
- package/dist/chunks/{workspace-ycjb11n5.js → pty-v8jfbz3g.js} +6 -6
- package/dist/chunks/{workspace-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-hjf5bpgq.js → pty-vfy19pwe.js} +7 -7
- package/dist/chunks/{workspace-xwwstvfa.js → pty-vmgmz9ta.js} +6 -6
- package/dist/chunks/pty-vnkjks7b.js +18 -0
- package/dist/chunks/{workspace-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-w1ad28wa.js → pty-w1ad28wa.js} +2 -2
- package/dist/chunks/{workspace-ywg8wg6a.js → pty-w3tj97cz.js} +24 -24
- package/dist/chunks/{workspace-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-3a8f6y3z.js → pty-wt5vh4p5.js} +22 -22
- package/dist/chunks/{workspace-recbs16k.js → pty-wtpgbvbt.js} +17 -17
- package/dist/chunks/{workspace-mpwwdxs9.js → pty-wx6s0tts.js} +45 -45
- package/dist/chunks/{workspace-nnsszj5x.js → pty-wz87yraf.js} +11 -11
- package/dist/chunks/{workspace-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-006r7eq0.js → pty-x9h4gx6t.js} +36 -36
- package/dist/chunks/{workspace-649s63jv.js → pty-xey2vz2p.js} +13 -13
- package/dist/chunks/{workspace-xfkkasph.js → pty-xfkkasph.js} +1 -1
- package/dist/chunks/{workspace-12e7zsym.js → pty-xjr9ayca.js} +3 -3
- package/dist/chunks/{workspace-4zm0bscy.js → pty-xnwnz12t.js} +5 -5
- package/dist/chunks/{workspace-434vz9hf.js → pty-xr777zyz.js} +28 -28
- package/dist/chunks/{workspace-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-vmwh049b.js → pty-ybhbtxjg.js} +6 -6
- package/dist/chunks/{workspace-1mk85yvc.js → pty-yjq1h8wq.js} +8 -8
- package/dist/chunks/{workspace-cs2qrq3p.js → pty-ykprmxnv.js} +2 -2
- package/dist/chunks/{workspace-jycbwh61.js → pty-yqcj214x.js} +24 -24
- package/dist/chunks/{workspace-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-3v2xyvmb.js → pty-ywspvke4.js} +54 -54
- package/dist/chunks/{workspace-5jvmve75.js → pty-yx4zy76q.js} +4 -4
- package/dist/chunks/{workspace-pdztc32c.js → pty-yx6bawja.js} +34 -34
- package/dist/chunks/{workspace-5cf6kvbj.js → pty-yztwhtj4.js} +6 -6
- package/dist/chunks/{workspace-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-51rvfzgv.js → pty-z4jy6304.js} +7 -7
- package/dist/chunks/{workspace-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-nhg4bpe2.js → pty-z8av1v4k.js} +19 -19
- package/dist/chunks/{workspace-b4xn4rcy.js → pty-z8mhsqtq.js} +2 -2
- package/dist/chunks/{workspace-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-j42rmye3.js → pty-zffc062v.js} +20 -20
- package/dist/chunks/{workspace-yyy8dy43.js → pty-zgqa5fck.js} +14 -14
- package/dist/chunks/{workspace-pcjz9317.js → pty-zpfv5b56.js} +3 -3
- package/dist/chunks/{workspace-10ptdfmd.js → pty-zr15egg9.js} +19 -19
- package/dist/chunks/{workspace-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-5zrb9vnx.js → pty-zyr9wvqd.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +94 -94
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/workspace-0mesazry.js +0 -4
- package/dist/chunks/workspace-jeys3fam.js +0 -247
- package/dist/chunks/workspace-v1faaxn9.js +0 -18
- /package/dist/chunks/{workspace-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info11
|
|
7
|
+
} from "./pty-mjymc32g.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info10
|
|
10
|
+
} from "./pty-tdhe5xga.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info12
|
|
13
|
+
} from "./pty-t0fxg8b9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info15
|
|
16
|
+
} from "./pty-g8d3gcyj.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info16
|
|
19
|
+
} from "./pty-marnn1hp.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-21r38tys.js";
|
|
23
23
|
import {
|
|
24
24
|
Info14
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./pty-3b1q5j1v.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info13
|
|
28
|
+
} from "./pty-0f9afca0.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./pty-0jwsre1p.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info9
|
|
34
|
+
} from "./pty-qjnxxf51.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./pty-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info8
|
|
40
|
+
} from "./pty-q2b1ymqp.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./pty-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info7,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info7 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info10 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info8).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,21 +113,21 @@ var Info10 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info10), plan: Schema.optional(Info10) }), [Schema.Record(Schema.String, Info10)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info10),
|
|
119
|
+
build: Schema.optional(Info10),
|
|
120
|
+
general: Schema.optional(Info10),
|
|
121
|
+
explore: Schema.optional(Info10),
|
|
122
|
+
title: Schema.optional(Info10),
|
|
123
|
+
summary: Schema.optional(Info10),
|
|
124
|
+
compaction: Schema.optional(Info10)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info10)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info9)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info13, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info16).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
133
|
lsp: Schema.optional(Info14).annotate({
|
|
@@ -137,9 +137,9 @@ var Info10 = Schema.Struct({
|
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info11),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info12).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info10 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info7, exports_config2 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service40
|
|
7
|
+
} from "./pty-emvra4z4.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service62
|
|
13
|
+
} from "./pty-kxdabtfm.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./pty-qfk7wg4g.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service67
|
|
19
|
+
} from "./pty-ywspvke4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service66,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-njv35c9c.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service65,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-kcpq4mkg.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service37
|
|
37
|
+
} from "./pty-0p9dtxs1.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./pty-m733xxny.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./pty-6y3v0yak.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./pty-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin25,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input9 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin25 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service20;
|
|
122
|
+
const jobs = yield* Service50;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service62;
|
|
125
|
+
const access = yield* Service66;
|
|
126
|
+
const shell = yield* Service37;
|
|
127
|
+
const shellSelect = yield* Service65;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service67;
|
|
130
|
+
const config = yield* Service40;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin26 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name9,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin26 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name9,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input9,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin26 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name9,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name9];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin25, exports_shell };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-wz87yraf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./pty-bavdgngm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./pty-s7k5x4g9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-v0af3wsg.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-850skrb0.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID14.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service81;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID13.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
if (!chatgpt)
|
|
@@ -194,7 +194,7 @@ var OpenAIPlugin2 = define({
|
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.model.transform((models) => {
|
|
197
|
-
for (const model of models.list(
|
|
197
|
+
for (const model of models.list(ID13.openai)) {
|
|
198
198
|
models.update(model.providerID, model.id, (draft) => {
|
|
199
199
|
draft.transport = "websocket";
|
|
200
200
|
if (!chatgpt)
|
|
@@ -223,9 +223,9 @@ var OpenAIPlugin2 = define({
|
|
|
223
223
|
evt.baseURL = codexBaseURL;
|
|
224
224
|
evt.headers.originator = "opencode";
|
|
225
225
|
evt.headers["session-id"] = evt.sessionID;
|
|
226
|
-
}), { providerID:
|
|
226
|
+
}), { providerID: ID13.openai });
|
|
227
227
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
228
|
-
yield* bus.subscribe(
|
|
228
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
229
229
|
})
|
|
230
230
|
});
|
|
231
231
|
function headers(contentType, app) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./pty-5exzrj16.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin17,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin17 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -77,4 +77,4 @@ var Plugin23 = {
|
|
|
77
77
|
})
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export { RenameInput2, MoveInput2,
|
|
80
|
+
export { RenameInput2, MoveInput2, Plugin17, exports_opencode };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./pty-v8jfbz3g.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-vnkjks7b.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-ybhbtxjg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service34
|
|
12
|
+
} from "./pty-pyymvkzv.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service49;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service34), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-850skrb0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-5exzrj16.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info26.make({
|
|
98
|
+
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node67,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node67 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node67, exports_driver };
|