@opencode/core 0.0.0-dev-19380 → 0.0.0-dev-19384
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{image-eaj1djv9.js → model-resolver-02nrjc1r.js} +4 -4
- package/dist/chunks/{image-dk1k8jg0.js → model-resolver-0a57wjjf.js} +6 -6
- package/dist/chunks/{image-2jmaghvr.js → model-resolver-0ft9cg2j.js} +4 -4
- package/dist/chunks/{image-44v0d0rd.js → model-resolver-0p99qez5.js} +35 -35
- package/dist/chunks/{image-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{image-jefma2gq.js → model-resolver-0wrbff2f.js} +10 -10
- package/dist/chunks/{image-dv7q5rg8.js → model-resolver-10zhb9cj.js} +16 -16
- package/dist/chunks/{image-8sghyhzw.js → model-resolver-121k57vw.js} +8 -8
- package/dist/chunks/{image-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-1dfhrqqs.js → model-resolver-1eyaby9q.js} +9 -3
- package/dist/chunks/{image-eh9pkkfn.js → model-resolver-1g817pcs.js} +25 -25
- package/dist/chunks/{image-1hc11dc4.js → model-resolver-1hc11dc4.js} +1 -1
- package/dist/chunks/{image-80mm33n1.js → model-resolver-1pjc74g1.js} +4 -4
- package/dist/chunks/{image-375m0vdq.js → model-resolver-1r8xap2c.js} +50 -50
- package/dist/chunks/{image-g4323jq2.js → model-resolver-1y2x0aqg.js} +17 -17
- package/dist/chunks/{image-w9btdkd8.js → model-resolver-20fjk41b.js} +11 -11
- package/dist/chunks/{image-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{image-2zqzht8c.js → model-resolver-266ddf5t.js} +76 -76
- package/dist/chunks/{image-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-dhxgvw4n.js → model-resolver-2bhdwkz4.js} +34 -34
- package/dist/chunks/{image-fp2g2en9.js → model-resolver-2c9abtxg.js} +8 -8
- package/dist/chunks/{image-dxd8724q.js → model-resolver-2de4jeeq.js} +12 -12
- package/dist/chunks/{image-2f0bjgcj.js → model-resolver-2f0bjgcj.js} +2 -2
- package/dist/chunks/{image-5gvvh2yy.js → model-resolver-2neek4c8.js} +24 -24
- package/dist/chunks/{image-gyvrdhvx.js → model-resolver-2qjqjmaw.js} +9 -9
- package/dist/chunks/{image-t5tawnyt.js → model-resolver-2szxs6c7.js} +4 -4
- package/dist/chunks/{image-jygyrd66.js → model-resolver-2wyjv582.js} +4 -4
- package/dist/chunks/{image-8z38cya5.js → model-resolver-32sr25b2.js} +6 -6
- package/dist/chunks/{image-08vzscpg.js → model-resolver-32yfgjtf.js} +6 -6
- package/dist/chunks/{image-m1xwthtr.js → model-resolver-341vskh0.js} +29 -29
- package/dist/chunks/{image-n544n5wp.js → model-resolver-34gkz9wj.js} +4 -4
- package/dist/chunks/{image-es7v40c8.js → model-resolver-394mryvr.js} +22 -12
- package/dist/chunks/{image-bww3b1eg.js → model-resolver-3axs0qpa.js} +9 -9
- package/dist/chunks/{image-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-3q1jyqhd.js → model-resolver-3q1jyqhd.js} +1 -1
- package/dist/chunks/{image-fwxfxhjf.js → model-resolver-3rr3nb8h.js} +10 -10
- package/dist/chunks/{image-v77mzet0.js → model-resolver-3sexfajv.js} +3 -3
- package/dist/chunks/{image-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-96yt6zt0.js → model-resolver-3y2vzd8j.js} +1 -1
- package/dist/chunks/{image-tkmzzx31.js → model-resolver-412kwdx9.js} +23 -19
- package/dist/chunks/{image-nhy5jxhy.js → model-resolver-47gsdddb.js} +5 -5
- package/dist/chunks/{image-f8q7mv7a.js → model-resolver-4am1wjpn.js} +1 -1
- package/dist/chunks/{image-jqg759ma.js → model-resolver-4bbwdacz.js} +41 -41
- package/dist/chunks/{image-vw4q4v2e.js → model-resolver-4gd74qvs.js} +3 -3
- package/dist/chunks/{image-j1ety8gf.js → model-resolver-4h6za3g8.js} +11 -11
- package/dist/chunks/{image-1v10awgp.js → model-resolver-4p59xbax.js} +11 -11
- package/dist/chunks/{image-ghpk313n.js → model-resolver-54n99x85.js} +15 -15
- package/dist/chunks/{image-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{image-t0x5rdq8.js → model-resolver-5kptn8c0.js} +9 -9
- package/dist/chunks/{image-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-drfx6mrc.js → model-resolver-60jadqqn.js} +15 -15
- package/dist/chunks/{image-6178vqjw.js → model-resolver-6178vqjw.js} +3 -3
- package/dist/chunks/{image-g7q3et99.js → model-resolver-62v8g8sf.js} +30 -30
- package/dist/chunks/{image-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{image-fqcs3wbx.js → model-resolver-6adjmyr0.js} +15 -15
- package/dist/chunks/{image-vtjp1ac9.js → model-resolver-6b99yyvg.js} +9 -9
- package/dist/chunks/{image-rwr4c2mk.js → model-resolver-6bpyz9aj.js} +11 -11
- package/dist/chunks/{image-2402vzrj.js → model-resolver-6h73sxmp.js} +5 -5
- package/dist/chunks/model-resolver-6kdq0pjd.js +4 -0
- package/dist/chunks/{image-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{image-gs88pkvr.js → model-resolver-6nxs6bmb.js} +6 -6
- package/dist/chunks/{image-5b03hfx9.js → model-resolver-6p2e52w0.js} +33 -33
- package/dist/chunks/{image-frbygdf8.js → model-resolver-6q5arvd8.js} +45 -45
- package/dist/chunks/{image-b6mydgak.js → model-resolver-6rsb5r8s.js} +24 -24
- package/dist/chunks/{image-7sc5k81e.js → model-resolver-6sg55drv.js} +18 -18
- package/dist/chunks/{image-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
- package/dist/chunks/{image-pkd80rj8.js → model-resolver-754zj9nk.js} +16 -16
- package/dist/chunks/{image-hav42nfq.js → model-resolver-77bj7wjf.js} +33 -33
- package/dist/chunks/{image-2hyh68ab.js → model-resolver-7b15y959.js} +8 -8
- package/dist/chunks/{image-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-pe5rt17n.js → model-resolver-7bzsnhgb.js} +11 -11
- package/dist/chunks/{image-2k8khapm.js → model-resolver-7dqw4kz8.js} +5 -5
- package/dist/chunks/{image-z7wk1t2t.js → model-resolver-7jhhyt0b.js} +36 -36
- package/dist/chunks/{image-y9r74ywk.js → model-resolver-7s3an50r.js} +7 -7
- package/dist/chunks/{image-fpedvwpv.js → model-resolver-7xhxth10.js} +11 -11
- package/dist/chunks/{image-g12yb26k.js → model-resolver-7zavcbms.js} +3 -3
- package/dist/chunks/{image-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-bcnz578n.js → model-resolver-8fqcqt95.js} +2 -2
- package/dist/chunks/{image-2294ygm0.js → model-resolver-8jv093w6.js} +24 -24
- package/dist/chunks/{image-a2pqrs4v.js → model-resolver-8n5es00k.js} +28 -28
- package/dist/chunks/{image-jx9tjk9z.js → model-resolver-8nnbah93.js} +4 -4
- package/dist/chunks/{image-8p4f9s12.js → model-resolver-8p4f9s12.js} +2 -2
- package/dist/chunks/{image-ghk9cxjs.js → model-resolver-8q9myf25.js} +6 -6
- package/dist/chunks/{image-1mnera5v.js → model-resolver-922arjmq.js} +15 -15
- package/dist/chunks/{image-efm3cepc.js → model-resolver-964trts7.js} +27 -27
- package/dist/chunks/{image-sxck3c70.js → model-resolver-9a34e234.js} +13 -13
- package/dist/chunks/{image-4n6jc07b.js → model-resolver-9km4y146.js} +6 -6
- package/dist/chunks/{image-kzfkngwb.js → model-resolver-9m7evh4e.js} +16 -16
- package/dist/chunks/{image-3km78a0t.js → model-resolver-9q2j1ek8.js} +21 -21
- package/dist/chunks/{image-z2k03asg.js → model-resolver-9w6qx4ar.js} +8 -8
- package/dist/chunks/{image-9xf4v56b.js → model-resolver-9w6wr46b.js} +24 -24
- package/dist/chunks/{image-0c191e3s.js → model-resolver-a165ysxp.js} +48 -48
- package/dist/chunks/{image-a1bz86dw.js → model-resolver-a1bz86dw.js} +3 -3
- package/dist/chunks/{image-07crn4sr.js → model-resolver-a211gggb.js} +20 -20
- package/dist/chunks/model-resolver-a5tg2hvh.js +462 -0
- package/dist/chunks/{image-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{image-7e9rzmr4.js → model-resolver-abgeen7n.js} +22 -22
- package/dist/chunks/{image-7mr9n23j.js → model-resolver-ahtyeane.js} +46 -46
- package/dist/chunks/{image-1fmrbde1.js → model-resolver-ak9msbxp.js} +6 -6
- package/dist/chunks/{image-g3n1yrvq.js → model-resolver-awaee7qt.js} +9 -9
- package/dist/chunks/{image-xjgz4ta8.js → model-resolver-b4cdxvsz.js} +39 -39
- package/dist/chunks/{image-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-z69s9t6b.js → model-resolver-bd9nqr2t.js} +5 -5
- package/dist/chunks/{image-hdzf7ww5.js → model-resolver-bkqqcfdf.js} +13 -13
- package/dist/chunks/{image-908a4bkp.js → model-resolver-bnfv4bke.js} +9 -9
- package/dist/chunks/{image-akvgsnbs.js → model-resolver-bwc3vdty.js} +10 -10
- package/dist/chunks/{image-m27pyyd3.js → model-resolver-c1g6mvbq.js} +8 -8
- package/dist/chunks/{image-3cccr62r.js → model-resolver-c8p7nfbc.js} +84 -84
- package/dist/chunks/{image-wsnkp8ag.js → model-resolver-cejc3es4.js} +24 -24
- package/dist/chunks/{image-cfpkc3c9.js → model-resolver-cfpkc3c9.js} +2 -2
- package/dist/chunks/{image-wx980x77.js → model-resolver-chtn9pha.js} +32 -32
- package/dist/chunks/{image-n36f8zac.js → model-resolver-cppeb8e9.js} +43 -43
- package/dist/chunks/{image-xag4dw17.js → model-resolver-cr4v6k8r.js} +24 -24
- package/dist/chunks/{image-ab2wzwa9.js → model-resolver-cwxby6pr.js} +9 -9
- package/dist/chunks/{image-k16ay38w.js → model-resolver-cz2fjc0t.js} +1 -1
- package/dist/chunks/{image-ka6vay35.js → model-resolver-d7tbmrmr.js} +9 -9
- package/dist/chunks/{image-q92fg8cr.js → model-resolver-dcd7yt0v.js} +4 -4
- package/dist/chunks/{image-mj2g30a4.js → model-resolver-dn00p2xs.js} +18 -18
- package/dist/chunks/{image-znmadc7b.js → model-resolver-ds30tbjg.js} +10 -10
- package/dist/chunks/{image-0f1x6n69.js → model-resolver-dtf70dba.js} +41 -41
- package/dist/chunks/{image-cphbpa68.js → model-resolver-dzdf5n0b.js} +15 -15
- package/dist/chunks/{image-gfnd11dt.js → model-resolver-e23m03bd.js} +30 -30
- package/dist/chunks/{image-cd2wtys3.js → model-resolver-e592wy5s.js} +15 -15
- package/dist/chunks/{image-z4nfz9w0.js → model-resolver-ebk7g7ej.js} +16 -16
- package/dist/chunks/{image-268jw0cn.js → model-resolver-ee7h6a8j.js} +10 -10
- package/dist/chunks/{image-5b08p5hs.js → model-resolver-eg5vnqyk.js} +30 -30
- package/dist/chunks/{image-xekzrwwc.js → model-resolver-es1gkq3r.js} +9 -9
- package/dist/chunks/{image-esj243wz.js → model-resolver-esj243wz.js} +2 -2
- package/dist/chunks/{image-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-f828m53h.js → model-resolver-f828m53h.js} +2 -2
- package/dist/chunks/{image-3vs328z5.js → model-resolver-fc3gg9nv.js} +8 -8
- package/dist/chunks/{image-1vfx9c7n.js → model-resolver-fmxf2c45.js} +14 -14
- package/dist/chunks/{image-sdad442r.js → model-resolver-fn61cvhn.js} +21 -21
- package/dist/chunks/{image-d383cjmk.js → model-resolver-fqj9nv8j.js} +8 -8
- package/dist/chunks/{image-wxdpmgc2.js → model-resolver-ftxm3p3a.js} +21 -21
- package/dist/chunks/{image-0jth14aw.js → model-resolver-fwfyd8fy.js} +6 -6
- package/dist/chunks/{image-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{image-bha4atvq.js → model-resolver-fxqygnfa.js} +4 -4
- package/dist/chunks/{image-j7537grg.js → model-resolver-fz4feqya.js} +9 -9
- package/dist/chunks/{image-asdjdgay.js → model-resolver-g756tth6.js} +9 -9
- package/dist/chunks/{image-d8s6rqma.js → model-resolver-g9vkt591.js} +18 -18
- package/dist/chunks/{image-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-9tq03mtf.js → model-resolver-gg3hwfv5.js} +24 -24
- package/dist/chunks/{image-236vj1cp.js → model-resolver-gpffk3sd.js} +2 -2
- package/dist/chunks/{image-vfh8p4s8.js → model-resolver-grf3440t.js} +22 -22
- package/dist/chunks/{image-xdw78xdg.js → model-resolver-grxcxy9j.js} +8 -8
- package/dist/chunks/{image-zgjdachz.js → model-resolver-gsa0bc7f.js} +35 -35
- package/dist/chunks/{image-zt85c96j.js → model-resolver-gteg2vnc.js} +18 -18
- package/dist/chunks/{image-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{image-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
- package/dist/chunks/{image-6dae70wd.js → model-resolver-h2r7bbkd.js} +8 -8
- package/dist/chunks/{image-0ed5v5xr.js → model-resolver-h3930hs4.js} +9 -9
- package/dist/chunks/{image-hrf891xx.js → model-resolver-h4rczdf5.js} +6 -6
- package/dist/chunks/{image-xrmhgac2.js → model-resolver-h63xhtna.js} +28 -28
- package/dist/chunks/{image-p47q68mw.js → model-resolver-h6693ktv.js} +11 -11
- package/dist/chunks/{image-gj9xpvv3.js → model-resolver-h6nsps6f.js} +4 -4
- package/dist/chunks/{image-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-sxywqr71.js → model-resolver-h8b7tcqs.js} +6 -6
- package/dist/chunks/{image-scq44hwb.js → model-resolver-hcb85x7b.js} +13 -13
- package/dist/chunks/{image-pnean495.js → model-resolver-hdn37q54.js} +5 -5
- package/dist/chunks/{image-9syyba5q.js → model-resolver-hvnwc3gd.js} +9 -9
- package/dist/chunks/{image-jshpg3xw.js → model-resolver-hwwca0qh.js} +16 -16
- package/dist/chunks/{image-jhs8v983.js → model-resolver-hymdpy01.js} +10 -10
- package/dist/chunks/{image-rtcs5znh.js → model-resolver-j53p89fq.js} +22 -22
- package/dist/chunks/{image-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{image-y5sg6xva.js → model-resolver-jbad0je3.js} +18 -18
- package/dist/chunks/model-resolver-jqh9b0xq.js +18 -0
- package/dist/chunks/{image-k2h4r4s0.js → model-resolver-jw80jp6b.js} +4 -4
- package/dist/chunks/{image-fr5vgn19.js → model-resolver-k1xpzw1w.js} +16 -16
- package/dist/chunks/{image-qvzzg1n6.js → model-resolver-k36djr8a.js} +22 -22
- package/dist/chunks/{image-4kds4350.js → model-resolver-k3w3g6yz.js} +14 -14
- package/dist/chunks/{image-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
- package/dist/chunks/{image-hwa5ys9w.js → model-resolver-kts9wqnk.js} +20 -20
- package/dist/chunks/{image-8t13nkxv.js → model-resolver-m9mm4cnh.js} +16 -16
- package/dist/chunks/{image-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-32h0tzd5.js → model-resolver-ma62v64d.js} +13 -13
- package/dist/chunks/{image-56gdpj1q.js → model-resolver-mfqp6xfm.js} +6 -6
- package/dist/chunks/{image-nfkcdks0.js → model-resolver-mgxq4wd9.js} +5 -5
- package/dist/chunks/{image-f1q9pj4t.js → model-resolver-mj27xt9n.js} +21 -21
- package/dist/chunks/{image-pbengh1w.js → model-resolver-mk59f0qp.js} +3 -3
- package/dist/chunks/{image-mkcjrzeh.js → model-resolver-mkcjrzeh.js} +1 -1
- package/dist/chunks/{image-r82v2qs9.js → model-resolver-n8120r6k.js} +4 -4
- package/dist/chunks/{image-rvbjc2v1.js → model-resolver-nda3z8kh.js} +9 -9
- package/dist/chunks/{image-8prf8vgk.js → model-resolver-ngmpv4k0.js} +17 -17
- package/dist/chunks/{image-a8kwhrpp.js → model-resolver-nmhj9mbj.js} +26 -26
- package/dist/chunks/{image-d1x63kre.js → model-resolver-nyxmwzmx.js} +20 -20
- package/dist/chunks/{image-pcyxjgzv.js → model-resolver-nzckpb8h.js} +13 -13
- package/dist/chunks/{image-ksz0h0wp.js → model-resolver-p905rm1f.js} +1 -1
- package/dist/chunks/{image-2a7mth3r.js → model-resolver-pe1m764c.js} +159 -159
- package/dist/chunks/{image-wpny4q7h.js → model-resolver-pj0fhg0j.js} +38 -38
- package/dist/chunks/{image-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{image-6atc2v5z.js → model-resolver-pkxy8g8t.js} +48 -48
- package/dist/chunks/{image-pmr4s4kc.js → model-resolver-pmr4s4kc.js} +1 -1
- package/dist/chunks/{image-mhqmyx4z.js → model-resolver-pth6n3j5.js} +25 -25
- package/dist/chunks/{image-hm7pkswe.js → model-resolver-pxq6bqj6.js} +9 -9
- package/dist/chunks/{image-tz4n1mmd.js → model-resolver-q5asdkn4.js} +4 -4
- package/dist/chunks/{image-fgx8xsa6.js → model-resolver-q77c0ew5.js} +8 -8
- package/dist/chunks/{image-61d9ecr3.js → model-resolver-qmsqtg79.js} +18 -18
- package/dist/chunks/{image-j162q848.js → model-resolver-qsare228.js} +3 -3
- package/dist/chunks/{image-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{image-mkqp2p54.js → model-resolver-qx26rsfj.js} +24 -24
- package/dist/chunks/{image-jvg4nxfg.js → model-resolver-r0vvnr3j.js} +24 -24
- package/dist/chunks/{image-43k1whym.js → model-resolver-r2jnt3k9.js} +4 -4
- package/dist/chunks/{image-0gv7pdf1.js → model-resolver-r59qmds9.js} +15 -15
- package/dist/chunks/{image-r5x6zcsm.js → model-resolver-r5x6zcsm.js} +1 -1
- package/dist/chunks/{image-yp2x3t23.js → model-resolver-r8xr0va3.js} +4 -4
- package/dist/chunks/{image-2s466qky.js → model-resolver-rjeyb174.js} +8 -8
- package/dist/chunks/{image-ma298cxk.js → model-resolver-rjjg3e34.js} +7 -7
- package/dist/chunks/{image-k00mab2q.js → model-resolver-rsmx3r31.js} +12 -12
- package/dist/chunks/{image-d8nc1xcx.js → model-resolver-s0hza5ac.js} +4 -4
- package/dist/chunks/{image-nxhqveyz.js → model-resolver-s8zy8myc.js} +5 -5
- package/dist/chunks/{image-6cnf6mwd.js → model-resolver-shk6rdn6.js} +17 -17
- package/dist/chunks/{image-8xsw4p7g.js → model-resolver-shxa3zc7.js} +17 -17
- package/dist/chunks/{image-vd6mcabt.js → model-resolver-shzfhh4e.js} +8 -8
- package/dist/chunks/{image-n76fdqym.js → model-resolver-snxhrb6z.js} +5 -5
- package/dist/chunks/{image-4tnpxyd0.js → model-resolver-syctdxxv.js} +7 -7
- package/dist/chunks/{image-brcwjr0h.js → model-resolver-ta08rfq5.js} +9 -9
- package/dist/chunks/{image-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
- package/dist/chunks/{image-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{image-sgjcd57v.js → model-resolver-tevc9p4b.js} +13 -13
- package/dist/chunks/{image-ptyjv6sg.js → model-resolver-tfjws8eq.js} +3 -3
- package/dist/chunks/{image-xkzke3cz.js → model-resolver-tj8f0xj4.js} +31 -31
- package/dist/chunks/{image-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{image-tx1bbn1t.js → model-resolver-tx1bbn1t.js} +2 -2
- package/dist/chunks/{image-mndkqrb7.js → model-resolver-txht7vc4.js} +27 -27
- package/dist/chunks/{image-gjysc24x.js → model-resolver-v2zxy9vy.js} +1 -1
- package/dist/chunks/{image-c6mace3k.js → model-resolver-v44d1hzb.js} +27 -27
- package/dist/chunks/{image-1g7epwpd.js → model-resolver-v5dkyp31.js} +7 -7
- package/dist/chunks/{image-m4r5p0qt.js → model-resolver-v93xbqr2.js} +14 -14
- package/dist/chunks/{image-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{image-n3k281ws.js → model-resolver-vex7y4d1.js} +20 -20
- package/dist/chunks/{image-pnr8d8pj.js → model-resolver-vnrz4pgq.js} +16 -16
- package/dist/chunks/{image-an18qe3q.js → model-resolver-vs2mxw6e.js} +16 -16
- package/dist/chunks/{image-x1xcpfha.js → model-resolver-vstb6x8b.js} +15 -15
- package/dist/chunks/{image-cspmbg10.js → model-resolver-vwqc105j.js} +12 -12
- package/dist/chunks/{image-m4mbgd71.js → model-resolver-vy3jd71w.js} +23 -23
- package/dist/chunks/{image-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-510m7gjw.js → model-resolver-wbkyxrgf.js} +5 -5
- package/dist/chunks/{image-r9babyk8.js → model-resolver-wbqy31zn.js} +1 -1
- package/dist/chunks/{image-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{image-4zf77x8v.js → model-resolver-wdevvqhk.js} +14 -14
- package/dist/chunks/{image-sscb0ymm.js → model-resolver-wdgm1b9h.js} +25 -25
- package/dist/chunks/{image-xzqy0z1w.js → model-resolver-wea85wnq.js} +8 -8
- package/dist/chunks/{image-sjbqjnbr.js → model-resolver-wkgjqrx7.js} +4 -4
- package/dist/chunks/{image-7496a9sh.js → model-resolver-wn7wpz7v.js} +22 -22
- package/dist/chunks/{image-7d47ba48.js → model-resolver-wvh8s2yn.js} +8 -8
- package/dist/chunks/{image-668fxwph.js → model-resolver-wy1grk9j.js} +5 -5
- package/dist/chunks/{image-6v3ga11y.js → model-resolver-x04m22yd.js} +30 -30
- package/dist/chunks/{image-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-x43y2vfs.js → model-resolver-x43y2vfs.js} +2 -2
- package/dist/chunks/{image-9ejbc6m0.js → model-resolver-x46gjfhs.js} +11 -11
- package/dist/chunks/{image-t53e3wyy.js → model-resolver-x8qpn73s.js} +25 -25
- package/dist/chunks/model-resolver-xfa62wd8.js +22 -0
- package/dist/chunks/{image-6vq97qmv.js → model-resolver-xh49vxj8.js} +5 -5
- package/dist/chunks/{image-a1tpkmh4.js → model-resolver-xjmdmay6.js} +2 -0
- package/dist/chunks/{image-n1mmzv0t.js → model-resolver-xmwzbncj.js} +11 -11
- package/dist/chunks/{image-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-rsym84ch.js → model-resolver-y5mrfvw4.js} +9 -9
- package/dist/chunks/{image-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/model-resolver-ypaemdrr.js +247 -0
- package/dist/chunks/{image-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{image-4dmxnehw.js → model-resolver-yvx62gnn.js} +10 -10
- package/dist/chunks/{image-h7k21npp.js → model-resolver-yw2gt92n.js} +10 -10
- package/dist/chunks/{image-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-cnkpvnyh.js → model-resolver-z2kgn23z.js} +28 -28
- package/dist/chunks/{image-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{image-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{image-0w8vd5xw.js → model-resolver-zem9gw1c.js} +20 -20
- package/dist/chunks/{image-tm72psw3.js → model-resolver-zknapg7q.js} +15 -15
- package/dist/chunks/{image-c4tmbfkf.js → model-resolver-zqczhjy7.js} +39 -39
- package/dist/chunks/{image-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-fgh0kbhd.js → model-resolver-zsjw64s0.js} +1 -1
- package/dist/chunks/{image-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{image-yx4rcces.js → model-resolver-zzy03re2.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- 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 +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- 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 +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +126 -126
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +72 -72
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +98 -98
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- 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 +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- 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 +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +81 -81
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +84 -84
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +114 -114
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/session/history.d.ts +80 -0
- package/dist/types/session/transfer.d.ts +44 -0
- 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 +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 +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/image-7ajvyccf.js +0 -22
- package/dist/chunks/image-gbadjzag.js +0 -4
- package/dist/chunks/image-j2kjwzv1.js +0 -462
- package/dist/chunks/image-phz3h32g.js +0 -18
- package/dist/chunks/image-yfnf0m7s.js +0 -247
- /package/dist/chunks/{image-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-9vs0xtad.js → model-resolver-9vs0xtad.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{image-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-paphc93g.js → model-resolver-paphc93g.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service46,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node50
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service46 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service46.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node50 = makeLocationNode({
|
|
143
|
+
service: Service46,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service46, node50, exports_tool_output2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node80
|
|
7
|
+
} from "./model-resolver-0wrbff2f.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service61,
|
|
16
|
+
node65
|
|
17
|
+
} from "./model-resolver-yw2gt92n.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-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: () => Service43,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node47,
|
|
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 Service43 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,25 +101,25 @@ 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(Service43, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service76;
|
|
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 Service43.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node47 = makeGlobalNode({
|
|
171
|
+
service: Service43,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node80, 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, Service43, isError2, validateBranch2, node47, exports_repository_cache };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info15,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info15 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info17 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info15, exports_provider2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./model-resolver-c1g6mvbq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,25 +12,25 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID6,
|
|
16
|
+
Info: () => Info20,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
|
-
Ref: () =>
|
|
19
|
+
Ref: () => Ref2,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
|
-
parse: () =>
|
|
22
|
+
parse: () => parse4
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID6 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
29
29
|
var Compatibility2 = Model.Compatibility;
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var Ref2 = Model.Ref;
|
|
33
|
+
var Info20 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -38,12 +38,12 @@ function compatibility2(input) {
|
|
|
38
38
|
return;
|
|
39
39
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function parse4(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID7.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, compatibility2, parse4, exports_model2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
Service78,
|
|
9
|
-
node83
|
|
10
|
-
} from "./image-jefma2gq.js";
|
|
11
|
-
import {
|
|
12
8
|
Service76,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
9
|
+
node80
|
|
10
|
+
} from "./model-resolver-0wrbff2f.js";
|
|
11
|
+
import {
|
|
12
|
+
Service74,
|
|
13
|
+
node78
|
|
14
|
+
} from "./model-resolver-9m7evh4e.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
26
|
ID: () => ID5,
|
|
27
27
|
Service: () => Service40,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node44,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
@@ -36,7 +36,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID5 } 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())
|
|
@@ -47,9 +47,9 @@ class Service40 extends Context.Service()("@opencode/Snapshot") {
|
|
|
47
47
|
}
|
|
48
48
|
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service76;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service40, 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(Service40, 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;
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service40, 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
136
|
return Service40.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
138
|
+
var node44 = makeLocationNode({
|
|
139
139
|
service: Service40,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node80, Global.node, node78]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service40, Service40.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(Service40, Service40.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 { ID5,
|
|
161
|
+
export { ID5, Error3, Service40, node44, noopLayer2, exports_snapshot2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9m7evh4e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service58,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node62
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service58 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service58, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node62 = LayerNode.unbound(Service58, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service58, node62, canonical3, exports_location_service_map };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-c1g6mvbq.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-wdevvqhk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-xmwzbncj.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-34gkz9wj.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./model-resolver-9w6wr46b.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-r0vvnr3j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-c1g6mvbq.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-syctdxxv.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID7.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const tokens = new Map;
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID7.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID7.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID7.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
170
|
-
yield* bus.subscribe(
|
|
170
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
171
171
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
172
|
-
if (evt.model.providerID !==
|
|
172
|
+
if (evt.model.providerID !== ID7.azure)
|
|
173
173
|
return;
|
|
174
|
-
const connection = yield* ctx.integration.connection.active(
|
|
174
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
175
175
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
})) : undefined;
|
|
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID7.azure });
|
|
188
188
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
189
189
|
if (evt.package !== "@ai-sdk/azure")
|
|
190
190
|
return;
|
|
191
|
-
if (evt.model.providerID ===
|
|
191
|
+
if (evt.model.providerID === ID7.azure) {
|
|
192
192
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
193
193
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
194
194
|
}
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
evt.sdk = mod.createAzure(evt.options);
|
|
198
198
|
}));
|
|
199
199
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
200
|
-
if (evt.model.providerID !==
|
|
200
|
+
if (evt.model.providerID !== ID7.azure)
|
|
201
201
|
return;
|
|
202
202
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
203
203
|
}));
|