@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,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service71
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-gcdm2p5s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID11,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service70
|
|
10
|
+
} from "./form-5nthzge1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input10,
|
|
19
|
+
Output: () => Output8,
|
|
20
|
+
Plugin: () => Plugin12,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name10,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name10 = "skill";
|
|
30
|
+
var Input10 = Schema.Struct({
|
|
31
|
+
id: ID11.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output8 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description2 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin12 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
50
|
+
const skills = yield* Service70;
|
|
51
51
|
const permission = yield* Service71;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name10,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input10,
|
|
57
|
+
output: Output8,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name10,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin16 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name10, Input10, Output8, description3, toModelOutput2, Plugin12, exports_skill };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service29,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node32
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -359,11 +359,11 @@ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* ()
|
|
|
359
359
|
}, { discard: true });
|
|
360
360
|
});
|
|
361
361
|
yield* Effect.addFinalizer(() => closeAll);
|
|
362
|
-
return
|
|
362
|
+
return Service29.of({ bind, close, closeAll });
|
|
363
363
|
}));
|
|
364
|
-
var
|
|
364
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
365
365
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
366
366
|
})));
|
|
367
|
-
var
|
|
367
|
+
var node32 = makeGlobalNode({ service: Service29, layer: layer12, deps: [webSocketConstructor2] });
|
|
368
368
|
|
|
369
|
-
export {
|
|
369
|
+
export { Service29, makeLayer2, layer12, node32, exports_model_transport };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./form-3c1tgrea.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-v1faaxn9.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-837hypdd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service70
|
|
12
|
+
} from "./form-5nthzge1.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-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* Service41;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service70), 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,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./form-7s2t5wav.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service30,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service30 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service82;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service30.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node33 = makeLocationNode({ service: Service30, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node33, exports_instruction_entry };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./form-y08pppv8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./form-crygsd6q.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service51
|
|
15
|
+
} from "./form-wre2kbs2.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry2
|
|
21
|
+
} from "./form-1py910mb.js";
|
|
22
22
|
import {
|
|
23
23
|
Service71
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-gcdm2p5s.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service60
|
|
27
|
+
} from "./form-dpxmc42p.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input7,
|
|
37
|
+
Output: () => Output6,
|
|
38
|
+
Plugin: () => Plugin9,
|
|
39
|
+
name: () => name7,
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name7 = "glob";
|
|
46
|
+
var Input7 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output6 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin9 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
69
|
+
const environment = yield* Service57;
|
|
70
|
+
const ripgrep = yield* Service51;
|
|
71
|
+
const location = yield* Service76;
|
|
72
|
+
const access = yield* Service60;
|
|
73
73
|
const permission = yield* Service71;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name7,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input7,
|
|
79
|
+
output: Output6,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name7,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,18 +111,18 @@ var Plugin21 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry2.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name7, Input7, Output6, toModelContent5, Plugin9, exports_glob };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info15
|
|
7
|
+
} from "./form-magykp64.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info12
|
|
10
|
+
} from "./form-ep6z9mt6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info20
|
|
13
|
+
} from "./form-2qp6y8xf.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info16
|
|
16
|
+
} from "./form-b27vhd2z.js";
|
|
17
17
|
import {
|
|
18
18
|
Info13
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-2y34zzjz.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./form-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info19
|
|
25
|
+
} from "./form-p0b4ytnr.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info17
|
|
28
|
+
} from "./form-yt0fqk68.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./form-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info18
|
|
34
|
+
} from "./form-jv01nqvq.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./form-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info14
|
|
40
|
+
} from "./form-vncycja5.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./form-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: () => Info11,
|
|
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 Info11 = 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, Info16)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info14).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,33 +113,33 @@ 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(Info12), plan: Schema.optional(Info12) }), [Schema.Record(Schema.String, Info12)])).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(Info12),
|
|
119
|
+
build: Schema.optional(Info12),
|
|
120
|
+
general: Schema.optional(Info12),
|
|
121
|
+
explore: Schema.optional(Info12),
|
|
122
|
+
title: Schema.optional(Info12),
|
|
123
|
+
summary: Schema.optional(Info12),
|
|
124
|
+
compaction: Schema.optional(Info12)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info12)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info17, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
130
|
formatter: Schema.optional(Info13).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
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info19).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
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(Info15),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info20).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, Info11, exports_config2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./form-y08pppv8.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./form-5nae8tex.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service14
|
|
10
|
+
} from "./form-fy873rr3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make3
|
|
13
|
+
} from "./form-j028xdjb.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin19
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin19 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service61;
|
|
37
|
+
const formatter = yield* Service14;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service76;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin34 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make3({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin34 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin19, exports_formatter };
|