@opencode/core 0.0.0-dev-19669 → 0.0.0-dev-19671
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 +76 -76
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{config-hsp0jww6.js → workspace-006r7eq0.js} +32 -32
- package/dist/chunks/{config-eaj1djv9.js → workspace-02nrjc1r.js} +4 -4
- package/dist/chunks/{config-v51c9181.js → workspace-08v4tsfk.js} +22 -22
- package/dist/chunks/{config-4f88ejm2.js → workspace-09pz1379.js} +10 -10
- package/dist/chunks/{config-7djp59xp.js → workspace-0h6yxmx8.js} +19 -19
- package/dist/chunks/{config-vqh7t5vg.js → workspace-0j6az8nh.js} +17 -17
- package/dist/chunks/{config-d935dh1a.js → workspace-0je2hj77.js} +22 -22
- package/dist/chunks/{config-97z6t3tg.js → workspace-0jejkkqb.js} +21 -21
- package/dist/chunks/workspace-0mesazry.js +4 -0
- package/dist/chunks/{config-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-2ddykbk5.js → workspace-0pay1wft.js} +15 -15
- package/dist/chunks/{config-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-trjvf7gb.js → workspace-0tkcw078.js} +90 -90
- package/dist/chunks/{config-5ef5jth6.js → workspace-10ptdfmd.js} +19 -19
- package/dist/chunks/{config-mb18hxf9.js → workspace-12e7zsym.js} +3 -3
- package/dist/chunks/{config-at1kfnmk.js → workspace-166kng33.js} +8 -8
- package/dist/chunks/{config-q4vxcq8z.js → workspace-1bwttn16.js} +10 -10
- package/dist/chunks/{config-ktzck27w.js → workspace-1d95ekjq.js} +9 -9
- package/dist/chunks/{config-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-trjyp1t4.js → workspace-1e30kv18.js} +25 -25
- package/dist/chunks/{config-j8b2fvbr.js → workspace-1mk85yvc.js} +8 -8
- package/dist/chunks/{config-vjmn77es.js → workspace-1t6ktrk6.js} +4 -4
- package/dist/chunks/{config-573twbq1.js → workspace-1xvwk0cv.js} +10 -10
- package/dist/chunks/{config-1ygqh575.js → workspace-1ygqh575.js} +2 -2
- package/dist/chunks/{config-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{config-cpy6gm2a.js → workspace-23pqda6t.js} +6 -6
- package/dist/chunks/{config-6h73sxmp.js → workspace-2402vzrj.js} +5 -5
- package/dist/chunks/{config-cbakr6h8.js → workspace-24qy9tjq.js} +3 -3
- package/dist/chunks/{config-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-7z7az0f5.js → workspace-2evyaa68.js} +4 -4
- package/dist/chunks/{config-axz21er9.js → workspace-2rmd4dmq.js} +17 -17
- package/dist/chunks/{config-t3saz5jn.js → workspace-30ykn1ak.js} +25 -25
- package/dist/chunks/{config-23zcgvwt.js → workspace-389m4hvq.js} +10 -10
- package/dist/chunks/{config-3tcwt8xv.js → workspace-3a8f6y3z.js} +21 -21
- package/dist/chunks/{config-ed0becjx.js → workspace-3a9k9ry6.js} +11 -11
- package/dist/chunks/{config-022zszfk.js → workspace-3c4e3q8d.js} +4 -4
- package/dist/chunks/{config-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-b3kwjq0f.js → workspace-3kcbdbqr.js} +44 -44
- package/dist/chunks/{config-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-9yj167tz.js → workspace-3v2xyvmb.js} +25 -25
- package/dist/chunks/{config-qqzkbgts.js → workspace-434vz9hf.js} +28 -28
- package/dist/chunks/{config-nzyhnfxz.js → workspace-44h5tttr.js} +4 -4
- package/dist/chunks/{config-knb7evpn.js → workspace-44ke2mar.js} +2 -2
- package/dist/chunks/{config-7eyqb4zv.js → workspace-45nxcmhf.js} +3 -3
- package/dist/chunks/{config-kcdh3xhs.js → workspace-4948km78.js} +25 -25
- package/dist/chunks/{config-4jc5c4h4.js → workspace-4jc5c4h4.js} +1 -1
- package/dist/chunks/{config-2jhp5w19.js → workspace-4kc33j5f.js} +5 -5
- package/dist/chunks/{config-62pgy11b.js → workspace-4rq3593v.js} +12 -12
- package/dist/chunks/{config-sk1cx54q.js → workspace-4zm0bscy.js} +5 -5
- package/dist/chunks/{config-acxx0f6f.js → workspace-50npgdc7.js} +7 -7
- package/dist/chunks/{config-m7507t3w.js → workspace-51rvfzgv.js} +9 -9
- package/dist/chunks/{config-cqhx78hs.js → workspace-54kwzzdq.js} +22 -22
- package/dist/chunks/{config-rhydpgac.js → workspace-557bzdk7.js} +16 -16
- package/dist/chunks/{config-57ez7d0k.js → workspace-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-a1bz86dw.js → workspace-5c4hm403.js} +3 -3
- package/dist/chunks/{config-5s1182jw.js → workspace-5cf6kvbj.js} +4 -4
- package/dist/chunks/{config-2f04pwep.js → workspace-5cmxdwv8.js} +2 -2
- package/dist/chunks/{config-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{config-hgq0066q.js → workspace-5dsd369z.js} +40 -40
- package/dist/chunks/{config-1bsncdvr.js → workspace-5f01x7n9.js} +11 -11
- package/dist/chunks/{config-77cm6sad.js → workspace-5jvmve75.js} +4 -4
- package/dist/chunks/{config-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-jw4a8xw7.js → workspace-5yknvxxj.js} +5 -5
- package/dist/chunks/{config-9hn6k4tm.js → workspace-5yzzbxa7.js} +8 -8
- package/dist/chunks/{config-e11g34hw.js → workspace-5zrb9vnx.js} +9 -9
- package/dist/chunks/{config-sjf3tctt.js → workspace-607q5haz.js} +12 -12
- package/dist/chunks/{config-rq184jbh.js → workspace-649s63jv.js} +15 -15
- package/dist/chunks/{config-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{config-ycwsxkae.js → workspace-6drfangj.js} +11 -11
- package/dist/chunks/{config-naab3paw.js → workspace-6e9fymwp.js} +23 -23
- package/dist/chunks/{config-at1586db.js → workspace-6gbsgjdw.js} +24 -24
- package/dist/chunks/{config-t67qj5tr.js → workspace-6ksxgt26.js} +13 -13
- package/dist/chunks/{config-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-eq1pz5kg.js → workspace-73tb2d7t.js} +3 -3
- package/dist/chunks/{config-5kyjgc7f.js → workspace-7atvz750.js} +16 -16
- package/dist/chunks/{config-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-6dckxdxh.js → workspace-7pxsyzj5.js} +11 -11
- package/dist/chunks/{config-r3e0j0q4.js → workspace-81n4387y.js} +4 -4
- package/dist/chunks/{config-tcezcvh9.js → workspace-89znhe33.js} +4 -4
- package/dist/chunks/{config-2a7hagjp.js → workspace-8aa1j6tz.js} +6 -6
- package/dist/chunks/{config-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-7g0vxfav.js → workspace-8fdhqt0h.js} +20 -20
- package/dist/chunks/{config-wzv49nq8.js → workspace-8nzjjcv6.js} +18 -18
- package/dist/chunks/{config-k0426t5b.js → workspace-8rjf33zh.js} +32 -32
- package/dist/chunks/{config-9wjn16bc.js → workspace-8yydsbjd.js} +31 -31
- package/dist/chunks/{config-g7h0cpxk.js → workspace-91ps8d76.js} +11 -11
- package/dist/chunks/{config-nr24wn3c.js → workspace-9kg9e0a0.js} +16 -16
- package/dist/chunks/{config-0q9emmhb.js → workspace-9qv7zabc.js} +8 -8
- package/dist/chunks/{config-580ke28x.js → workspace-9t6hs79b.js} +27 -27
- package/dist/chunks/{config-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{config-th32f3de.js → workspace-ae2ae2h2.js} +11 -11
- package/dist/chunks/{config-hdthj1pw.js → workspace-akrnn5pm.js} +8 -8
- package/dist/chunks/{config-4yb3spsd.js → workspace-aspr6ja0.js} +47 -47
- package/dist/chunks/{config-6ny01ear.js → workspace-b2gph9tb.js} +20 -20
- package/dist/chunks/{config-6cc51h1n.js → workspace-b4xn4rcy.js} +5 -5
- package/dist/chunks/{config-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-bf0ztrs3.js → workspace-bct739vz.js} +4 -4
- package/dist/chunks/{config-4z4hjfg8.js → workspace-bkr2fd2q.js} +15 -15
- package/dist/chunks/{config-k5w8kmw2.js → workspace-bsjctv6r.js} +12 -12
- package/dist/chunks/{config-t51dyfnn.js → workspace-cs2qrq3p.js} +2 -2
- package/dist/chunks/{config-2sejkfem.js → workspace-cwa6csj7.js} +9 -9
- package/dist/chunks/{config-3z6jr724.js → workspace-d9p82da7.js} +91 -91
- package/dist/chunks/{config-eye44qas.js → workspace-dda0p7y7.js} +9 -9
- package/dist/chunks/{config-zbvzapc7.js → workspace-dfxnf82f.js} +20 -20
- package/dist/chunks/{config-8p4f9s12.js → workspace-dj2t23y0.js} +2 -2
- package/dist/chunks/{config-y71avatq.js → workspace-dpkg50ah.js} +4 -4
- package/dist/chunks/{config-f3ebq5cb.js → workspace-drpagt64.js} +15 -15
- package/dist/chunks/{config-4q2pb1pk.js → workspace-e1hrzsan.js} +12 -12
- package/dist/chunks/{config-y16t6rzn.js → workspace-e53azfb2.js} +5 -5
- package/dist/chunks/{config-ms93yq6r.js → workspace-eeaf82dq.js} +8 -8
- package/dist/chunks/{config-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-0aktgs08.js → workspace-ej0h82cb.js} +4 -4
- package/dist/chunks/{config-6jk8pndw.js → workspace-escah170.js} +37 -37
- package/dist/chunks/{config-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-25xmm7zn.js → workspace-f2jvx8nr.js} +5 -5
- package/dist/chunks/{config-dyacsyaw.js → workspace-f5qnaxd5.js} +30 -30
- package/dist/chunks/{config-c9bzb77z.js → workspace-f7bq1znb.js} +4 -4
- package/dist/chunks/{config-z8ejak9q.js → workspace-f88c89hd.js} +17 -17
- package/dist/chunks/{config-9pyv24s2.js → workspace-fcgp2376.js} +9 -9
- package/dist/chunks/{config-e4wacjjh.js → workspace-ferfvg3a.js} +22 -22
- package/dist/chunks/{config-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-hz2kr7wq.js → workspace-g2qgxg4m.js} +18 -18
- package/dist/chunks/{config-1hvh8taj.js → workspace-g69v9spt.js} +6 -6
- package/dist/chunks/{config-zg6vdfjp.js → workspace-g8q03ywc.js} +8 -8
- package/dist/chunks/{config-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-643ds8g6.js → workspace-ghgqqbaf.js} +21 -21
- package/dist/chunks/{config-hwwdvv3e.js → workspace-gn8pj1cn.js} +22 -22
- package/dist/chunks/{config-vbgyqf84.js → workspace-gt1wmh2m.js} +24 -24
- package/dist/chunks/{config-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-9ve2a8aw.js → workspace-gwn8k4wf.js} +7 -7
- package/dist/chunks/{config-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
- package/dist/chunks/{config-9g708cjc.js → workspace-h04b1w3t.js} +14 -14
- package/dist/chunks/{config-6z3nc3kn.js → workspace-h1wksrsc.js} +39 -39
- package/dist/chunks/{config-35h9s572.js → workspace-h3nb86px.js} +32 -32
- package/dist/chunks/{config-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-yqt7txvq.js → workspace-haw093k4.js} +17 -17
- package/dist/chunks/{config-6g88tbc4.js → workspace-hcersndf.js} +3 -3
- package/dist/chunks/{config-41ctmhx5.js → workspace-hdkexvht.js} +27 -27
- package/dist/chunks/{config-f828m53h.js → workspace-hdnk95c8.js} +2 -2
- package/dist/chunks/{config-cq78gtc7.js → workspace-hhw162s6.js} +46 -46
- package/dist/chunks/{config-h5pvq839.js → workspace-hjf5bpgq.js} +9 -9
- package/dist/chunks/{config-7gvwkz6m.js → workspace-hkfg6fzm.js} +5 -5
- package/dist/chunks/{config-433n4zsv.js → workspace-hmdanemn.js} +8 -8
- package/dist/chunks/{config-7fvqwmd1.js → workspace-hnakerc1.js} +7 -7
- package/dist/chunks/{config-5qzcfh3p.js → workspace-hp7ncmkz.js} +27 -27
- package/dist/chunks/{config-hzaycprp.js → workspace-hq5yce46.js} +8 -8
- package/dist/chunks/{config-bq5bs9zh.js → workspace-hvaems8d.js} +21 -21
- package/dist/chunks/{config-dfz1gvsg.js → workspace-hvestmgn.js} +18 -18
- package/dist/chunks/{config-92cf61v4.js → workspace-hvy7stfb.js} +27 -27
- package/dist/chunks/{config-zdnme1nw.js → workspace-hxvthzq2.js} +16 -16
- package/dist/chunks/{config-f3f181tw.js → workspace-hzp1jycy.js} +13 -13
- package/dist/chunks/{config-svpps34m.js → workspace-j23gdmwr.js} +4 -4
- package/dist/chunks/{config-sx9t6843.js → workspace-j42rmye3.js} +23 -23
- package/dist/chunks/{config-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{config-ezcdrrzq.js → workspace-jd18ee23.js} +6 -6
- package/dist/chunks/workspace-jeys3fam.js +247 -0
- package/dist/chunks/{config-k3gnzxs0.js → workspace-jppvw2tx.js} +5 -5
- package/dist/chunks/{config-9sbp0fay.js → workspace-jycbwh61.js} +13 -13
- package/dist/chunks/{config-9qts6h7q.js → workspace-jyw04mjt.js} +23 -23
- package/dist/chunks/{config-nvjaav7c.js → workspace-k1qjy3je.js} +12 -12
- package/dist/chunks/{config-14m7ayrf.js → workspace-k3a5zdqs.js} +15 -15
- package/dist/chunks/{config-75z9d89n.js → workspace-kcfwfgb0.js} +9 -9
- package/dist/chunks/{config-jkeb6b4x.js → workspace-kha6mgrg.js} +6 -6
- package/dist/chunks/{config-qpce9gs2.js → workspace-kmxp3hgp.js} +32 -32
- package/dist/chunks/{config-vj0cjykb.js → workspace-kmz2sf4s.js} +21 -21
- package/dist/chunks/{config-cfpkc3c9.js → workspace-m0jqrx5p.js} +2 -2
- package/dist/chunks/{config-sqbhyrg9.js → workspace-m9rx6d56.js} +6 -6
- package/dist/chunks/{config-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-7q7pbdx1.js → workspace-mksgfzgs.js} +8 -8
- package/dist/chunks/{config-e5zqv42s.js → workspace-mpwwdxs9.js} +47 -47
- package/dist/chunks/{config-msmw8652.js → workspace-n3s6mywg.js} +18 -18
- package/dist/chunks/{config-3hjq4k9b.js → workspace-n4761yre.js} +37 -37
- package/dist/chunks/{config-gst7axd9.js → workspace-n4r3xatb.js} +4 -4
- package/dist/chunks/{config-cz7a148r.js → workspace-nf6rxady.js} +15 -15
- package/dist/chunks/{config-ngz4ns8d.js → workspace-ngz4ns8d.js} +1 -1
- package/dist/chunks/{config-2ra6th8z.js → workspace-nhg4bpe2.js} +19 -19
- package/dist/chunks/{config-dnt2jfde.js → workspace-nnsszj5x.js} +10 -10
- package/dist/chunks/{config-j7rm3apw.js → workspace-npdm8rka.js} +6 -6
- package/dist/chunks/{config-68erpj5b.js → workspace-nqbxdrg1.js} +18 -18
- package/dist/chunks/{config-gys2qmg6.js → workspace-nxnh93vj.js} +23 -23
- package/dist/chunks/{config-kh83n6qb.js → workspace-p0fws796.js} +3 -3
- package/dist/chunks/{config-e5vn354j.js → workspace-pcjz9317.js} +6 -6
- package/dist/chunks/{config-9fhefhqa.js → workspace-pdztc32c.js} +34 -34
- package/dist/chunks/{config-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{config-nq7qbqzc.js → workspace-pnv527nz.js} +9 -9
- package/dist/chunks/{config-pcz6j2yq.js → workspace-pr5m8t29.js} +11 -11
- package/dist/chunks/{config-6hjx5zpb.js → workspace-prq7hedt.js} +9 -9
- package/dist/chunks/{config-h64w4zg1.js → workspace-prvbm2dt.js} +33 -33
- package/dist/chunks/{config-drvanad6.js → workspace-psgps3dv.js} +30 -30
- package/dist/chunks/{config-518q18qe.js → workspace-q1a6wtse.js} +56 -56
- package/dist/chunks/{config-6pfh26f2.js → workspace-q3pp2a52.js} +17 -17
- package/dist/chunks/{config-zwx2vm5j.js → workspace-q84t20hj.js} +9 -9
- package/dist/chunks/{config-7dqw4kz8.js → workspace-qgn6gcr1.js} +5 -5
- package/dist/chunks/{config-msq47qdw.js → workspace-qhetmh9m.js} +34 -34
- package/dist/chunks/{config-f3ngv102.js → workspace-qj8eh1ht.js} +4 -4
- package/dist/chunks/{config-0agk43sa.js → workspace-qk9tkycn.js} +10 -10
- package/dist/chunks/{config-nhag9533.js → workspace-qre22asr.js} +20 -20
- package/dist/chunks/{config-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{config-1e147r25.js → workspace-qzz9148b.js} +4 -4
- package/dist/chunks/{config-r9mregkx.js → workspace-r9mregkx.js} +2 -2
- package/dist/chunks/{config-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-bebye3jc.js → workspace-recbs16k.js} +14 -14
- package/dist/chunks/{config-k5mz3qne.js → workspace-rf9y195e.js} +35 -35
- package/dist/chunks/{config-f2n192rq.js → workspace-rhraev7y.js} +4 -4
- package/dist/chunks/{config-fepbnb8j.js → workspace-rkdvqggb.js} +5 -5
- package/dist/chunks/{config-qa3qhgw8.js → workspace-ryr25ayn.js} +4 -4
- package/dist/chunks/{config-v3vssvcb.js → workspace-s1nnrw4q.js} +6 -6
- package/dist/chunks/{config-xkdyfc71.js → workspace-s8amfvzn.js} +67 -67
- package/dist/chunks/{config-wf6wyyhn.js → workspace-sb006p00.js} +33 -33
- package/dist/chunks/{config-rf27w06z.js → workspace-sh2f9rg6.js} +15 -15
- package/dist/chunks/{config-x0e6qwje.js → workspace-sj9fhhwe.js} +14 -14
- package/dist/chunks/{config-sax4e3n0.js → workspace-smnrra21.js} +40 -40
- package/dist/chunks/{config-yz41ghh5.js → workspace-snpzy104.js} +11 -11
- package/dist/chunks/{config-2y34zzjz.js → workspace-sv3vsz9b.js} +5 -5
- package/dist/chunks/{config-mwc4n0sc.js → workspace-t4s2v6tf.js} +32 -32
- package/dist/chunks/{config-9ajsxzhb.js → workspace-t5bshydd.js} +41 -41
- package/dist/chunks/{config-k7cgkg0j.js → workspace-t6ysqdka.js} +8 -8
- package/dist/chunks/{config-c3sp0kct.js → workspace-t7g5bjrx.js} +13 -13
- package/dist/chunks/{config-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{config-d73de1xr.js → workspace-tkf802ad.js} +167 -167
- package/dist/chunks/{config-tn0aqsam.js → workspace-tn0aqsam.js} +2 -2
- package/dist/chunks/{config-4kdn5gsy.js → workspace-tnvkd88y.js} +31 -31
- package/dist/chunks/{config-c6cyd0ya.js → workspace-tpv4qbm3.js} +27 -27
- package/dist/chunks/{config-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{config-cytean4k.js → workspace-twghd58z.js} +11 -11
- package/dist/chunks/workspace-v1faaxn9.js +18 -0
- package/dist/chunks/{config-05c3m733.js → workspace-v62hna1q.js} +11 -11
- package/dist/chunks/{config-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{config-ndqvy1j6.js → workspace-vm5tazhg.js} +10 -10
- package/dist/chunks/{config-s8610hey.js → workspace-vmgq4x8b.js} +2 -2
- package/dist/chunks/{config-7p797550.js → workspace-vmwh049b.js} +3 -3
- package/dist/chunks/{config-462gqw78.js → workspace-vq2k7p93.js} +5 -5
- package/dist/chunks/{config-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vkt5fbj2.js → workspace-w1ad28wa.js} +8 -8
- package/dist/chunks/{config-w1k39n5e.js → workspace-w1k39n5e.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-45pswbny.js → workspace-w6qfgxh1.js} +1 -1
- package/dist/chunks/{config-jmss0gwv.js → workspace-w7chzwtb.js} +17 -17
- package/dist/chunks/{config-64md96fj.js → workspace-w97vtpxb.js} +1 -1
- package/dist/chunks/{config-wbkyxrgf.js → workspace-wbkyxrgf.js} +2 -2
- package/dist/chunks/{config-hq4e2gtc.js → workspace-wbwz8t9g.js} +8 -8
- package/dist/chunks/{config-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{config-5kq55603.js → workspace-ws71cwg0.js} +20 -20
- package/dist/chunks/{config-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-7ggebw46.js → workspace-x9gmxsqr.js} +27 -27
- package/dist/chunks/{config-drwq78ky.js → workspace-xfkkasph.js} +4 -4
- package/dist/chunks/{config-xjanr18p.js → workspace-xkqrdz3g.js} +289 -289
- package/dist/chunks/{config-sr5r393q.js → workspace-xtqb0ezk.js} +34 -34
- package/dist/chunks/{config-kt93bk96.js → workspace-xwwstvfa.js} +9 -9
- package/dist/chunks/workspace-xxgc1rvg.js +26 -0
- package/dist/chunks/{config-m9gksh9z.js → workspace-xycdmsp4.js} +17 -17
- package/dist/chunks/{config-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-z2qvtray.js → workspace-y6r56xpd.js} +6 -6
- package/dist/chunks/{config-grjd9chs.js → workspace-y6xm7141.js} +13 -13
- package/dist/chunks/{config-ph57x98w.js → workspace-yb45ra6v.js} +11 -11
- package/dist/chunks/{config-p7a39gy5.js → workspace-ycjb11n5.js} +6 -6
- package/dist/chunks/{config-s0bwfe95.js → workspace-ydqn5d54.js} +22 -22
- package/dist/chunks/{config-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{config-83eqs40m.js → workspace-ywg8wg6a.js} +20 -20
- package/dist/chunks/{config-c228mxvk.js → workspace-yyy8dy43.js} +14 -14
- package/dist/chunks/{config-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-rbqrbcat.js → workspace-z3mt4md8.js} +27 -27
- package/dist/chunks/{config-6p9taxy6.js → workspace-z5r7g7f5.js} +8 -8
- package/dist/chunks/{config-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{config-k231vryy.js → workspace-z7ss4npn.js} +5 -5
- package/dist/chunks/{config-7mb7swr5.js → workspace-z9pg7np5.js} +32 -32
- package/dist/chunks/{config-afrna9dt.js → workspace-zb3p66an.js} +17 -17
- package/dist/chunks/{config-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-v50j8aqv.js → workspace-zg7gaeyh.js} +5 -5
- package/dist/chunks/{config-vqtbthnm.js → workspace-zhqwkags.js} +17 -17
- package/dist/chunks/{config-36nc0mh0.js → workspace-zm0p8k8r.js} +33 -33
- package/dist/chunks/{config-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-e76gvstb.js → workspace-zv0s4bhn.js} +18 -18
- package/dist/chunks/{config-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +120 -120
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- 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 +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +69 -69
- 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 +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +131 -131
- 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 +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- 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 +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +98 -98
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +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 +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- 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 +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +151 -151
- 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 +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- 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 +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- 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 +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- 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 +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +123 -123
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +2 -2
- 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 +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/config-1x11rq2a.js +0 -18
- package/dist/chunks/config-gbadjzag.js +0 -4
- package/dist/chunks/config-jmfp9j8q.js +0 -247
- package/dist/chunks/config-x8cxx485.js +0 -26
- /package/dist/chunks/{config-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-hq5yce46.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service69,
|
|
11
|
+
node73
|
|
12
|
+
} from "./workspace-8yydsbjd.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service78,
|
|
15
|
+
node82
|
|
16
|
+
} from "./workspace-h04b1w3t.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service55,
|
|
19
19
|
node58
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-qre22asr.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID12,
|
|
23
|
+
Service70,
|
|
24
|
+
node74
|
|
25
|
+
} from "./workspace-ghgqqbaf.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service68,
|
|
34
|
+
node72
|
|
35
|
+
} from "./workspace-1e30kv18.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./workspace-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service34,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured3,
|
|
57
|
+
layer: () => layer14,
|
|
58
|
+
node: () => node37
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -92,21 +92,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
92
92
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
93
93
|
var cloneConfig = (config) => structuredClone(config);
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Options3 = Schema.Struct({
|
|
98
98
|
clientInfo: Schema.optional(Schema.Struct({
|
|
99
99
|
name: Schema.String,
|
|
100
100
|
version: Schema.String
|
|
101
101
|
}))
|
|
102
102
|
});
|
|
103
|
-
var
|
|
104
|
-
const location = yield*
|
|
105
|
-
const environment = yield*
|
|
103
|
+
var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
104
|
+
const location = yield* Service78;
|
|
105
|
+
const environment = yield* Service55;
|
|
106
106
|
const bus = yield* Service80;
|
|
107
|
-
const forms = yield*
|
|
108
|
-
const integration = yield*
|
|
109
|
-
const credentials = yield*
|
|
107
|
+
const forms = yield* Service70;
|
|
108
|
+
const integration = yield* Service68;
|
|
109
|
+
const credentials = yield* Service69;
|
|
110
110
|
const root = yield* Effect.scope;
|
|
111
111
|
const fork = yield* FiberSet.makeRuntime();
|
|
112
112
|
const entries = new Map;
|
|
@@ -118,7 +118,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
const remote = entry.config;
|
|
120
120
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
121
|
-
const integrationID =
|
|
121
|
+
const integrationID = ID10.make(suffix);
|
|
122
122
|
entry.integrationID = integrationID;
|
|
123
123
|
owned.add(integrationID);
|
|
124
124
|
const methodID = MethodID2.make(suffix);
|
|
@@ -134,7 +134,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
134
134
|
method: { id: methodID, type: "oauth", label: name },
|
|
135
135
|
authorize: () => Effect.gen(function* () {
|
|
136
136
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
137
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
137
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service69, credentials));
|
|
138
138
|
})
|
|
139
139
|
});
|
|
140
140
|
}).pipe(Scope.provide(scope));
|
|
@@ -150,12 +150,12 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
150
150
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
151
151
|
return;
|
|
152
152
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
153
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
153
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service69, credentials));
|
|
154
154
|
});
|
|
155
155
|
const elicitation = {
|
|
156
156
|
create: (input) => Effect.gen(function* () {
|
|
157
157
|
if (input.params.mode === "url") {
|
|
158
|
-
const formID =
|
|
158
|
+
const formID = ID12.create();
|
|
159
159
|
const elicitationID = input.params.elicitationId;
|
|
160
160
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
161
161
|
if (key)
|
|
@@ -239,7 +239,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
239
239
|
entry.scope = scope;
|
|
240
240
|
const authProvider = yield* connectProvider(entry);
|
|
241
241
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
242
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
242
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope), Effect.exit);
|
|
243
243
|
if (Exit.isSuccess(result)) {
|
|
244
244
|
entry.client = result.value.connection;
|
|
245
245
|
entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
|
|
@@ -363,7 +363,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
363
363
|
yield* startServer(name, entry);
|
|
364
364
|
}).pipe(locks.withLock(name));
|
|
365
365
|
});
|
|
366
|
-
fork(bus.subscribe(
|
|
366
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
367
367
|
const state = create3({
|
|
368
368
|
name: "mcp",
|
|
369
369
|
initial: () => ({
|
|
@@ -389,7 +389,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
389
389
|
}),
|
|
390
390
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
391
391
|
});
|
|
392
|
-
return
|
|
392
|
+
return Service34.of({
|
|
393
393
|
transform: state.transform,
|
|
394
394
|
reload: state.reload,
|
|
395
395
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -508,14 +508,14 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
508
508
|
})
|
|
509
509
|
});
|
|
510
510
|
}));
|
|
511
|
-
function
|
|
511
|
+
function configured3(options) {
|
|
512
512
|
return makeLocationNode({
|
|
513
|
-
service:
|
|
514
|
-
layer:
|
|
515
|
-
deps: [
|
|
513
|
+
service: Service34,
|
|
514
|
+
layer: layer14(options),
|
|
515
|
+
deps: [node82, node58, node84, node74, node72, node73]
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
|
-
var
|
|
518
|
+
var node37 = configured3();
|
|
519
519
|
function toElicitationField(key, property, required) {
|
|
520
520
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
521
521
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
|
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
569
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options3, layer14, configured3, node37, exports_mcp4 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service71
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-3v2xyvmb.js";
|
|
4
4
|
import {
|
|
5
5
|
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./workspace-k1qjy3je.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill2 = {};
|
|
17
17
|
__export(exports_skill2, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input2,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin16,
|
|
21
21
|
SkillTool: () => exports_skill2,
|
|
22
22
|
description: () => description2,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name2,
|
|
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
|
|
29
|
+
var name2 = "skill";
|
|
30
|
+
var Input2 = Schema.Struct({
|
|
31
31
|
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -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 Plugin16 = {
|
|
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* Service41;
|
|
51
51
|
const permission = yield* Service71;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name2,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description2,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input2,
|
|
57
|
+
output: Output2,
|
|
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: name2,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin19 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name2, Input2, Output2, description2, toModelOutput2, Plugin16, exports_skill2 };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info19
|
|
7
|
+
} from "./workspace-qj8eh1ht.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info18
|
|
10
|
+
} from "./workspace-akrnn5pm.js";
|
|
11
11
|
import {
|
|
12
12
|
Info17
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-tn0aqsam.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info11
|
|
16
|
+
} from "./workspace-ryr25ayn.js";
|
|
17
17
|
import {
|
|
18
18
|
Info13
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-sv3vsz9b.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./workspace-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info14
|
|
25
|
+
} from "./workspace-23pqda6t.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info12
|
|
28
|
+
} from "./workspace-hkfg6fzm.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./workspace-qgn6gcr1.js";
|
|
32
32
|
import {
|
|
33
33
|
Info15
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./workspace-wbkyxrgf.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./workspace-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info16
|
|
40
|
+
} from "./workspace-bct739vz.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./workspace-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: () => Info10,
|
|
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 Info10 = 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 Info11 = 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, Info11)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info16).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,31 +113,31 @@ var Info11 = 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(Info18), plan: Schema.optional(Info18) }), [Schema.Record(Schema.String, Info18)])).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,
|
|
118
|
+
plan: Schema.optional(Info18),
|
|
119
|
+
build: Schema.optional(Info18),
|
|
120
|
+
general: Schema.optional(Info18),
|
|
121
|
+
explore: Schema.optional(Info18),
|
|
122
|
+
title: Schema.optional(Info18),
|
|
123
|
+
summary: Schema.optional(Info18),
|
|
124
|
+
compaction: Schema.optional(Info18)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info18)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
126
|
provider: Schema.optional(Schema.Record(Schema.String, Info15)).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([Info12, 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(Info14).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(Info19),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
142
|
attachment: Schema.optional(Info17).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
@@ -191,4 +191,4 @@ var Info11 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info10, exports_config2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service59,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service59 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service59, exports_runner };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-jyw04mjt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./workspace-h04b1w3t.js";
|
|
11
11
|
import {
|
|
12
12
|
Service71,
|
|
13
13
|
node75
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-3v2xyvmb.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service51,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node54,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service51 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,9 +55,9 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
60
|
+
const location = yield* Service78;
|
|
61
61
|
const permission = yield* Service71;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service51.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node54 = makeLocationNode({ service: Service51, layer, deps: [FSUtil.node, node82, node75] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service51, resolvePath2, node54, exports_file_access };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-hq5yce46.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-ydqn5d54.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
NotFoundError: () => NotFoundError3,
|
|
20
|
-
Options: () =>
|
|
20
|
+
Options: () => Options2,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service16,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured2,
|
|
25
|
+
layer: () => layer8,
|
|
26
|
+
node: () => node19
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,7 +35,7 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
@@ -47,9 +47,9 @@ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service16 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service80;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service16.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer8 = makeLayer();
|
|
259
|
+
var configured2 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service16,
|
|
261
|
+
layer: options === undefined ? layer8 : makeLayer(options),
|
|
262
262
|
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node19 = configured2();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options2, UnavailableError2, NotFoundError3, Service16, layer8, configured2, node19, exports_persistent_pty, Handoff2 };
|