@opencode/core 0.0.0-dev-19526 → 0.0.0-dev-19528
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{location-service-map-rhjbct0v.js → file-02nrjc1r.js} +6 -6
- package/dist/chunks/{location-service-map-qtvfk11k.js → file-02tcf4dd.js} +12 -12
- package/dist/chunks/{location-service-map-d35n3ytx.js → file-04amdepk.js} +24 -24
- package/dist/chunks/{location-service-map-rmj8e3tp.js → file-0artwwxx.js} +3 -3
- package/dist/chunks/{location-service-map-nmt3ecvr.js → file-0j7zpftg.js} +11 -11
- package/dist/chunks/{location-service-map-4r27yeqf.js → file-0jtbt960.js} +6 -6
- package/dist/chunks/{location-service-map-0jwsre1p.js → file-0jwsre1p.js} +1 -1
- package/dist/chunks/file-0mesazry.js +4 -0
- package/dist/chunks/{location-service-map-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-n061tvb2.js → file-0pb75hch.js} +5 -5
- package/dist/chunks/{location-service-map-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-service-map-dmxszfc8.js → file-0r9tn05x.js} +4 -4
- package/dist/chunks/{location-service-map-p96jhc2f.js → file-0ynyzna2.js} +10 -10
- package/dist/chunks/{location-service-map-e240csg8.js → file-14qwvs7b.js} +18 -18
- package/dist/chunks/{location-service-map-bn8z4hgt.js → file-1a4wx43g.js} +26 -26
- package/dist/chunks/{location-service-map-1acjjqhc.js → file-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-service-map-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-ara44wmm.js → file-1nqf8bjr.js} +33 -33
- package/dist/chunks/{location-service-map-macjbbq7.js → file-1szq9ecp.js} +13 -13
- package/dist/chunks/{location-service-map-kppgwn69.js → file-1t7r1zm4.js} +14 -14
- package/dist/chunks/file-1x11rq2a.js +18 -0
- package/dist/chunks/{location-service-map-p8psh417.js → file-1x57ve2g.js} +13 -13
- package/dist/chunks/{location-service-map-t0sqncza.js → file-1x75wf9g.js} +5 -5
- package/dist/chunks/{location-service-map-jfe769zj.js → file-1zhrd577.js} +8 -8
- package/dist/chunks/{location-service-map-ncx1zfyg.js → file-219neeqh.js} +5 -5
- package/dist/chunks/{location-service-map-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{location-service-map-qj8qcdcr.js → file-22g66rc5.js} +17 -17
- package/dist/chunks/{location-service-map-bsqxgfej.js → file-22km3b5w.js} +28 -28
- package/dist/chunks/{location-service-map-2402vzrj.js → file-2402vzrj.js} +1 -1
- package/dist/chunks/{location-service-map-bj73k9qk.js → file-25tefzdk.js} +33 -33
- package/dist/chunks/{location-service-map-yt6tv3nz.js → file-265kqrgy.js} +1 -1
- package/dist/chunks/{location-service-map-5qev0qcg.js → file-26b1weyt.js} +23 -23
- package/dist/chunks/{location-service-map-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-cmwkp3r5.js → file-2hyh68ab.js} +8 -8
- package/dist/chunks/file-2nc0627s.js +26 -0
- package/dist/chunks/{location-service-map-q1gq60c3.js → file-31z4jcxr.js} +54 -54
- package/dist/chunks/{location-service-map-cmwqdmc2.js → file-33n3bzdy.js} +6 -6
- package/dist/chunks/{location-service-map-0ytf8312.js → file-34va41r1.js} +13 -13
- package/dist/chunks/{location-service-map-6705qv0g.js → file-35bt1vh1.js} +17 -17
- package/dist/chunks/{location-service-map-n0a4p06j.js → file-35wynegs.js} +2 -2
- package/dist/chunks/{location-service-map-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-dea0ze15.js → file-3sv6egn8.js} +8 -8
- package/dist/chunks/{location-service-map-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-eky9x2ec.js → file-3ws8f5dp.js} +15 -15
- package/dist/chunks/{location-service-map-extvp8fg.js → file-3z7p1693.js} +20 -20
- package/dist/chunks/{location-service-map-vmcg8w16.js → file-40s62c95.js} +5 -5
- package/dist/chunks/{location-service-map-z6km8w65.js → file-414nmt5b.js} +19 -19
- package/dist/chunks/{location-service-map-76qxyhw0.js → file-41mmd9y1.js} +32 -32
- package/dist/chunks/{location-service-map-7m9vf5rx.js → file-43q9fha5.js} +5 -5
- package/dist/chunks/{location-service-map-nhy5jxhy.js → file-47gsdddb.js} +5 -5
- package/dist/chunks/{location-service-map-3dj6qs5p.js → file-47hzwb35.js} +3 -3
- package/dist/chunks/{location-service-map-dd8nvef4.js → file-4dc4y0ze.js} +11 -11
- package/dist/chunks/{location-service-map-cwbx0rfg.js → file-4en15s67.js} +20 -20
- package/dist/chunks/{location-service-map-mst48ss9.js → file-4t3xbkmp.js} +6 -6
- package/dist/chunks/{location-service-map-wjqg5mtv.js → file-4wgca9tc.js} +8 -8
- package/dist/chunks/{location-service-map-4y66k410.js → file-4y66k410.js} +2 -2
- package/dist/chunks/{location-service-map-k9s3w0m2.js → file-50qh24n3.js} +13 -13
- package/dist/chunks/{location-service-map-z143cnk6.js → file-539jk4fq.js} +3 -3
- package/dist/chunks/{location-service-map-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-fgj68e1w.js → file-5eb8dst9.js} +63 -63
- package/dist/chunks/{location-service-map-wgjsebpd.js → file-5gachfgg.js} +9 -9
- package/dist/chunks/{location-service-map-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-jj63jgrn.js → file-5trk58xb.js} +8 -8
- package/dist/chunks/{location-service-map-4c22vnh1.js → file-5wn696jm.js} +9 -9
- package/dist/chunks/{location-service-map-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{location-service-map-ks9p6dk0.js → file-6ah4wrp0.js} +4 -4
- package/dist/chunks/{location-service-map-cgfbfj64.js → file-6e2rzpgk.js} +7 -7
- package/dist/chunks/{location-service-map-kv4vw2nb.js → file-6gegejpr.js} +35 -35
- package/dist/chunks/{location-service-map-m2d0j7c0.js → file-6jnybvqn.js} +9 -9
- package/dist/chunks/{location-service-map-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-service-map-xdaq4n9p.js → file-6t0q9r78.js} +41 -41
- package/dist/chunks/{location-service-map-2aptycgy.js → file-6tn8gt44.js} +7 -7
- package/dist/chunks/{location-service-map-81g1qsdc.js → file-6wfz0872.js} +13 -13
- package/dist/chunks/{location-service-map-fgzdj8zs.js → file-6wnv8xsn.js} +14 -14
- package/dist/chunks/{location-service-map-6ddbedq8.js → file-70d2s7af.js} +1 -1
- package/dist/chunks/{location-service-map-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{location-service-map-e8vep78m.js → file-7673p22n.js} +5 -5
- package/dist/chunks/{location-service-map-sb1hd4c5.js → file-78qgck3m.js} +12 -12
- package/dist/chunks/{location-service-map-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-8y6qdvyf.js → file-7cewpcy1.js} +18 -18
- package/dist/chunks/{location-service-map-kb9ghrr9.js → file-7f05ey4a.js} +15 -15
- package/dist/chunks/{location-service-map-y4tf6mjn.js → file-7gch6zg2.js} +20 -20
- package/dist/chunks/{location-service-map-tdhe5xga.js → file-818pfwc9.js} +8 -8
- package/dist/chunks/{location-service-map-0b8gwnph.js → file-84kam919.js} +7 -7
- package/dist/chunks/{location-service-map-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-9na6ydfm.js → file-8eaqqbf0.js} +8 -8
- package/dist/chunks/{location-service-map-8p4f9s12.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-service-map-3bxse654.js → file-8qvgnq7a.js} +10 -10
- package/dist/chunks/{location-service-map-xn5rvdk3.js → file-8wsye86r.js} +8 -8
- package/dist/chunks/{location-service-map-2g9xpxn7.js → file-910fycqc.js} +10 -10
- package/dist/chunks/{location-service-map-s8esax8r.js → file-93t9nhp2.js} +35 -35
- package/dist/chunks/{location-service-map-7exjqjm0.js → file-9d5tvsq8.js} +20 -20
- package/dist/chunks/{location-service-map-5dd1v3sc.js → file-9ennmngc.js} +12 -12
- package/dist/chunks/{location-service-map-gk84n282.js → file-9p392py6.js} +15 -15
- package/dist/chunks/{location-service-map-n79p6j0f.js → file-9v254cxg.js} +20 -20
- package/dist/chunks/{location-service-map-a1bz86dw.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-service-map-n858xwcz.js → file-a5w130rq.js} +6 -6
- package/dist/chunks/{location-service-map-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-ab9238g2.js → file-ab9238g2.js} +1 -1
- package/dist/chunks/{location-service-map-4s1bbv2b.js → file-ahr8cyhk.js} +23 -23
- package/dist/chunks/{location-service-map-9nrh9r5h.js → file-ajvgy2xn.js} +9 -9
- package/dist/chunks/{location-service-map-94zcscr3.js → file-arxy3m15.js} +9 -9
- package/dist/chunks/{location-service-map-tfe8r9yw.js → file-b1ngvqv8.js} +9 -9
- package/dist/chunks/{location-service-map-ezb7zwca.js → file-b1rr2bsg.js} +22 -22
- package/dist/chunks/{location-service-map-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-va5qff5x.js → file-bscb95cy.js} +4 -4
- package/dist/chunks/{location-service-map-02ewr2by.js → file-c03p6rem.js} +11 -11
- package/dist/chunks/{location-service-map-jqhjw8sv.js → file-c4p1vnej.js} +11 -11
- package/dist/chunks/{location-service-map-ezjty4fe.js → file-cd4k6mez.js} +19 -19
- package/dist/chunks/{location-service-map-2dckjqza.js → file-ce0m10b2.js} +27 -27
- package/dist/chunks/{location-service-map-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-service-map-7azwfx08.js → file-cqbh7drg.js} +9 -9
- package/dist/chunks/{location-service-map-z8zdqtej.js → file-cqy54w6w.js} +11 -11
- package/dist/chunks/{location-service-map-z8v5b26b.js → file-cs88ywcc.js} +27 -27
- package/dist/chunks/file-csv2z0zd.js +462 -0
- package/dist/chunks/{location-service-map-p0cntz7p.js → file-cvtmmhw6.js} +1 -1
- package/dist/chunks/{location-service-map-h2qnwgpk.js → file-d0xr2htc.js} +20 -20
- package/dist/chunks/{location-service-map-0wa7p661.js → file-d2yvvzw2.js} +12 -12
- package/dist/chunks/{location-service-map-a6qgqttc.js → file-d3gk90dh.js} +25 -25
- package/dist/chunks/{location-service-map-cr14a9k8.js → file-d9h41z9h.js} +27 -27
- package/dist/chunks/{location-service-map-3b11dhj6.js → file-dakg7qy7.js} +8 -8
- package/dist/chunks/{location-service-map-h29kfqze.js → file-dkbmr5pe.js} +11 -11
- package/dist/chunks/{location-service-map-tcemetme.js → file-dm7r3pc5.js} +15 -15
- package/dist/chunks/{location-service-map-41raftcs.js → file-dnrxcw6z.js} +16 -16
- package/dist/chunks/{location-service-map-81fdkyjj.js → file-e6mw24qv.js} +17 -17
- package/dist/chunks/{location-service-map-s7t06fzn.js → file-e6z0mwk1.js} +3 -3
- package/dist/chunks/file-emt1axv0.js +247 -0
- package/dist/chunks/{location-service-map-86f6e8sz.js → file-en7aa967.js} +16 -16
- package/dist/chunks/{location-service-map-h71w788e.js → file-esj243wz.js} +9 -9
- package/dist/chunks/{location-service-map-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-62b5vckm.js → file-f06f3n70.js} +10 -10
- package/dist/chunks/{location-service-map-26k6twgg.js → file-f2pfnty7.js} +34 -34
- package/dist/chunks/{location-service-map-f828m53h.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{location-service-map-3vw45jna.js → file-fcfzvh6j.js} +146 -146
- package/dist/chunks/{location-service-map-vy5x89ec.js → file-fege0r9h.js} +15 -15
- package/dist/chunks/{location-service-map-e4emtts5.js → file-fezapags.js} +4 -4
- package/dist/chunks/{location-service-map-44wkazz6.js → file-fhzfzy7c.js} +7 -7
- package/dist/chunks/{location-service-map-ws4yv80v.js → file-fjmrr6sh.js} +9 -9
- package/dist/chunks/{location-service-map-m15xpe5b.js → file-fk07q997.js} +21 -21
- package/dist/chunks/{location-service-map-3ep00wvs.js → file-fpv6qd1b.js} +8 -8
- package/dist/chunks/{location-service-map-yhsntfs8.js → file-frwkzbx8.js} +49 -49
- package/dist/chunks/{location-service-map-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-service-map-cq37gk0t.js → file-fxqygnfa.js} +4 -4
- package/dist/chunks/{location-service-map-mjymc32g.js → file-g190xswt.js} +4 -4
- package/dist/chunks/{location-service-map-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-bpn4p6tf.js → file-gd8cvna8.js} +16 -16
- package/dist/chunks/{location-service-map-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
- package/dist/chunks/{location-service-map-rbbbqjtt.js → file-gf2pd57e.js} +6 -6
- package/dist/chunks/{location-service-map-g2pa3hw7.js → file-ghe2dkz9.js} +35 -35
- package/dist/chunks/{location-service-map-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-service-map-cjbknnmw.js → file-gvraedsa.js} +24 -24
- package/dist/chunks/{location-service-map-63kywkak.js → file-gytrcvhg.js} +9 -9
- package/dist/chunks/{location-service-map-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-service-map-bwchgx6d.js → file-h1jj9pag.js} +41 -41
- package/dist/chunks/{location-service-map-bg55d598.js → file-h1pzvny1.js} +21 -21
- package/dist/chunks/{location-service-map-j4kxwsds.js → file-h3jtbnzr.js} +22 -22
- package/dist/chunks/{location-service-map-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-hwp109rr.js → file-hsypa6ar.js} +23 -23
- package/dist/chunks/{location-service-map-wdq75b5e.js → file-htmns1y3.js} +4 -4
- package/dist/chunks/{location-service-map-et0rkxxj.js → file-hvbks3tt.js} +8 -8
- package/dist/chunks/{location-service-map-wseagqzp.js → file-hxbh4fj6.js} +11 -11
- package/dist/chunks/{location-service-map-35vexpw6.js → file-j00tdnw6.js} +6 -6
- package/dist/chunks/{location-service-map-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-pmr4s4kc.js → file-j83byb14.js} +4 -4
- package/dist/chunks/{location-service-map-ywzm6tvd.js → file-jcgwdjtk.js} +15 -15
- package/dist/chunks/{location-service-map-056n2m1g.js → file-jkhg65pf.js} +8 -8
- package/dist/chunks/{location-service-map-vmb1g9yg.js → file-jv85zyec.js} +3 -3
- package/dist/chunks/{location-service-map-temrxnya.js → file-jxmh29vv.js} +3 -3
- package/dist/chunks/{location-service-map-96nkrwpx.js → file-k1vfbhap.js} +15 -15
- package/dist/chunks/{location-service-map-j8eq448m.js → file-k4qrwsy9.js} +47 -47
- package/dist/chunks/{location-service-map-jvf3yq6v.js → file-k76fn4kw.js} +4 -4
- package/dist/chunks/{location-service-map-v8zv6t8m.js → file-kb4a3nmp.js} +46 -46
- package/dist/chunks/{location-service-map-2jmhezps.js → file-kf46snkd.js} +20 -20
- package/dist/chunks/{location-service-map-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{location-service-map-b0y5dw0t.js → file-kp8nr7sd.js} +24 -24
- package/dist/chunks/{location-service-map-df1gd0ha.js → file-kv8awt1x.js} +6 -6
- package/dist/chunks/{location-service-map-9we513x8.js → file-m95xzgpp.js} +6 -6
- package/dist/chunks/{location-service-map-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-56gdpj1q.js → file-mfqp6xfm.js} +6 -6
- package/dist/chunks/{location-service-map-1bbkgx8g.js → file-mhkvc446.js} +3 -3
- package/dist/chunks/{location-service-map-mbmajcqq.js → file-mrde2rj2.js} +4 -4
- package/dist/chunks/{location-service-map-mn5vge6e.js → file-mv3cjtdy.js} +29 -29
- package/dist/chunks/{location-service-map-4bytqjtr.js → file-mz6ae2yf.js} +1 -1
- package/dist/chunks/{location-service-map-88s37jky.js → file-n3ztrd94.js} +26 -26
- package/dist/chunks/{location-service-map-70ghb00d.js → file-nbddwgy7.js} +10 -10
- package/dist/chunks/{location-service-map-34ha2cd1.js → file-nfqbq3x1.js} +11 -11
- package/dist/chunks/{location-service-map-hz1mcyvk.js → file-nhkphzvf.js} +2 -2
- package/dist/chunks/{location-service-map-bjykd02c.js → file-p4ncety1.js} +18 -18
- package/dist/chunks/{location-service-map-tfsvbd81.js → file-p6dq1g3m.js} +20 -20
- package/dist/chunks/{location-service-map-cr07tj7n.js → file-pecb0brz.js} +5 -5
- package/dist/chunks/{location-service-map-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-fzj6gxj4.js → file-pm2x09cs.js} +26 -26
- package/dist/chunks/{location-service-map-nv5vn7qx.js → file-prbnmmzj.js} +8 -8
- package/dist/chunks/{location-service-map-3ft3p6xv.js → file-pvfkhdr6.js} +4 -4
- package/dist/chunks/{location-service-map-tf0c8dww.js → file-q1r1ttcv.js} +20 -20
- package/dist/chunks/{location-service-map-72j5x3sg.js → file-q79ez36s.js} +13 -13
- package/dist/chunks/{location-service-map-sc041ka6.js → file-qbkv1r9x.js} +30 -30
- package/dist/chunks/{location-service-map-ya1kd0gg.js → file-qhyy3z7t.js} +18 -18
- package/dist/chunks/{location-service-map-qn4ba14w.js → file-qjnxxf51.js} +5 -5
- package/dist/chunks/{location-service-map-761wwe1s.js → file-qn41sexy.js} +84 -84
- package/dist/chunks/{location-service-map-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-0khhz0x2.js → file-qx7mza5y.js} +15 -15
- package/dist/chunks/{location-service-map-q10f7s3e.js → file-r2hc3hm0.js} +10 -10
- package/dist/chunks/{location-service-map-r9mregkx.js → file-r9mregkx.js} +2 -2
- package/dist/chunks/{location-service-map-nnzxvn8r.js → file-rbfaw35k.js} +34 -34
- package/dist/chunks/{location-service-map-x8cnzhn9.js → file-rfw2p3w1.js} +13 -13
- package/dist/chunks/{location-service-map-9fh4948w.js → file-rkzx19zq.js} +15 -15
- package/dist/chunks/{location-service-map-dnhktrnt.js → file-rmn58emj.js} +11 -11
- package/dist/chunks/{location-service-map-knw8azhs.js → file-rs36rx17.js} +26 -26
- package/dist/chunks/{location-service-map-mfhfdr54.js → file-rsdf2nvv.js} +4 -4
- package/dist/chunks/{location-service-map-4bw7nj7e.js → file-rtd9zf3v.js} +54 -54
- package/dist/chunks/{location-service-map-2t6pc9fw.js → file-rya1a4hz.js} +25 -25
- package/dist/chunks/{location-service-map-7sfr0s8h.js → file-s07qazfk.js} +7 -7
- package/dist/chunks/{location-service-map-fzy32552.js → file-s0gw9m46.js} +4 -4
- package/dist/chunks/{location-service-map-2t2p0k4y.js → file-s1cnfe1p.js} +11 -11
- package/dist/chunks/{location-service-map-t1gg20rg.js → file-s2297spr.js} +20 -20
- package/dist/chunks/{location-service-map-d29d5e4w.js → file-s23yxtty.js} +10 -10
- package/dist/chunks/{location-service-map-vze96k0n.js → file-s9yxznb6.js} +4 -4
- package/dist/chunks/{location-service-map-qx1bsczb.js → file-sd4j1pxm.js} +9 -9
- package/dist/chunks/{location-service-map-m46exch3.js → file-shrpy2d8.js} +6 -6
- package/dist/chunks/{location-service-map-hwk14yfv.js → file-sp4mxhmb.js} +9 -9
- package/dist/chunks/{location-service-map-pbfwh0cy.js → file-sxz6gkc3.js} +4 -4
- package/dist/chunks/{location-service-map-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-qr8csav2.js → file-tn0aqsam.js} +5 -5
- package/dist/chunks/{location-service-map-dtw4xqq5.js → file-trt71rst.js} +41 -41
- package/dist/chunks/{location-service-map-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{location-service-map-0af7c97v.js → file-v5j4d43x.js} +2 -2
- package/dist/chunks/{location-service-map-mfkt00wb.js → file-v8h4em9y.js} +37 -37
- package/dist/chunks/{location-service-map-tw96capc.js → file-vc991s6b.js} +84 -84
- package/dist/chunks/{location-service-map-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-n1jps1an.js → file-vesrk8bq.js} +11 -11
- package/dist/chunks/{location-service-map-htw1ycyk.js → file-vh74bm19.js} +15 -15
- package/dist/chunks/{location-service-map-j8pqb2xg.js → file-vt5pzj5z.js} +10 -10
- package/dist/chunks/{location-service-map-x85ct4pa.js → file-vyk9kkx4.js} +4 -4
- package/dist/chunks/{location-service-map-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-service-map-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-31e57ssv.js → file-w4s8a7wb.js} +16 -16
- package/dist/chunks/{location-service-map-5h0nedhb.js → file-wavq5vqb.js} +1 -1
- package/dist/chunks/{location-service-map-21fn2vng.js → file-wbysn9an.js} +26 -26
- package/dist/chunks/{location-service-map-drkcdcj5.js → file-wd251cp4.js} +4 -4
- package/dist/chunks/{location-service-map-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-39r80e1r.js → file-wx9wy1qm.js} +1 -1
- package/dist/chunks/{location-service-map-816k9hah.js → file-wxpbfje7.js} +11 -11
- package/dist/chunks/{location-service-map-gk3dk4ww.js → file-x02aksw7.js} +27 -27
- package/dist/chunks/{location-service-map-7z4xahb4.js → file-x0cdxhvm.js} +33 -33
- package/dist/chunks/{location-service-map-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-service-map-mqhbcrz9.js → file-x64f48yq.js} +17 -17
- package/dist/chunks/{location-service-map-kwekmzq6.js → file-x7wsddgn.js} +15 -15
- package/dist/chunks/{location-service-map-2hnb5zpz.js → file-xb0gqag0.js} +12 -12
- package/dist/chunks/{location-service-map-g4yfjkxt.js → file-xt5erzss.js} +43 -43
- package/dist/chunks/{location-service-map-qa515kys.js → file-xvqmdntd.js} +36 -36
- package/dist/chunks/{location-service-map-tvwcnnqz.js → file-xwbwee27.js} +36 -36
- package/dist/chunks/{location-service-map-c5gn303e.js → file-xwwz9aqf.js} +4 -4
- package/dist/chunks/{location-service-map-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-rd68kf8k.js → file-y1k8ht98.js} +33 -33
- package/dist/chunks/{location-service-map-y71avatq.js → file-y71avatq.js} +1 -1
- package/dist/chunks/{location-service-map-te0y5yvz.js → file-y8p3zjbc.js} +6 -6
- package/dist/chunks/{location-service-map-xrk2t408.js → file-yaq7yvs3.js} +14 -14
- package/dist/chunks/{location-service-map-r3fekxty.js → file-ydee2bp2.js} +41 -41
- package/dist/chunks/{location-service-map-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-service-map-yrznvahk.js → file-yrznvahk.js} +2 -2
- package/dist/chunks/{location-service-map-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-p4ra41gf.js → file-z5h77yjr.js} +47 -47
- package/dist/chunks/{location-service-map-sv3tjegf.js → file-z5ktvhxm.js} +9 -9
- package/dist/chunks/{location-service-map-z63w68vq.js → file-z63w68vq.js} +2 -2
- package/dist/chunks/{location-service-map-2dgw9s7c.js → file-z7g31g5b.js} +1 -1
- package/dist/chunks/{location-service-map-z8xc4d6k.js → file-zad2r4qh.js} +21 -21
- package/dist/chunks/{location-service-map-vnraxnqt.js → file-zc8d7jvw.js} +3 -3
- package/dist/chunks/{location-service-map-trmn0xjy.js → file-zcf49hx1.js} +23 -23
- package/dist/chunks/{location-service-map-ckyhaqeq.js → file-zd5ckerx.js} +32 -32
- package/dist/chunks/{location-service-map-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-service-map-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-v39hw6t4.js → file-zs2arz1s.js} +29 -29
- package/dist/chunks/{location-service-map-pp0wchrp.js → file-zte42zvw.js} +12 -12
- package/dist/chunks/{location-service-map-fq9618wy.js → file-zvrekwpq.js} +6 -6
- package/dist/chunks/{location-service-map-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +114 -114
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +97 -97
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +81 -81
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +353 -353
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +81 -81
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- 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 +129 -129
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +350 -350
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- 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 +95 -95
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +147 -147
- 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 +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- 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 +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- 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 +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/location-service-map-5n0hn1pm.js +0 -462
- package/dist/chunks/location-service-map-8vj7k6c5.js +0 -26
- package/dist/chunks/location-service-map-hgd4btym.js +0 -18
- package/dist/chunks/location-service-map-mj4svvj3.js +0 -247
- package/dist/chunks/location-service-map-qapv375x.js +0 -4
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-paphc93g.js → file-paphc93g.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./file-6t0q9r78.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info29,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service75,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node80,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info29, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service75 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node80 = LayerNode.unbound(Service75, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service76;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service75.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service75,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node81]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info29, Ref4, response2, Service75, node80, boundNode2, exports_location };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-fezapags.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event16,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID10,
|
|
20
|
+
Info: () => Info23,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError6,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service63,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node67,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID10 = Form.ID;
|
|
39
|
+
var Info23 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID10
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID10
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID10
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID10,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service63 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer23 = Layer.effect(Service63, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError6({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID10.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer24 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service63.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node67 = makeLocationNode({ service: Service63, layer: layer23, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID10, Info23, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError6, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service63, layer23, node67, validateAnswer2, validateFields2, exports_form, Event16 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-6e2rzpgk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID18
|
|
6
|
+
} from "./file-33n3bzdy.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID18.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-33n3bzdy.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info20
|
|
11
|
+
} from "./file-zte42zvw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -87,7 +87,7 @@ async function get3(baseURL, headers, existing) {
|
|
|
87
87
|
result.set(id, build(id, current, baseURL, model));
|
|
88
88
|
}
|
|
89
89
|
for (const [id, model] of remote) {
|
|
90
|
-
const key =
|
|
90
|
+
const key = ID7.make(id);
|
|
91
91
|
if (result.has(key))
|
|
92
92
|
continue;
|
|
93
93
|
result.set(key, build(key, model, baseURL));
|
|
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
111
111
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
112
112
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
113
113
|
const released = previous?.time.released || Date.parse(version);
|
|
114
|
-
return
|
|
115
|
-
...
|
|
114
|
+
return Info20.make({
|
|
115
|
+
...Info20.default(ID18.githubCopilot, id),
|
|
116
116
|
id,
|
|
117
|
-
modelID:
|
|
118
|
-
providerID:
|
|
117
|
+
modelID: ID7.make(remote.id),
|
|
118
|
+
providerID: ID18.githubCopilot,
|
|
119
119
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
120
120
|
name: previous?.name ?? remote.name,
|
|
121
121
|
package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node48
|
|
5
|
+
} from "./file-6e2rzpgk.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-rsdf2nvv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service71,
|
|
12
|
+
node75
|
|
13
|
+
} from "./file-5trk58xb.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-rtd9zf3v.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-rmn58emj.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./file-gvraedsa.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service26,
|
|
25
25
|
node31
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-8qvgnq7a.js";
|
|
27
27
|
import {
|
|
28
28
|
make14
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-47gsdddb.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-wx9wy1qm.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service25,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
44
|
+
layer: () => layer10,
|
|
45
45
|
node: () => node30,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service25 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer10 = Layer.effect(Service25, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service71;
|
|
157
|
+
const transport = yield* Service26;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -244,7 +244,7 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
246
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
247
|
-
return
|
|
247
|
+
return Service25.of({
|
|
248
248
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
249
249
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
250
250
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
@@ -252,9 +252,9 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
252
252
|
});
|
|
253
253
|
}));
|
|
254
254
|
var node30 = makeLocationNode({
|
|
255
|
-
service:
|
|
256
|
-
layer:
|
|
257
|
-
deps: [
|
|
255
|
+
service: Service25,
|
|
256
|
+
layer: layer10,
|
|
257
|
+
deps: [node75, node31, node48]
|
|
258
258
|
});
|
|
259
259
|
|
|
260
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
260
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service25, layer10, node30, exports_model_request };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node82
|
|
10
|
+
} from "./file-nbddwgy7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node80
|
|
14
|
+
} from "./file-w4s8a7wb.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service48,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node53,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service48 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service77;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service75;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service48.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node53 = makeLocationNode({
|
|
139
|
+
service: Service48,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node82, Global.node, node80]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service48, Service48.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service65, Service65.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID6, Error3, Service48, node53, noopLayer2, exports_snapshot2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-47hzwb35.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID12,
|
|
17
|
+
Info: () => Info25,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service69,
|
|
21
|
+
node: () => node73
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID12 = PermissionSaved.ID;
|
|
29
|
+
var Info25 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service69 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID12.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service69.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node73 = makeGlobalNode({ service: Service69, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID12, Info25, ListInput5, AddInput2, Service69, node73, exports_saved };
|