@opencode/core 0.0.0-dev-19403 → 0.0.0-dev-19405
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/catalog.js +81 -81
- package/dist/chunks/{credential-j4xqs8he.js → reference-069ez2pk.js} +26 -26
- package/dist/chunks/{credential-rzdj8rzc.js → reference-0akhmw49.js} +5 -5
- package/dist/chunks/{credential-7z2w4zk1.js → reference-0dwg38z7.js} +23 -23
- package/dist/chunks/reference-0mesazry.js +4 -0
- package/dist/chunks/{credential-0n9gyfew.js → reference-0n9gyfew.js} +2 -2
- package/dist/chunks/{credential-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{credential-7vxx8kmp.js → reference-0pr2t355.js} +15 -15
- package/dist/chunks/{credential-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
- package/dist/chunks/{credential-vqr9hz61.js → reference-13j5h6zk.js} +9 -9
- package/dist/chunks/{credential-65zdpymn.js → reference-189pdvy9.js} +8 -8
- package/dist/chunks/{credential-p280jz24.js → reference-1bmfk1j7.js} +9 -9
- package/dist/chunks/{credential-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{credential-8zgef3ym.js → reference-1efffvwy.js} +22 -22
- package/dist/chunks/{credential-1eyaby9q.js → reference-1eyaby9q.js} +2 -2
- package/dist/chunks/{credential-fqsjcqv2.js → reference-1f0ahqzp.js} +16 -16
- package/dist/chunks/{credential-a9v1gn98.js → reference-1jjc8ex5.js} +6 -6
- package/dist/chunks/{credential-1wxb385z.js → reference-1wxb385z.js} +1 -1
- package/dist/chunks/{credential-8azqhvhf.js → reference-21bd5msc.js} +4 -4
- package/dist/chunks/{credential-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{credential-7fhpj3jn.js → reference-234ap6ss.js} +18 -18
- package/dist/chunks/{credential-2402vzrj.js → reference-2402vzrj.js} +1 -1
- package/dist/chunks/{credential-f1f1qrpc.js → reference-29sw5btw.js} +43 -43
- package/dist/chunks/{credential-z63w68vq.js → reference-29x78va6.js} +6 -6
- package/dist/chunks/{credential-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{credential-3cfzdc8e.js → reference-2f0bjgcj.js} +5 -5
- package/dist/chunks/{credential-m1he9yt5.js → reference-2k5ec76m.js} +42 -42
- package/dist/chunks/{credential-2k8khapm.js → reference-2k8khapm.js} +1 -1
- package/dist/chunks/{credential-9w2d6m2a.js → reference-2x1tygz9.js} +6 -6
- package/dist/chunks/{credential-78mn15xw.js → reference-37b2kds0.js} +44 -44
- package/dist/chunks/{credential-b9h4ye0g.js → reference-38j1eg2k.js} +9 -9
- package/dist/chunks/{credential-hq8zt1th.js → reference-3c1tgrea.js} +6 -6
- package/dist/chunks/{credential-hvmrywg9.js → reference-3eqkaq2z.js} +21 -21
- package/dist/chunks/{credential-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-4sb7ezm0.js → reference-3g767a7k.js} +17 -17
- package/dist/chunks/{credential-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-sh38pj43.js → reference-3j6hn5pg.js} +27 -27
- package/dist/chunks/{credential-j83byb14.js → reference-3j8sdtpz.js} +4 -4
- package/dist/chunks/{credential-wx9wy1qm.js → reference-3jp54z3r.js} +1 -1
- package/dist/chunks/{credential-xrfqdtsr.js → reference-3kmcaztr.js} +11 -11
- package/dist/chunks/{credential-6g8mxxbf.js → reference-3qcr26pr.js} +2 -2
- package/dist/chunks/{credential-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-4nm23889.js → reference-48ghgnyj.js} +9 -9
- package/dist/chunks/{credential-y3xzny5y.js → reference-4bap03mh.js} +38 -38
- package/dist/chunks/{credential-ej01abyf.js → reference-4fse7aks.js} +19 -19
- package/dist/chunks/{credential-359mrmbb.js → reference-4grg7b1w.js} +4 -4
- package/dist/chunks/{credential-exfykm2r.js → reference-4j04egcw.js} +62 -62
- package/dist/chunks/{credential-4mkcvr19.js → reference-4mkcvr19.js} +1 -1
- package/dist/chunks/{credential-dy8qh9xy.js → reference-4nvekdmf.js} +8 -8
- package/dist/chunks/{credential-kv4a4z6b.js → reference-4s15yhyb.js} +9 -9
- package/dist/chunks/{credential-ry15mc2v.js → reference-4vptvh4s.js} +35 -35
- package/dist/chunks/{credential-4zrw1ey2.js → reference-4zrw1ey2.js} +2 -2
- package/dist/chunks/{credential-wbkyxrgf.js → reference-510m7gjw.js} +5 -5
- package/dist/chunks/{credential-w9tseppn.js → reference-52zvc43d.js} +44 -44
- package/dist/chunks/{credential-1ygqh575.js → reference-56gdpj1q.js} +9 -9
- package/dist/chunks/{credential-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{credential-xr1njrc3.js → reference-5jgk54rp.js} +58 -58
- package/dist/chunks/{credential-t0x5rdq8.js → reference-5kptn8c0.js} +9 -9
- package/dist/chunks/{credential-5nsrms9d.js → reference-5nsrms9d.js} +1 -1
- package/dist/chunks/{credential-bbgh5zt9.js → reference-5rswhkvm.js} +23 -23
- package/dist/chunks/{credential-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{credential-vcq8jmfk.js → reference-5t7ms9mx.js} +14 -14
- package/dist/chunks/{credential-39hgytyk.js → reference-610kgvj3.js} +8 -8
- package/dist/chunks/{credential-ks7htes5.js → reference-65ttwmv3.js} +22 -22
- package/dist/chunks/{credential-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{credential-dqkgee86.js → reference-675rgbk8.js} +25 -25
- package/dist/chunks/{credential-vd169w8v.js → reference-6dg7rqxz.js} +15 -15
- package/dist/chunks/{credential-z2ag6yen.js → reference-6gzrz82e.js} +19 -19
- package/dist/chunks/{credential-2dc79v37.js → reference-6k7a189h.js} +36 -36
- package/dist/chunks/{credential-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{credential-ms6j5dg4.js → reference-6wsb51zt.js} +18 -18
- package/dist/chunks/{credential-n02j7a4g.js → reference-6y0x6mhe.js} +34 -34
- package/dist/chunks/{credential-71q4at8m.js → reference-71q4at8m.js} +1 -1
- package/dist/chunks/{credential-18q276da.js → reference-7b2pfzf8.js} +13 -13
- package/dist/chunks/{credential-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-x0511brf.js → reference-7e2yy7bx.js} +4 -4
- package/dist/chunks/{credential-yt0fqk68.js → reference-7gvwkz6m.js} +5 -5
- package/dist/chunks/{credential-hfgsy8qe.js → reference-7mnn3rdt.js} +3 -3
- package/dist/chunks/{credential-tpwdr59n.js → reference-7my7c7z0.js} +16 -16
- package/dist/chunks/{credential-nvn4yca8.js → reference-7mydebfb.js} +11 -11
- package/dist/chunks/{credential-pcmkfrz8.js → reference-7qfmb4s4.js} +42 -42
- package/dist/chunks/{credential-e6hd9jay.js → reference-7yqjxrmz.js} +6 -6
- package/dist/chunks/{credential-83x6p9kd.js → reference-83x6p9kd.js} +1 -1
- package/dist/chunks/{credential-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{credential-bwshncvd.js → reference-8jmaqybk.js} +2 -2
- package/dist/chunks/{credential-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
- package/dist/chunks/{credential-6kmmntsj.js → reference-8pqq62t9.js} +24 -24
- package/dist/chunks/{credential-h9rtxgm4.js → reference-8q01rjya.js} +13 -13
- package/dist/chunks/{credential-cne6g3qh.js → reference-8q0rcqtv.js} +20 -20
- package/dist/chunks/{credential-5sq9qdt5.js → reference-8rpas02w.js} +18 -18
- package/dist/chunks/{credential-91wtgz8k.js → reference-92yzrxcq.js} +17 -17
- package/dist/chunks/{credential-cfrb7rge.js → reference-9d1kp679.js} +45 -45
- package/dist/chunks/{credential-95v5px53.js → reference-9dpegb11.js} +18 -18
- package/dist/chunks/{credential-7xyrrtj6.js → reference-9eh6sf6d.js} +5 -5
- package/dist/chunks/reference-9zdhvgqs.js +18 -0
- package/dist/chunks/{credential-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
- package/dist/chunks/{credential-7ethggbv.js → reference-a1p8sqe6.js} +35 -35
- package/dist/chunks/{credential-f79w93tn.js → reference-a291bara.js} +8 -8
- package/dist/chunks/{credential-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{credential-2qpq9t3c.js → reference-adaj7ksj.js} +5 -5
- package/dist/chunks/{credential-m8bjfkk9.js → reference-ap8njz3k.js} +11 -11
- package/dist/chunks/{credential-f6h44vt5.js → reference-as4zy6vm.js} +6 -6
- package/dist/chunks/{credential-7b15y959.js → reference-asmz7wyz.js} +8 -8
- package/dist/chunks/{credential-4knk9ex6.js → reference-aw218f2w.js} +14 -14
- package/dist/chunks/{credential-9zkgkngc.js → reference-aykdxbsk.js} +9 -9
- package/dist/chunks/{credential-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{credential-8bvtxx6t.js → reference-bkaavq67.js} +13 -13
- package/dist/chunks/{credential-77dprfnt.js → reference-bq8xzrzg.js} +15 -15
- package/dist/chunks/{credential-c7ecgrk6.js → reference-c7ecgrk6.js} +1 -1
- package/dist/chunks/{credential-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
- package/dist/chunks/{credential-rsdf2nvv.js → reference-csf2jhsg.js} +4 -4
- package/dist/chunks/{credential-khykcjbr.js → reference-cvaa60g2.js} +11 -11
- package/dist/chunks/{credential-56sah4ty.js → reference-d6fzg897.js} +16 -16
- package/dist/chunks/{credential-6q2wdtm9.js → reference-dxt7hne3.js} +11 -11
- package/dist/chunks/{credential-85d9210f.js → reference-e1nwe2td.js} +11 -11
- package/dist/chunks/{credential-69n4s4c8.js → reference-e46ah9gc.js} +11 -11
- package/dist/chunks/{credential-24gf6x1s.js → reference-e7g2pv1c.js} +13 -13
- package/dist/chunks/{credential-r6teeq8r.js → reference-e7kd7gj5.js} +3 -3
- package/dist/chunks/{credential-hjt4xg1x.js → reference-e82z9tr0.js} +7 -7
- package/dist/chunks/{credential-gp0sg3k4.js → reference-efq5tq4f.js} +20 -20
- package/dist/chunks/{credential-3kyqxgv1.js → reference-ej085sj0.js} +14 -14
- package/dist/chunks/{credential-en74w496.js → reference-en74w496.js} +2 -2
- package/dist/chunks/{credential-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{credential-2my2jec7.js → reference-ewnjgq7q.js} +5 -5
- package/dist/chunks/{credential-a10p2k0v.js → reference-ezmrpqv5.js} +21 -21
- package/dist/chunks/{credential-ccb2a340.js → reference-f1my3kj4.js} +22 -22
- package/dist/chunks/{credential-yp2x3t23.js → reference-f2n192rq.js} +4 -4
- package/dist/chunks/{credential-f828m53h.js → reference-f828m53h.js} +2 -2
- package/dist/chunks/{credential-83h3w6ts.js → reference-fd0t6sve.js} +31 -31
- package/dist/chunks/{credential-x3032y69.js → reference-fhjrrdjb.js} +13 -13
- package/dist/chunks/{credential-rwagp3kg.js → reference-fj264fv9.js} +78 -78
- package/dist/chunks/{credential-qwf697tk.js → reference-fmxx1bts.js} +27 -27
- package/dist/chunks/{credential-mscwsevq.js → reference-ftm00p2b.js} +1 -1
- package/dist/chunks/{credential-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
- package/dist/chunks/{credential-1ayrmkcs.js → reference-g6zhr88b.js} +6 -6
- package/dist/chunks/{credential-nbzsj80d.js → reference-g8xxs4tx.js} +8 -8
- package/dist/chunks/{credential-gbt6w4kb.js → reference-gbt6w4kb.js} +1 -1
- package/dist/chunks/{credential-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-e379cr0y.js → reference-gf18h3v3.js} +12 -12
- package/dist/chunks/{credential-fmsed0sg.js → reference-gjdkj7gs.js} +24 -24
- package/dist/chunks/{credential-btgew72b.js → reference-gkmh43rj.js} +7 -7
- package/dist/chunks/{credential-2bt6bea8.js → reference-gsx0ryk4.js} +9 -9
- package/dist/chunks/{credential-gt0cxfk7.js → reference-gt0cxfk7.js} +1 -1
- package/dist/chunks/{credential-71spx5sa.js → reference-gv45jpg5.js} +4 -4
- package/dist/chunks/{credential-j7afzrcr.js → reference-gvqge573.js} +9 -9
- package/dist/chunks/{credential-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
- package/dist/chunks/{credential-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-nfk5cz2h.js → reference-h8zt85z5.js} +8 -8
- package/dist/chunks/{credential-fr0hst6m.js → reference-hbhmt5dn.js} +5 -5
- package/dist/chunks/{credential-vqnfpec2.js → reference-hhczrqr1.js} +4 -4
- package/dist/chunks/{credential-c95cvesc.js → reference-hj92pwq6.js} +2 -2
- package/dist/chunks/{credential-had4kgfk.js → reference-hkjf8z9r.js} +6 -6
- package/dist/chunks/{credential-zav06jzw.js → reference-hn57h045.js} +4 -4
- package/dist/chunks/{credential-y8b3ftjs.js → reference-hp02hwp4.js} +13 -13
- package/dist/chunks/{credential-9dtg213c.js → reference-hx12r247.js} +41 -41
- package/dist/chunks/{credential-mvfaqrr0.js → reference-j0w83stm.js} +4 -4
- package/dist/chunks/{credential-5x64k753.js → reference-j16zphk7.js} +22 -22
- package/dist/chunks/{credential-k38mk1vx.js → reference-j1tww2gp.js} +4 -4
- package/dist/chunks/{credential-apn8f15b.js → reference-j5208yae.js} +9 -9
- package/dist/chunks/{credential-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{credential-wak322rn.js → reference-j5v2xxap.js} +11 -11
- package/dist/chunks/{credential-686gxxnm.js → reference-j5vg7gm1.js} +25 -25
- package/dist/chunks/{credential-st5ktw2g.js → reference-j6bm1nn6.js} +15 -15
- package/dist/chunks/{credential-paphc93g.js → reference-j935v87r.js} +2 -2
- package/dist/chunks/{credential-vbah0zve.js → reference-ja4wy4ee.js} +9 -9
- package/dist/chunks/{credential-0sf76z6p.js → reference-jahnfg6b.js} +26 -26
- package/dist/chunks/{credential-jhetwysa.js → reference-jhetwysa.js} +1 -1
- package/dist/chunks/{credential-c6z2bm72.js → reference-jtefztwj.js} +4 -4
- package/dist/chunks/{credential-atsrf1p8.js → reference-jzxr77q3.js} +28 -28
- package/dist/chunks/{credential-e4nfnrvk.js → reference-k1endqwm.js} +15 -15
- package/dist/chunks/{credential-8ee7bc5c.js → reference-k6szry07.js} +16 -16
- package/dist/chunks/{credential-kg06axw8.js → reference-kg06axw8.js} +1 -1
- package/dist/chunks/{credential-0wf9s8aa.js → reference-kgyjz9fy.js} +22 -22
- package/dist/chunks/{credential-n31d0ktv.js → reference-kjz5gbca.js} +10 -10
- package/dist/chunks/{credential-7h18g36k.js → reference-knhghh0v.js} +16 -16
- package/dist/chunks/{credential-nsac91pq.js → reference-kr2c45mn.js} +18 -18
- package/dist/chunks/{credential-4e8cngzy.js → reference-m4wh40kd.js} +2 -2
- package/dist/chunks/reference-m71yds50.js +247 -0
- package/dist/chunks/{credential-7gvb521f.js → reference-m9qjv7qq.js} +19 -19
- package/dist/chunks/{credential-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-w6akx0pp.js → reference-mfwv2709.js} +17 -17
- package/dist/chunks/{credential-wj604y0c.js → reference-mgw48z1b.js} +26 -26
- package/dist/chunks/{credential-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
- package/dist/chunks/{credential-xgsrhv1b.js → reference-n3wdcy6w.js} +8 -8
- package/dist/chunks/{credential-zt1trrjh.js → reference-nbwvt5pv.js} +13 -13
- package/dist/chunks/{credential-76nh0wjp.js → reference-nns6kj95.js} +8 -8
- package/dist/chunks/{credential-t41sh3fy.js → reference-pcfbqvzv.js} +9 -9
- package/dist/chunks/{credential-2mgmyakx.js → reference-pfq1v9kt.js} +24 -24
- package/dist/chunks/{credential-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{credential-pgbkh3mx.js → reference-q342wcsq.js} +3 -3
- package/dist/chunks/{credential-vt1amaja.js → reference-q9b7wkyy.js} +12 -12
- package/dist/chunks/{credential-wdvyek55.js → reference-qajrngy3.js} +27 -27
- package/dist/chunks/{credential-493f7437.js → reference-qas58w1m.js} +9 -9
- package/dist/chunks/{credential-g9630prq.js → reference-qcvy1hs9.js} +9 -9
- package/dist/chunks/{credential-qdtgw5bq.js → reference-qfhza6js.js} +11 -11
- package/dist/chunks/{credential-08zxrs49.js → reference-qjp4a40e.js} +11 -11
- package/dist/chunks/{credential-c3cqe563.js → reference-qjwymapa.js} +17 -17
- package/dist/chunks/{credential-c36p2bt1.js → reference-qnyc9adz.js} +25 -25
- package/dist/chunks/{credential-4nec11k8.js → reference-qs0ddh18.js} +30 -30
- package/dist/chunks/{credential-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-thd5acdx.js → reference-r4avt07e.js} +29 -29
- package/dist/chunks/{credential-73tb2d7t.js → reference-r5x6zcsm.js} +3 -3
- package/dist/chunks/{credential-t2fc4mz5.js → reference-ratrq7cm.js} +4 -4
- package/dist/chunks/{credential-asyrvkps.js → reference-redrjz5k.js} +13 -13
- package/dist/chunks/{credential-f00j52z1.js → reference-rszxffrt.js} +158 -158
- package/dist/chunks/{credential-3319vpkn.js → reference-rtphz2v8.js} +9 -9
- package/dist/chunks/{credential-5g344j8n.js → reference-rvnq7e84.js} +9 -9
- package/dist/chunks/{credential-yrznvahk.js → reference-s4enseaf.js} +2 -2
- package/dist/chunks/{credential-b6pd93xk.js → reference-sfddxscf.js} +22 -22
- package/dist/chunks/{credential-sgfkh1bp.js → reference-sgfkh1bp.js} +4 -4
- package/dist/chunks/{credential-y6qph9rs.js → reference-sgpd7ym3.js} +6 -6
- package/dist/chunks/reference-sjqcgh4k.js +22 -0
- package/dist/chunks/{credential-vekyynk0.js → reference-smq0r06k.js} +67 -67
- package/dist/chunks/{credential-ddkgrmw3.js → reference-spphehv3.js} +27 -27
- package/dist/chunks/{credential-t8mcaem5.js → reference-t8mcaem5.js} +1 -1
- package/dist/chunks/{credential-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{credential-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{credential-gv6a8nnw.js → reference-th5km1p3.js} +5 -5
- package/dist/chunks/{credential-h7xzfsz6.js → reference-tkhm1f4n.js} +46 -46
- package/dist/chunks/{credential-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{credential-jwbr3km5.js → reference-v4hps1eq.js} +22 -22
- package/dist/chunks/{credential-tyw945wc.js → reference-v61v6jk6.js} +15 -15
- package/dist/chunks/{credential-wk4y5nr3.js → reference-v7j335k4.js} +30 -30
- package/dist/chunks/{credential-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-3ga5hpyt.js → reference-verxd6cc.js} +7 -7
- package/dist/chunks/{credential-2kgfnkh5.js → reference-vh99d6cz.js} +11 -11
- package/dist/chunks/{credential-dw9fw5zp.js → reference-vq6pkt6q.js} +8 -8
- package/dist/chunks/{credential-xdj3jhyd.js → reference-vqz1dqct.js} +26 -26
- package/dist/chunks/{credential-bbjevjb1.js → reference-vvhxhpdd.js} +18 -18
- package/dist/chunks/{credential-09nq0425.js → reference-vxdjbxqe.js} +5 -5
- package/dist/chunks/{credential-vyy6cxw9.js → reference-vyy6cxw9.js} +4 -4
- package/dist/chunks/{credential-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{credential-x34hv49z.js → reference-w0n7a3yn.js} +13 -13
- package/dist/chunks/{credential-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-gn2hfjap.js → reference-w3x9v1nk.js} +8 -8
- package/dist/chunks/{credential-020f4bg4.js → reference-w44x3hm1.js} +11 -11
- package/dist/chunks/{credential-qp4gcwwt.js → reference-w671fmtf.js} +44 -44
- package/dist/chunks/{credential-yb6jnks2.js → reference-w94h77jp.js} +15 -15
- package/dist/chunks/{credential-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{credential-fg75ppcy.js → reference-wfbvyrr3.js} +29 -29
- package/dist/chunks/{credential-909pcchj.js → reference-wmbw81qg.js} +84 -84
- package/dist/chunks/{credential-wtrmr3z3.js → reference-wtjt4ngy.js} +41 -41
- package/dist/chunks/{credential-73t5tbav.js → reference-x0x84apk.js} +14 -14
- package/dist/chunks/{credential-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{credential-wtpfkq3a.js → reference-x3xe09d9.js} +3 -3
- package/dist/chunks/{credential-x43y2vfs.js → reference-x43y2vfs.js} +2 -2
- package/dist/chunks/{credential-rjby0eaq.js → reference-x7kn3ctb.js} +9 -9
- package/dist/chunks/{credential-gpz9xnha.js → reference-xakp9rv9.js} +14 -14
- package/dist/chunks/{credential-wq8n05qc.js → reference-xb3xm0py.js} +23 -23
- package/dist/chunks/{credential-b359387s.js → reference-xbjve9g7.js} +12 -12
- package/dist/chunks/{credential-50mzsvk4.js → reference-xdk9p2qn.js} +21 -21
- package/dist/chunks/{credential-jwx4y25k.js → reference-xhmq8qgk.js} +9 -9
- package/dist/chunks/{credential-qg6emqy4.js → reference-xxhb4jr7.js} +9 -9
- package/dist/chunks/{credential-0y5kwnv4.js → reference-y0mcqq9w.js} +30 -30
- package/dist/chunks/{credential-jrrn2k62.js → reference-y0n2m4xg.js} +4 -4
- package/dist/chunks/{credential-7mysesyv.js → reference-y19r4g5g.js} +10 -10
- package/dist/chunks/{credential-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-z93ea3ce.js → reference-y4xp3h88.js} +291 -291
- package/dist/chunks/{credential-y71avatq.js → reference-y71avatq.js} +1 -1
- package/dist/chunks/{credential-sy0gzybz.js → reference-y98pmm57.js} +18 -18
- package/dist/chunks/{credential-vc5zzj1b.js → reference-yfxdtzm1.js} +28 -28
- package/dist/chunks/{credential-2sc61f2y.js → reference-yjb32c3k.js} +12 -12
- package/dist/chunks/{credential-fb7cknjd.js → reference-yp7f5kew.js} +15 -15
- package/dist/chunks/{credential-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{credential-yvmq8qxx.js → reference-yvmq8qxx.js} +2 -2
- package/dist/chunks/{credential-dtx1mak6.js → reference-yx9d5yhn.js} +21 -21
- package/dist/chunks/{credential-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-s0q6yv4v.js → reference-z146wf5t.js} +35 -35
- package/dist/chunks/{credential-bv56xrks.js → reference-z1f4gy9p.js} +8 -8
- package/dist/chunks/{credential-at1qkrnj.js → reference-z6nz13dk.js} +6 -6
- package/dist/chunks/{credential-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
- package/dist/chunks/{credential-a41gfe4d.js → reference-zh4avhke.js} +26 -26
- package/dist/chunks/{credential-fsmaqbgh.js → reference-zjnwhdhy.js} +30 -30
- package/dist/chunks/{credential-q8kwesbk.js → reference-zky2ysba.js} +35 -35
- package/dist/chunks/{credential-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-3bd12927.js → reference-zsy896rw.js} +8 -8
- package/dist/chunks/{credential-h20c96gm.js → reference-zvg6wpm3.js} +33 -33
- package/dist/chunks/{credential-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/chunks/{credential-zxwpk2nb.js → reference-zxwpk2nb.js} +1 -1
- package/dist/chunks/{credential-12sqmeb8.js → reference-zzd7tndm.js} +29 -29
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- 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 +126 -126
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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 +88 -88
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +87 -87
- 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 +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +89 -89
- 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 +7 -7
- 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 +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- 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 +95 -95
- 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 +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +2 -2
- package/dist/models-dev.js +82 -82
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- 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 +4 -4
- 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 +80 -80
- 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 +74 -74
- 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 +6 -6
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +1 -1
- 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 +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +3 -3
- 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 +225 -225
- 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 +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- 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 +11 -11
- 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 +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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 +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- 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 +91 -91
- package/package.json +8 -8
- package/dist/chunks/credential-6kdq0pjd.js +0 -4
- package/dist/chunks/credential-6tq42r19.js +0 -22
- package/dist/chunks/credential-dxj72tfx.js +0 -18
- package/dist/chunks/credential-sjzv27ft.js +0 -247
- /package/dist/chunks/{credential-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-twg0f83k.js → reference-twg0f83k.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./reference-e82z9tr0.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_optimize, {
|
|
|
12
12
|
ArceePlugin: () => ArceePlugin2,
|
|
13
13
|
KimiPlugin: () => KimiPlugin2,
|
|
14
14
|
MetaPlugin: () => MetaPlugin2,
|
|
15
|
-
OpenAIPlugin: () =>
|
|
15
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
16
16
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
17
17
|
OptimizePlugin: () => exports_optimize,
|
|
18
18
|
Plugins: () => Plugins2
|
|
@@ -368,7 +368,7 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
|
|
|
368
368
|
`;
|
|
369
369
|
|
|
370
370
|
// src/plugin/optimize.ts
|
|
371
|
-
var
|
|
371
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
372
372
|
const id = model.id.toLowerCase();
|
|
373
373
|
if (!id.includes("gpt"))
|
|
374
374
|
return;
|
|
@@ -397,7 +397,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
397
397
|
return;
|
|
398
398
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
399
399
|
});
|
|
400
|
-
var Plugins2 = [
|
|
400
|
+
var Plugins2 = [OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
401
401
|
function make(id, optimize) {
|
|
402
402
|
return define({
|
|
403
403
|
id,
|
|
@@ -412,10 +412,10 @@ function make(id, optimize) {
|
|
|
412
412
|
const system = event.system[0];
|
|
413
413
|
if (!system)
|
|
414
414
|
return;
|
|
415
|
-
event.system[0] = { ...system, text:
|
|
415
|
+
event.system[0] = { ...system, text: render2(template, Object.keys(event.tools)) };
|
|
416
416
|
}).pipe(Effect.catch(() => Effect.void)));
|
|
417
417
|
})
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
export {
|
|
421
|
+
export { OpenAIPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-yfxdtzm1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID7.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-e7kd7gj5.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node54
|
|
12
|
+
} from "./reference-hkjf8z9r.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID6,
|
|
25
|
+
Info: () => Info7,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service50,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured6,
|
|
30
|
+
node: () => node53
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID6 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info7 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID6,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info33 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID6,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service50 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured6 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service50,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node54]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info7({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service50.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID6.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node53 = configured6();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID6, Info7, NotFound3, CreateConflict2, Service50, configured6, node53, exports_workspace };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./reference-d6fzg897.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./reference-gjdkj7gs.js";
|
|
7
7
|
import {
|
|
8
8
|
Service15,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-13j5h6zk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./reference-234ap6ss.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service54
|
|
17
|
+
} from "./reference-4j04egcw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service16,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-9dpegb11.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./reference-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./reference-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input4,
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin22,
|
|
36
|
+
name: () => name4
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name4 = "edit";
|
|
43
|
+
var Input4 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input8 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin22 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
109
|
+
const access = yield* Service16;
|
|
110
110
|
const fileMutation = yield* Service15;
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service49;
|
|
112
|
+
const formatter = yield* Service13;
|
|
113
|
+
const location = yield* Service72;
|
|
114
|
+
const permission = yield* Service54;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name4,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input4,
|
|
120
|
+
output: Output3,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin23 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name4, Input4, Output3, Plugin22, exports_edit };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service72
|
|
9
|
+
} from "./reference-d6fzg897.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./reference-gjdkj7gs.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service19
|
|
16
|
+
} from "./reference-x0x84apk.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-ezmrpqv5.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service54
|
|
26
|
+
} from "./reference-4j04egcw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service16
|
|
29
|
+
} from "./reference-9dpegb11.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./reference-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
|
+
Plugin: () => Plugin30,
|
|
41
|
+
name: () => name12,
|
|
42
|
+
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name12 = "grep";
|
|
48
|
+
var Input12 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input5 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output8 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin30 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service49;
|
|
90
|
+
const ripgrep = yield* Service19;
|
|
91
|
+
const location = yield* Service72;
|
|
92
|
+
const access = yield* Service16;
|
|
93
|
+
const permission = yield* Service54;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name12,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input12,
|
|
99
|
+
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name12,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin19 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin19 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name12, Input12, Output8, toModelContent6, Plugin30, exports_grep };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID16,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-yvmq8qxx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./reference-37b2kds0.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-adaj7ksj.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make10(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service63;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -151,7 +151,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make10();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make10, OllamaPlugin2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./reference-ej085sj0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node78
|
|
8
|
+
} from "./reference-kjz5gbca.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node76
|
|
12
|
+
} from "./reference-d6fzg897.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-9zdhvgqs.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service64,
|
|
18
|
+
node68
|
|
19
|
+
} from "./reference-f1my3kj4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node23
|
|
22
|
+
} from "./reference-efq5tq4f.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service10,
|
|
25
|
+
node13
|
|
26
|
+
} from "./reference-5kptn8c0.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./reference-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node3
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service72;
|
|
47
|
+
const watcher = yield* Service64;
|
|
48
|
+
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service74;
|
|
51
|
+
const policy = yield* Service10;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node3 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node68, FSUtil.node, node76, node78, node84, node23, node13]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node3, exports_location_watcher };
|