@opencode/core 0.0.0-dev-20187 → 0.0.0-dev-20189
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-access-mvfdckk2.js → managed-policy-07770t2t.js} +4 -4
- package/dist/chunks/{file-access-1gd8g1kd.js → managed-policy-0a1eevr3.js} +21 -21
- package/dist/chunks/{file-access-xz29hvcb.js → managed-policy-0bzgh1ra.js} +8 -8
- package/dist/chunks/{file-access-h6gdmyf8.js → managed-policy-0ckwnra1.js} +26 -26
- package/dist/chunks/managed-policy-0mesazry.js +4 -0
- package/dist/chunks/{file-access-gpk600j1.js → managed-policy-0mm9aq32.js} +13 -13
- package/dist/chunks/{file-access-0paq2nw3.js → managed-policy-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-d5ggx3gj.js → managed-policy-0tgsh6wb.js} +3 -3
- package/dist/chunks/{file-access-zr4a2xz6.js → managed-policy-0wqwwdc3.js} +48 -48
- package/dist/chunks/{file-access-pnqe9gv0.js → managed-policy-0yzk9hp5.js} +1 -1
- package/dist/chunks/{file-access-za77p82n.js → managed-policy-1be6dza8.js} +6 -6
- package/dist/chunks/{file-access-1dazxqgg.js → managed-policy-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-5zarf4w6.js → managed-policy-1hwmn15w.js} +10 -10
- package/dist/chunks/{file-access-nb97snw5.js → managed-policy-1jb4d023.js} +15 -15
- package/dist/chunks/{file-access-7f2vjcwv.js → managed-policy-1v7cd3cq.js} +18 -18
- package/dist/chunks/{file-access-yw2ajja7.js → managed-policy-1v8reh4w.js} +3 -3
- package/dist/chunks/{file-access-ksear8pa.js → managed-policy-1ztyjhqq.js} +24 -24
- package/dist/chunks/{file-access-21r38tys.js → managed-policy-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-2402vzrj.js → managed-policy-2402vzrj.js} +1 -1
- package/dist/chunks/{file-access-ksxfp18t.js → managed-policy-2863ew87.js} +29 -29
- package/dist/chunks/{file-access-29x78va6.js → managed-policy-29x78va6.js} +2 -2
- package/dist/chunks/{file-access-ssfqen5b.js → managed-policy-2a1w5wq2.js} +24 -24
- package/dist/chunks/{file-access-2a5m3afh.js → managed-policy-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-3cfzdc8e.js → managed-policy-2f0bjgcj.js} +5 -5
- package/dist/chunks/{file-access-x3avqwht.js → managed-policy-2j13chjm.js} +4 -4
- package/dist/chunks/{file-access-2k8khapm.js → managed-policy-2k8khapm.js} +1 -1
- package/dist/chunks/{file-access-5btey1ak.js → managed-policy-2wzvfsyc.js} +9 -9
- package/dist/chunks/{file-access-pgwpntn4.js → managed-policy-33xvpn5s.js} +4 -4
- package/dist/chunks/{file-access-v4jzz8kz.js → managed-policy-358c23mq.js} +13 -13
- package/dist/chunks/{file-access-z3nay82g.js → managed-policy-3b9qt4hj.js} +9 -9
- package/dist/chunks/{file-access-ermxvwhp.js → managed-policy-3ewed21c.js} +4 -4
- package/dist/chunks/{file-access-3fc6dm20.js → managed-policy-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-j07veqf6.js → managed-policy-3gapn5nw.js} +20 -20
- package/dist/chunks/{file-access-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-qg0jgkcp.js → managed-policy-3pe7sts8.js} +9 -9
- package/dist/chunks/{file-access-3smtnn6g.js → managed-policy-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-3tvqynh2.js → managed-policy-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-5982ss3w.js → managed-policy-3xphndqd.js} +10 -10
- package/dist/chunks/{file-access-3zsf4n22.js → managed-policy-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-access-xsxds6qn.js → managed-policy-41bs2fpb.js} +170 -170
- package/dist/chunks/{file-access-ynz8wf59.js → managed-policy-43wm6kz7.js} +15 -15
- package/dist/chunks/managed-policy-45th5jwr.js +18 -0
- package/dist/chunks/{file-access-h6r3nrb9.js → managed-policy-4dgbcxzg.js} +4 -4
- package/dist/chunks/{file-access-me78x99w.js → managed-policy-4j58h7ky.js} +30 -30
- package/dist/chunks/{file-access-9jcbxg0k.js → managed-policy-4k2rghe9.js} +21 -21
- package/dist/chunks/{file-access-nddt17wd.js → managed-policy-4kzyxb26.js} +15 -15
- package/dist/chunks/{file-access-0trjvgwz.js → managed-policy-4p6crha5.js} +12 -12
- package/dist/chunks/{file-access-4acqjqp7.js → managed-policy-4s3tx91s.js} +14 -14
- package/dist/chunks/{file-access-efd5z8ny.js → managed-policy-4sas3krp.js} +14 -14
- package/dist/chunks/{file-access-bdy3xwvm.js → managed-policy-4zak5cvq.js} +9 -9
- package/dist/chunks/{file-access-09p5dswj.js → managed-policy-50dag6g8.js} +29 -29
- package/dist/chunks/{file-access-962mx99c.js → managed-policy-52kry9ag.js} +25 -25
- package/dist/chunks/{file-access-mfqp6xfm.js → managed-policy-56gdpj1q.js} +6 -6
- package/dist/chunks/{file-access-57ez7d0k.js → managed-policy-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-access-337y9ajx.js → managed-policy-58fdabks.js} +11 -11
- package/dist/chunks/{file-access-jexxy024.js → managed-policy-5cmxdwv8.js} +3 -3
- package/dist/chunks/{file-access-5daktx2q.js → managed-policy-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-0egx9fcg.js → managed-policy-5eb3a1ca.js} +12 -12
- package/dist/chunks/{file-access-e7b5xck2.js → managed-policy-5rt30t11.js} +18 -18
- package/dist/chunks/{file-access-5t3nmthw.js → managed-policy-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-9syxb0r3.js → managed-policy-5x0vc0vb.js} +11 -11
- package/dist/chunks/{file-access-xcd0eash.js → managed-policy-63xctefh.js} +6 -6
- package/dist/chunks/{file-access-zrfdpbnq.js → managed-policy-65dg9dkc.js} +26 -26
- package/dist/chunks/{file-access-669tq793.js → managed-policy-669tq793.js} +1 -1
- package/dist/chunks/{file-access-p37cw4rj.js → managed-policy-6f890ccd.js} +8 -8
- package/dist/chunks/{file-access-me9yfmm8.js → managed-policy-6m48a2t7.js} +5 -5
- package/dist/chunks/{file-access-6msgmcgs.js → managed-policy-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-dwgwpymj.js → managed-policy-6n9z0a9w.js} +11 -11
- package/dist/chunks/{file-access-k2w2e4qt.js → managed-policy-6qyvmb4v.js} +5 -5
- package/dist/chunks/{file-access-mvfsc1pv.js → managed-policy-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-access-s6cz2hhw.js → managed-policy-779bqasr.js} +19 -19
- package/dist/chunks/{file-access-pcmh8n4s.js → managed-policy-77j23m7r.js} +8 -8
- package/dist/chunks/{file-access-r2m716tb.js → managed-policy-79qaa2kf.js} +9 -9
- package/dist/chunks/{file-access-hg429xeg.js → managed-policy-79zjhypg.js} +10 -10
- package/dist/chunks/{file-access-mkd90k1k.js → managed-policy-7aentnvm.js} +11 -11
- package/dist/chunks/{file-access-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-8sze2n9a.js → managed-policy-7fkffz83.js} +8 -8
- package/dist/chunks/{file-access-m6yz57p5.js → managed-policy-7fpb7792.js} +13 -13
- package/dist/chunks/{file-access-e12qqq59.js → managed-policy-7rcm28ha.js} +44 -44
- package/dist/chunks/{file-access-1q0j3phs.js → managed-policy-7tc1349b.js} +17 -17
- package/dist/chunks/{file-access-mktjswcw.js → managed-policy-7yrswys2.js} +33 -33
- package/dist/chunks/{file-access-0ban4q7j.js → managed-policy-80m7jm0y.js} +16 -16
- package/dist/chunks/{file-access-8d7r5vzw.js → managed-policy-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-qje44bf3.js → managed-policy-8p29yw8h.js} +3 -3
- package/dist/chunks/{file-access-4p4fv3qj.js → managed-policy-8q6wx5qs.js} +16 -16
- package/dist/chunks/{file-access-7rwqf82v.js → managed-policy-91p1v22t.js} +8 -8
- package/dist/chunks/{file-access-94ek1h2f.js → managed-policy-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-access-6mvtq6c7.js → managed-policy-97fxhqfr.js} +16 -16
- package/dist/chunks/{file-access-0h3wrvqa.js → managed-policy-9cb7xadb.js} +1 -1
- package/dist/chunks/{file-access-vttwzxbr.js → managed-policy-9g951eg1.js} +6 -6
- package/dist/chunks/{file-access-mce70z9k.js → managed-policy-9qm1sam9.js} +2 -2
- package/dist/chunks/{file-access-c3jkddnq.js → managed-policy-9skf8tre.js} +3 -3
- package/dist/chunks/{file-access-nen0t6m1.js → managed-policy-9tv440c6.js} +16 -16
- package/dist/chunks/{file-access-ratrq7cm.js → managed-policy-a46v4e4v.js} +4 -4
- package/dist/chunks/{file-access-tvve5xjy.js → managed-policy-a4rc8qx2.js} +4 -4
- package/dist/chunks/{file-access-hnwbm56y.js → managed-policy-a7pzzedx.js} +4 -4
- package/dist/chunks/{file-access-aaet6srn.js → managed-policy-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-xxndcd6m.js → managed-policy-afjydgk3.js} +4 -4
- package/dist/chunks/{file-access-drq6bgth.js → managed-policy-aj3jkc19.js} +38 -38
- package/dist/chunks/{file-access-1258x4qk.js → managed-policy-ax4vhxp3.js} +22 -22
- package/dist/chunks/{file-access-t51qk8jz.js → managed-policy-axmvebxj.js} +4 -4
- package/dist/chunks/{file-access-efq6bxpk.js → managed-policy-ayb2ep33.js} +3 -3
- package/dist/chunks/{file-access-f4mxeny4.js → managed-policy-ayny3xs7.js} +7 -7
- package/dist/chunks/{file-access-gas93twd.js → managed-policy-az8hvwf1.js} +35 -35
- package/dist/chunks/{file-access-b6gygkdw.js → managed-policy-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-49exe669.js → managed-policy-b7b4ctej.js} +5 -5
- package/dist/chunks/{file-access-pekdjahx.js → managed-policy-bh832hz7.js} +9 -9
- package/dist/chunks/{file-access-2qq7qy34.js → managed-policy-bvtf22kj.js} +3 -3
- package/dist/chunks/{file-access-27f0zk48.js → managed-policy-bxdgsfjb.js} +43 -43
- package/dist/chunks/{file-access-0jq9fyba.js → managed-policy-bzgcn0jp.js} +9 -9
- package/dist/chunks/{file-access-vsx3errm.js → managed-policy-c2xmwhf7.js} +12 -12
- package/dist/chunks/{file-access-31sqvd3m.js → managed-policy-c4rjy2bg.js} +11 -11
- package/dist/chunks/{file-access-zcdn9qkv.js → managed-policy-c937fekk.js} +49 -49
- package/dist/chunks/{file-access-118e1mbr.js → managed-policy-cbqhpk3g.js} +5 -5
- package/dist/chunks/{file-access-2yf0aazv.js → managed-policy-cgz7622g.js} +12 -12
- package/dist/chunks/{file-access-ckecvw8r.js → managed-policy-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-access-zsycvhqj.js → managed-policy-cvb5keb3.js} +7 -7
- package/dist/chunks/{file-access-shcbc0mr.js → managed-policy-d3egrn39.js} +42 -42
- package/dist/chunks/{file-access-z8ckggf1.js → managed-policy-de8e9bjw.js} +18 -18
- package/dist/chunks/{file-access-dq0v80fr.js → managed-policy-dq0v80fr.js} +5 -5
- package/dist/chunks/{file-access-bm9d9rgc.js → managed-policy-dqrrnxrw.js} +9 -9
- package/dist/chunks/{file-access-w9xbefsq.js → managed-policy-dzh8x6fa.js} +13 -13
- package/dist/chunks/{file-access-k88pt7np.js → managed-policy-e6ztxka3.js} +23 -23
- package/dist/chunks/{file-access-ecfe7b91.js → managed-policy-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-access-r4k1wyhr.js → managed-policy-eexrnx7t.js} +3 -3
- package/dist/chunks/{file-access-ef5x83kb.js → managed-policy-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-rw4r7gj7.js → managed-policy-emh3z3ge.js} +11 -11
- package/dist/chunks/{file-access-vx9wnsws.js → managed-policy-etgjzd5h.js} +9 -9
- package/dist/chunks/{file-access-etq0c3wd.js → managed-policy-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-fhwwmt3w.js → managed-policy-eyftq924.js} +20 -20
- package/dist/chunks/{file-access-sea28k5q.js → managed-policy-f32czd11.js} +5 -5
- package/dist/chunks/{file-access-q9nke688.js → managed-policy-f45ayqgj.js} +15 -15
- package/dist/chunks/{file-access-j34awfj4.js → managed-policy-fdbr74vy.js} +10 -10
- package/dist/chunks/{file-access-cnmnpfzq.js → managed-policy-fhn4dbfy.js} +41 -41
- package/dist/chunks/{file-access-frvysw6e.js → managed-policy-fhqgg6b3.js} +15 -15
- package/dist/chunks/{file-access-c9mjmcgp.js → managed-policy-fj1y74vg.js} +5 -5
- package/dist/chunks/{file-access-2rb43g2j.js → managed-policy-fx8ver8w.js} +5 -5
- package/dist/chunks/{file-access-21z43ch8.js → managed-policy-fz9j70nw.js} +11 -11
- package/dist/chunks/{file-access-qnshbhpz.js → managed-policy-fzg6ycaf.js} +8 -8
- package/dist/chunks/{file-access-34d8h93h.js → managed-policy-g50vnnvq.js} +17 -17
- package/dist/chunks/{file-access-x8b8vvbw.js → managed-policy-g5kh2xcz.js} +13 -13
- package/dist/chunks/{file-access-sb2mhttb.js → managed-policy-gc2hdxyk.js} +15 -15
- package/dist/chunks/{file-access-vrpz8t5t.js → managed-policy-gcavn3wx.js} +5 -5
- package/dist/chunks/{file-access-gd4qta3r.js → managed-policy-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-gv6a8nnw.js → managed-policy-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-mcg4cdmb.js → managed-policy-h2vwxax4.js} +35 -35
- package/dist/chunks/{file-access-h6vf3j39.js → managed-policy-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-4w5bpbdf.js → managed-policy-h8jhh88t.js} +2 -2
- package/dist/chunks/{file-access-0pr3hkd7.js → managed-policy-h9wp8z5w.js} +24 -7
- package/dist/chunks/{file-access-t8ssh1sh.js → managed-policy-heah1624.js} +16 -16
- package/dist/chunks/{file-access-hcz3zddy.js → managed-policy-hnr5yq9h.js} +5 -5
- package/dist/chunks/managed-policy-hxyc6rm4.js +26 -0
- package/dist/chunks/managed-policy-hybrcz9k.js +252 -0
- package/dist/chunks/managed-policy-j1j7mnwh.js +511 -0
- package/dist/chunks/{file-access-bfpeh5ef.js → managed-policy-j2g94gkj.js} +31 -31
- package/dist/chunks/{file-access-j56e64zr.js → managed-policy-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-fdth3mr3.js → managed-policy-j57veafx.js} +10 -10
- package/dist/chunks/{file-access-hr1w2mm6.js → managed-policy-j6mhcfxe.js} +30 -30
- package/dist/chunks/{file-access-jahf9mby.js → managed-policy-jaj4szq5.js} +19 -19
- package/dist/chunks/{file-access-fjvydvzm.js → managed-policy-jbjr1a4g.js} +6 -6
- package/dist/chunks/{file-access-wefk1wqt.js → managed-policy-jdvq2jhf.js} +36 -36
- package/dist/chunks/{file-access-0gtypekj.js → managed-policy-jf81njd6.js} +34 -34
- package/dist/chunks/{file-access-s9q1cvsk.js → managed-policy-jwp2njjg.js} +14 -14
- package/dist/chunks/{file-access-x4sthz2w.js → managed-policy-kjxkk3w4.js} +20 -20
- package/dist/chunks/{file-access-ctsbw3ys.js → managed-policy-ks8ntyh3.js} +23 -23
- package/dist/chunks/{file-access-6jq3w683.js → managed-policy-kskqm6d2.js} +48 -48
- package/dist/chunks/{file-access-4aq4ypfe.js → managed-policy-kswh8eer.js} +24 -24
- package/dist/chunks/{file-access-1sbn9mmf.js → managed-policy-m1pdnfay.js} +13 -13
- package/dist/chunks/{file-access-m3fdjcah.js → managed-policy-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-f7zky7ve.js → managed-policy-m4me88d9.js} +22 -22
- package/dist/chunks/{file-access-8gxqpgph.js → managed-policy-m70sbz6t.js} +4 -4
- package/dist/chunks/{file-access-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-b5jzj1yj.js → managed-policy-magd1yzt.js} +4 -4
- package/dist/chunks/{file-access-154cngd0.js → managed-policy-mbt0r9ns.js} +11 -11
- package/dist/chunks/{file-access-7z82321y.js → managed-policy-mex4hcth.js} +11 -11
- package/dist/chunks/{file-access-6ba3re5s.js → managed-policy-mgphmkeb.js} +17 -17
- package/dist/chunks/{file-access-0bp4e21p.js → managed-policy-mvcs6n85.js} +3 -3
- package/dist/chunks/{file-access-mvksx64m.js → managed-policy-mvksx64m.js} +4 -4
- package/dist/chunks/{file-access-mts3tp2a.js → managed-policy-n02pcqqr.js} +26 -26
- package/dist/chunks/{file-access-18yef4q6.js → managed-policy-n6x86dnt.js} +16 -16
- package/dist/chunks/{file-access-m7ygnyv0.js → managed-policy-n936hzck.js} +68 -68
- package/dist/chunks/{file-access-8txb2b8x.js → managed-policy-n986xf23.js} +9 -9
- package/dist/chunks/{file-access-23a4zp69.js → managed-policy-nakmx0qk.js} +5 -5
- package/dist/chunks/{file-access-65p03r80.js → managed-policy-naww4dxg.js} +20 -20
- package/dist/chunks/{file-access-nfhxq8kb.js → managed-policy-nftbrb0j.js} +20 -20
- package/dist/chunks/{file-access-906a7jx9.js → managed-policy-ng9vjhd1.js} +5 -5
- package/dist/chunks/{file-access-k3c624dm.js → managed-policy-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-access-k1s0srkb.js → managed-policy-phbyh0a5.js} +10 -10
- package/dist/chunks/{file-access-pjvnvgmy.js → managed-policy-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → managed-policy-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-mxr1v1s0.js → managed-policy-pq9y5n5m.js} +8 -8
- package/dist/chunks/{file-access-ahj96hsx.js → managed-policy-ptr74we0.js} +3 -3
- package/dist/chunks/{file-access-w5fm9rj9.js → managed-policy-pw638tag.js} +14 -14
- package/dist/chunks/{file-access-negvxphk.js → managed-policy-pz6e2nts.js} +45 -45
- package/dist/chunks/{file-access-y4w844dc.js → managed-policy-q0dv4cw2.js} +88 -88
- package/dist/chunks/{file-access-vfn0gt82.js → managed-policy-q2kn9tye.js} +5 -5
- package/dist/chunks/{file-access-tdhdvv51.js → managed-policy-q6e4tnqb.js} +9 -9
- package/dist/chunks/{file-access-akhdm1q5.js → managed-policy-q8h29z87.js} +26 -26
- package/dist/chunks/{file-access-zq6stcrg.js → managed-policy-qm7jrdpz.js} +8 -8
- package/dist/chunks/{file-access-xfkkasph.js → managed-policy-qqeeq2t9.js} +7 -7
- package/dist/chunks/{file-access-qsdy395h.js → managed-policy-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-p2drbkg5.js → managed-policy-qsxdxqt3.js} +20 -20
- package/dist/chunks/{file-access-9xe9qmj9.js → managed-policy-qsy7t4zk.js} +30 -30
- package/dist/chunks/{file-access-eb4gdybs.js → managed-policy-qwjtejvm.js} +20 -20
- package/dist/chunks/{file-access-93g208q1.js → managed-policy-qxm4jarf.js} +14 -14
- package/dist/chunks/{file-access-1a6p2twq.js → managed-policy-r98e92ep.js} +4 -4
- package/dist/chunks/{file-access-w7kk730q.js → managed-policy-r9gspksd.js} +33 -33
- package/dist/chunks/{file-access-v9pkbxww.js → managed-policy-rbnn75vf.js} +19 -19
- package/dist/chunks/{file-access-rxpah76v.js → managed-policy-rdjy4bhh.js} +22 -22
- package/dist/chunks/{file-access-rdw6cm16.js → managed-policy-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-98zr84gz.js → managed-policy-rf9mgppd.js} +30 -30
- package/dist/chunks/{file-access-z19z2vt9.js → managed-policy-rgtsr3hh.js} +13 -13
- package/dist/chunks/{file-access-rhjbct0v.js → managed-policy-rhjbct0v.js} +1 -1
- package/dist/chunks/{file-access-gzq5apsj.js → managed-policy-rk7s9xkn.js} +4 -4
- package/dist/chunks/{file-access-p0b4ytnr.js → managed-policy-rph3zd4r.js} +6 -6
- package/dist/chunks/{file-access-z6p2s66k.js → managed-policy-rswb1apg.js} +11 -11
- package/dist/chunks/{file-access-3cbqyyyx.js → managed-policy-s1beqvy1.js} +13 -13
- package/dist/chunks/{file-access-s4enseaf.js → managed-policy-s4enseaf.js} +2 -2
- package/dist/chunks/{file-access-yp1ke19a.js → managed-policy-sdk1fzq5.js} +15 -15
- package/dist/chunks/{file-access-ec0abva6.js → managed-policy-sqd39fca.js} +84 -84
- package/dist/chunks/{file-access-wkwjecr6.js → managed-policy-sqy6emsh.js} +18 -18
- package/dist/chunks/{file-access-7gy1ktzc.js → managed-policy-st5dzq7x.js} +10 -10
- package/dist/chunks/{file-access-ww2xgyza.js → managed-policy-t79whn4w.js} +29 -29
- package/dist/chunks/{file-access-tazgh4e4.js → managed-policy-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tcezcvh9.js → managed-policy-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → managed-policy-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-yjgdj1z3.js → managed-policy-te5pspps.js} +4 -4
- package/dist/chunks/{file-access-3334155c.js → managed-policy-tky0bhmc.js} +10 -10
- package/dist/chunks/{file-access-tvtrv512.js → managed-policy-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-4e8vs6eh.js → managed-policy-tx9w5tca.js} +8 -8
- package/dist/chunks/{file-access-cfgmghb0.js → managed-policy-v3r6wrax.js} +17 -17
- package/dist/chunks/{file-access-75gb3hq5.js → managed-policy-vd1xt34m.js} +5 -5
- package/dist/chunks/{file-access-veqvce7d.js → managed-policy-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-5cb5swh5.js → managed-policy-vf8ekb55.js} +8 -8
- package/dist/chunks/{file-access-p9p4b71m.js → managed-policy-vhrh9n3q.js} +19 -19
- package/dist/chunks/{file-access-hrehjthg.js → managed-policy-vjnw2173.js} +8 -8
- package/dist/chunks/{file-access-a3r4dcrj.js → managed-policy-vmgq4x8b.js} +2 -2
- package/dist/chunks/{file-access-z9mg39zm.js → managed-policy-vvnwfe3a.js} +8 -8
- package/dist/chunks/{file-access-vzcthcp8.js → managed-policy-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-vzs5sf6e.js → managed-policy-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-access-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-4sjwj7n7.js → managed-policy-w6gh42p5.js} +18 -18
- package/dist/chunks/{file-access-5vrnswt1.js → managed-policy-w9s1mhr8.js} +8 -8
- package/dist/chunks/{file-access-95ep91d8.js → managed-policy-w9vp1hvg.js} +16 -16
- package/dist/chunks/{file-access-wd3x2cqz.js → managed-policy-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-access-wd87259q.js → managed-policy-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-bep57vhd.js → managed-policy-wec12kcc.js} +18 -18
- package/dist/chunks/{file-access-rjq7qqfa.js → managed-policy-wgkrnqac.js} +33 -33
- package/dist/chunks/{file-access-sd5ayyvb.js → managed-policy-wpc20qgk.js} +7 -7
- package/dist/chunks/{file-access-x1ezjp6w.js → managed-policy-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-qfwq9sf6.js → managed-policy-x4frdbx5.js} +16 -16
- package/dist/chunks/{file-access-4x8kksgb.js → managed-policy-x4jf395z.js} +11 -11
- package/dist/chunks/{file-access-8skxcr47.js → managed-policy-x6qqf22v.js} +13 -13
- package/dist/chunks/{file-access-5h27d9rq.js → managed-policy-x8spbnc9.js} +20 -20
- package/dist/chunks/{file-access-qvrs9pm7.js → managed-policy-xc934jfm.js} +37 -37
- package/dist/chunks/{file-access-wd1jg618.js → managed-policy-xfz6p364.js} +11 -11
- package/dist/chunks/{file-access-xkntkrq7.js → managed-policy-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-access-b8me5nm1.js → managed-policy-xrma4n88.js} +9 -9
- package/dist/chunks/{file-access-skrn7tyk.js → managed-policy-xvtq9ts9.js} +22 -22
- package/dist/chunks/{file-access-rjsh0779.js → managed-policy-xwnkmnyx.js} +8 -8
- package/dist/chunks/{file-access-9as0zx85.js → managed-policy-xxbzqkxw.js} +25 -25
- package/dist/chunks/{file-access-3r09dpjk.js → managed-policy-xyzj08bz.js} +4 -4
- package/dist/chunks/{file-access-y1fvbwt7.js → managed-policy-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-9924wf9r.js → managed-policy-y206krxg.js} +10 -10
- package/dist/chunks/{file-access-gtecn56v.js → managed-policy-y5dxb9zm.js} +14 -14
- package/dist/chunks/{file-access-y71avatq.js → managed-policy-y71avatq.js} +1 -1
- package/dist/chunks/{file-access-8d0p2m37.js → managed-policy-ybaxr0a6.js} +6 -6
- package/dist/chunks/{file-access-q98mvgyg.js → managed-policy-ykqvw6n0.js} +13 -13
- package/dist/chunks/{file-access-1acjjqhc.js → managed-policy-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-access-5jmp07yj.js → managed-policy-yr68hvap.js} +25 -25
- package/dist/chunks/{file-access-yrhqyw5v.js → managed-policy-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-hb9qvk7n.js → managed-policy-ys6t246v.js} +34 -34
- package/dist/chunks/{file-access-d2aac7k2.js → managed-policy-yt0fqk68.js} +5 -5
- package/dist/chunks/{file-access-8jjtxg0s.js → managed-policy-yv320rcs.js} +20 -20
- package/dist/chunks/{file-access-z07pqspn.js → managed-policy-z07pqspn.js} +3 -3
- package/dist/chunks/{file-access-z0bkrqjs.js → managed-policy-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-hzmns3wg.js → managed-policy-z4s7g43y.js} +1 -1
- package/dist/chunks/{file-access-pdh0wy3m.js → managed-policy-z59mzw5n.js} +15 -15
- package/dist/chunks/{file-access-1mk6sdbt.js → managed-policy-zbhhzgj6.js} +11 -11
- package/dist/chunks/{file-access-zeh9ct20.js → managed-policy-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-j83wewfm.js → managed-policy-zfdpneax.js} +20 -20
- package/dist/chunks/{file-access-zr2ceqn5.js → managed-policy-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-e9j2rb6f.js → managed-policy-zrj27d4v.js} +16 -16
- package/dist/chunks/{file-access-7nn57yq6.js → managed-policy-ztfr3gj5.js} +6 -6
- package/dist/chunks/{file-access-zxq2ej10.js → managed-policy-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-access-t638vh07.js → managed-policy-zy79aer6.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +94 -94
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +80 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +95 -95
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- 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 +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- 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 +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +93 -93
- 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 +127 -127
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/file-access-37gbyejr.js +0 -26
- package/dist/chunks/file-access-6kdq0pjd.js +0 -4
- package/dist/chunks/file-access-7fj5dwt0.js +0 -18
- package/dist/chunks/file-access-8bx98dp2.js +0 -252
- package/dist/chunks/file-access-az20cacd.js +0 -511
- /package/dist/chunks/{file-access-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → managed-policy-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → managed-policy-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-34c7v6d4.js → managed-policy-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → managed-policy-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → managed-policy-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → managed-policy-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → managed-policy-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → managed-policy-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → managed-policy-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → managed-policy-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e3qxr5gk.js → managed-policy-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → managed-policy-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → managed-policy-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → managed-policy-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → managed-policy-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → managed-policy-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → managed-policy-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → managed-policy-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → managed-policy-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → managed-policy-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-2j13chjm.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./managed-policy-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./managed-policy-1hwmn15w.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service74,
|
|
20
|
+
node78,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./managed-policy-65dg9dkc.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,15 +32,15 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service73,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node77,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
@@ -48,7 +48,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
50
|
import { Event as Event16 } from "@opencode/schema/model";
|
|
51
|
-
var
|
|
51
|
+
var ID11 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info25 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service73 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service74;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const location = yield*
|
|
66
|
+
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
200
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
-
return
|
|
201
|
+
return Service73.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [node78, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service73, node77, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin35,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin35 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin26 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin35, exports_exa };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make13,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make13(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make13, render2, exports_system_prompt };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-8p29yw8h.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./managed-policy-2j13chjm.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./managed-policy-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./managed-policy-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./managed-policy-5cmxdwv8.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./managed-policy-z07pqspn.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service35,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer17,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node38,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service35 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service83;
|
|
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer17 = Layer.effect(Service35, make17());
|
|
231
|
+
var node38 = makeGlobalNode({ service: Service35, layer: layer17, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service35, make17, layer17, node38, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-2j13chjm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./managed-policy-w6gh42p5.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-77j23m7r.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./managed-policy-1hwmn15w.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./managed-policy-bh832hz7.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./managed-policy-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service59,
|
|
26
|
+
node62
|
|
27
|
+
} from "./managed-policy-bxdgsfjb.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service79,
|
|
30
|
+
node83
|
|
31
|
+
} from "./managed-policy-sdk1fzq5.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service49,
|
|
41
|
+
node: () => node52
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service49 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service83;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service59;
|
|
54
|
+
const forms = yield* Service77;
|
|
55
|
+
const rpc = yield* Service79;
|
|
56
56
|
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service49.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node52 = makeLocationNode({
|
|
84
|
+
service: Service49,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node87,
|
|
86
|
+
deps: [node87, node84, node62, node85, node81, node83]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service49, node52, exports_location_lifecycle };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./managed-policy-bxdgsfjb.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input9,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin30,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name9 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input9 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input9.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin30 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service59;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name9,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description5,
|
|
104
|
-
input:
|
|
104
|
+
input: Input9,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin50 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name9,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input9, Plugin30, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-2j13chjm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-bxdgsfjb.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
21
|
ID: () => ID5,
|
|
22
22
|
Info: () => Info7,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service39,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node42,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,7 +34,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event6 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service39 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service39.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node42 = makeLocationNode({
|
|
112
|
+
service: Service39,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available2, toModelOutput3, prepare3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available2, toModelOutput3, prepare3, Service39, node42, exports_skill5, Event6 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info19
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info19 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info22 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info19, exports_skills };
|