@opencode/core 0.0.0-dev-19902 → 0.0.0-dev-19903
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{vcs-afr11sqc.js → git-027nwmzm.js} +11 -11
- package/dist/chunks/{vcs-1persx71.js → git-039wtrre.js} +22 -22
- package/dist/chunks/{vcs-5ffk9kez.js → git-0418zk9p.js} +22 -22
- package/dist/chunks/{vcs-8vbfh6w5.js → git-042kb97t.js} +18 -18
- package/dist/chunks/{vcs-w1k39n5e.js → git-06dxphr1.js} +4 -4
- package/dist/chunks/{vcs-sfkndbk9.js → git-0bgk8r0f.js} +17 -17
- package/dist/chunks/{vcs-af04s6ss.js → git-0f9afca0.js} +5 -5
- package/dist/chunks/{vcs-ryyjaja0.js → git-0fv61ecr.js} +29 -29
- package/dist/chunks/{vcs-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0q0f95c6.js → git-0q0f95c6.js} +1 -1
- package/dist/chunks/{vcs-wa37zzmg.js → git-12kty0ww.js} +28 -28
- package/dist/chunks/{vcs-afs5v1dd.js → git-1497xpph.js} +25 -25
- package/dist/chunks/{vcs-3rtxz4nr.js → git-15nepkqg.js} +8 -8
- package/dist/chunks/{vcs-bam9j3yn.js → git-1cdpybwa.js} +4 -4
- package/dist/chunks/{vcs-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-fvezrss0.js → git-1ktgcqzb.js} +12 -12
- package/dist/chunks/{vcs-tvwc8hr6.js → git-1nqgt6nd.js} +90 -90
- package/dist/chunks/{vcs-23pqda6t.js → git-1s3p39g4.js} +6 -6
- package/dist/chunks/{vcs-7c6da5rg.js → git-1sv95vc5.js} +8 -8
- package/dist/chunks/git-1tm0r3ht.js +4 -0
- package/dist/chunks/{vcs-1ygqh575.js → git-1ygqh575.js} +2 -2
- package/dist/chunks/{vcs-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-2402vzrj.js → git-2402vzrj.js} +1 -1
- package/dist/chunks/{vcs-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-evbgk2k8.js → git-2f0bjgcj.js} +5 -5
- package/dist/chunks/{vcs-86qzxe6p.js → git-2k71kv7p.js} +4 -4
- package/dist/chunks/{vcs-5bjcf7t7.js → git-2pfzsskh.js} +10 -10
- package/dist/chunks/{vcs-8qfhj5ez.js → git-2zpp5gqn.js} +38 -38
- package/dist/chunks/{vcs-kc0th94z.js → git-323vqbpc.js} +18 -18
- package/dist/chunks/{vcs-tcr6kwe6.js → git-34ss5zky.js} +10 -10
- package/dist/chunks/{vcs-53b9wc7c.js → git-351zfds2.js} +11 -11
- package/dist/chunks/{vcs-gw4gsfyf.js → git-3d0dewsp.js} +20 -20
- package/dist/chunks/{vcs-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-cfpegmwh.js → git-3n5txjme.js} +13 -13
- package/dist/chunks/{vcs-weadm8hn.js → git-3s5npdm4.js} +33 -33
- package/dist/chunks/{vcs-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-r8qbfd09.js → git-43st4rky.js} +10 -10
- package/dist/chunks/{vcs-k9kj6xed.js → git-44ke2mar.js} +6 -6
- package/dist/chunks/{vcs-bg2n5hwm.js → git-4bxxhqwz.js} +22 -22
- package/dist/chunks/{vcs-2eegacq4.js → git-4e8vs6eh.js} +8 -8
- package/dist/chunks/{vcs-ptcfs43y.js → git-4gtmt3my.js} +7 -7
- package/dist/chunks/{vcs-xwybkkb8.js → git-4m9se1rc.js} +11 -11
- package/dist/chunks/{vcs-ajtzfeyv.js → git-4shhyfcg.js} +27 -27
- package/dist/chunks/{vcs-ygzkyjb3.js → git-4tffx8e7.js} +17 -17
- package/dist/chunks/{vcs-57ez7d0k.js → git-57ez7d0k.js} +2 -2
- package/dist/chunks/{vcs-a1bz86dw.js → git-5c4hm403.js} +3 -3
- package/dist/chunks/{vcs-2pa0ebz7.js → git-5cc6w1gd.js} +30 -30
- package/dist/chunks/{vcs-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-895cavcg.js → git-5dy7ce51.js} +5 -5
- package/dist/chunks/{vcs-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-6xm7vd1q.js → git-649zx5ph.js} +58 -58
- package/dist/chunks/{vcs-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{vcs-y3qk7898.js → git-66np2a7g.js} +22 -22
- package/dist/chunks/{vcs-1jp5d5qx.js → git-6bs3d6h5.js} +6 -6
- package/dist/chunks/{vcs-kzqky8qt.js → git-6k54t28w.js} +4 -4
- package/dist/chunks/{vcs-6msgmcgs.js → git-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-6e5cdvf9.js → git-6tbkcq8e.js} +5 -5
- package/dist/chunks/{vcs-1bbkgx8g.js → git-73tb2d7t.js} +3 -3
- package/dist/chunks/{vcs-bm3m92rh.js → git-74rrnwt7.js} +5 -5
- package/dist/chunks/{vcs-5p5bzsag.js → git-79r9ttys.js} +41 -41
- package/dist/chunks/{vcs-bha4atvq.js → git-7ac170kv.js} +4 -4
- package/dist/chunks/{vcs-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-22jekang.js → git-7csk8cvc.js} +11 -11
- package/dist/chunks/{vcs-fcrkznn8.js → git-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-njh9wamt.js → git-7gnmq8tb.js} +9 -9
- package/dist/chunks/{vcs-44qs7j7x.js → git-7v4dc6hc.js} +2 -2
- package/dist/chunks/{vcs-5cmxdwv8.js → git-7w99qc9d.js} +3 -3
- package/dist/chunks/{vcs-czadhajx.js → git-7ytt51fn.js} +17 -17
- package/dist/chunks/{vcs-shh6fz4q.js → git-7z7az0f5.js} +4 -4
- package/dist/chunks/{vcs-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-w42vs2rt.js → git-8gx1pm1h.js} +16 -16
- package/dist/chunks/{vcs-gf9cennz.js → git-94tx7stp.js} +11 -11
- package/dist/chunks/{vcs-d9q3pbsw.js → git-98mg7qvv.js} +21 -21
- package/dist/chunks/{vcs-zxgjg8c8.js → git-9c1agytg.js} +5 -5
- package/dist/chunks/{vcs-j1b4f4fp.js → git-9dexqdqx.js} +3 -3
- package/dist/chunks/{vcs-6w37svz8.js → git-9mwc0pdy.js} +11 -11
- package/dist/chunks/{vcs-1q9gvqp4.js → git-9syry2ev.js} +36 -36
- package/dist/chunks/{vcs-m1br8f3h.js → git-9x0v0705.js} +41 -41
- package/dist/chunks/{vcs-ayzh9crp.js → git-a0038gx3.js} +22 -22
- package/dist/chunks/{vcs-kkaetc1n.js → git-a5ya2r9j.js} +3 -3
- package/dist/chunks/{vcs-pr76b9qx.js → git-a8vyjn7h.js} +14 -14
- package/dist/chunks/{vcs-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-vxx99sjc.js → git-acpcwzyg.js} +3 -3
- package/dist/chunks/{vcs-2eqzk29d.js → git-aff0tsqy.js} +33 -33
- package/dist/chunks/{vcs-epn2sa0c.js → git-aj065mjf.js} +6 -6
- package/dist/chunks/{vcs-rqr2ktmx.js → git-ajk3q3qd.js} +25 -25
- package/dist/chunks/{vcs-djsfyw38.js → git-amrd2r7h.js} +30 -30
- package/dist/chunks/{vcs-zt8dnmbv.js → git-antav6gs.js} +5 -5
- package/dist/chunks/{vcs-x12byf42.js → git-aqc681er.js} +17 -17
- package/dist/chunks/{vcs-hsw65fz2.js → git-atagsz1a.js} +12 -12
- package/dist/chunks/{vcs-qev7t9nn.js → git-b05f6c20.js} +32 -32
- package/dist/chunks/{vcs-9dkzr50w.js → git-b11ys966.js} +15 -15
- package/dist/chunks/{vcs-49w1zfkv.js → git-b3kcpas4.js} +26 -26
- package/dist/chunks/{vcs-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-4qawhqvw.js → git-b7m1r73f.js} +44 -44
- package/dist/chunks/{vcs-e4w0jxb5.js → git-b9czbbsq.js} +4 -4
- package/dist/chunks/{vcs-tmn9wnk5.js → git-bavzqnzq.js} +6 -6
- package/dist/chunks/{vcs-06bxqvqd.js → git-bf4h81wh.js} +74 -74
- package/dist/chunks/{vcs-28htqttt.js → git-bhjgvdqt.js} +24 -24
- package/dist/chunks/{vcs-m0gns9qd.js → git-bpgsx570.js} +11 -11
- package/dist/chunks/{vcs-md632y2v.js → git-bq7ckpt2.js} +17 -17
- package/dist/chunks/{vcs-cqy8643h.js → git-bqsqrc54.js} +13 -13
- package/dist/chunks/{vcs-qq8x5mwt.js → git-bscb95cy.js} +6 -6
- package/dist/chunks/{vcs-zgr64ze9.js → git-by185h06.js} +6 -6
- package/dist/chunks/{vcs-6hjx5zpb.js → git-bydnjh3t.js} +9 -9
- package/dist/chunks/{vcs-4jc5c4h4.js → git-bz85s9hh.js} +1 -1
- package/dist/chunks/{vcs-apcpnh84.js → git-c0scma1y.js} +19 -19
- package/dist/chunks/{vcs-gqmn58wt.js → git-c1hryaat.js} +13 -13
- package/dist/chunks/{vcs-cpneeje0.js → git-c765mh8b.js} +8 -8
- package/dist/chunks/{vcs-184qwre1.js → git-c8ncvz4f.js} +29 -29
- package/dist/chunks/{vcs-mdt7wpts.js → git-c9xfc2bp.js} +12 -12
- package/dist/chunks/{vcs-sfxhchz9.js → git-cc75p45k.js} +6 -6
- package/dist/chunks/{vcs-8n7wg0nx.js → git-chq224vk.js} +8 -8
- package/dist/chunks/{vcs-5yzzbxa7.js → git-cmwkp3r5.js} +8 -8
- package/dist/chunks/{vcs-m3m63vqf.js → git-d5ebx1tt.js} +19 -19
- package/dist/chunks/{vcs-srm9ksap.js → git-d9skpm4z.js} +32 -32
- package/dist/chunks/{vcs-8z3x7c7v.js → git-dafrvj9y.js} +10 -10
- package/dist/chunks/{vcs-smntnd8a.js → git-dbfv870a.js} +24 -24
- package/dist/chunks/{vcs-aef2hfh8.js → git-dfx8dwsp.js} +3 -3
- package/dist/chunks/{vcs-8p4f9s12.js → git-dj2t23y0.js} +2 -2
- package/dist/chunks/{vcs-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/git-dxj72tfx.js +18 -0
- package/dist/chunks/{vcs-t6cag2br.js → git-dz8h4260.js} +8 -8
- package/dist/chunks/{vcs-gxpss1xa.js → git-e0vtkr8g.js} +6 -6
- package/dist/chunks/{vcs-9cebvf05.js → git-e7nvtajr.js} +11 -11
- package/dist/chunks/{vcs-1fb9mvs3.js → git-eab04pkv.js} +9 -9
- package/dist/chunks/{vcs-s6gd3yqw.js → git-ec8zkn27.js} +12 -12
- package/dist/chunks/{vcs-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-zvgbhwzy.js → git-en4haw52.js} +7 -7
- package/dist/chunks/{vcs-851r6173.js → git-ep9bxrrg.js} +12 -12
- package/dist/chunks/{vcs-erw5rpbs.js → git-erw5rpbs.js} +2 -2
- package/dist/chunks/{vcs-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-n4tkj91s.js → git-etvbk3nd.js} +12 -12
- package/dist/chunks/{vcs-ktgztd0g.js → git-evdfgtfh.js} +5 -5
- package/dist/chunks/{vcs-8qg9v9kt.js → git-ewff9sb5.js} +18 -18
- package/dist/chunks/{vcs-0m9hvdjb.js → git-f0s9gk5b.js} +32 -32
- package/dist/chunks/{vcs-kfar339a.js → git-f7d7heb6.js} +9 -9
- package/dist/chunks/{vcs-9q338w3w.js → git-f912p73c.js} +15 -15
- package/dist/chunks/{vcs-azeezzne.js → git-fafk06hg.js} +41 -41
- package/dist/chunks/{vcs-hxnndwj0.js → git-fe8wzdxj.js} +13 -13
- package/dist/chunks/{vcs-f62qkzqr.js → git-fhz5gfgy.js} +5 -5
- package/dist/chunks/{vcs-ts0rj8wt.js → git-fmtkes5b.js} +32 -32
- package/dist/chunks/{vcs-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
- package/dist/chunks/{vcs-ng41ab57.js → git-g61ajybw.js} +35 -35
- package/dist/chunks/{vcs-4trwyrk8.js → git-g867j5rj.js} +37 -37
- package/dist/chunks/{vcs-7r7wzp6f.js → git-g9dfax70.js} +11 -11
- package/dist/chunks/{vcs-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-wy6y3hhv.js → git-gd9hx4w4.js} +32 -32
- package/dist/chunks/{vcs-s25fny7j.js → git-gna097a3.js} +7 -7
- package/dist/chunks/{vcs-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-57tmmswg.js → git-h25kgf1n.js} +16 -16
- package/dist/chunks/{vcs-3cfy2m9k.js → git-h29bkcyj.js} +15 -15
- package/dist/chunks/{vcs-3pbjq009.js → git-h2r7bbkd.js} +8 -8
- package/dist/chunks/{vcs-c423wngz.js → git-h3df4jtv.js} +22 -22
- package/dist/chunks/{vcs-44h5tttr.js → git-h6r3nrb9.js} +4 -4
- package/dist/chunks/{vcs-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-22bvbdp8.js → git-h811gqcx.js} +25 -25
- package/dist/chunks/{vcs-jrj7x53v.js → git-h90kht10.js} +177 -177
- package/dist/chunks/{vcs-f828m53h.js → git-hdnk95c8.js} +2 -2
- package/dist/chunks/{vcs-k7myrtme.js → git-hf3bkrve.js} +9 -9
- package/dist/chunks/{vcs-wnfrhfx2.js → git-hg1650sb.js} +47 -47
- package/dist/chunks/{vcs-z5js96t6.js → git-hn65cvtk.js} +13 -13
- package/dist/chunks/{vcs-mf1nhdgy.js → git-hqrkv6hr.js} +11 -11
- package/dist/chunks/{vcs-x4xqgfya.js → git-hvw0c4dx.js} +23 -23
- package/dist/chunks/{vcs-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-yjjxz7tc.js → git-j5jt9zep.js} +14 -14
- package/dist/chunks/{vcs-fsb9he91.js → git-j7s8a3y2.js} +23 -23
- package/dist/chunks/{vcs-kzccg1px.js → git-jg18etp6.js} +5 -5
- package/dist/chunks/{vcs-j21skp5h.js → git-jnz4hg19.js} +9 -9
- package/dist/chunks/{vcs-dz8x4rxg.js → git-jqnpsya4.js} +4 -4
- package/dist/chunks/{vcs-c3pnf5gz.js → git-jr9kt5xd.js} +5 -5
- package/dist/chunks/{vcs-f3ngv102.js → git-jw80jp6b.js} +4 -4
- package/dist/chunks/{vcs-jcnasrqh.js → git-jxmk1xaj.js} +11 -11
- package/dist/chunks/{vcs-62bbsg9f.js → git-k1s32fvt.js} +30 -30
- package/dist/chunks/{vcs-k3c624dm.js → git-k3c624dm.js} +3 -3
- package/dist/chunks/{vcs-vmwh049b.js → git-k9avtbwf.js} +6 -6
- package/dist/chunks/{vcs-r29m84vx.js → git-khvphsrh.js} +8 -8
- package/dist/chunks/{vcs-j7y4ca1s.js → git-kmm845r5.js} +4 -4
- package/dist/chunks/{vcs-svgfqqcp.js → git-kqefehct.js} +25 -25
- package/dist/chunks/{vcs-6km5j4vv.js → git-kw6mn35p.js} +32 -32
- package/dist/chunks/{vcs-ekrqgzb7.js → git-kznzvves.js} +18 -18
- package/dist/chunks/{vcs-cfpkc3c9.js → git-m0jqrx5p.js} +2 -2
- package/dist/chunks/{vcs-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-9rnex8sw.js → git-m55gzfht.js} +33 -33
- package/dist/chunks/{vcs-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-714b5bzd.js → git-md3jg0qp.js} +12 -12
- package/dist/chunks/{vcs-97352yzp.js → git-mdjvh782.js} +11 -11
- package/dist/chunks/{vcs-9rnfzppy.js → git-mn6tw3kw.js} +85 -85
- package/dist/chunks/{vcs-8pjx8nfz.js → git-mrenjtm5.js} +32 -32
- package/dist/chunks/{vcs-q5asdkn4.js → git-n4r3xatb.js} +4 -4
- package/dist/chunks/{vcs-gbbd40p0.js → git-n69xsk8s.js} +22 -22
- package/dist/chunks/{vcs-vmgq4x8b.js → git-nng2ktcm.js} +2 -2
- package/dist/chunks/{vcs-xk747vep.js → git-nq7qbqzc.js} +9 -9
- package/dist/chunks/{vcs-54f4cdnr.js → git-nrxvsan6.js} +32 -32
- package/dist/chunks/{vcs-mnbh32fx.js → git-ntg2j34t.js} +8 -8
- package/dist/chunks/{vcs-tbz0fdvh.js → git-p28j5sbe.js} +5 -5
- package/dist/chunks/{vcs-7kwzg5by.js → git-p5dd841b.js} +25 -25
- package/dist/chunks/{vcs-w44apg5x.js → git-pcsj30ra.js} +23 -23
- package/dist/chunks/{vcs-gmec7qkh.js → git-pjkk14hr.js} +14 -14
- package/dist/chunks/{vcs-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-bgjkbd4h.js → git-pr382p6v.js} +10 -10
- package/dist/chunks/{vcs-91p7smtn.js → git-pt0j3tr7.js} +18 -18
- package/dist/chunks/{vcs-w1ad28wa.js → git-pw9v3g6d.js} +8 -8
- package/dist/chunks/{vcs-8gfvkmm8.js → git-q5p5e0z4.js} +7 -7
- package/dist/chunks/{vcs-5kvvkpfr.js → git-q6hnthzh.js} +28 -28
- package/dist/chunks/{vcs-rbbp8jxz.js → git-q8nspep2.js} +23 -23
- package/dist/chunks/{vcs-bvtvf2dx.js → git-q9df8xkf.js} +30 -30
- package/dist/chunks/{vcs-806j49yq.js → git-qa3qhgw8.js} +4 -4
- package/dist/chunks/{vcs-9h9x41eb.js → git-qb7gw741.js} +46 -46
- package/dist/chunks/{vcs-98xq376d.js → git-qd25dy8f.js} +315 -315
- package/dist/chunks/{vcs-s1nrrhvy.js → git-qj96v8ds.js} +44 -44
- package/dist/chunks/{vcs-vv7f9fa9.js → git-qjy2jana.js} +9 -9
- package/dist/chunks/{vcs-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-z66kg6fv.js → git-qstdfg4v.js} +16 -16
- package/dist/chunks/{vcs-bft4bjt6.js → git-r7cq5eaz.js} +22 -22
- package/dist/chunks/{vcs-r8xr0va3.js → git-r8xr0va3.js} +1 -1
- package/dist/chunks/{vcs-bf0ztrs3.js → git-r98e92ep.js} +4 -4
- package/dist/chunks/{vcs-yzbxen85.js → git-r9g7xawp.js} +5 -5
- package/dist/chunks/{vcs-d48v28sm.js → git-racwxhen.js} +28 -28
- package/dist/chunks/{vcs-0fpxx9w9.js → git-rcmcqx8y.js} +22 -22
- package/dist/chunks/{vcs-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-0rz20qc6.js → git-redjg7jq.js} +10 -10
- package/dist/chunks/{vcs-8x5gmx2f.js → git-rweyqa6c.js} +5 -5
- package/dist/chunks/{vcs-t8ztd77a.js → git-rys2qa45.js} +27 -27
- package/dist/chunks/{vcs-x445sbb5.js → git-rzvbcmqs.js} +17 -17
- package/dist/chunks/{vcs-eaj1djv9.js → git-s8d7rejh.js} +6 -6
- package/dist/chunks/{vcs-nchf4vkq.js → git-sd1eqffg.js} +18 -18
- package/dist/chunks/{vcs-9mrdfhh7.js → git-srmfg1be.js} +4 -4
- package/dist/chunks/{vcs-mbh094q3.js → git-svvemcs6.js} +3 -3
- package/dist/chunks/{vcs-beqc5mbd.js → git-t0a8ey22.js} +38 -38
- package/dist/chunks/{vcs-bbf4qmt4.js → git-t9nx39d4.js} +15 -15
- package/dist/chunks/{vcs-w9g7ydng.js → git-taaehm3f.js} +12 -12
- package/dist/chunks/{vcs-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-k93pg8v4.js → git-td0n94qx.js} +19 -19
- package/dist/chunks/{vcs-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-8q9myf25.js → git-tegs1ycp.js} +6 -6
- package/dist/chunks/{vcs-manr16bd.js → git-th8ayh5h.js} +47 -47
- package/dist/chunks/git-ttez9jgf.js +252 -0
- package/dist/chunks/{vcs-tvtrv512.js → git-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-g5ey5584.js → git-tz95769g.js} +57 -57
- package/dist/chunks/{vcs-hgztkpm2.js → git-v7g90mm9.js} +15 -15
- package/dist/chunks/{vcs-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-h4jvj8sb.js → git-vv868sj3.js} +19 -19
- package/dist/chunks/{vcs-kybf328v.js → git-vvj93n9v.js} +8 -8
- package/dist/chunks/{vcs-a694798e.js → git-vykevjvn.js} +5 -5
- package/dist/chunks/{vcs-2ma6m1hd.js → git-vymzd7ej.js} +45 -45
- package/dist/chunks/{vcs-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-wbkyxrgf.js → git-wbkyxrgf.js} +2 -2
- package/dist/chunks/{vcs-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-f3j5hbg7.js → git-wfkwfyq3.js} +21 -21
- package/dist/chunks/{vcs-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-9kx2764h.js → git-x5bjv211.js} +3 -3
- package/dist/chunks/{vcs-c1fkwwdb.js → git-x73ycqwj.js} +9 -9
- package/dist/chunks/{vcs-p47d79et.js → git-x7rt4n2a.js} +13 -13
- package/dist/chunks/{vcs-e1mj0vj7.js → git-xb8n6r1f.js} +17 -17
- package/dist/chunks/{vcs-pcwda15n.js → git-xcg3csh5.js} +35 -35
- package/dist/chunks/{vcs-xfkkasph.js → git-xfkkasph.js} +1 -1
- package/dist/chunks/{vcs-kdwyyjd3.js → git-xgc3eqma.js} +23 -23
- package/dist/chunks/{vcs-gddtx3qm.js → git-xrmjqyg6.js} +6 -6
- package/dist/chunks/{vcs-1vyz3ncy.js → git-xwvzvhz2.js} +24 -24
- package/dist/chunks/{vcs-vyeeb4fx.js → git-xxh2e4wm.js} +28 -28
- package/dist/chunks/{vcs-cgm6kxvk.js → git-xzv80epr.js} +11 -11
- package/dist/chunks/{vcs-hj10qh6h.js → git-y18wrbdh.js} +4 -4
- package/dist/chunks/{vcs-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-rm8tnsqk.js → git-yackpcce.js} +1 -1
- package/dist/chunks/{vcs-1w7zh0sm.js → git-yb6bkkrk.js} +27 -27
- package/dist/chunks/{vcs-dzqymmzq.js → git-ybg6ac8c.js} +12 -12
- package/dist/chunks/{vcs-82tpn184.js → git-yr0pwqb0.js} +1 -1
- package/dist/chunks/{vcs-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-yrznvahk.js → git-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-z63w68vq.js → git-z63w68vq.js} +2 -2
- package/dist/chunks/{vcs-w1wexeyx.js → git-z8wga6cg.js} +21 -21
- package/dist/chunks/{vcs-9had1z43.js → git-zcqy6b3d.js} +13 -13
- package/dist/chunks/{vcs-zeh9ct20.js → git-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-pk22p7g6.js → git-zf50ty56.js} +51 -51
- package/dist/chunks/{vcs-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +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 +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- 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 +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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- 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 +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- 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 +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- 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/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- 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 +4 -4
- 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 +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- 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 +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- 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 +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- 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 +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +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 +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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/vcs-0mesazry.js +0 -4
- package/dist/chunks/vcs-pxhh23s1.js +0 -252
- package/dist/chunks/vcs-vnkjks7b.js +0 -18
- /package/dist/chunks/{vcs-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → git-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-twg0f83k.js → git-twg0f83k.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./git-md3jg0qp.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event8,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
19
|
NotFoundError: () => NotFoundError6,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service44,
|
|
21
|
+
layer: () => layer18,
|
|
22
|
+
node: () => node48
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event8 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service44 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer18 = Layer.effect(Service44, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer16 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service44.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,10 +71,10 @@ var layer16 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node48 = makeLocationNode({
|
|
75
|
+
service: Service44,
|
|
76
|
+
layer: layer18,
|
|
77
|
+
deps: [node86]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError6, ExecutionError2, Service44, layer18, node48, exports_command4, Event8 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-6bs3d6h5.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-acpcwzyg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service53
|
|
4
|
+
} from "./git-qb7gw741.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./git-td0n94qx.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin19
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin19 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service53;
|
|
27
|
+
const shell = yield* Service57;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin32 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin19, exports_shell };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-th8ayh5h.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-a5ya2r9j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./git-md3jg0qp.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service77,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node81
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service77 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service77.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service77, node81, exports_credential };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-xcg3csh5.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-m55gzfht.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve2
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve2(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -497,4 +497,4 @@ var PROTOCOLS = {
|
|
|
497
497
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
-
export {
|
|
500
|
+
export { resolve2, exports_variant };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-7csk8cvc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./git-md3jg0qp.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./git-aff0tsqy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-gd9hx4w4.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID13
|
|
20
|
+
} from "./git-xcg3csh5.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-xrmjqyg6.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const tokens = new Map;
|
|
50
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
51
51
|
const loaded = {};
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID13.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID13.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID13.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID13.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID13.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID13.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./git-pjkk14hr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service15,
|
|
10
|
+
node17
|
|
11
|
+
} from "./git-042kb97t.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service14,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer8,
|
|
29
|
+
node: () => node16,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service14 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service15;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service14.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service14.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service14.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service14, layer: layer8(options), deps: [node83, node17] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node16 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service14, ripgrepLayer2, fffLayer2, layer8, configured2, node16, exports_search };
|