@opencode/core 0.0.0-dev-20347 → 0.0.0-dev-20348
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 +81 -81
- 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/{instance-et7t22dp.js → location-00ts2kzt.js} +22 -22
- package/dist/chunks/{instance-1ep0ag5c.js → location-01m7n6jp.js} +14 -14
- package/dist/chunks/{instance-zvt5dnpc.js → location-06x8he3q.js} +4 -4
- package/dist/chunks/{instance-yadf00wp.js → location-0f3jrm1q.js} +15 -15
- package/dist/chunks/{instance-dg29g02g.js → location-0g5ckg7g.js} +15 -15
- package/dist/chunks/{instance-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-nkvphcqc.js → location-0rdn37j5.js} +29 -29
- package/dist/chunks/{instance-a21dp004.js → location-0thq7ctp.js} +5 -5
- package/dist/chunks/{instance-36b9dvbm.js → location-0wd18q2k.js} +55 -55
- package/dist/chunks/{instance-f1ddb923.js → location-0xrwab9k.js} +5 -5
- package/dist/chunks/{instance-cydz2706.js → location-17yyvbe9.js} +11 -11
- package/dist/chunks/{instance-hz0q9sdq.js → location-18rp1xkf.js} +8 -8
- package/dist/chunks/{instance-hacmn8nb.js → location-1bj4gwz6.js} +4 -4
- package/dist/chunks/{instance-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-y3s8k4kw.js → location-1h8w82y9.js} +15 -15
- package/dist/chunks/{instance-ckyx6ra3.js → location-1tk67md7.js} +9 -9
- package/dist/chunks/{instance-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{instance-yamqzn72.js → location-299n82gd.js} +8 -8
- package/dist/chunks/{instance-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-zabye2v7.js → location-2bw9zt22.js} +26 -26
- package/dist/chunks/{instance-v553g892.js → location-2e0fcd9j.js} +10 -10
- package/dist/chunks/{instance-s2w85mmk.js → location-2gw3vh47.js} +10 -10
- package/dist/chunks/{instance-qgn6gcr1.js → location-2k8khapm.js} +5 -5
- package/dist/chunks/{instance-5qkxfyep.js → location-2y34zzjz.js} +4 -4
- package/dist/chunks/{instance-nt6g2fe2.js → location-36aj2cm8.js} +26 -26
- package/dist/chunks/{instance-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-za9cx4qh.js → location-3pbjq009.js} +8 -8
- package/dist/chunks/{instance-nscznvay.js → location-3pe7sts8.js} +9 -9
- package/dist/chunks/{instance-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-17vxg2pa.js → location-3tgv7gac.js} +30 -30
- package/dist/chunks/{instance-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{instance-hekxc47r.js → location-427t97hr.js} +1 -1
- package/dist/chunks/{instance-3st0x5wy.js → location-42ba421n.js} +6 -6
- package/dist/chunks/{instance-j0d9hgmw.js → location-4386109a.js} +28 -28
- package/dist/chunks/{instance-aaytmyqw.js → location-4759trp9.js} +24 -24
- package/dist/chunks/{instance-jb7dvbbh.js → location-4mq1x62p.js} +7 -7
- package/dist/chunks/{instance-bdgv4x5t.js → location-4rgapcf3.js} +15 -15
- package/dist/chunks/{instance-88ss8t9q.js → location-4t8t9syn.js} +13 -13
- package/dist/chunks/{instance-dtzxecjt.js → location-4xth3yzf.js} +9 -9
- package/dist/chunks/{instance-w60qb6s0.js → location-51hah4g5.js} +20 -20
- package/dist/chunks/{instance-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{instance-1kgt02yq.js → location-54rhwcph.js} +26 -26
- package/dist/chunks/{instance-1ygqh575.js → location-56gdpj1q.js} +9 -9
- package/dist/chunks/{instance-k24rpsjj.js → location-590cb2rw.js} +35 -35
- package/dist/chunks/{instance-2b7v78nw.js → location-5bmxm2h2.js} +35 -35
- package/dist/chunks/{instance-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/location-5gfh327x.js +507 -0
- package/dist/chunks/{instance-kh2jvqpk.js → location-5nwc1qt7.js} +3 -3
- package/dist/chunks/{instance-sm8msg89.js → location-5ps1pq9q.js} +4 -4
- package/dist/chunks/{instance-tcj970ag.js → location-5qkytfck.js} +20 -20
- package/dist/chunks/{instance-697fm79x.js → location-5qwkxp89.js} +4 -4
- package/dist/chunks/{instance-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-fx5e6na3.js → location-5xpznt2d.js} +4 -4
- package/dist/chunks/{instance-hfycda1e.js → location-613reg7y.js} +7 -7
- package/dist/chunks/{instance-pahs6y7g.js → location-623pka8b.js} +4 -4
- package/dist/chunks/{instance-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{instance-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-r40cdba5.js → location-6yvxz189.js} +17 -17
- package/dist/chunks/{instance-8kee5zap.js → location-71ynmsgj.js} +11 -11
- package/dist/chunks/{instance-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-rkprpv83.js → location-7fkffz83.js} +4 -4
- package/dist/chunks/{instance-yr8f4xz1.js → location-7g0wb0cy.js} +45 -45
- package/dist/chunks/{instance-57ez7d0k.js → location-81swgkk7.js} +7 -7
- package/dist/chunks/{instance-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{instance-agjy9qr2.js → location-87ewwnhh.js} +6 -6
- package/dist/chunks/{instance-3rtxz4nr.js → location-8aaqm6qj.js} +8 -8
- package/dist/chunks/{instance-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/location-8dbtp0rc.js +26 -0
- package/dist/chunks/{instance-7ntc9a0e.js → location-8dr8mq96.js} +32 -32
- package/dist/chunks/{instance-05nr12ga.js → location-8msq6g0a.js} +30 -30
- package/dist/chunks/{instance-cx34d9wd.js → location-8zqs9j7p.js} +9 -9
- package/dist/chunks/{instance-gfvb90ym.js → location-94ek1h2f.js} +2 -2
- package/dist/chunks/{instance-2py2e7s2.js → location-968bzxcp.js} +18 -18
- package/dist/chunks/{instance-snq06y00.js → location-9ap4ea2s.js} +11 -11
- package/dist/chunks/{instance-vmpgpmsk.js → location-9g4szje7.js} +9 -9
- package/dist/chunks/{instance-s72aqjrj.js → location-9teg96v0.js} +22 -22
- package/dist/chunks/{instance-nr7ts9f7.js → location-9tk9cqsk.js} +16 -16
- package/dist/chunks/{instance-aeg17wpk.js → location-a3ywwdhk.js} +33 -33
- package/dist/chunks/{instance-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-54w68rt0.js → location-agpdygac.js} +10 -10
- package/dist/chunks/{instance-z0rehys0.js → location-ahafs8t7.js} +13 -13
- package/dist/chunks/{instance-8b85xsm7.js → location-atbvbwe9.js} +32 -32
- package/dist/chunks/{instance-qdbakdjh.js → location-axs6pdy0.js} +5 -5
- package/dist/chunks/{instance-s8610hey.js → location-b09hzw3k.js} +2 -2
- package/dist/chunks/{instance-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-a788hp9v.js → location-b6w9je7w.js} +19 -19
- package/dist/chunks/{instance-5jmzar2h.js → location-b6zafb3b.js} +4 -4
- package/dist/chunks/{instance-0f1q8mhp.js → location-bv6e155w.js} +3 -3
- package/dist/chunks/{instance-qwvk0a6y.js → location-by4tzntv.js} +32 -32
- package/dist/chunks/{instance-7t80exg4.js → location-bzy5scph.js} +24 -24
- package/dist/chunks/{instance-8frmscre.js → location-c0yr27jg.js} +29 -29
- package/dist/chunks/{instance-h1q7n26e.js → location-c19pwdq3.js} +26 -26
- package/dist/chunks/{instance-c78bbtc9.js → location-c78bbtc9.js} +2 -2
- package/dist/chunks/{instance-5g4dphx9.js → location-c9yc49s2.js} +13 -13
- package/dist/chunks/{instance-ky9ke6qb.js → location-ckbtgcas.js} +12 -12
- package/dist/chunks/{instance-54tcyq79.js → location-ckecvw8r.js} +2 -2
- package/dist/chunks/{instance-cpy6gm2a.js → location-cpy6gm2a.js} +1 -1
- package/dist/chunks/{instance-cxceryqc.js → location-crf45ehp.js} +18 -18
- package/dist/chunks/{instance-fpwdcn1v.js → location-cw1jgv1w.js} +8 -8
- package/dist/chunks/{instance-cwa6csj7.js → location-cwa6csj7.js} +2 -2
- package/dist/chunks/{instance-dk7bjcdx.js → location-cy51bfwc.js} +26 -26
- package/dist/chunks/{instance-9hn6k4tm.js → location-czfptnv9.js} +8 -8
- package/dist/chunks/{instance-mk4ndz7c.js → location-czke85js.js} +25 -25
- package/dist/chunks/{instance-25m4qrv4.js → location-d6hekszz.js} +41 -41
- package/dist/chunks/{instance-53dkj82b.js → location-d7yvqe2m.js} +31 -31
- package/dist/chunks/{instance-582g2epr.js → location-dbebcc4e.js} +15 -15
- package/dist/chunks/{instance-hwwz6nq5.js → location-deav3xfk.js} +8 -8
- package/dist/chunks/{instance-xmtyjr0n.js → location-dpzww8qs.js} +24 -24
- package/dist/chunks/{instance-4trk4tg4.js → location-dqt459vh.js} +17 -17
- package/dist/chunks/{instance-kbet8yy5.js → location-e087dx1z.js} +18 -18
- package/dist/chunks/{instance-nrk5vjbf.js → location-e89xj288.js} +5 -5
- package/dist/chunks/{instance-ecfe7b91.js → location-ecfe7b91.js} +2 -2
- package/dist/chunks/{instance-f3e7ht4w.js → location-edpxxy6h.js} +8 -8
- package/dist/chunks/{instance-ze97y59n.js → location-edqypwwq.js} +9 -9
- package/dist/chunks/{instance-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-2r3mcywg.js → location-ejvqnc63.js} +15 -15
- package/dist/chunks/{instance-kfxj9hw0.js → location-ek5t7eqg.js} +6 -6
- package/dist/chunks/{instance-gtm2t5zb.js → location-en77ektd.js} +23 -23
- package/dist/chunks/{instance-0wgn88mx.js → location-eq03v0a1.js} +67 -67
- package/dist/chunks/{instance-f2m2hgdk.js → location-er3vg3vh.js} +44 -44
- package/dist/chunks/{instance-zpg2yzx7.js → location-etgzvy3j.js} +15 -15
- package/dist/chunks/{instance-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-f2n192rq.js → location-f2n192rq.js} +1 -1
- package/dist/chunks/{instance-cavr175a.js → location-f3ngv102.js} +4 -4
- package/dist/chunks/{instance-em6m98v9.js → location-f99pqswk.js} +39 -39
- package/dist/chunks/{instance-d5feer7t.js → location-fagqvdjb.js} +48 -48
- package/dist/chunks/{instance-0zkvp2s6.js → location-fc7nysvv.js} +23 -23
- package/dist/chunks/{instance-8f83kxjc.js → location-fn7q4aek.js} +5 -5
- package/dist/chunks/{instance-g5agzp2h.js → location-g5agzp2h.js} +2 -2
- package/dist/chunks/{instance-v5dkyp31.js → location-g8d3gcyj.js} +7 -7
- package/dist/chunks/{instance-5m3x4363.js → location-gax9tvz5.js} +9 -9
- package/dist/chunks/{instance-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-xnktwrqe.js → location-ges5jxp9.js} +33 -33
- package/dist/chunks/{instance-gxkpkgn5.js → location-gfpy67ef.js} +12 -12
- package/dist/chunks/{instance-369yqr36.js → location-ggany8nf.js} +16 -16
- package/dist/chunks/{instance-cg6spsmn.js → location-gkkmt2sg.js} +14 -14
- package/dist/chunks/{instance-tm1q26hq.js → location-gnnzp49s.js} +84 -84
- package/dist/chunks/{instance-13b8240x.js → location-gtk2dzy4.js} +17 -17
- package/dist/chunks/{instance-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instance-aw49yqdf.js → location-gz5dk3bq.js} +5 -5
- package/dist/chunks/{instance-p8kxwtmp.js → location-h345add1.js} +8 -8
- package/dist/chunks/{instance-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-gh1gkhec.js → location-hfe0pjhj.js} +10 -10
- package/dist/chunks/{instance-73g5gd7g.js → location-hrc5xhz2.js} +24 -24
- package/dist/chunks/{instance-szg73pt7.js → location-hte1hbnx.js} +20 -20
- package/dist/chunks/{instance-3ex2k6kh.js → location-hz96p7g5.js} +8 -8
- package/dist/chunks/{instance-73tb2d7t.js → location-j028xdjb.js} +3 -3
- package/dist/chunks/{instance-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-p5gdgn99.js → location-j5zkyg6c.js} +11 -11
- package/dist/chunks/{instance-q2b1ymqp.js → location-j83byb14.js} +4 -4
- package/dist/chunks/{instance-0t4t4bvw.js → location-j8zvn2fh.js} +8 -8
- package/dist/chunks/{instance-3zdj43gd.js → location-jdk5dma1.js} +10 -10
- package/dist/chunks/{instance-338qzn9z.js → location-je364zjc.js} +14 -14
- package/dist/chunks/{instance-2k71kv7p.js → location-jewzahs7.js} +4 -4
- package/dist/chunks/{instance-cmcswhn8.js → location-jfd6bygr.js} +1 -1
- package/dist/chunks/{instance-6zm15g3b.js → location-jvy0y2ha.js} +37 -37
- package/dist/chunks/{instance-eeg934br.js → location-jx0s70p5.js} +182 -182
- package/dist/chunks/{instance-2eey65yv.js → location-k4tg163h.js} +11 -11
- package/dist/chunks/{instance-yqj0yq0h.js → location-kgkc771s.js} +20 -20
- package/dist/chunks/{instance-hccam8ke.js → location-kk3cv3zh.js} +1 -1
- package/dist/chunks/{instance-pyef3n0n.js → location-kmprzaxc.js} +25 -25
- package/dist/chunks/{instance-dhzet7hy.js → location-kmz30q20.js} +20 -20
- package/dist/chunks/{instance-ran5413e.js → location-kn0epzjf.js} +11 -11
- package/dist/chunks/{instance-zfqvcme8.js → location-knbep6cp.js} +11 -11
- package/dist/chunks/{instance-r9w3djhf.js → location-kp8q1t60.js} +9 -9
- package/dist/chunks/{instance-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{instance-y410h1kq.js → location-m4s2206c.js} +22 -22
- package/dist/chunks/{instance-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-k566emck.js → location-math506r.js} +24 -24
- package/dist/chunks/{instance-edp70jz7.js → location-mbheeb9q.js} +13 -13
- package/dist/chunks/{instance-2t11h4xx.js → location-mp410mz8.js} +19 -19
- package/dist/chunks/{instance-addxnjmp.js → location-mpk0rfs5.js} +4 -4
- package/dist/chunks/{instance-zbn4a2wq.js → location-mr7cqtv5.js} +25 -25
- package/dist/chunks/{instance-xjjcaxk5.js → location-mt0r8540.js} +11 -11
- package/dist/chunks/{instance-8fm1z53k.js → location-mte2zf97.js} +18 -18
- package/dist/chunks/{instance-gwydwvmj.js → location-mw934p8z.js} +8 -8
- package/dist/chunks/{instance-je9gkswr.js → location-mzeadsks.js} +5 -5
- package/dist/chunks/{instance-4r9k3tsv.js → location-nnf39y6b.js} +38 -38
- package/dist/chunks/{instance-hxbvs3nd.js → location-nsa3r9ab.js} +12 -12
- package/dist/chunks/{instance-th5a95eq.js → location-nz8rrhbp.js} +27 -27
- package/dist/chunks/{instance-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{instance-zfqnw53k.js → location-nzpqs87y.js} +20 -20
- package/dist/chunks/{instance-fma9v0et.js → location-p9pebgfc.js} +17 -17
- package/dist/chunks/{instance-tat11k01.js → location-patgj9rf.js} +9 -9
- package/dist/chunks/{instance-nxcjarzz.js → location-pe666123.js} +3 -3
- package/dist/chunks/{instance-nxhqveyz.js → location-pecb0brz.js} +5 -5
- package/dist/chunks/{instance-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{instance-00z794ba.js → location-pmjs45am.js} +30 -30
- package/dist/chunks/{instance-g5hxes5s.js → location-pn17gp7k.js} +5 -5
- package/dist/chunks/{instance-1jf4r3q5.js → location-ptry4pjd.js} +30 -30
- package/dist/chunks/{instance-cecf23v1.js → location-pzxv3qq1.js} +88 -88
- package/dist/chunks/{instance-vpds3g83.js → location-q41j7w5c.js} +13 -13
- package/dist/chunks/{instance-2ebt2by2.js → location-q4e0v6dz.js} +26 -26
- package/dist/chunks/{instance-chnar1p2.js → location-qa0bweyd.js} +17 -17
- package/dist/chunks/{instance-pb4k853k.js → location-qfgbnpe6.js} +3 -3
- package/dist/chunks/{instance-n9q91xrw.js → location-qkg528j3.js} +51 -51
- package/dist/chunks/{instance-drwq78ky.js → location-qqeeq2t9.js} +7 -7
- package/dist/chunks/{instance-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-4w5f3qm5.js → location-qwjmgwmn.js} +8 -8
- package/dist/chunks/{instance-zrmawbs0.js → location-r0d4rr2j.js} +6 -6
- package/dist/chunks/{instance-n9gck6mn.js → location-r0dmdece.js} +2 -2
- package/dist/chunks/{instance-66xaeypk.js → location-r5skxa8y.js} +11 -11
- package/dist/chunks/{instance-h9pnpq88.js → location-ra4n65wq.js} +4 -4
- package/dist/chunks/{instance-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-kp1a29kb.js → location-rf7hrare.js} +11 -11
- package/dist/chunks/{instance-d7bvrw5g.js → location-rhtam9wh.js} +16 -16
- package/dist/chunks/{instance-mh5wyt4r.js → location-rnr5nq63.js} +19 -19
- package/dist/chunks/{instance-k920ke72.js → location-rqwzy025.js} +10 -10
- package/dist/chunks/{instance-0f7fdyhm.js → location-rtetnwks.js} +21 -21
- package/dist/chunks/{instance-76dcvmkt.js → location-rw7y820a.js} +17 -17
- package/dist/chunks/{instance-ab7zcdxy.js → location-s45cmrye.js} +32 -32
- package/dist/chunks/{instance-02nrjc1r.js → location-s8d7rejh.js} +8 -8
- package/dist/chunks/{instance-cxnb4521.js → location-sdvk2ad6.js} +22 -22
- package/dist/chunks/{instance-pq2xndxs.js → location-se0gt7je.js} +4 -4
- package/dist/chunks/{instance-0s4gzez2.js → location-sf9v7z6x.js} +5 -5
- package/dist/chunks/{instance-9yg8c2xz.js → location-sqxqv8se.js} +11 -11
- package/dist/chunks/{instance-vh4cd7k9.js → location-stwp2f1a.js} +10 -10
- package/dist/chunks/{instance-gnhsmmqn.js → location-swabsky0.js} +6 -6
- package/dist/chunks/{instance-909p1r3q.js → location-sxzvkvgj.js} +6 -6
- package/dist/chunks/{instance-p6wxjpka.js → location-syf57q56.js} +4 -4
- package/dist/chunks/{instance-8y7x8vcq.js → location-sz763eb6.js} +6 -6
- package/dist/chunks/{instance-b09tdaxh.js → location-t0csqp6z.js} +22 -22
- package/dist/chunks/{instance-rzv1dsbt.js → location-t1kg76fs.js} +32 -32
- package/dist/chunks/{instance-7s5j674f.js → location-t3cj5mba.js} +28 -28
- package/dist/chunks/{instance-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-s1pzcwv6.js → location-tdasrx2p.js} +15 -15
- package/dist/chunks/{instance-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{instance-rbs8ygdk.js → location-tekbb0q2.js} +27 -27
- package/dist/chunks/{instance-1wzp5vhs.js → location-tk0nydx8.js} +12 -12
- package/dist/chunks/{instance-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-v9ghf938.js → location-tyj1qjbe.js} +54 -54
- package/dist/chunks/location-v1faaxn9.js +18 -0
- package/dist/chunks/{instance-rt16eknw.js → location-v231365c.js} +5 -5
- package/dist/chunks/{instance-2fsr3kas.js → location-v9wsnbng.js} +26 -26
- package/dist/chunks/{instance-vkw8cemx.js → location-va37abn8.js} +12 -12
- package/dist/chunks/{instance-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-gd7zv552.js → location-vf7xdy0e.js} +25 -25
- package/dist/chunks/{instance-c6ktxwqc.js → location-vqk5dmcs.js} +8 -8
- package/dist/chunks/{instance-66jz9kyv.js → location-vsh1qdt7.js} +13 -13
- package/dist/chunks/{instance-85r8tsac.js → location-vsp45cnr.js} +30 -30
- package/dist/chunks/{instance-9vchvzry.js → location-vvxdtkaw.js} +9 -9
- package/dist/chunks/{instance-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instance-dj05ae37.js → location-w2738c68.js} +43 -43
- package/dist/chunks/location-w2qa834j.js +252 -0
- package/dist/chunks/{instance-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-9mzz4xwb.js → location-w60t80j4.js} +10 -10
- package/dist/chunks/{instance-psazpmmj.js → location-wd3x2cqz.js} +2 -2
- package/dist/chunks/{instance-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{instance-cdtc1y6n.js → location-wk53zw7x.js} +32 -32
- package/dist/chunks/{instance-x0k7g6rd.js → location-x0pg96dj.js} +20 -20
- package/dist/chunks/{instance-djya4byx.js → location-x0wcjtet.js} +23 -23
- package/dist/chunks/{instance-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-9gcpvxft.js → location-xjqc52jg.js} +9 -9
- package/dist/chunks/{instance-dmqcgk4z.js → location-xkntkrq7.js} +5 -5
- package/dist/chunks/{instance-12zqzasv.js → location-xmha486q.js} +27 -27
- package/dist/chunks/{instance-tepcqy9w.js → location-xrf4x0pp.js} +5 -5
- package/dist/chunks/{instance-g394atv5.js → location-xs9f3tqs.js} +32 -32
- package/dist/chunks/{instance-2m0bye6k.js → location-y017brwn.js} +34 -34
- package/dist/chunks/{instance-93x23pr4.js → location-y1bxbmrp.js} +11 -11
- package/dist/chunks/{instance-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-w47g9jnr.js → location-y5df08dr.js} +12 -12
- package/dist/chunks/{instance-2f04pwep.js → location-y6f0p4jw.js} +3 -3
- package/dist/chunks/{instance-dpkg50ah.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{instance-5nznbj64.js → location-yeyr9gdq.js} +21 -21
- package/dist/chunks/{instance-8mk465rv.js → location-yhztf7xm.js} +17 -17
- package/dist/chunks/{instance-qjnxxf51.js → location-yjptyezs.js} +5 -5
- package/dist/chunks/{instance-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{instance-bjtzbw4r.js → location-z07pqspn.js} +3 -3
- package/dist/chunks/{instance-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-atzz64ss.js → location-z1g2rz02.js} +3 -3
- package/dist/chunks/{instance-vcgwtbzj.js → location-z2mts3jq.js} +20 -20
- package/dist/chunks/{instance-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{instance-0b1r2nar.js → location-z7eps1h1.js} +4 -4
- package/dist/chunks/{instance-k43d2zym.js → location-zcza1hmm.js} +43 -43
- package/dist/chunks/{instance-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-38zchr7d.js → location-zgg0zcbd.js} +13 -13
- package/dist/chunks/{instance-web238rz.js → location-zmkr9het.js} +18 -18
- package/dist/chunks/{instance-95s58k3z.js → location-znkk0wve.js} +6 -6
- package/dist/chunks/{instance-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- 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 +85 -85
- 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 +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- 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 +132 -132
- 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 +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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/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 +3 -3
- 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 +95 -95
- 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/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 +2 -2
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- 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 +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- 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-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +101 -92
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- 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 +113 -113
- 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 +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- 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 +2 -2
- 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/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- 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 +93 -93
- 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 +79 -79
- 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 +163 -163
- package/dist/plugin/sdk.js +76 -76
- 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 +350 -350
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- 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 +7 -7
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +2 -2
- 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 +170 -170
- 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 +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- 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 +117 -117
- 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 +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/instance-40rza0xc.js +0 -507
- package/dist/chunks/instance-ma324w7y.js +0 -26
- package/dist/chunks/instance-phz3h32g.js +0 -18
- package/dist/chunks/instance-yg41kczc.js +0 -252
- /package/dist/chunks/{instance-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node85
|
|
7
|
+
} from "./location-y5df08dr.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-qfgbnpe6.js";
|
|
15
15
|
import {
|
|
16
16
|
Service83,
|
|
17
17
|
node87
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-se0gt7je.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-wd3x2cqz.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-94ek1h2f.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
NotFoundError10
|
|
28
|
+
} from "./location-8msq6g0a.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-rhtam9wh.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service63,
|
|
34
|
+
node67
|
|
35
|
+
} from "./location-1tk67md7.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make18
|
|
42
|
+
} from "./location-299n82gd.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service46
|
|
45
|
+
} from "./location-yeyr9gdq.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
|
|
|
53
53
|
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event8,
|
|
57
|
+
Info: () => Info8,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service45,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node47
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info8 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,22 +94,22 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event8 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service45 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service63;
|
|
108
|
+
const gitStrategy = yield* make18;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
112
|
-
return yield* new
|
|
112
|
+
return yield* new NotFoundError10({ projectID });
|
|
113
113
|
return row;
|
|
114
114
|
});
|
|
115
115
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service46).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event8.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service45.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node47 = Node.makeGlobalNode({
|
|
265
|
+
service: Service45,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node85, node87, node88, AppProcess.node, node67]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info8, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event8, Service45, node47, exports_worktree2, OperationError2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-t1kg76fs.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service49
|
|
8
|
+
} from "./location-w2738c68.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve4
|
|
11
|
+
} from "./location-znkk0wve.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin25
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin25 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service49;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -177,7 +177,7 @@ var Plugin38 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve4({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin25, exports_provider };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./location-sdvk2ad6.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./location-rhtam9wh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./location-w2738c68.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./location-bzy5scph.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service5
|
|
20
|
+
} from "./location-3pe7sts8.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-r0d4rr2j.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill2 = {};
|
|
30
|
+
__export(exports_skill2, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
+
Plugin: () => Plugin22
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin22 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service49;
|
|
43
|
+
const discovery = yield* Service5;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service50;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin45 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin45 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin45 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin45 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin45 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin22, exports_skill2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./location-y5df08dr.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service61,
|
|
16
|
+
node65
|
|
17
|
+
} from "./location-rqwzy025.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service60,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node64,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service60 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service61;
|
|
110
|
+
return Service60.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node64 = makeGlobalNode({
|
|
171
|
+
service: Service60,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node65]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service60, isError2, validateBranch2, node64, exports_repository_cache };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-kn0epzjf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-se0gt7je.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./location-pmjs45am.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-vsp45cnr.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-t1kg76fs.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
47
47
|
}));
|
|
48
48
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
49
49
|
var browser = (app) => ({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID14.make("openai"),
|
|
51
51
|
method: {
|
|
52
52
|
id: browserMethodID,
|
|
53
53
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ function addressInUse(error) {
|
|
|
120
120
|
return "code" in error && error.code === "EADDRINUSE";
|
|
121
121
|
}
|
|
122
122
|
var headless = (app) => ({
|
|
123
|
-
integrationID:
|
|
123
|
+
integrationID: ID14.make("openai"),
|
|
124
124
|
method: {
|
|
125
125
|
id: headlessMethodID,
|
|
126
126
|
type: "oauth",
|
|
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
|
|
|
181
181
|
});
|
|
182
182
|
yield* load();
|
|
183
183
|
yield* ctx.provider.transform((providers) => {
|
|
184
|
-
const item = providers.get(
|
|
184
|
+
const item = providers.get(ID13.openai);
|
|
185
185
|
if (!item)
|
|
186
186
|
return;
|
|
187
187
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
|
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
202
|
yield* ctx.model.transform((models) => {
|
|
203
|
-
for (const model of models.list(
|
|
203
|
+
for (const model of models.list(ID13.openai)) {
|
|
204
204
|
models.update(model.providerID, model.id, (draft) => {
|
|
205
205
|
if (!chatgpt)
|
|
206
206
|
return;
|
|
@@ -231,14 +231,14 @@ var OpenAIPlugin2 = define({
|
|
|
231
231
|
}));
|
|
232
232
|
evt.headers.originator = "opencode";
|
|
233
233
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
234
|
-
}), { providerID:
|
|
234
|
+
}), { providerID: ID13.openai });
|
|
235
235
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
236
236
|
delete evt.options.maxTokens;
|
|
237
237
|
});
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
239
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
function headers(contentType, app) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service70,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node74
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service70 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service70.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service70, node74, exports_image2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-t1kg76fs.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID13.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info10,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
|