@opencode/core 0.0.0-dev-19671 → 0.0.0-dev-19673
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 +74 -74
- 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-gt1wmh2m.js → form-02w8qtn4.js} +21 -21
- package/dist/chunks/{workspace-n4r3xatb.js → form-06x8he3q.js} +4 -4
- package/dist/chunks/{workspace-24qy9tjq.js → form-070qa63s.js} +9 -9
- package/dist/chunks/{workspace-f5qnaxd5.js → form-07mvx74x.js} +32 -32
- package/dist/chunks/{workspace-hq5yce46.js → form-0c8rzwj9.js} +16 -16
- package/dist/chunks/{workspace-m9rx6d56.js → form-0g17b04h.js} +15 -15
- package/dist/chunks/{workspace-ghgqqbaf.js → form-0g36tn83.js} +23 -23
- package/dist/chunks/{workspace-sh2f9rg6.js → form-0hs93vrc.js} +17 -17
- package/dist/chunks/{workspace-recbs16k.js → form-0jf398hq.js} +20 -20
- package/dist/chunks/{workspace-k3a5zdqs.js → form-0msxzen6.js} +17 -17
- package/dist/chunks/{workspace-0paq2nw3.js → form-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → form-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-0tkcw078.js → form-0sst3ssg.js} +73 -73
- package/dist/chunks/{workspace-166kng33.js → form-166kng33.js} +1 -1
- package/dist/chunks/{workspace-g8q03ywc.js → form-1c1svyyd.js} +8 -8
- package/dist/chunks/{workspace-aspr6ja0.js → form-1c6v2m1h.js} +47 -47
- package/dist/chunks/{workspace-5dsd369z.js → form-1chv122m.js} +43 -43
- package/dist/chunks/{workspace-1dazxqgg.js → form-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-ydqn5d54.js → form-1ddyqjqr.js} +22 -22
- package/dist/chunks/{workspace-smnrra21.js → form-1ehkaych.js} +46 -46
- package/dist/chunks/{workspace-0jejkkqb.js → form-1n008kkv.js} +24 -24
- package/dist/chunks/{workspace-z9pg7np5.js → form-1py910mb.js} +28 -28
- package/dist/chunks/{workspace-g2qgxg4m.js → form-1xn9w7tk.js} +18 -18
- package/dist/chunks/{workspace-21r38tys.js → form-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-2402vzrj.js → form-2402vzrj.js} +1 -1
- package/dist/chunks/{workspace-w1k39n5e.js → form-26k5bknw.js} +4 -4
- package/dist/chunks/{workspace-nhg4bpe2.js → form-27s9zfaa.js} +17 -17
- package/dist/chunks/{workspace-p0fws796.js → form-28026pp3.js} +3 -3
- package/dist/chunks/{workspace-557bzdk7.js → form-29sseqcj.js} +16 -16
- package/dist/chunks/{workspace-q84t20hj.js → form-2a3tj3av.js} +13 -13
- package/dist/chunks/{workspace-2a5m3afh.js → form-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-pr5m8t29.js → form-2q2vv6fc.js} +11 -11
- package/dist/chunks/{workspace-tn0aqsam.js → form-2qp6y8xf.js} +5 -5
- package/dist/chunks/{workspace-zm0p8k8r.js → form-2rm69wzy.js} +32 -32
- package/dist/chunks/{workspace-sv3vsz9b.js → form-2y34zzjz.js} +5 -5
- package/dist/chunks/{workspace-08v4tsfk.js → form-3az6px2n.js} +25 -25
- package/dist/chunks/{workspace-ycjb11n5.js → form-3c1tgrea.js} +6 -6
- package/dist/chunks/{workspace-434vz9hf.js → form-3c9vtvry.js} +28 -28
- package/dist/chunks/{workspace-3fc6dm20.js → form-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-dfxnf82f.js → form-3m0hf24a.js} +17 -17
- package/dist/chunks/{workspace-g69v9spt.js → form-3qesnv1p.js} +9 -9
- package/dist/chunks/{workspace-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-hmdanemn.js → form-3w9wgdme.js} +8 -8
- package/dist/chunks/{workspace-vmgq4x8b.js → form-3zkkx5kj.js} +2 -2
- package/dist/chunks/{workspace-escah170.js → form-41kmqf54.js} +40 -40
- package/dist/chunks/{workspace-kha6mgrg.js → form-432ewbjd.js} +6 -6
- package/dist/chunks/{workspace-44ke2mar.js → form-44ke2mar.js} +2 -2
- package/dist/chunks/{workspace-6gbsgjdw.js → form-48n7atp3.js} +27 -27
- package/dist/chunks/{workspace-hvaems8d.js → form-490gc394.js} +11 -11
- package/dist/chunks/form-4cw7we48.js +247 -0
- package/dist/chunks/{workspace-9kg9e0a0.js → form-4ey6h455.js} +19 -19
- package/dist/chunks/{workspace-54kwzzdq.js → form-4rc3z4mm.js} +20 -20
- package/dist/chunks/{workspace-7pxsyzj5.js → form-4rcyc4ba.js} +11 -11
- package/dist/chunks/{workspace-t5bshydd.js → form-4rxdkz28.js} +26 -26
- package/dist/chunks/{workspace-ws71cwg0.js → form-4yxk42sw.js} +20 -20
- package/dist/chunks/{workspace-hnakerc1.js → form-52njpcvg.js} +7 -7
- package/dist/chunks/{workspace-cs2qrq3p.js → form-52t4x136.js} +2 -2
- package/dist/chunks/{workspace-1ygqh575.js → form-56gdpj1q.js} +9 -9
- package/dist/chunks/{workspace-t4s2v6tf.js → form-584rndta.js} +32 -32
- package/dist/chunks/{workspace-mpwwdxs9.js → form-58d8ceg3.js} +46 -46
- package/dist/chunks/{workspace-2rmd4dmq.js → form-5cecdezf.js} +17 -17
- package/dist/chunks/{workspace-5daktx2q.js → form-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-v62hna1q.js → form-5keaa817.js} +14 -14
- package/dist/chunks/{workspace-hhw162s6.js → form-5nae8tex.js} +47 -47
- package/dist/chunks/{workspace-k1qjy3je.js → form-5nthzge1.js} +26 -26
- package/dist/chunks/{workspace-gn8pj1cn.js → form-5sbeve3p.js} +26 -26
- package/dist/chunks/{workspace-5t3nmthw.js → form-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-b2gph9tb.js → form-5x2mg89e.js} +17 -17
- package/dist/chunks/{workspace-0h6yxmx8.js → form-5zagxq5m.js} +20 -20
- package/dist/chunks/{workspace-q1a6wtse.js → form-5zrhx2a4.js} +48 -48
- package/dist/chunks/{workspace-669tq793.js → form-669tq793.js} +1 -1
- package/dist/chunks/{workspace-ae2ae2h2.js → form-6c03qjnv.js} +11 -11
- package/dist/chunks/{workspace-9t6hs79b.js → form-6cfbbzhv.js} +30 -30
- package/dist/chunks/{workspace-10ptdfmd.js → form-6d4pkxf4.js} +22 -22
- package/dist/chunks/{workspace-xycdmsp4.js → form-6gpcy8we.js} +17 -17
- package/dist/chunks/{workspace-jd18ee23.js → form-6jeq82a3.js} +6 -6
- package/dist/chunks/{workspace-gwn8k4wf.js → form-6kcmw7z7.js} +7 -7
- package/dist/chunks/{workspace-6msgmcgs.js → form-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-vm5tazhg.js → form-6qzar0j9.js} +7 -7
- package/dist/chunks/{workspace-607q5haz.js → form-6t298p2h.js} +12 -12
- package/dist/chunks/{workspace-snpzy104.js → form-6ywb64n6.js} +11 -11
- package/dist/chunks/{workspace-6drfangj.js → form-74ak9fgp.js} +11 -11
- package/dist/chunks/{workspace-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-qgn6gcr1.js → form-7dqw4kz8.js} +5 -5
- package/dist/chunks/{workspace-4rq3593v.js → form-7m03zbcz.js} +13 -13
- package/dist/chunks/{workspace-zhqwkags.js → form-7n7mxp8t.js} +19 -19
- package/dist/chunks/{workspace-h1wksrsc.js → form-7pvf4f7x.js} +39 -39
- package/dist/chunks/{workspace-xtqb0ezk.js → form-7r2knygt.js} +38 -38
- package/dist/chunks/{workspace-hp7ncmkz.js → form-7rjabepb.js} +29 -29
- package/dist/chunks/{workspace-yb45ra6v.js → form-7s2t5wav.js} +11 -11
- package/dist/chunks/{workspace-nxnh93vj.js → form-7sd8y4b9.js} +23 -23
- package/dist/chunks/{workspace-bsjctv6r.js → form-7xq5hsgn.js} +12 -12
- package/dist/chunks/{workspace-vmwh049b.js → form-837hypdd.js} +3 -3
- package/dist/chunks/{workspace-n3s6mywg.js → form-87v6f6zb.js} +26 -26
- package/dist/chunks/{workspace-8d7r5vzw.js → form-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-dj2t23y0.js → form-8p4f9s12.js} +2 -2
- package/dist/chunks/{workspace-twghd58z.js → form-8pp4fzpy.js} +11 -11
- package/dist/chunks/{workspace-kcfwfgb0.js → form-8ytytfcy.js} +9 -9
- package/dist/chunks/{workspace-hvestmgn.js → form-9es5d59e.js} +16 -16
- package/dist/chunks/{workspace-sb006p00.js → form-9gwp62br.js} +35 -35
- package/dist/chunks/{workspace-n4761yre.js → form-9na2z02n.js} +41 -41
- package/dist/chunks/{workspace-haw093k4.js → form-9x5vnv11.js} +17 -17
- package/dist/chunks/{workspace-5c4hm403.js → form-a1bz86dw.js} +3 -3
- package/dist/chunks/{workspace-aaet6srn.js → form-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-jycbwh61.js → form-ahgmes2r.js} +16 -16
- package/dist/chunks/{workspace-mksgfzgs.js → form-b04b8x2j.js} +5 -5
- package/dist/chunks/{workspace-ryr25ayn.js → form-b27vhd2z.js} +4 -4
- package/dist/chunks/{workspace-ngz4ns8d.js → form-b2da4m4w.js} +4 -4
- package/dist/chunks/{workspace-w97vtpxb.js → form-b2qe6s06.js} +1 -1
- package/dist/chunks/{workspace-b6gygkdw.js → form-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-5yknvxxj.js → form-b8f97kt2.js} +5 -5
- package/dist/chunks/{workspace-4jc5c4h4.js → form-b97cbvw3.js} +1 -1
- package/dist/chunks/{workspace-w6qfgxh1.js → form-barsakm8.js} +1 -1
- package/dist/chunks/{workspace-57ez7d0k.js → form-bfkydnd4.js} +9 -9
- package/dist/chunks/{workspace-hjf5bpgq.js → form-bgqnaqd7.js} +12 -12
- package/dist/chunks/{workspace-3c4e3q8d.js → form-bha4atvq.js} +4 -4
- package/dist/chunks/{workspace-drpagt64.js → form-bqz7g32x.js} +18 -18
- package/dist/chunks/{workspace-6e9fymwp.js → form-bznknjz1.js} +25 -25
- package/dist/chunks/{workspace-91ps8d76.js → form-c5cawmgv.js} +11 -11
- package/dist/chunks/{workspace-m0jqrx5p.js → form-cfpkc3c9.js} +2 -2
- package/dist/chunks/{workspace-0pay1wft.js → form-cmyv28vq.js} +15 -15
- package/dist/chunks/{workspace-cwa6csj7.js → form-cpneeje0.js} +9 -9
- package/dist/chunks/{workspace-hvy7stfb.js → form-cqfg3mf7.js} +24 -24
- package/dist/chunks/{workspace-qre22asr.js → form-crygsd6q.js} +24 -24
- package/dist/chunks/{workspace-w1ad28wa.js → form-ctzssw83.js} +8 -8
- package/dist/chunks/{workspace-8fdhqt0h.js → form-cvmce7ec.js} +15 -15
- package/dist/chunks/{workspace-qhetmh9m.js → form-cz5b5dad.js} +24 -24
- package/dist/chunks/{workspace-s1nnrw4q.js → form-d55k9g75.js} +6 -6
- package/dist/chunks/{workspace-5cmxdwv8.js → form-d7702bf7.js} +3 -3
- package/dist/chunks/{workspace-2evyaa68.js → form-d8nc1xcx.js} +4 -4
- package/dist/chunks/{workspace-51rvfzgv.js → form-d94k38r4.js} +9 -9
- package/dist/chunks/{workspace-649s63jv.js → form-db4ykqcp.js} +13 -13
- package/dist/chunks/{workspace-1t6ktrk6.js → form-dgsn220j.js} +4 -4
- package/dist/chunks/{workspace-nf6rxady.js → form-dpxmc42p.js} +15 -15
- package/dist/chunks/{workspace-5cf6kvbj.js → form-dt87bqqw.js} +6 -6
- package/dist/chunks/{workspace-wbwz8t9g.js → form-dvg8xh0j.js} +8 -8
- package/dist/chunks/{workspace-zv0s4bhn.js → form-e7nn28ya.js} +12 -12
- package/dist/chunks/{workspace-02nrjc1r.js → form-eaj1djv9.js} +4 -4
- package/dist/chunks/{workspace-4948km78.js → form-ech5h453.js} +19 -19
- package/dist/chunks/{workspace-0je2hj77.js → form-ef14z6bm.js} +22 -22
- package/dist/chunks/{workspace-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-4kc33j5f.js → form-ekq8a7pk.js} +5 -5
- package/dist/chunks/{workspace-akrnn5pm.js → form-ep6z9mt6.js} +8 -8
- package/dist/chunks/{workspace-etq0c3wd.js → form-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-hcersndf.js → form-f6hmevzm.js} +3 -3
- package/dist/chunks/{workspace-npdm8rka.js → form-f7hcv0t5.js} +8 -8
- package/dist/chunks/{workspace-hdnk95c8.js → form-f828m53h.js} +2 -2
- package/dist/chunks/{workspace-j42rmye3.js → form-fp5nfsfv.js} +20 -20
- package/dist/chunks/{workspace-389m4hvq.js → form-fpebg25n.js} +10 -10
- package/dist/chunks/{workspace-fxbjtjnd.js → form-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-bkr2fd2q.js → form-fy873rr3.js} +15 -15
- package/dist/chunks/{workspace-8yydsbjd.js → form-gb1jwk5m.js} +33 -33
- package/dist/chunks/{workspace-3v2xyvmb.js → form-gcdm2p5s.js} +34 -34
- package/dist/chunks/{workspace-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-gv6a8nnw.js → form-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-h03wrkyp.js → form-h03wrkyp.js} +2 -2
- package/dist/chunks/{workspace-d9p82da7.js → form-h063bc46.js} +79 -79
- package/dist/chunks/{workspace-jyw04mjt.js → form-h0a58rb9.js} +43 -43
- package/dist/chunks/{workspace-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-t6ysqdka.js → form-hc71r317.js} +8 -8
- package/dist/chunks/{workspace-73tb2d7t.js → form-j028xdjb.js} +3 -3
- package/dist/chunks/{workspace-j56e64zr.js → form-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-qzz9148b.js → form-j8zm7c5e.js} +4 -4
- package/dist/chunks/{workspace-jppvw2tx.js → form-jppvw2tx.js} +2 -2
- package/dist/chunks/{workspace-wbkyxrgf.js → form-jv01nqvq.js} +5 -5
- package/dist/chunks/{workspace-45nxcmhf.js → form-jw1rkjx5.js} +3 -3
- package/dist/chunks/{workspace-t7g5bjrx.js → form-kex729ae.js} +13 -13
- package/dist/chunks/{workspace-xkqrdz3g.js → form-kfyzk7df.js} +290 -290
- package/dist/chunks/{workspace-f88c89hd.js → form-kjxk56xd.js} +20 -20
- package/dist/chunks/{workspace-5jvmve75.js → form-kjz94mhw.js} +4 -4
- package/dist/chunks/{workspace-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-qj8eh1ht.js → form-magykp64.js} +4 -4
- package/dist/chunks/{workspace-09pz1379.js → form-mahn52f6.js} +10 -10
- package/dist/chunks/{workspace-e53azfb2.js → form-mckgp5zd.js} +5 -5
- package/dist/chunks/{workspace-ferfvg3a.js → form-mdzm3s1n.js} +26 -26
- package/dist/chunks/{workspace-tkf802ad.js → form-me96najc.js} +148 -148
- package/dist/chunks/{workspace-dda0p7y7.js → form-mphgtbj1.js} +9 -9
- package/dist/chunks/{workspace-vq2k7p93.js → form-mpn4hqsh.js} +5 -5
- package/dist/chunks/{workspace-q3pp2a52.js → form-myebtmet.js} +19 -19
- package/dist/chunks/{workspace-nnsszj5x.js → form-n9zwszbz.js} +11 -11
- package/dist/chunks/{workspace-sj9fhhwe.js → form-nfnqtnrv.js} +9 -9
- package/dist/chunks/{workspace-prq7hedt.js → form-njhqdk9p.js} +9 -9
- package/dist/chunks/{workspace-hdkexvht.js → form-njkvqt0e.js} +30 -30
- package/dist/chunks/{workspace-1e30kv18.js → form-njz9ejr1.js} +28 -28
- package/dist/chunks/{workspace-50npgdc7.js → form-nm29pd5d.js} +7 -7
- package/dist/chunks/{workspace-1xvwk0cv.js → form-nqnvpjgb.js} +10 -10
- package/dist/chunks/{workspace-f7bq1znb.js → form-nt0cntaq.js} +4 -4
- package/dist/chunks/{workspace-3kcbdbqr.js → form-nvztqs8h.js} +43 -43
- package/dist/chunks/{workspace-5zrb9vnx.js → form-nwxvpf5q.js} +18 -18
- package/dist/chunks/{workspace-44h5tttr.js → form-nzyhnfxz.js} +4 -4
- package/dist/chunks/{workspace-23pqda6t.js → form-p0b4ytnr.js} +6 -6
- package/dist/chunks/{workspace-5yzzbxa7.js → form-p37cw4rj.js} +8 -8
- package/dist/chunks/{workspace-y6xm7141.js → form-p3pfb0eg.js} +13 -13
- package/dist/chunks/{workspace-3a8f6y3z.js → form-p605sn5x.js} +20 -20
- package/dist/chunks/{workspace-fcgp2376.js → form-pccga3by.js} +9 -9
- package/dist/chunks/{workspace-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-kmxp3hgp.js → form-pp7qxtmx.js} +33 -33
- package/dist/chunks/{workspace-4zm0bscy.js → form-px1chy1r.js} +5 -5
- package/dist/chunks/{workspace-7atvz750.js → form-pxs7xdf8.js} +11 -11
- package/dist/chunks/{workspace-zg7gaeyh.js → form-pzc50za5.js} +5 -5
- package/dist/chunks/{workspace-12e7zsym.js → form-q554ycqp.js} +3 -3
- package/dist/chunks/{workspace-8aa1j6tz.js → form-q5xvhvda.js} +6 -6
- package/dist/chunks/{workspace-8rjf33zh.js → form-q63062h2.js} +32 -32
- package/dist/chunks/{workspace-hxvthzq2.js → form-q64m8st2.js} +14 -14
- package/dist/chunks/{workspace-30ykn1ak.js → form-qcrknf4r.js} +27 -27
- package/dist/chunks/form-qdzyan6r.js +26 -0
- package/dist/chunks/{workspace-6ksxgt26.js → form-qfx5mycz.js} +13 -13
- package/dist/chunks/{workspace-tnvkd88y.js → form-qq0y10mb.js} +31 -31
- package/dist/chunks/{workspace-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-z3mt4md8.js → form-r1613th1.js} +25 -25
- package/dist/chunks/{workspace-hzp1jycy.js → form-r19xfkay.js} +13 -13
- package/dist/chunks/{workspace-rkdvqggb.js → form-r2jew814.js} +5 -5
- package/dist/chunks/{workspace-y6r56xpd.js → form-r3q6pmcz.js} +8 -8
- package/dist/chunks/{workspace-rhraev7y.js → form-r8xr0va3.js} +4 -4
- package/dist/chunks/{workspace-r9mregkx.js → form-r9mregkx.js} +2 -2
- package/dist/chunks/{workspace-0j6az8nh.js → form-ray0b3pm.js} +19 -19
- package/dist/chunks/{workspace-pdztc32c.js → form-rdeha5t8.js} +31 -31
- package/dist/chunks/{workspace-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-yyy8dy43.js → form-rnn39vbf.js} +14 -14
- package/dist/chunks/{workspace-qk9tkycn.js → form-rx9gwjsv.js} +10 -10
- package/dist/chunks/{workspace-kmz2sf4s.js → form-s2m3rc45.js} +20 -20
- package/dist/chunks/{workspace-h3nb86px.js → form-s4e34zx0.js} +25 -25
- package/dist/chunks/{workspace-9qv7zabc.js → form-saz9k09t.js} +9 -9
- package/dist/chunks/{workspace-pcjz9317.js → form-sg16g4sp.js} +6 -6
- package/dist/chunks/{workspace-ej0h82cb.js → form-smn8w5fw.js} +4 -4
- package/dist/chunks/{workspace-prvbm2dt.js → form-t7vjf41v.js} +35 -35
- package/dist/chunks/{workspace-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-89znhe33.js → form-tcezcvh9.js} +4 -4
- package/dist/chunks/{workspace-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-f2jvx8nr.js → form-tg6fsj70.js} +5 -5
- package/dist/chunks/{workspace-tvtrv512.js → form-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-v1faaxn9.js → form-v1faaxn9.js} +1 -1
- package/dist/chunks/{workspace-z5r7g7f5.js → form-v6bgmm6z.js} +11 -11
- package/dist/chunks/{workspace-ywg8wg6a.js → form-va1crcxs.js} +24 -24
- package/dist/chunks/{workspace-5f01x7n9.js → form-vd0wz1cw.js} +8 -8
- package/dist/chunks/{workspace-rf9y195e.js → form-vdsxw2st.js} +35 -35
- package/dist/chunks/{workspace-x9gmxsqr.js → form-vecw0n3r.js} +29 -29
- package/dist/chunks/{workspace-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-bct739vz.js → form-vncycja5.js} +4 -4
- package/dist/chunks/{workspace-xwwstvfa.js → form-vtry8cvx.js} +9 -9
- package/dist/chunks/{workspace-e1hrzsan.js → form-vvza37g4.js} +12 -12
- package/dist/chunks/{workspace-z7ss4npn.js → form-vww7ttk4.js} +5 -5
- package/dist/chunks/{workspace-vzcthcp8.js → form-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-006r7eq0.js → form-w227x3vc.js} +35 -35
- package/dist/chunks/{workspace-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-eeaf82dq.js → form-w49382pb.js} +8 -8
- package/dist/chunks/{workspace-w7chzwtb.js → form-w7fzs9qk.js} +20 -20
- package/dist/chunks/{workspace-8nzjjcv6.js → form-w7gxyz39.js} +15 -15
- package/dist/chunks/{workspace-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-1bwttn16.js → form-wg2twdrw.js} +11 -11
- package/dist/chunks/{workspace-j23gdmwr.js → form-wn153y2n.js} +4 -4
- package/dist/chunks/{workspace-zb3p66an.js → form-wre2kbs2.js} +18 -18
- package/dist/chunks/{workspace-x1ezjp6w.js → form-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-nqbxdrg1.js → form-xa5rtzqw.js} +18 -18
- package/dist/chunks/{workspace-xfkkasph.js → form-xfkkasph.js} +1 -1
- package/dist/chunks/{workspace-1mk85yvc.js → form-xg6b0g27.js} +8 -8
- package/dist/chunks/{workspace-pnv527nz.js → form-xk747vep.js} +5 -5
- package/dist/chunks/{workspace-81n4387y.js → form-xxqeaexg.js} +4 -4
- package/dist/chunks/{workspace-h04b1w3t.js → form-y08pppv8.js} +16 -16
- package/dist/chunks/{workspace-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-dpkg50ah.js → form-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-yrhqyw5v.js → form-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → form-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-hkfg6fzm.js → form-yt0fqk68.js} +5 -5
- package/dist/chunks/{workspace-psgps3dv.js → form-yw2erdgw.js} +33 -33
- package/dist/chunks/{workspace-1d95ekjq.js → form-ywk6qw3f.js} +9 -9
- package/dist/chunks/{workspace-s8amfvzn.js → form-yxryw68f.js} +66 -66
- package/dist/chunks/{workspace-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-z63w68vq.js → form-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-zeh9ct20.js → form-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-b4xn4rcy.js → form-zh59mys5.js} +8 -8
- package/dist/chunks/{workspace-3a9k9ry6.js → form-zmf4yxek.js} +11 -11
- package/dist/chunks/{workspace-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-tpv4qbm3.js → form-zs8gzsxx.js} +27 -27
- package/dist/chunks/{workspace-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- 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 +78 -78
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +212 -212
- 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 +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +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 +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -103
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- 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 +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- 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 +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- 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 +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +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 +119 -119
- 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 +75 -75
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- 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 +146 -146
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- 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 +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +154 -154
- 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 +208 -208
- 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 +4 -4
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +125 -125
- package/dist/tool/plugin/edit.js +115 -115
- 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 +119 -119
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +86 -86
- package/dist/websearch.js +83 -83
- 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 +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +84 -84
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/workspace-jeys3fam.js +0 -247
- package/dist/chunks/workspace-xxgc1rvg.js +0 -26
- /package/dist/chunks/{workspace-0mesazry.js → form-0mesazry.js} +0 -0
- /package/dist/chunks/{workspace-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → form-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5qd3pb7m.js → form-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → form-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → form-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → form-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → form-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → form-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → form-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service54,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node57
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service54 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service54.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node57 = makeLocationNode({
|
|
143
|
+
service: Service54,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service54, node57, exports_tool_output2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./form-yw2erdgw.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
Service74
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-ahgmes2r.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service61
|
|
8
|
+
} from "./form-5nae8tex.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-d7702bf7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service69
|
|
14
|
+
} from "./form-5cecdezf.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
17
|
Service71
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-gcdm2p5s.js";
|
|
19
19
|
import {
|
|
20
20
|
Service22
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-h063bc46.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make10
|
|
27
|
+
} from "./form-saz9k09t.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Output: () => Output2,
|
|
37
|
+
Plugin: () => Plugin2,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description2,
|
|
40
|
+
name: () => name2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name2 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input2 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input3 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output2 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description2 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description3 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin2 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
83
|
const sessions = yield* Service22;
|
|
84
|
-
const jobs = yield*
|
|
84
|
+
const jobs = yield* Service69;
|
|
85
85
|
const agents = yield* Service74;
|
|
86
|
-
const config = yield*
|
|
86
|
+
const config = yield* Service61;
|
|
87
87
|
const permission = yield* Service71;
|
|
88
|
-
const subagents = yield*
|
|
88
|
+
const subagents = yield* make10;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name2,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description2,
|
|
93
|
+
input: Input2,
|
|
94
|
+
output: Output2,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin17 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name2,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin17 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID14.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
const hook = (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name2];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -207,4 +207,4 @@ ${output.output}
|
|
|
207
207
|
})
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
export {
|
|
210
|
+
export { name2, Input2, Output2, description2, Plugin2, exports_subagent };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service53,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node56
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service53 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service53, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service53.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service40, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node56 = makeGlobalNode({ service: Service53, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service53, node56, exports_environment };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./form-0c8rzwj9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./form-584rndta.js";
|
|
7
7
|
import {
|
|
8
8
|
Error2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-ech5h453.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./form-vvza37g4.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-837hypdd.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-j8zm7c5e.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./form-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-sg16g4sp.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./form-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make8
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make8 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service81;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service46;
|
|
58
|
+
const toolOutput = yield* Service54;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make8, exports_step };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-eaj1djv9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID11,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service70,
|
|
13
|
+
node74
|
|
14
|
+
} from "./form-5nthzge1.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
20
|
+
var exports_instructions3 = {};
|
|
21
|
+
__export(exports_instructions3, {
|
|
22
22
|
Service: () => Service26,
|
|
23
|
-
SkillInstructions: () =>
|
|
23
|
+
SkillInstructions: () => exports_instructions3,
|
|
24
24
|
node: () => node29
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID11,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -63,14 +63,14 @@ var update = (previous, current) => {
|
|
|
63
63
|
class Service26 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
65
|
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
66
|
-
const skills = yield*
|
|
66
|
+
const skills = yield* Service70;
|
|
67
67
|
return Service26.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
73
|
+
return make21({
|
|
74
74
|
key: Key4.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var node29 = makeLocationNode({ service: Service26, layer, deps: [
|
|
86
|
+
var node29 = makeLocationNode({ service: Service26, layer, deps: [node74] });
|
|
87
87
|
|
|
88
|
-
export { Service26, node29,
|
|
88
|
+
export { Service26, node29, exports_instructions3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./form-5nae8tex.js";
|
|
4
4
|
import {
|
|
5
5
|
Service34
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-58d8ceg3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin24,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin24 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service61;
|
|
28
28
|
const mcp = yield* Service34;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin24, register2, exports_mcp };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./form-crygsd6q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service57;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./form-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service57,
|
|
8
|
+
node60
|
|
9
|
+
} from "./form-crygsd6q.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service51,
|
|
24
|
+
node: () => node54
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service51 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service57;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service51.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node54 = makeLocationNode({ service: Service51, layer, deps: [node60, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service51, node54, exports_ripgrep };
|