@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./reference-ej085sj0.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event14
|
|
7
|
+
} from "./reference-fd0t6sve.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-j16zphk7.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-c7ecgrk6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID4,
|
|
19
19
|
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-8pqq62t9.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID10.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service79;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID10.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-e7kd7gj5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./reference-ej085sj0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./reference-3c1tgrea.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service36
|
|
16
|
+
} from "./reference-j5vg7gm1.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./reference-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./reference-ja4wy4ee.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./reference-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service41;
|
|
46
46
|
const database = yield* Service80;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service36;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service41;
|
|
78
|
+
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service36;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./reference-ej085sj0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service65,
|
|
6
|
+
Event13
|
|
7
|
+
} from "./reference-yx9d5yhn.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin44,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin44 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service79;
|
|
24
|
+
const wellknown = yield* Service65;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin2 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin44, exports_plugin };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
+
Info: () => Info21,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule3
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule3),
|
|
20
|
+
edit: Schema.optional(Rule3),
|
|
21
|
+
glob: Schema.optional(Rule3),
|
|
22
|
+
grep: Schema.optional(Rule3),
|
|
23
|
+
list: Schema.optional(Rule3),
|
|
24
|
+
bash: Schema.optional(Rule3),
|
|
25
|
+
task: Schema.optional(Rule3),
|
|
26
|
+
external_directory: Schema.optional(Rule3),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule3),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule3),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule3)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info21 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule3, Info21, exports_permission2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service5.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node8, exports_update };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event17,
|
|
13
|
+
ID: () => ID14,
|
|
14
|
+
Info: () => Info29,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID14 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info29 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event17 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID14, Current3, Info29, UpdateInput4, Event17, Vcs3, exports_schema };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./reference-gjdkj7gs.js";
|
|
4
4
|
import {
|
|
5
5
|
Service15,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-13j5h6zk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./reference-234ap6ss.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service54
|
|
14
|
+
} from "./reference-4j04egcw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./reference-9dpegb11.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input7,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin25,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name7,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name7 = "write";
|
|
39
|
+
var Input7 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin25 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
55
|
+
const access = yield* Service16;
|
|
56
56
|
const fileMutation = yield* Service15;
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
57
|
+
const environment = yield* Service49;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service54;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input7,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name7, Input7, Output4, toModelContent4, Plugin25, exports_write };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin20,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin20 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
yield* ctx.session.hook("context", (event) => Effect.sync(() => {
|
|
@@ -74,4 +74,4 @@ var Plugin17 = {
|
|
|
74
74
|
})
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
export { RenameInput2, MoveInput2,
|
|
77
|
+
export { RenameInput2, MoveInput2, Plugin20, exports_opencode };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-d6fzg897.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-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: () =>
|
|
13
|
-
canonical: () =>
|
|
14
|
-
node: () =>
|
|
12
|
+
Service: () => Service47,
|
|
13
|
+
canonical: () => canonical2,
|
|
14
|
+
node: () => node50
|
|
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 Service47 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service47, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
26
|
+
var node50 = LayerNode.unbound(Service47, Node.tags.values.global);
|
|
27
|
+
function canonical2(ref) {
|
|
28
28
|
return Ref3.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service47, node50, canonical2, exports_location_service_map };
|