@opencode-ai/core 0.0.0-dev-19108 → 0.0.0-dev-19111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{app-7m2rk6qq.js → command-035rcwns.js} +20 -20
- package/dist/chunks/{app-ph8fh0n1.js → command-07jbfwff.js} +7 -7
- package/dist/chunks/{app-0e0xafbb.js → command-0e0xafbb.js} +2 -2
- package/dist/chunks/{app-4gsaceeb.js → command-0kfne21a.js} +18 -18
- package/dist/chunks/{app-vwg59y3r.js → command-0kjqcjxv.js} +9 -9
- package/dist/chunks/{app-f7j6k7qz.js → command-0nqpaxk7.js} +277 -277
- package/dist/chunks/{app-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-5rwzhfv6.js → command-0s7aarrn.js} +12 -12
- package/dist/chunks/{app-0s9ayhjt.js → command-0s9ayhjt.js} +1 -1
- package/dist/chunks/{app-3tn3p1gv.js → command-0vynkq1k.js} +20 -20
- package/dist/chunks/{app-3jj6bjb6.js → command-0xd2d7hb.js} +5 -5
- package/dist/chunks/{app-11tw25g0.js → command-12gh2r0n.js} +4 -4
- package/dist/chunks/{app-fc3s98q3.js → command-15zye2r5.js} +18 -18
- package/dist/chunks/{app-xnzvg5qh.js → command-18vzz2sn.js} +38 -38
- package/dist/chunks/{app-632gbntz.js → command-1akmxprb.js} +16 -16
- package/dist/chunks/{app-1ct4r87x.js → command-1ct4r87x.js} +1 -1
- package/dist/chunks/{app-dyr52z27.js → command-1h95a3b9.js} +4 -4
- package/dist/chunks/{app-01w7s3hf.js → command-1mrma768.js} +5 -5
- package/dist/chunks/{app-5j4ycm01.js → command-1qn1pdz2.js} +11 -11
- package/dist/chunks/{app-dbtksfef.js → command-1r09dsq2.js} +4 -4
- package/dist/chunks/{app-m3fm0fm8.js → command-1ydgq2r4.js} +5 -5
- package/dist/chunks/{app-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{app-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{app-c00ty097.js → command-2470z9n9.js} +10 -10
- package/dist/chunks/{app-prc33r7y.js → command-2697d8n0.js} +10 -10
- package/dist/chunks/{app-sq5dxjr9.js → command-279zjhpq.js} +76 -76
- package/dist/chunks/{app-29x78va6.js → command-29x78va6.js} +2 -2
- package/dist/chunks/{app-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-2ht70gj7.js → command-2ht70gj7.js} +1 -1
- package/dist/chunks/{app-2jqmte8w.js → command-2jqmte8w.js} +2 -2
- package/dist/chunks/{app-7dqw4kz8.js → command-2k8khapm.js} +5 -5
- package/dist/chunks/{app-cp8zqkwj.js → command-2wjn61mn.js} +9 -9
- package/dist/chunks/{app-12wjp4s5.js → command-2zsr04y1.js} +15 -15
- package/dist/chunks/{app-dk8wcj9d.js → command-33hp2zv2.js} +22 -22
- package/dist/chunks/{app-ett0qq7e.js → command-367jrrwj.js} +11 -11
- package/dist/chunks/{app-36mzbjn4.js → command-36mzbjn4.js} +1 -1
- package/dist/chunks/{app-he7f0mkx.js → command-38fdqmmq.js} +32 -32
- package/dist/chunks/{app-6dbrvgej.js → command-3b6b9fm5.js} +4 -4
- package/dist/chunks/{app-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-0a8a3e10.js → command-3p3achxg.js} +43 -43
- package/dist/chunks/{app-3qzbfqsy.js → command-3qzbfqsy.js} +2 -2
- package/dist/chunks/{app-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-md85gwrm.js → command-3ywkksk4.js} +9 -9
- package/dist/chunks/{app-454k5vzh.js → command-454k5vzh.js} +1 -1
- package/dist/chunks/{app-4r2nyarf.js → command-4r2nyarf.js} +1 -1
- package/dist/chunks/{app-kzr84srk.js → command-4rftwdm7.js} +20 -20
- package/dist/chunks/{app-70rkddr7.js → command-4rqr8y5g.js} +5 -5
- package/dist/chunks/{app-kx408293.js → command-507jwzhp.js} +7 -7
- package/dist/chunks/{app-85h46ndy.js → command-50m12935.js} +19 -19
- package/dist/chunks/{app-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{app-5fmxt4p5.js → command-5fmxt4p5.js} +1 -1
- package/dist/chunks/{app-cjzd33bf.js → command-5fpdng81.js} +5 -5
- package/dist/chunks/{app-jb3fmdkt.js → command-5gv2kmhj.js} +20 -20
- package/dist/chunks/{app-scr2tyqd.js → command-5jbm950r.js} +10 -10
- package/dist/chunks/{app-ac15t784.js → command-5jdmrxhb.js} +9 -9
- package/dist/chunks/{app-5jvc5tg2.js → command-5jvc5tg2.js} +1 -1
- package/dist/chunks/{app-5w21de0h.js → command-5pzwqq2j.js} +17 -17
- package/dist/chunks/{app-5sg4xzjf.js → command-5sg4xzjf.js} +1 -1
- package/dist/chunks/{app-tp6caa3d.js → command-5tc0y89d.js} +11 -11
- package/dist/chunks/{app-jqbwqfhj.js → command-5vf5ce74.js} +24 -24
- package/dist/chunks/{app-vxneg69e.js → command-5wmq78ra.js} +11 -11
- package/dist/chunks/{app-nszsghhy.js → command-62qcn064.js} +24 -24
- package/dist/chunks/{app-nn8gjz4a.js → command-6cnvhzhy.js} +15 -15
- package/dist/chunks/{app-28pcbh69.js → command-6e958v7x.js} +4 -4
- package/dist/chunks/{app-eq19x63z.js → command-6fenjrr4.js} +1 -1
- package/dist/chunks/{app-6tf8tr4v.js → command-6tf8tr4v.js} +2 -2
- package/dist/chunks/{app-4v6kmz2f.js → command-6xw6ac85.js} +33 -33
- package/dist/chunks/{app-saak5ttd.js → command-6z5bwd8g.js} +6 -6
- package/dist/chunks/{app-711hfp6y.js → command-711hfp6y.js} +2 -2
- package/dist/chunks/{app-enykx8hh.js → command-71p0ewq5.js} +3 -3
- package/dist/chunks/{app-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-y3rr0h4x.js → command-7d52aqke.js} +23 -23
- package/dist/chunks/{app-5pn8t89y.js → command-7g7fb98j.js} +1 -1
- package/dist/chunks/{app-15pj8rnv.js → command-7j0nj4pm.js} +6 -6
- package/dist/chunks/{app-y1rpdcqt.js → command-7nn4y7w6.js} +23 -23
- package/dist/chunks/{app-zw4pk1bw.js → command-7r0r50e5.js} +5 -5
- package/dist/chunks/{app-n87mmw2p.js → command-7r1tj01c.js} +16 -16
- package/dist/chunks/{app-k8t0xqq8.js → command-7sq5cger.js} +10 -10
- package/dist/chunks/{app-v4py6dym.js → command-7tft0kbg.js} +13 -13
- package/dist/chunks/{app-2w6vce98.js → command-7w010q1d.js} +42 -42
- package/dist/chunks/{app-mhkvc446.js → command-7yh4e7ss.js} +3 -3
- package/dist/chunks/command-7zk4hah4.js +4 -0
- package/dist/chunks/{app-ratrq7cm.js → command-806j49yq.js} +4 -4
- package/dist/chunks/{app-tcezcvh9.js → command-89znhe33.js} +4 -4
- package/dist/chunks/{app-xx9fdkq9.js → command-8bz0sd47.js} +11 -11
- package/dist/chunks/{app-h07v7wa8.js → command-8g5xycft.js} +12 -12
- package/dist/chunks/{app-d5cz6mdb.js → command-8j2k6enj.js} +24 -24
- package/dist/chunks/{app-rx10k930.js → command-8y13jkzv.js} +24 -24
- package/dist/chunks/{app-93a8yfjt.js → command-93a8yfjt.js} +2 -2
- package/dist/chunks/{app-0e2t5d9f.js → command-99ks3syn.js} +2 -2
- package/dist/chunks/{app-74kdhb1m.js → command-9cgz4z4t.js} +1 -1
- package/dist/chunks/{app-qvbcabdc.js → command-9qm9egsn.js} +2 -2
- package/dist/chunks/{app-zfdtt056.js → command-9rhh5gqv.js} +4 -4
- package/dist/chunks/{app-7ysq4950.js → command-9rp752s8.js} +15 -15
- package/dist/chunks/{app-jeec4msp.js → command-9s3d2qf6.js} +17 -17
- package/dist/chunks/{app-b3restqe.js → command-9s7m1fh2.js} +11 -11
- package/dist/chunks/{app-q00nexrm.js → command-9tmgd7pk.js} +16 -16
- package/dist/chunks/{app-8dd2f8ys.js → command-9yaajp0h.js} +10 -10
- package/dist/chunks/{app-en8yrvtc.js → command-a0tjzrhq.js} +11 -11
- package/dist/chunks/{app-pkxfpd18.js → command-a2bdyd3c.js} +6 -6
- package/dist/chunks/{app-8fhts7ts.js → command-a5nkh94p.js} +4 -4
- package/dist/chunks/{app-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{app-mmqcn6cn.js → command-ac3j6t8f.js} +8 -8
- package/dist/chunks/{app-yg7sb877.js → command-ajtjthsy.js} +2 -2
- package/dist/chunks/{app-z6keg9zw.js → command-avz8t4j1.js} +11 -11
- package/dist/chunks/{app-9rtpxp4d.js → command-awvh19kp.js} +4 -4
- package/dist/chunks/{app-5h1jpmjk.js → command-aya6j6m3.js} +9 -9
- package/dist/chunks/{app-twthcc5a.js → command-b4cmc4ha.js} +14 -14
- package/dist/chunks/{app-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-pq15x4g3.js → command-b7hbr3r2.js} +1 -1
- package/dist/chunks/{app-b9wsbatv.js → command-b9wsbatv.js} +1 -1
- package/dist/chunks/{app-thfv75je.js → command-bcezcar3.js} +5 -5
- package/dist/chunks/{app-42xrgkkt.js → command-bnqaaxy4.js} +10 -10
- package/dist/chunks/{app-gc2v68jb.js → command-bwdms3f5.js} +8 -8
- package/dist/chunks/{app-67yrdjps.js → command-cbz1xrzf.js} +7 -7
- package/dist/chunks/{app-n3jkd22a.js → command-ch60wd2z.js} +4 -4
- package/dist/chunks/{app-bmvd9c9n.js → command-cnrverm5.js} +11 -11
- package/dist/chunks/{app-jz6g0r88.js → command-crb07ac6.js} +2 -2
- package/dist/chunks/{app-5t5wq6gn.js → command-cv9knkrg.js} +9 -9
- package/dist/chunks/{app-jtw2mhh0.js → command-d26dc0tg.js} +33 -33
- package/dist/chunks/{app-cg1s5r8d.js → command-d58yx3mx.js} +20 -20
- package/dist/chunks/{app-m8pdp7md.js → command-d6wax2q4.js} +14 -14
- package/dist/chunks/{app-g2gt0w0k.js → command-d72308c8.js} +2 -2
- package/dist/chunks/{app-h38qfw5s.js → command-d7jhfk1z.js} +20 -20
- package/dist/chunks/{app-6degs2s3.js → command-d9jdb4zk.js} +13 -13
- package/dist/chunks/{app-r98e92ep.js → command-dfe8djrf.js} +4 -4
- package/dist/chunks/{app-7az1ph81.js → command-dn2favvt.js} +9 -9
- package/dist/chunks/{app-k0nnxhjy.js → command-drsywa8d.js} +36 -36
- package/dist/chunks/{app-5vybsdg6.js → command-dy3xyxz9.js} +27 -27
- package/dist/chunks/{app-ghnyn06t.js → command-e1mb8xhp.js} +11 -11
- package/dist/chunks/{app-ek9v5jv9.js → command-e1patwpn.js} +31 -31
- package/dist/chunks/{app-e1rfyyrx.js → command-e1rfyyrx.js} +1 -1
- package/dist/chunks/{app-40x3qkyt.js → command-e4kk8zzx.js} +8 -8
- package/dist/chunks/{app-hb3r4mne.js → command-ec7s3w8j.js} +46 -46
- package/dist/chunks/{app-2b9ezsen.js → command-eccqmmqw.js} +8 -8
- package/dist/chunks/{app-aj61jzn0.js → command-et2w1z4j.js} +13 -13
- package/dist/chunks/{app-cj2pz883.js → command-etaqwdhb.js} +34 -34
- package/dist/chunks/{app-85gpctef.js → command-ev24k3w5.js} +7 -7
- package/dist/chunks/{app-n391bmby.js → command-exy2v0tj.js} +19 -19
- package/dist/chunks/{app-5nznyf8e.js → command-f4payg1q.js} +26 -26
- package/dist/chunks/{app-p839zhc6.js → command-f5vdqjqt.js} +5 -5
- package/dist/chunks/{app-wdw6j3rs.js → command-fbgbrvxb.js} +81 -81
- package/dist/chunks/{app-wm2410he.js → command-fdsmhwy2.js} +9 -9
- package/dist/chunks/{app-bbqat6f3.js → command-fexqjycg.js} +28 -28
- package/dist/chunks/{app-jz63f3q8.js → command-fj4x2m8g.js} +21 -21
- package/dist/chunks/{app-fnptnz5b.js → command-fnptnz5b.js} +3 -3
- package/dist/chunks/{app-5ms2rpmc.js → command-fpthsa93.js} +2 -2
- package/dist/chunks/{app-wgayrvb3.js → command-fvzk6cpt.js} +32 -32
- package/dist/chunks/{app-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-fxypknc8.js → command-fxypknc8.js} +1 -1
- package/dist/chunks/{app-nj1fe1jb.js → command-fz4jwa6n.js} +4 -4
- package/dist/chunks/{app-aj2m52tf.js → command-g4p2jaj6.js} +8 -8
- package/dist/chunks/{app-7n0q0bv1.js → command-g8vcfp1v.js} +33 -33
- package/dist/chunks/{app-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-3fc6dm20.js → command-gdvy8fx6.js} +4 -4
- package/dist/chunks/{app-5jw85c42.js → command-ggs7d5mp.js} +11 -11
- package/dist/chunks/{app-ec9akqb8.js → command-h3wsk5t8.js} +11 -11
- package/dist/chunks/{app-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-2kykh1mj.js → command-h93sf8xp.js} +2 -2
- package/dist/chunks/{app-4rf45629.js → command-hdmbq1xh.js} +30 -30
- package/dist/chunks/{app-heyhwy2w.js → command-heyhwy2w.js} +1 -1
- package/dist/chunks/{app-g2dy4bvs.js → command-hrvm11jt.js} +3 -3
- package/dist/chunks/{app-fc38zh4y.js → command-hs09szwj.js} +9 -9
- package/dist/chunks/{app-a914cbek.js → command-j2rksbgg.js} +11 -11
- package/dist/chunks/{app-fbg8t03t.js → command-jpf66q1b.js} +26 -26
- package/dist/chunks/{app-jwcy2c2z.js → command-jwcy2c2z.js} +1 -1
- package/dist/chunks/{app-66d61ks5.js → command-jzpht0s0.js} +25 -25
- package/dist/chunks/{app-w1n2vv9p.js → command-k200p2dv.js} +6 -6
- package/dist/chunks/{app-k4bwy1x5.js → command-k4bwy1x5.js} +1 -1
- package/dist/chunks/{app-t40jpwh8.js → command-k7c7fj4z.js} +8 -8
- package/dist/chunks/{app-kg06axw8.js → command-kg06axw8.js} +1 -1
- package/dist/chunks/{app-zx6w5c8x.js → command-kkjhrqrd.js} +142 -142
- package/dist/chunks/{app-fvanntqq.js → command-kmkwybff.js} +6 -6
- package/dist/chunks/{app-5p4h4sxt.js → command-kmng5yeq.js} +16 -16
- package/dist/chunks/{app-an4fhdz5.js → command-kqetvnf7.js} +25 -25
- package/dist/chunks/{app-ztbtsr59.js → command-ktx1hmb3.js} +7 -7
- package/dist/chunks/{app-kvsjn1dr.js → command-kvsjn1dr.js} +2 -2
- package/dist/chunks/{app-5nfd4rj2.js → command-kw4n94xb.js} +18 -18
- package/dist/chunks/{app-qad2rhws.js → command-kxmj7br7.js} +65 -61
- package/dist/chunks/{app-3dq3crbn.js → command-kzdh53w6.js} +26 -26
- package/dist/chunks/{app-qffh45tv.js → command-m09hh2qm.js} +11 -11
- package/dist/chunks/{app-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-a010fcpj.js → command-md0qwdy1.js} +20 -20
- package/dist/chunks/{app-9thvk43w.js → command-mh4ywd3j.js} +3 -3
- package/dist/chunks/{app-6v0yyvxp.js → command-mm8fez2g.js} +23 -23
- package/dist/chunks/{app-j0ppee8q.js → command-myp0nqk5.js} +7 -7
- package/dist/chunks/{app-4ehv4ads.js → command-n4w2t69j.js} +1 -1
- package/dist/chunks/{app-9g3rryp6.js → command-n62bh1ef.js} +2 -2
- package/dist/chunks/{app-zf7b75hh.js → command-n7w5zqem.js} +25 -25
- package/dist/chunks/{app-hzxq4bdr.js → command-n9vsncbs.js} +1 -1
- package/dist/chunks/{app-pwxeq6k8.js → command-ndtqzn46.js} +1 -1
- package/dist/chunks/{app-nn3t8h8p.js → command-ndxmc8jy.js} +11 -11
- package/dist/chunks/{app-e9s3ep91.js → command-nqeyrhbf.js} +44 -44
- package/dist/chunks/{app-nrz5c8c1.js → command-nrz5c8c1.js} +2 -2
- package/dist/chunks/command-nv1mfemk.js +20 -0
- package/dist/chunks/{app-anj2smy6.js → command-nzzxe9z3.js} +7 -7
- package/dist/chunks/{app-p325kmej.js → command-p325kmej.js} +2 -2
- package/dist/chunks/{app-q8x51wfp.js → command-pa2jrwbg.js} +9 -9
- package/dist/chunks/{app-g8me1vrx.js → command-pcras68f.js} +17 -17
- package/dist/chunks/command-pctbbrby.js +22 -0
- package/dist/chunks/{app-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{app-7122j8gw.js → command-ptd509h3.js} +3 -3
- package/dist/chunks/{app-nhrx4yjw.js → command-q53nydxb.js} +19 -19
- package/dist/chunks/{app-t368439m.js → command-q5jefrn9.js} +10 -10
- package/dist/chunks/command-qc068m1q.js +18 -0
- package/dist/chunks/{app-e8tqfn4h.js → command-qh16mj05.js} +6 -6
- package/dist/chunks/{app-wv3apwzp.js → command-qhzf1s86.js} +21 -21
- package/dist/chunks/{app-p7ygs7f5.js → command-qk2s0wq8.js} +32 -24
- package/dist/chunks/{app-xmt2104j.js → command-qnr3jx13.js} +4 -4
- package/dist/chunks/{app-jxsp05s8.js → command-qs1c0g84.js} +3 -3
- package/dist/chunks/{app-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{app-j34s8085.js → command-qvw3ex0p.js} +6 -6
- package/dist/chunks/{app-rehtxfbe.js → command-r656qmc8.js} +1 -1
- package/dist/chunks/{app-r8dhm0tv.js → command-r8dhm0tv.js} +1 -1
- package/dist/chunks/{app-dqj39p43.js → command-r9gjvh9g.js} +4 -4
- package/dist/chunks/{app-3zphh05q.js → command-rmkjmdgc.js} +8 -8
- package/dist/chunks/{app-j5208yae.js → command-rwh68y4k.js} +6 -6
- package/dist/chunks/{app-h7q657j6.js → command-s4pt1ctc.js} +35 -35
- package/dist/chunks/{app-sba4qhjf.js → command-sba4qhjf.js} +1 -1
- package/dist/chunks/{app-mhv349kx.js → command-sp02xnra.js} +11 -11
- package/dist/chunks/{app-50np2ea7.js → command-sw16r4ae.js} +20 -20
- package/dist/chunks/{app-23zmxrnh.js → command-t6keskfq.js} +12 -12
- package/dist/chunks/{app-8mwg67v8.js → command-taexzmrc.js} +23 -23
- package/dist/chunks/{app-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-n91x5rnx.js → command-tbeh7nm8.js} +9 -9
- package/dist/chunks/{app-tjykrgmx.js → command-tjykrgmx.js} +1 -1
- package/dist/chunks/{app-tppvcy65.js → command-tppvcy65.js} +2 -2
- package/dist/chunks/{app-dxt7zfy2.js → command-ttdwytnm.js} +6 -6
- package/dist/chunks/{app-ve8mtpc7.js → command-ttg35kwh.js} +33 -33
- package/dist/chunks/{app-favyzkqq.js → command-v08anw5k.js} +2 -2
- package/dist/chunks/{app-14rfkr3c.js → command-v0gwpyr8.js} +24 -24
- package/dist/chunks/{app-0nv9ws4s.js → command-v8yh8gmz.js} +8 -8
- package/dist/chunks/{app-4e715r4p.js → command-vd7zqppv.js} +5 -5
- package/dist/chunks/{app-vfmrq4xs.js → command-vjvb94qs.js} +4 -4
- package/dist/chunks/{app-k1r2d1at.js → command-vk57p0r6.js} +4 -4
- package/dist/chunks/{app-djq9m59r.js → command-w0zpdtzg.js} +47 -47
- package/dist/chunks/{app-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-egy8hdjc.js → command-w4tqxsac.js} +6 -6
- package/dist/chunks/{app-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{app-0c185145.js → command-wm5m1cpt.js} +48 -48
- package/dist/chunks/{app-nm1hd347.js → command-wnjdg9f5.js} +15 -15
- package/dist/chunks/{app-pxh1w4gq.js → command-wrv1mk8k.js} +10 -10
- package/dist/chunks/{app-96vkjpcp.js → command-ws5hqc9c.js} +20 -20
- package/dist/chunks/{app-6sct3hx6.js → command-ww1szn71.js} +10 -10
- package/dist/chunks/{app-emw2ra1t.js → command-wwach3d4.js} +25 -25
- package/dist/chunks/{app-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-pbxt2nhv.js → command-x5s817a3.js} +1 -1
- package/dist/chunks/{app-93dwfvj9.js → command-x7pjthx6.js} +144 -144
- package/dist/chunks/{app-4rtnt5ag.js → command-xjqxrzvv.js} +28 -28
- package/dist/chunks/{app-13c30bt4.js → command-xk7t5g8q.js} +4 -4
- package/dist/chunks/{app-ep50a41x.js → command-xw51m9r9.js} +24 -24
- package/dist/chunks/{app-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-cfzweq70.js → command-y1gygb79.js} +41 -41
- package/dist/chunks/{app-dexfpahx.js → command-y9j759kk.js} +4 -4
- package/dist/chunks/{app-6mj9m63p.js → command-yahcm7nx.js} +24 -24
- package/dist/chunks/{app-42har1fs.js → command-ybs14z4j.js} +27 -27
- package/dist/chunks/{app-0386mn27.js → command-yct8znxp.js} +21 -21
- package/dist/chunks/{app-df0xh4qc.js → command-yd3gakm9.js} +14 -14
- package/dist/chunks/{app-kk3rr3qh.js → command-yfbd16n1.js} +5 -5
- package/dist/chunks/{app-1nfhvprz.js → command-ys04yrn6.js} +20 -20
- package/dist/chunks/{app-d1hpdj9g.js → command-ysynen7x.js} +15 -15
- package/dist/chunks/{app-g77vssk4.js → command-z0caz8m8.js} +3 -3
- package/dist/chunks/{app-n29cgmzy.js → command-z0y2k7gm.js} +20 -20
- package/dist/chunks/{app-z1k01bn4.js → command-z1k01bn4.js} +2 -2
- package/dist/chunks/{app-j2823k0a.js → command-z1n2e8q4.js} +2 -2
- package/dist/chunks/{app-7yy9xc4n.js → command-z1s4wvth.js} +15 -15
- package/dist/chunks/{app-djtdz80w.js → command-z3xgatyd.js} +4 -4
- package/dist/chunks/{app-m207hpws.js → command-zgc58s1t.js} +1 -1
- package/dist/chunks/{app-dggmzrqa.js → command-zjxf22wa.js} +7 -7
- package/dist/chunks/{app-gn9vvy7m.js → command-zmm1cve0.js} +10 -10
- package/dist/chunks/{app-3c09ha2d.js → command-zrrqbtv4.js} +12 -12
- package/dist/chunks/{app-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +114 -114
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- 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 +356 -356
- 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 +84 -84
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +86 -86
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +88 -88
- package/dist/git.js +3 -3
- 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 +7 -7
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- 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 +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +80 -80
- 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 +105 -105
- 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 +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +210 -210
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +1 -1
- 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 +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +3 -3
- 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 +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +118 -118
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- 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 +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +207 -207
- 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 +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- 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 +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +116 -116
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +108 -108
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/session/inbox.d.ts +5 -4
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/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 +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +68 -68
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +7 -7
- package/dist/chunks/app-18pkcr1z.js +0 -4
- package/dist/chunks/app-d4xdtrpt.js +0 -22
- package/dist/chunks/app-mkqtfevc.js +0 -18
- package/dist/chunks/app-vra3567w.js +0 -20
- /package/dist/chunks/{app-0fabt78z.js → command-0fabt78z.js} +0 -0
- /package/dist/chunks/{app-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3t738kvx.js → command-3t738kvx.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-41nvscxy.js → command-41nvscxy.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-982e01ww.js → command-982e01ww.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mntxs535.js → command-mntxs535.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-p8qxwesx.js → command-p8qxwesx.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-se0s1eqw.js → command-se0s1eqw.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x1b8g1yb.js → command-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → command-z9919s4g.js} +0 -0
- /package/dist/chunks/{app-zbjnn3ac.js → command-zbjnn3ac.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info17 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info19 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info17, exports_skills };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./command-nv1mfemk.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-qc068m1q.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-k200p2dv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./command-33hp2zv2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service38;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-1h95a3b9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-99ks3syn.js";
|
|
9
9
|
import {
|
|
10
10
|
Service74,
|
|
11
11
|
node77
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-nzzxe9z3.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service46,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node48
|
|
20
|
+
} from "./command-exy2v0tj.js";
|
|
21
21
|
import {
|
|
22
22
|
Service63,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
node66
|
|
24
|
+
} from "./command-r9gjvh9g.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service44,
|
|
27
|
+
node46
|
|
28
|
+
} from "./command-v8yh8gmz.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-z0caz8m8.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service65,
|
|
35
|
+
node68
|
|
36
|
+
} from "./command-18vzz2sn.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./command-8g5xycft.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./command-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service43,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node45
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode-ai/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode-ai/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service43 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service43, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service79;
|
|
91
91
|
const location = yield* Service76;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
93
|
+
const shell = yield* Service46;
|
|
94
94
|
const environment = yield* Service74;
|
|
95
95
|
const hooks = yield* Service63;
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
96
|
+
const environments = yield* Service44;
|
|
97
|
+
const config = yield* Service65;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError5({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service43.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node45 = makeLocationNode({
|
|
320
|
+
service: Service43,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node83,
|
|
324
324
|
node80,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
326
|
+
node48,
|
|
327
327
|
node77,
|
|
328
|
-
node65,
|
|
329
|
-
node63,
|
|
330
328
|
node66,
|
|
329
|
+
node46,
|
|
330
|
+
node68,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service43, cleanup2, node45, exports_shell4 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-mh4ywd3j.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-1h95a3b9.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/credential.ts
|
|
17
17
|
var exports_credential = {};
|
|
18
18
|
__export(exports_credential, {
|
|
19
19
|
Credential: () => exports_credential,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event18,
|
|
21
|
+
ID: () => ID12,
|
|
22
|
+
Info: () => Info26,
|
|
23
23
|
Key: () => Key4,
|
|
24
24
|
OAuth: () => OAuth3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service68,
|
|
26
26
|
Value: () => Value2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node71
|
|
28
28
|
});
|
|
29
29
|
import { asc, desc, eq } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { Credential } from "@opencode-ai/schema/credential";
|
|
32
32
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
34
|
-
var
|
|
34
|
+
var ID12 = Credential.ID;
|
|
35
35
|
var OAuth3 = Credential.OAuth;
|
|
36
36
|
var Key4 = Credential.Key;
|
|
37
37
|
var Value2 = Credential.Value;
|
|
38
|
-
var
|
|
38
|
+
var Event18 = Credential.Event;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
41
|
+
id: ID12,
|
|
42
42
|
integrationID: Integration.ID,
|
|
43
43
|
label: Schema.String,
|
|
44
44
|
value: Value2
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service68 extends Context.Service()("@opencode/Credential") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
51
51
|
const db = (yield* Service80).db;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
53
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
54
54
|
const stored = (row) => {
|
|
55
55
|
if (!row.integration_id)
|
|
56
56
|
return;
|
|
57
|
-
return new
|
|
57
|
+
return new Info26({
|
|
58
58
|
id: row.id,
|
|
59
59
|
integrationID: row.integration_id,
|
|
60
60
|
label: row.label,
|
|
@@ -65,7 +65,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
65
65
|
const credential = stored(row);
|
|
66
66
|
return credential ? [credential] : [];
|
|
67
67
|
});
|
|
68
|
-
return
|
|
68
|
+
return Service68.of({
|
|
69
69
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
70
70
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
71
71
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -73,8 +73,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
73
73
|
return row ? stored(row) : undefined;
|
|
74
74
|
}),
|
|
75
75
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
76
|
-
const credential = new
|
|
77
|
-
id:
|
|
76
|
+
const credential = new Info26({
|
|
77
|
+
id: ID12.create(),
|
|
78
78
|
integrationID: input.integrationID,
|
|
79
79
|
label: input.label ?? "default",
|
|
80
80
|
value: input.value
|
|
@@ -89,8 +89,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
89
89
|
active: true
|
|
90
90
|
}).run();
|
|
91
91
|
})).pipe(Effect.orDie);
|
|
92
|
-
yield* bus.publish(
|
|
93
|
-
yield* bus.publish(
|
|
92
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
93
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
94
94
|
return credential;
|
|
95
95
|
}),
|
|
96
96
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
106
106
|
return credential.integration_id;
|
|
107
107
|
})).pipe(Effect.orDie);
|
|
108
108
|
if (integrationID)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
110
110
|
}),
|
|
111
111
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
112
112
|
if (updates.label === undefined && updates.value === undefined)
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
yield* db.update(CredentialTable2).set({ label: updates.label, value: updates.value }).where(eq(CredentialTable2.id, id)).run().pipe(Effect.orDie);
|
|
120
120
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
121
|
-
yield* bus.publish(
|
|
121
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
122
122
|
}),
|
|
123
123
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
124
124
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -142,12 +142,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
142
142
|
})).pipe(Effect.orDie);
|
|
143
143
|
if (!removed)
|
|
144
144
|
return;
|
|
145
|
-
yield* bus.publish(
|
|
145
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
146
146
|
if (removed.switched)
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
}));
|
|
151
|
-
var
|
|
151
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node84, node83] });
|
|
152
152
|
|
|
153
|
-
export {
|
|
153
|
+
export { ID12, OAuth3, Key4, Value2, Event18, Info26, Service68, node71, exports_credential };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./command-18vzz2sn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./command-8g5xycft.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin17
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin17 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service65;
|
|
27
|
+
const output = yield* Service45;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin33 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin17, exports_tool_output };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-1h95a3b9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-99ks3syn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./command-7zk4hah4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service46,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node48
|
|
16
|
+
} from "./command-exy2v0tj.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service13,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node15
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode-ai/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event2 } from "@opencode-ai/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service13 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
62
|
const location = yield* Service76;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service46;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service13.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node15 = makeLocationNode({
|
|
274
|
+
service: Service13,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node83, node80,
|
|
276
|
+
deps: [node83, node80, node48]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-mh4ywd3j.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node83
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-1h95a3b9.js";
|
|
12
12
|
import {
|
|
13
13
|
Service78,
|
|
14
14
|
node82
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-fnptnz5b.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-tppvcy65.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./command-9qm9egsn.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-ajtjthsy.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|