@opencode/core 0.0.0-dev-20847 → 0.0.0-dev-20850
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{instruction-discovery-b6syrwy2.js → command-00832hy7.js} +8 -8
- package/dist/chunks/{instruction-discovery-sm4j4wt5.js → command-00v3p02c.js} +12 -12
- package/dist/chunks/{instruction-discovery-zp551mt7.js → command-03eecatj.js} +32 -32
- package/dist/chunks/{instruction-discovery-yeyrdzm0.js → command-0651g2m8.js} +26 -26
- package/dist/chunks/{instruction-discovery-ne89875c.js → command-0f74e6s6.js} +16 -16
- package/dist/chunks/{instruction-discovery-fqp3mcfq.js → command-0g7cgnx9.js} +1 -1
- package/dist/chunks/{instruction-discovery-8tzwp5sx.js → command-0r9t40ws.js} +16 -16
- package/dist/chunks/{instruction-discovery-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{instruction-discovery-5pbz2dd0.js → command-0yz1bb5z.js} +4 -4
- package/dist/chunks/{instruction-discovery-ggsp0fny.js → command-1078m2ze.js} +11 -11
- package/dist/chunks/{instruction-discovery-0qwsa8cf.js → command-125b2gjd.js} +16 -16
- package/dist/chunks/{instruction-discovery-ezzmrcry.js → command-141ztcwb.js} +30 -30
- package/dist/chunks/{instruction-discovery-ssgq4v3h.js → command-1ake5xtc.js} +19 -19
- package/dist/chunks/{instruction-discovery-99rzeaw0.js → command-1e7j80nv.js} +18 -18
- package/dist/chunks/{instruction-discovery-njm3x30h.js → command-1tc9ms7v.js} +90 -90
- package/dist/chunks/{instruction-discovery-q17sgkmf.js → command-1xfjfm5k.js} +18 -18
- package/dist/chunks/{instruction-discovery-18tb8vc6.js → command-266f832d.js} +22 -22
- package/dist/chunks/{instruction-discovery-1j9vsfxy.js → command-2ej7p5df.js} +17 -17
- package/dist/chunks/{instruction-discovery-xyc3y5xg.js → command-2vn9a9m5.js} +13 -13
- package/dist/chunks/{instruction-discovery-2vvh33eb.js → command-2vvh33eb.js} +2 -2
- package/dist/chunks/{instruction-discovery-qms70dv9.js → command-2w85jf91.js} +3 -3
- package/dist/chunks/{instruction-discovery-7yw2sx3r.js → command-2x98hj2d.js} +6 -6
- package/dist/chunks/{instruction-discovery-yztevfhp.js → command-2ztj38qe.js} +20 -20
- package/dist/chunks/{instruction-discovery-h7s7r6s9.js → command-31xfzrxg.js} +5 -5
- package/dist/chunks/{instruction-discovery-hw2yy5aw.js → command-3b7e2402.js} +11 -11
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-ksek9mqj.js → command-3ggbdzvf.js} +38 -38
- package/dist/chunks/{instruction-discovery-afz809yg.js → command-3grbmg3s.js} +17 -17
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-hay4m1s6.js → command-3t1dcsxj.js} +50 -50
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-nvakrpsp.js → command-3xr281qj.js} +12 -12
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-byr661vw.js → command-43b4ysp3.js} +13 -13
- package/dist/chunks/{instruction-discovery-arz7hw7x.js → command-48kw51zw.js} +3 -3
- package/dist/chunks/{instruction-discovery-vrzt526f.js → command-4ekscj25.js} +5 -5
- package/dist/chunks/{instruction-discovery-5fa8zajf.js → command-4h0vb0gq.js} +15 -15
- package/dist/chunks/{instruction-discovery-988cxgr8.js → command-4jw9kfxa.js} +10 -10
- package/dist/chunks/{instruction-discovery-4w7gm2tt.js → command-4n4sjte8.js} +20 -20
- package/dist/chunks/{instruction-discovery-e0pxcnmw.js → command-4s7sr0a4.js} +8 -8
- package/dist/chunks/{instruction-discovery-2ccvkpx1.js → command-4ts7tf6z.js} +2 -2
- package/dist/chunks/command-4v7qdvcn.js +18 -0
- package/dist/chunks/{instruction-discovery-ewk422xx.js → command-50waebaf.js} +14 -14
- package/dist/chunks/{instruction-discovery-h4y0jjzh.js → command-51p4tjed.js} +20 -20
- package/dist/chunks/{instruction-discovery-x7bx6zs0.js → command-524nwbbt.js} +10 -10
- package/dist/chunks/{instruction-discovery-janq1scx.js → command-54e5rmax.js} +4 -4
- package/dist/chunks/{instruction-discovery-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{instruction-discovery-xqt608y9.js → command-5faj6gpx.js} +30 -30
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-b9srm8rz.js → command-5mgptwxw.js} +11 -11
- package/dist/chunks/{instruction-discovery-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instruction-discovery-ts8qfj50.js → command-5t3310k6.js} +4 -4
- package/dist/chunks/{instruction-discovery-pwpq1fb6.js → command-5ytdfek8.js} +20 -20
- package/dist/chunks/{instruction-discovery-y1qj9qp6.js → command-6674vnd9.js} +28 -28
- package/dist/chunks/{instruction-discovery-97y7hxer.js → command-684z2rkg.js} +14 -12
- package/dist/chunks/{instruction-discovery-548fqp7q.js → command-6qrtx4s9.js} +8 -8
- package/dist/chunks/{instruction-discovery-tqenhx9q.js → command-6rv30qxe.js} +6 -6
- package/dist/chunks/{instruction-discovery-vezvtjyv.js → command-6v23mrsw.js} +11 -11
- package/dist/chunks/{instruction-discovery-myrhaa8e.js → command-6w6dyk7v.js} +9 -9
- package/dist/chunks/{instruction-discovery-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/{instruction-discovery-38mem431.js → command-70az54m3.js} +31 -31
- package/dist/chunks/{instruction-discovery-kppw7hr6.js → command-754hrxp0.js} +26 -26
- package/dist/chunks/{instruction-discovery-7nazv9sg.js → command-7ad1qpnj.js} +20 -20
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-2k8khapm.js → command-7dqw4kz8.js} +5 -5
- package/dist/chunks/{instruction-discovery-2san2fa0.js → command-7ffperky.js} +25 -25
- package/dist/chunks/{instruction-discovery-g678yp76.js → command-7fqkjd9x.js} +33 -33
- package/dist/chunks/{instruction-discovery-zkskjjqs.js → command-7qskwz89.js} +18 -18
- package/dist/chunks/{instruction-discovery-wby3r2te.js → command-7rce4ag1.js} +11 -11
- package/dist/chunks/{instruction-discovery-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{instruction-discovery-xk3qqngr.js → command-886t639t.js} +11 -11
- package/dist/chunks/{instruction-discovery-svysebdv.js → command-8akyxt9x.js} +180 -180
- package/dist/chunks/{instruction-discovery-vhjwdtv8.js → command-8c2fejh3.js} +45 -45
- package/dist/chunks/{instruction-discovery-d15wnv4q.js → command-8dmft94a.js} +16 -16
- package/dist/chunks/{instruction-discovery-zamq423t.js → command-8k7cnv0y.js} +1 -1
- package/dist/chunks/{instruction-discovery-8m6m0r52.js → command-8m6m0r52.js} +1 -1
- package/dist/chunks/{instruction-discovery-gjqhxvm8.js → command-8nehyppj.js} +18 -18
- package/dist/chunks/{instruction-discovery-91qna3x0.js → command-91qna3x0.js} +3 -3
- package/dist/chunks/{instruction-discovery-4r59zyn6.js → command-99tgmy8e.js} +36 -36
- package/dist/chunks/{instruction-discovery-terdh6tz.js → command-9a3p6fm2.js} +46 -46
- package/dist/chunks/{instruction-discovery-yc7106p4.js → command-9gz7rpcg.js} +20 -20
- package/dist/chunks/{instruction-discovery-9jcxats4.js → command-9my8cp47.js} +43 -43
- package/dist/chunks/{instruction-discovery-j9ysnh0t.js → command-9rcsrpay.js} +26 -26
- package/dist/chunks/{instruction-discovery-j6a2evck.js → command-9xnzsa35.js} +18 -18
- package/dist/chunks/{instruction-discovery-85z0h67f.js → command-9ygwj23r.js} +16 -16
- package/dist/chunks/{instruction-discovery-4a0nv7mx.js → command-a2qe2ev9.js} +8 -8
- package/dist/chunks/{instruction-discovery-ph842b28.js → command-a89e0tac.js} +4 -4
- package/dist/chunks/{instruction-discovery-wf98qgyv.js → command-apj6cajm.js} +15 -15
- package/dist/chunks/{instruction-discovery-xkfm5vcm.js → command-b1nzd013.js} +2 -2
- package/dist/chunks/{instruction-discovery-wpemy600.js → command-b3d0s7yq.js} +7 -7
- package/dist/chunks/{instruction-discovery-5r4v0xwy.js → command-b4fmh4gz.js} +11 -11
- package/dist/chunks/{instruction-discovery-c5w8pbd1.js → command-bep02zpa.js} +14 -14
- package/dist/chunks/{instruction-discovery-yh9g6p3v.js → command-bz4h3gj4.js} +40 -40
- package/dist/chunks/{instruction-discovery-7dpqhkm4.js → command-c10fq8yw.js} +73 -73
- package/dist/chunks/{instruction-discovery-0bs9zzzx.js → command-c1p4wns8.js} +11 -11
- package/dist/chunks/{instruction-discovery-048wpaqz.js → command-c41h4f8s.js} +3 -3
- package/dist/chunks/{instruction-discovery-c41wscbt.js → command-c41wscbt.js} +2 -2
- package/dist/chunks/{instruction-discovery-djszqvmq.js → command-c765mh8b.js} +9 -9
- package/dist/chunks/{instruction-discovery-c8ax2afj.js → command-c8ax2afj.js} +2 -2
- package/dist/chunks/{instruction-discovery-nbyj5sqq.js → command-cccett8t.js} +91 -91
- package/dist/chunks/{instruction-discovery-gcqzh3f4.js → command-d331akc0.js} +24 -24
- package/dist/chunks/{instruction-discovery-vz2yvhh5.js → command-d8npn8xg.js} +18 -18
- package/dist/chunks/{instruction-discovery-addxnjmp.js → command-db2wf4at.js} +4 -4
- package/dist/chunks/{instruction-discovery-9hy8acjf.js → command-ded7ed65.js} +13 -13
- package/dist/chunks/{instruction-discovery-1th27d95.js → command-dehk00jt.js} +18 -18
- package/dist/chunks/{instruction-discovery-57b9ws8p.js → command-drwq78ky.js} +5 -5
- package/dist/chunks/{instruction-discovery-d0ak8zy9.js → command-dtpvhdth.js} +7 -7
- package/dist/chunks/{instruction-discovery-x5wrmng7.js → command-dys7k0s0.js} +11 -11
- package/dist/chunks/{instruction-discovery-58ytqwj2.js → command-e3mqmg8e.js} +7 -7
- package/dist/chunks/{instruction-discovery-r2a2vjc6.js → command-e53ktggx.js} +45 -45
- package/dist/chunks/{instruction-discovery-qgezrw5d.js → command-e87zkmfq.js} +22 -22
- package/dist/chunks/{instruction-discovery-z5hqtv59.js → command-eaeq0sye.js} +7 -7
- package/dist/chunks/{instruction-discovery-rhjbct0v.js → command-eaj1djv9.js} +8 -8
- package/dist/chunks/{instruction-discovery-e80seqcp.js → command-ed1g29hy.js} +3 -3
- package/dist/chunks/{instruction-discovery-y8ptd9jv.js → command-ee1byx1z.js} +28 -28
- package/dist/chunks/{instruction-discovery-eej6y6fw.js → command-eej6y6fw.js} +2 -2
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-9w9w77gc.js → command-emhev80g.js} +28 -28
- package/dist/chunks/{instruction-discovery-bt2dtkh7.js → command-eq3njjjt.js} +29 -29
- package/dist/chunks/{instruction-discovery-p097c2sx.js → command-erj4chxm.js} +14 -14
- package/dist/chunks/{instruction-discovery-es1vcfrp.js → command-es1vcfrp.js} +3 -3
- package/dist/chunks/{instruction-discovery-5dkn69vz.js → command-f29mbr7f.js} +4 -4
- package/dist/chunks/{instruction-discovery-wp8sj255.js → command-f4ej5vtm.js} +24 -24
- package/dist/chunks/{instruction-discovery-qhm1kmbp.js → command-f5rky6pw.js} +30 -30
- package/dist/chunks/{instruction-discovery-3dytr8s2.js → command-f6zrmd8m.js} +20 -20
- package/dist/chunks/{instruction-discovery-xz5716ww.js → command-fcs8jd9f.js} +31 -31
- package/dist/chunks/{instruction-discovery-r70na3yp.js → command-g686f6pq.js} +9 -9
- package/dist/chunks/{instruction-discovery-7np5bmja.js → command-gbst0gvm.js} +44 -44
- package/dist/chunks/{instruction-discovery-nzbbc5k0.js → command-gcxv3h2c.js} +10 -10
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-z6c3x22d.js → command-gj71zhbs.js} +5 -5
- package/dist/chunks/{instruction-discovery-tppqj79j.js → command-gj7khvz3.js} +13 -13
- package/dist/chunks/{instruction-discovery-gk8qb678.js → command-gk8qb678.js} +1 -1
- package/dist/chunks/{instruction-discovery-350x23wf.js → command-gnqwsg0j.js} +9 -9
- package/dist/chunks/{instruction-discovery-71dzwqxr.js → command-gsnj80d9.js} +47 -98
- package/dist/chunks/{instruction-discovery-rtbh45rc.js → command-gvxf58ty.js} +13 -13
- package/dist/chunks/command-gzksc6e4.js +26 -0
- package/dist/chunks/{instruction-discovery-5hj7q0js.js → command-h3k0sdzw.js} +9 -9
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-b4s8ej7r.js → command-h71w788e.js} +9 -9
- package/dist/chunks/{instruction-discovery-ky9vbweg.js → command-hatca7p1.js} +25 -25
- package/dist/chunks/{instruction-discovery-scgrse2b.js → command-hdkng2sj.js} +5 -5
- package/dist/chunks/{instruction-discovery-h04zhhvt.js → command-hes1j7ga.js} +9 -9
- package/dist/chunks/{instruction-discovery-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
- package/dist/chunks/{instruction-discovery-rwbpmje9.js → command-hqb6mdaz.js} +26 -26
- package/dist/chunks/{instruction-discovery-ykmz0d95.js → command-hrvrjbe0.js} +5 -5
- package/dist/chunks/{instruction-discovery-y147vcw1.js → command-hvtsap7v.js} +17 -17
- package/dist/chunks/{instruction-discovery-2vr7dket.js → command-hy8hfmse.js} +5 -5
- package/dist/chunks/{instruction-discovery-k2xcv0kf.js → command-hyzzdb65.js} +12 -12
- package/dist/chunks/{instruction-discovery-1qs5jxd8.js → command-hzs77mdg.js} +16 -16
- package/dist/chunks/{instruction-discovery-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-vky023fh.js → command-ja2a058e.js} +4 -4
- package/dist/chunks/{instruction-discovery-2ryng5r3.js → command-jdz4qjxc.js} +4 -4
- package/dist/chunks/{instruction-discovery-c8ses4bc.js → command-jnyt3wvk.js} +13 -13
- package/dist/chunks/{instruction-discovery-dzdcg5g9.js → command-k085ax4w.js} +11 -11
- package/dist/chunks/{instruction-discovery-r75v65gt.js → command-k3cg02ta.js} +5 -5
- package/dist/chunks/{instruction-discovery-r8kkzarz.js → command-ke0v1s51.js} +41 -41
- package/dist/chunks/{instruction-discovery-khmqacep.js → command-khmqacep.js} +1 -1
- package/dist/chunks/{instruction-discovery-mnv9vkrs.js → command-kwbgkw7p.js} +3 -3
- package/dist/chunks/{instruction-discovery-dtqg9ce1.js → command-kzdcqyn1.js} +5 -5
- package/dist/chunks/{instruction-discovery-jgbvdr9r.js → command-m1q8be4e.js} +4 -4
- package/dist/chunks/{instruction-discovery-j47qf441.js → command-m7jak9xg.js} +20 -20
- package/dist/chunks/{instruction-discovery-zest4r3s.js → command-m9r522wj.js} +23 -23
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-sp61bypy.js → command-mm236w6k.js} +17 -17
- package/dist/chunks/{instruction-discovery-ereph1h9.js → command-mq9nb5yf.js} +17 -17
- package/dist/chunks/{instruction-discovery-b6qa6035.js → command-mxv0ahxn.js} +31 -31
- package/dist/chunks/{instruction-discovery-dhhqcq64.js → command-mzydhjeg.js} +11 -11
- package/dist/chunks/{instruction-discovery-8gxqpgph.js → command-n4r3xatb.js} +4 -4
- package/dist/chunks/{instruction-discovery-0n8a0ffz.js → command-n7syarbg.js} +6 -6
- package/dist/chunks/{instruction-discovery-h4ps1sgr.js → command-n8cj0r05.js} +3 -3
- package/dist/chunks/{instruction-discovery-ketq9gmb.js → command-n94jt7k6.js} +11 -11
- package/dist/chunks/{instruction-discovery-na4dcjrg.js → command-ngkkqbqm.js} +26 -26
- package/dist/chunks/{instruction-discovery-ge2q9s3y.js → command-njrwvgpc.js} +11 -11
- package/dist/chunks/{instruction-discovery-adejxgct.js → command-npvtjmwq.js} +15 -15
- package/dist/chunks/{instruction-discovery-eefd4g5w.js → command-nr7p0et9.js} +5 -5
- package/dist/chunks/{instruction-discovery-n3aya5hh.js → command-nrxc3w5k.js} +32 -32
- package/dist/chunks/{instruction-discovery-h11z96pq.js → command-nt0mjwaw.js} +11 -11
- package/dist/chunks/{instruction-discovery-qyjj4w9t.js → command-nz5tb3mz.js} +13 -13
- package/dist/chunks/{instruction-discovery-vt28d6rb.js → command-p267qznr.js} +32 -32
- package/dist/chunks/{instruction-discovery-cmwkp3r5.js → command-p42hj8p8.js} +8 -8
- package/dist/chunks/{instruction-discovery-ch67yd34.js → command-p51cfpkz.js} +11 -11
- package/dist/chunks/{instruction-discovery-sddgd5f8.js → command-p6dnv1qh.js} +20 -20
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-4swz1dz7.js → command-pv5w45yn.js} +11 -11
- package/dist/chunks/{instruction-discovery-wnk72qpq.js → command-pz0ytm9k.js} +5 -5
- package/dist/chunks/{instruction-discovery-0j77ygfz.js → command-q0xm7vwc.js} +6 -6
- package/dist/chunks/{instruction-discovery-jhdf29st.js → command-q5e7cmwt.js} +1 -1
- package/dist/chunks/{instruction-discovery-q78nszrx.js → command-qkb6y1tc.js} +30 -30
- package/dist/chunks/{instruction-discovery-26n2nh92.js → command-qmwxrq4q.js} +3 -3
- package/dist/chunks/{instruction-discovery-qnc92qwc.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{instruction-discovery-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-8evda89h.js → command-r0p853b9.js} +29 -29
- package/dist/chunks/command-r5tpv63y.js +513 -0
- package/dist/chunks/{instruction-discovery-2ewrd21j.js → command-r6a4azr4.js} +11 -11
- package/dist/chunks/{instruction-discovery-yp2x3t23.js → command-r8xr0va3.js} +4 -4
- package/dist/chunks/{instruction-discovery-88qvqy1e.js → command-r9vebypt.js} +17 -17
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-v8pa3zp8.js → command-reevcg95.js} +18 -18
- package/dist/chunks/{instruction-discovery-69enf89f.js → command-rg90hx5t.js} +24 -24
- package/dist/chunks/{instruction-discovery-z4dcjezs.js → command-rhv7vgb3.js} +11 -11
- package/dist/chunks/{instruction-discovery-1p07q0wb.js → command-rkprpv83.js} +4 -4
- package/dist/chunks/{instruction-discovery-gq58s3m0.js → command-rmpnsk58.js} +25 -25
- package/dist/chunks/{instruction-discovery-nqxj0yn4.js → command-rqa1jxse.js} +2 -2
- package/dist/chunks/{instruction-discovery-fng9jkm1.js → command-rvea9875.js} +9 -9
- package/dist/chunks/{instruction-discovery-qa3qhgw8.js → command-ryr25ayn.js} +4 -4
- package/dist/chunks/{instruction-discovery-tym1zfxs.js → command-s5phpar0.js} +9 -9
- package/dist/chunks/{instruction-discovery-204e7tx6.js → command-s98w7xaq.js} +13 -13
- package/dist/chunks/{instruction-discovery-2jtaszgg.js → command-sd66kwnn.js} +8 -8
- package/dist/chunks/{instruction-discovery-xzdfrpe2.js → command-sefmw985.js} +26 -26
- package/dist/chunks/{instruction-discovery-wvej1134.js → command-sf0yp864.js} +6 -6
- package/dist/chunks/{instruction-discovery-7vsab7jg.js → command-sf6256ff.js} +4 -4
- package/dist/chunks/{instruction-discovery-yng1p9nw.js → command-sg56rmc9.js} +9 -9
- package/dist/chunks/{instruction-discovery-5qec7rge.js → command-sgfee8yb.js} +5 -5
- package/dist/chunks/{instruction-discovery-mf2nfva2.js → command-snnejgvy.js} +17 -17
- package/dist/chunks/{instruction-discovery-xacpwdh9.js → command-svcw9x3w.js} +8 -8
- package/dist/chunks/{instruction-discovery-vw6bdczd.js → command-sx7mvmwx.js} +5 -5
- package/dist/chunks/{instruction-discovery-syv4x271.js → command-syv4x271.js} +1 -1
- package/dist/chunks/{instruction-discovery-j4c2xja6.js → command-t4g07myj.js} +13 -13
- package/dist/chunks/{instruction-discovery-2hqksm5k.js → command-t5mnyv20.js} +3 -3
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-2j1vbg91.js → command-tdcm2knz.js} +31 -31
- package/dist/chunks/{instruction-discovery-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-tkb22qbm.js → command-tkb22qbm.js} +2 -2
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → command-tm0kqsz3.js} +26 -2
- package/dist/chunks/{instruction-discovery-mkkx2xvk.js → command-trs4csaq.js} +29 -29
- package/dist/chunks/{instruction-discovery-2c7hjkzv.js → command-ts860kc8.js} +17 -17
- package/dist/chunks/{instruction-discovery-tyytaxap.js → command-tyytaxap.js} +1 -1
- package/dist/chunks/{instruction-discovery-v0es1rhs.js → command-v0es1rhs.js} +2 -2
- package/dist/chunks/{instruction-discovery-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
- package/dist/chunks/{instruction-discovery-s9bfrye6.js → command-vdwvtvgk.js} +56 -56
- package/dist/chunks/{instruction-discovery-0cz3jc0p.js → command-vea3bt9n.js} +8 -8
- package/dist/chunks/{instruction-discovery-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-5a9zf81m.js → command-vy8bzexn.js} +22 -22
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-1j6m29mr.js → command-waskdk5r.js} +9 -9
- package/dist/chunks/{instruction-discovery-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-g0z1em0w.js → command-wggd68j5.js} +4 -4
- package/dist/chunks/{instruction-discovery-aahhmcvt.js → command-wh1armcy.js} +32 -32
- package/dist/chunks/{instruction-discovery-4xpgt2w9.js → command-wh6zw745.js} +5 -5
- package/dist/chunks/{instruction-discovery-bjx1sjef.js → command-wjr9rjd7.js} +6 -6
- package/dist/chunks/{instruction-discovery-mbkrq27a.js → command-wkrrhx1g.js} +18 -18
- package/dist/chunks/{instruction-discovery-81gd8ewx.js → command-wtkbvwtp.js} +25 -25
- package/dist/chunks/{instruction-discovery-tvmrjeqd.js → command-wymw8b6n.js} +12 -12
- package/dist/chunks/{instruction-discovery-ksqr7yfe.js → command-x4e9fr25.js} +7 -7
- package/dist/chunks/{instruction-discovery-n3jw88fx.js → command-x7m2pq7s.js} +9 -9
- package/dist/chunks/{instruction-discovery-1sc6p60b.js → command-x7q2mydz.js} +6 -6
- package/dist/chunks/command-x8196b4w.js +253 -0
- package/dist/chunks/{instruction-discovery-fz79ktw5.js → command-xmmcf9bt.js} +5 -5
- package/dist/chunks/{instruction-discovery-d9kdwp41.js → command-xpgsdcx2.js} +8 -8
- package/dist/chunks/{instruction-discovery-d3sk2mbt.js → command-xxc15cb4.js} +17 -17
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-jwcy2c2z.js → command-y71avatq.js} +4 -4
- package/dist/chunks/{instruction-discovery-d5fxhgcy.js → command-y7ppa9zv.js} +11 -11
- package/dist/chunks/{instruction-discovery-wr0v3f2s.js → command-y9y6emgs.js} +36 -36
- package/dist/chunks/{instruction-discovery-pw6jj9n3.js → command-yabdq57b.js} +15 -15
- package/dist/chunks/{instruction-discovery-xcd0eash.js → command-ycjb11n5.js} +6 -6
- package/dist/chunks/{instruction-discovery-jpen4qdf.js → command-yk0w1sxf.js} +5 -5
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-rb0m5pb6.js → command-z463bfa6.js} +22 -22
- package/dist/chunks/{instruction-discovery-zmbx7t07.js → command-z4zmw5wd.js} +47 -47
- package/dist/chunks/{instruction-discovery-dx2h6xhc.js → command-z65krm0a.js} +18 -18
- package/dist/chunks/{instruction-discovery-171zjyze.js → command-zc7432er.js} +31 -31
- package/dist/chunks/{instruction-discovery-pznx5chc.js → command-zkgp92a0.js} +19 -19
- package/dist/chunks/{instruction-discovery-w96a8yrh.js → command-zmekajch.js} +19 -19
- package/dist/chunks/{instruction-discovery-wt4s349c.js → command-zq51jzx2.js} +22 -22
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-z2qawcf3.js → command-zryp2me0.js} +23 -23
- package/dist/chunks/{instruction-discovery-2jb6nwe1.js → command-ztm4jwfz.js} +4 -4
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-j34bs4nz.js → command-zy43x3f1.js} +4 -4
- package/dist/chunks/{instruction-discovery-wwyp4jt6.js → command-zyfyd078.js} +8 -8
- package/dist/chunks/{instruction-discovery-jvx148y3.js → command-zynkq0bw.js} +11 -11
- package/dist/chunks/{instruction-discovery-prhrtzb1.js → command-zzqs5kr4.js} +55 -55
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +74 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +8 -8
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/plugin/provider/azure.d.ts +2 -3
- package/dist/types/v1/config/migrate.d.ts +9 -3
- package/dist/types/v1/config/provider-options.d.ts +8 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +3 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-34hyh64q.js +0 -253
- package/dist/chunks/instruction-discovery-6xgwma86.js +0 -26
- package/dist/chunks/instruction-discovery-jqh9b0xq.js +0 -18
- package/dist/chunks/instruction-discovery-p1z95xa2.js +0 -513
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bw78ga2c.js → command-bw78ga2c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pyv0edze.js → command-pyv0edze.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID15,
|
|
3
|
+
Info25,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-48kw51zw.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service85,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node89
|
|
12
|
+
} from "./command-rhv7vgb3.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service84,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node88
|
|
17
|
+
} from "./command-b4fmh4gz.js";
|
|
18
18
|
import {
|
|
19
19
|
Service82,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
node86
|
|
21
|
+
} from "./command-0r9t40ws.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service61,
|
|
24
|
+
node65
|
|
25
|
+
} from "./command-ycjb11n5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-es1vcfrp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node64
|
|
34
|
+
} from "./command-hqb6mdaz.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./command-jdz4qjxc.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./command-1e7j80nv.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./command-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node29
|
|
47
|
+
} from "./command-7ad1qpnj.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node49
|
|
51
|
+
} from "./command-7rce4ag1.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./command-h3k0sdzw.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service77,
|
|
68
|
+
node81
|
|
69
|
+
} from "./command-mq9nb5yf.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service63,
|
|
72
|
+
node67
|
|
73
|
+
} from "./command-8dmft94a.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service58,
|
|
76
|
+
node63
|
|
77
|
+
} from "./command-3ggbdzvf.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./command-2vvh33eb.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service28,
|
|
83
|
+
node32
|
|
84
|
+
} from "./command-n94jt7k6.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./command-00v3p02c.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./command-vea3bt9n.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service74,
|
|
93
|
+
node78
|
|
94
|
+
} from "./command-s5phpar0.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service25,
|
|
100
|
+
node28
|
|
101
|
+
} from "./command-zzqs5kr4.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service50,
|
|
104
|
+
node54
|
|
105
|
+
} from "./command-00832hy7.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./command-qkb6y1tc.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./command-p51cfpkz.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./command-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID15,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info25,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service21,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node24
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput2 = ListInput5;
|
|
152
|
+
class Service21 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service85;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service84;
|
|
159
159
|
const projects = yield* Service82;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service58;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service28;
|
|
163
|
+
const store = yield* Service77;
|
|
164
|
+
const instances = yield* Service61;
|
|
165
|
+
const moves = yield* Service25;
|
|
166
|
+
const jobs = yield* Service63;
|
|
167
|
+
const environments = yield* Service50;
|
|
168
|
+
const locations = yield* Service74;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service21.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service61, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node24 = Node.makeGlobalNode({
|
|
331
|
+
service: Service21,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node67,
|
|
335
|
+
node54,
|
|
336
|
+
node89,
|
|
336
337
|
node88,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
node41,
|
|
338
|
+
node86,
|
|
339
|
+
node63,
|
|
340
|
+
node32,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node81,
|
|
343
|
+
node65,
|
|
344
|
+
node64,
|
|
345
|
+
node28,
|
|
346
|
+
node29,
|
|
347
|
+
node78,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node49
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2,
|
|
353
|
+
export { ListAnchor2, ListInput2, Service21, node24, exports_session };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-zyfyd078.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./command-vdwvtvgk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service45
|
|
14
|
+
} from "./command-754hrxp0.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input4,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin38,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name4 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input4 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin38 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
52
|
+
const permission = yield* Service75;
|
|
53
53
|
const forms = yield* Service80;
|
|
54
|
-
const websearch = yield*
|
|
54
|
+
const websearch = yield* Service45;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name4,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input4,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name4,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name4];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name4, NO_RESULTS2, description2, Input4, Plugin38, exports_websearch2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-waskdk5r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info13
|
|
9
|
+
} from "./command-dys7k0s0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info11
|
|
12
|
+
} from "./command-ryr25ayn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info12
|
|
15
|
+
} from "./command-wh6zw745.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-7dqw4kz8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info10
|
|
21
|
+
} from "./command-gj71zhbs.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-684z2rkg.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
217
217
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const server = decodeValue(
|
|
220
|
+
const server = decodeValue(Info12, value, path, diagnostics);
|
|
221
221
|
if (server !== undefined)
|
|
222
222
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
223
223
|
});
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info10, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info20,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info20 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info20, Status3, key2, exports_connection };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service74,
|
|
3
|
+
node78,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-s5phpar0.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service61,
|
|
8
|
+
node65
|
|
9
|
+
} from "./command-ycjb11n5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service72
|
|
12
|
+
} from "./command-ee1byx1z.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-x8196b4w.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service74, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service72);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node65.replace(Layer.succeed(Service61, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node78.replace(Layer.succeed(Service74, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node89
|
|
4
|
+
} from "./command-rhv7vgb3.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-tkb22qbm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info22,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service76,
|
|
21
|
+
node: () => node80
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info22 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service76 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service85).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID13.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service76.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node89] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID13, Info22, ListInput4, AddInput2, Service76, node80, exports_saved };
|