@opencode/core 0.0.0-dev-20929 → 0.0.0-dev-20931
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 +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{file-retention-49w1mq62.js → integration-075r751x.js} +17 -17
- package/dist/chunks/{file-retention-hjz6y5g1.js → integration-0a5svcmh.js} +21 -21
- package/dist/chunks/{file-retention-4c3h6hpn.js → integration-0f7d753h.js} +23 -23
- package/dist/chunks/{file-retention-q0xm7vwc.js → integration-0j77ygfz.js} +6 -6
- package/dist/chunks/{file-retention-6hjx5zpb.js → integration-0jq9fyba.js} +9 -9
- package/dist/chunks/{file-retention-6m4cckbz.js → integration-0khr6rqs.js} +33 -33
- package/dist/chunks/{file-retention-0vbcp93d.js → integration-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-retention-2k6rjgm4.js → integration-0wz9q52x.js} +25 -25
- package/dist/chunks/{file-retention-gwh9kr66.js → integration-1113as0s.js} +9 -9
- package/dist/chunks/{file-retention-vc8we0jp.js → integration-122em65s.js} +38 -38
- package/dist/chunks/{file-retention-86jdacch.js → integration-13frkkp2.js} +3 -3
- package/dist/chunks/{file-retention-bmr56wjg.js → integration-1j6m29mr.js} +9 -9
- package/dist/chunks/{file-retention-zsr4wwhv.js → integration-1rn5pcm9.js} +4 -4
- package/dist/chunks/integration-1x11rq2a.js +18 -0
- package/dist/chunks/{file-retention-sykc9y4a.js → integration-23kefcxh.js} +5 -5
- package/dist/chunks/{file-retention-harftj5f.js → integration-2867kdp4.js} +32 -32
- package/dist/chunks/{file-retention-4ts7tf6z.js → integration-2ccvkpx1.js} +2 -2
- package/dist/chunks/{file-retention-2rp67tjk.js → integration-2h81vr2k.js} +1 -1
- package/dist/chunks/{file-retention-b674v2dg.js → integration-2k9fjx65.js} +5 -5
- package/dist/chunks/{file-retention-0afhz533.js → integration-2my82rfs.js} +14 -14
- package/dist/chunks/{file-retention-f3742086.js → integration-2n79kke4.js} +9 -9
- package/dist/chunks/{file-retention-e5fg3ypj.js → integration-35b68s5f.js} +36 -36
- package/dist/chunks/{file-retention-5pyjqqve.js → integration-35ja2k0w.js} +2 -2
- package/dist/chunks/{file-retention-130m1mg1.js → integration-39yhh44v.js} +41 -41
- package/dist/chunks/{file-retention-407ckzg2.js → integration-3aqjt3pg.js} +5 -5
- package/dist/chunks/{file-retention-kt38yczt.js → integration-3cxe7pe8.js} +18 -18
- package/dist/chunks/{file-retention-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3hwn7j4h.js → integration-3hwn7j4h.js} +2 -2
- package/dist/chunks/{file-retention-w18z4np3.js → integration-3qbrybdc.js} +29 -29
- package/dist/chunks/{file-retention-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-907r1ggt.js → integration-3wemrpgf.js} +19 -19
- package/dist/chunks/{file-retention-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-2w444tzw.js → integration-46523z4v.js} +3 -3
- package/dist/chunks/{file-retention-dkv1mbg1.js → integration-4e0ywfbv.js} +4 -4
- package/dist/chunks/{file-retention-w1vcd0s5.js → integration-4f5ba015.js} +24 -24
- package/dist/chunks/{file-retention-r7kp6pnd.js → integration-4n721j5p.js} +10 -10
- package/dist/chunks/{file-retention-ycdfbb94.js → integration-4p54rqs4.js} +13 -13
- package/dist/chunks/{file-retention-w01812f7.js → integration-4x42dj42.js} +23 -23
- package/dist/chunks/{file-retention-68fdjxmn.js → integration-4y2z14sc.js} +1 -1
- package/dist/chunks/{file-retention-px57te6p.js → integration-52gk8ct8.js} +25 -25
- package/dist/chunks/{file-retention-54ma36ye.js → integration-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-5m9w47nd.js → integration-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-gj9yzh3a.js → integration-5vaf1r8z.js} +14 -14
- package/dist/chunks/{file-retention-x21p8dkz.js → integration-61tfqrb2.js} +24 -24
- package/dist/chunks/{file-retention-rvdt2200.js → integration-63km2k09.js} +46 -46
- package/dist/chunks/{file-retention-he27pt63.js → integration-68wqtz75.js} +1 -1
- package/dist/chunks/{file-retention-8hzkbbdr.js → integration-6erg9bqb.js} +18 -18
- package/dist/chunks/{file-retention-9261zm56.js → integration-6gwzkkk2.js} +2 -2
- package/dist/chunks/{file-retention-6fptx04m.js → integration-6vmt69ah.js} +6 -6
- package/dist/chunks/{file-retention-8q4469mq.js → integration-6w5czgjy.js} +15 -15
- package/dist/chunks/{file-retention-6xb47vfp.js → integration-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-retention-783ysvwn.js → integration-742a0vbq.js} +11 -11
- package/dist/chunks/{file-retention-775gj3j1.js → integration-775gj3j1.js} +2 -2
- package/dist/chunks/{file-retention-dk3ttqax.js → integration-7b9jrt6y.js} +13 -13
- package/dist/chunks/{file-retention-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-dvkf5cf0.js → integration-7f125cag.js} +24 -24
- package/dist/chunks/{file-retention-dwkrr1y0.js → integration-7kphep4n.js} +7 -7
- package/dist/chunks/{file-retention-481njsdn.js → integration-7rwqf82v.js} +8 -8
- package/dist/chunks/{file-retention-1e146akk.js → integration-7scdz1wy.js} +5 -5
- package/dist/chunks/{file-retention-0p80cr77.js → integration-7zcs5bwm.js} +20 -20
- package/dist/chunks/{file-retention-h90v2x9d.js → integration-80scg3y3.js} +4 -4
- package/dist/chunks/{file-retention-84txncab.js → integration-84txncab.js} +1 -1
- package/dist/chunks/{file-retention-340vahct.js → integration-86qjnnqk.js} +11 -11
- package/dist/chunks/{file-retention-qdq8tkk0.js → integration-8gkj0cby.js} +25 -25
- package/dist/chunks/{file-retention-dx3tnnnw.js → integration-8gn5005p.js} +3 -3
- package/dist/chunks/{file-retention-ra67jj04.js → integration-8hxtpvs0.js} +9 -9
- package/dist/chunks/{file-retention-n8zyss5t.js → integration-8k70me0z.js} +32 -32
- package/dist/chunks/{file-retention-8m6m0r52.js → integration-8m6m0r52.js} +1 -1
- package/dist/chunks/{file-retention-w92k2e0p.js → integration-8sze2n9a.js} +4 -4
- package/dist/chunks/{file-retention-91qna3x0.js → integration-91qna3x0.js} +3 -3
- package/dist/chunks/{file-retention-hssp2agn.js → integration-936xvph3.js} +308 -308
- package/dist/chunks/{file-retention-p7dmfyes.js → integration-95hjd82g.js} +16 -16
- package/dist/chunks/{file-retention-9c45fh1a.js → integration-98kt03jn.js} +4 -4
- package/dist/chunks/{file-retention-957n91hd.js → integration-9e55pg5q.js} +41 -41
- package/dist/chunks/{file-retention-kdzpz75k.js → integration-9haechzb.js} +23 -23
- package/dist/chunks/{file-retention-b5yxd3qt.js → integration-9kjxzw1r.js} +74 -74
- package/dist/chunks/{file-retention-0ezdchsb.js → integration-9n61d5ky.js} +36 -36
- package/dist/chunks/{file-retention-55bcfe3d.js → integration-9y9g9nyh.js} +9 -9
- package/dist/chunks/{file-retention-6hh8tjw2.js → integration-a46v4e4v.js} +4 -4
- package/dist/chunks/{file-retention-wtmn5hdc.js → integration-a5q1zm4x.js} +20 -20
- package/dist/chunks/{file-retention-3y377wv9.js → integration-addxnjmp.js} +4 -4
- package/dist/chunks/{file-retention-fk5agesv.js → integration-ak9qm6ac.js} +77 -77
- package/dist/chunks/{file-retention-jqthvcqb.js → integration-ardvwy48.js} +3 -3
- package/dist/chunks/{file-retention-9q9s15ep.js → integration-ax5snzm5.js} +15 -15
- package/dist/chunks/{file-retention-83s6jst6.js → integration-axcgc2pe.js} +8 -8
- package/dist/chunks/{file-retention-wgyjjdzz.js → integration-b1kzy2v1.js} +15 -15
- package/dist/chunks/{file-retention-6j520qee.js → integration-b64mf6hy.js} +23 -23
- package/dist/chunks/{file-retention-ft6em78h.js → integration-b9xg611c.js} +9 -9
- package/dist/chunks/{file-retention-aa66pdc6.js → integration-bd183rbz.js} +5 -5
- package/dist/chunks/{file-retention-thtzhryg.js → integration-bf4gbvg4.js} +15 -15
- package/dist/chunks/{file-retention-vfqqtxae.js → integration-bf76vypg.js} +11 -11
- package/dist/chunks/{file-retention-4cnmy1hv.js → integration-bhazafz4.js} +12 -12
- package/dist/chunks/{file-retention-rrah4c93.js → integration-bkv2ee1r.js} +28 -28
- package/dist/chunks/{file-retention-5rnnm2b5.js → integration-bkxyw0dr.js} +9 -9
- package/dist/chunks/{file-retention-0ys8mqka.js → integration-bkyz4bb0.js} +22 -22
- package/dist/chunks/{file-retention-hayrfqfs.js → integration-bm76h7t2.js} +15 -15
- package/dist/chunks/{file-retention-30xa71rq.js → integration-btnpmhdq.js} +11 -11
- package/dist/chunks/integration-bvc07b1t.js +253 -0
- package/dist/chunks/{file-retention-ckt8v05d.js → integration-bwvbm3pe.js} +11 -11
- package/dist/chunks/{file-retention-c1fqxshp.js → integration-c1fqxshp.js} +3 -3
- package/dist/chunks/{file-retention-ewkrw7p5.js → integration-cmk24ybg.js} +55 -55
- package/dist/chunks/{file-retention-zy43x3f1.js → integration-cp937pt4.js} +4 -4
- package/dist/chunks/{file-retention-rny20wd4.js → integration-crn1v2gs.js} +9 -9
- package/dist/chunks/{file-retention-9mkgz3tx.js → integration-d10j2gb9.js} +2 -2
- package/dist/chunks/{file-retention-p8rs9c9y.js → integration-dg4w6che.js} +37 -37
- package/dist/chunks/{file-retention-aswnna81.js → integration-dhyfr8yj.js} +17 -17
- package/dist/chunks/{file-retention-r2m716tb.js → integration-djszqvmq.js} +9 -9
- package/dist/chunks/{file-retention-9x5x79tj.js → integration-dkaf93xt.js} +20 -20
- package/dist/chunks/{file-retention-p7x19tm8.js → integration-dq83cx3g.js} +13 -13
- package/dist/chunks/{file-retention-t9xc6a05.js → integration-dqd9td72.js} +12 -12
- package/dist/chunks/{file-retention-dqxsqydv.js → integration-dqxsqydv.js} +1 -1
- package/dist/chunks/{file-retention-2n4tgjth.js → integration-dw9c7k0z.js} +32 -32
- package/dist/chunks/{file-retention-5qd3pb7m.js → integration-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-retention-sjj6erxx.js → integration-e4w46ks9.js} +11 -11
- package/dist/chunks/{file-retention-jjtj9qbj.js → integration-e70k3x73.js} +17 -17
- package/dist/chunks/{file-retention-e80seqcp.js → integration-e80seqcp.js} +1 -1
- package/dist/chunks/{file-retention-b45jwz77.js → integration-ea46vrq0.js} +13 -13
- package/dist/chunks/{file-retention-eej6y6fw.js → integration-eej6y6fw.js} +2 -2
- package/dist/chunks/{file-retention-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-pansz36n.js → integration-ejnm8fa5.js} +1 -1
- package/dist/chunks/{file-retention-b0wd5rnp.js → integration-ew7eqw32.js} +4 -4
- package/dist/chunks/{file-retention-3g1hjkyb.js → integration-f3aj5rkw.js} +27 -27
- package/dist/chunks/{file-retention-7dqw4kz8.js → integration-fcrkznn8.js} +5 -5
- package/dist/chunks/integration-fhkyqja4.js +513 -0
- package/dist/chunks/{file-retention-fsmmybzd.js → integration-fks1tada.js} +21 -21
- package/dist/chunks/{file-retention-m18jmpv4.js → integration-fqeqenmh.js} +3 -3
- package/dist/chunks/{file-retention-fxaymqdw.js → integration-fxaymqdw.js} +1 -1
- package/dist/chunks/{file-retention-kectex4s.js → integration-fzf4e9h4.js} +4 -4
- package/dist/chunks/{file-retention-dh0dkfdj.js → integration-g0t7snpe.js} +18 -18
- package/dist/chunks/{file-retention-65x8m6dc.js → integration-g5n5wprh.js} +10 -10
- package/dist/chunks/{file-retention-99ah0z8a.js → integration-g8c299f8.js} +8 -8
- package/dist/chunks/{file-retention-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-636806x1.js → integration-gmc3gxvb.js} +20 -20
- package/dist/chunks/{file-retention-56xpv21e.js → integration-gr5wcx1y.js} +11 -11
- package/dist/chunks/{file-retention-tdv47sks.js → integration-gsh5zsa2.js} +16 -16
- package/dist/chunks/{file-retention-3gnskmkt.js → integration-gsjeqjb2.js} +9 -9
- package/dist/chunks/{file-retention-m2p4v8vp.js → integration-h3968h22.js} +15 -15
- package/dist/chunks/{file-retention-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-h7s7r6s9.js → integration-h7s7r6s9.js} +2 -2
- package/dist/chunks/{file-retention-zmjc9nnw.js → integration-hb8krrmj.js} +13 -13
- package/dist/chunks/{file-retention-h5ac4qh6.js → integration-herrfec1.js} +24 -24
- package/dist/chunks/{file-retention-hgz4x7wa.js → integration-hgz4x7wa.js} +1 -1
- package/dist/chunks/{file-retention-csxss638.js → integration-hh1dt53r.js} +19 -19
- package/dist/chunks/{file-retention-125f3d1c.js → integration-hkp6ymgy.js} +17 -17
- package/dist/chunks/{file-retention-ds7q65fv.js → integration-hp5hxv81.js} +7 -7
- package/dist/chunks/{file-retention-rmq5zkvq.js → integration-hzqck04w.js} +4 -4
- package/dist/chunks/{file-retention-k3hdp3hb.js → integration-j6x6e543.js} +17 -17
- package/dist/chunks/{file-retention-3yx7pqq0.js → integration-jgb4whm5.js} +18 -18
- package/dist/chunks/{file-retention-0wg8sbbg.js → integration-jhf3jymm.js} +6 -6
- package/dist/chunks/{file-retention-tf6k0eez.js → integration-jksafvem.js} +10 -10
- package/dist/chunks/{file-retention-59frscb3.js → integration-jn4txd9r.js} +44 -44
- package/dist/chunks/{file-retention-4gq5n2cv.js → integration-jsn3ar0v.js} +21 -21
- package/dist/chunks/{file-retention-ba3h8fcx.js → integration-jxx2adkw.js} +32 -32
- package/dist/chunks/{file-retention-ybp4d719.js → integration-k8b2wsrv.js} +11 -11
- package/dist/chunks/{file-retention-bsprd9wx.js → integration-k8s7jp5m.js} +9 -9
- package/dist/chunks/{file-retention-szzxx4ta.js → integration-k9car22n.js} +28 -28
- package/dist/chunks/{file-retention-w09v0aw8.js → integration-keay7n7p.js} +4 -4
- package/dist/chunks/{file-retention-gyszyxna.js → integration-kj2528qg.js} +4 -4
- package/dist/chunks/{file-retention-k3wzykfn.js → integration-kmc5179c.js} +46 -46
- package/dist/chunks/{file-retention-hkffa77z.js → integration-kqx1b4hy.js} +4 -4
- package/dist/chunks/{file-retention-jybzg21y.js → integration-kxaktcx2.js} +9 -9
- package/dist/chunks/{file-retention-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-maspj1v3.js → integration-maspj1v3.js} +1 -1
- package/dist/chunks/{file-retention-y5t31psv.js → integration-mn88zmzx.js} +7 -7
- package/dist/chunks/{file-retention-18g55aa2.js → integration-mnp2ym1z.js} +6 -6
- package/dist/chunks/{file-retention-dsq6nq8h.js → integration-mvhk56d4.js} +41 -41
- package/dist/chunks/{file-retention-1ehz2ew9.js → integration-mxqz6rkr.js} +15 -15
- package/dist/chunks/{file-retention-b59hvs9v.js → integration-n4ybcttp.js} +4 -4
- package/dist/chunks/{file-retention-7fese2vd.js → integration-nchmws89.js} +11 -11
- package/dist/chunks/{file-retention-ev3bmrg9.js → integration-ndgyzz9d.js} +11 -11
- package/dist/chunks/{file-retention-d3vx323d.js → integration-npjdgtzp.js} +9 -9
- package/dist/chunks/{file-retention-vx3jgdek.js → integration-nvxqht09.js} +3 -3
- package/dist/chunks/{file-retention-s3xwr8sx.js → integration-p1jt2dnw.js} +50 -50
- package/dist/chunks/{file-retention-y0db3x05.js → integration-p2rbr5nq.js} +8 -8
- package/dist/chunks/{file-retention-czfptnv9.js → integration-p37cw4rj.js} +8 -8
- package/dist/chunks/{file-retention-4crggz9c.js → integration-p6ca3w3j.js} +20 -20
- package/dist/chunks/{file-retention-t7z8krvq.js → integration-p9kbpa46.js} +35 -35
- package/dist/chunks/{file-retention-h2p12xqx.js → integration-pazcjgz3.js} +5 -5
- package/dist/chunks/{file-retention-mxjpgj4j.js → integration-pck7vvdx.js} +5 -5
- package/dist/chunks/{file-retention-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-s728bnse.js → integration-pnt2mqac.js} +8 -8
- package/dist/chunks/{file-retention-78s33awm.js → integration-pp4rcfw0.js} +17 -17
- package/dist/chunks/{file-retention-tnw1c5tq.js → integration-pv8k32fw.js} +6 -6
- package/dist/chunks/integration-pw8prt84.js +26 -0
- package/dist/chunks/{file-retention-k705j66n.js → integration-pwh5ap6x.js} +24 -24
- package/dist/chunks/{file-retention-8q5e4pj5.js → integration-q7f3h75y.js} +2 -2
- package/dist/chunks/{file-retention-at1kfnmk.js → integration-qby9dwvd.js} +8 -8
- package/dist/chunks/{file-retention-nps7y7qb.js → integration-qd0qqa4s.js} +37 -37
- package/dist/chunks/{file-retention-2med2bx9.js → integration-qgn9hdfm.js} +10 -10
- package/dist/chunks/{file-retention-tg1sa0zd.js → integration-qkrw6axx.js} +11 -11
- package/dist/chunks/{file-retention-qnc92qwc.js → integration-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-retention-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-vzkevcde.js → integration-qxxnpvek.js} +10 -10
- package/dist/chunks/{file-retention-qn56gx0x.js → integration-r01t9b5y.js} +6 -6
- package/dist/chunks/{file-retention-kqwjtgnc.js → integration-r0p2m64d.js} +6 -6
- package/dist/chunks/{file-retention-ww3rrxb7.js → integration-r20scrd8.js} +13 -13
- package/dist/chunks/{file-retention-q04bhbhf.js → integration-r3bw8wf5.js} +3 -3
- package/dist/chunks/{file-retention-z702twya.js → integration-r5tsbqp4.js} +18 -18
- package/dist/chunks/{file-retention-veczjdfx.js → integration-r7sf6fb8.js} +30 -30
- package/dist/chunks/{file-retention-zyex8hp5.js → integration-r9495x2r.js} +34 -34
- package/dist/chunks/{file-retention-h5q10y87.js → integration-r9jtscav.js} +22 -22
- package/dist/chunks/{file-retention-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-rert0e01.js → integration-rert0e01.js} +2 -2
- package/dist/chunks/{file-retention-4pgvbcj4.js → integration-rfzmte1w.js} +8 -8
- package/dist/chunks/{file-retention-s8d7rejh.js → integration-rhjbct0v.js} +4 -4
- package/dist/chunks/{file-retention-rj3eygr5.js → integration-rj3eygr5.js} +2 -2
- package/dist/chunks/{file-retention-rmpdr2rv.js → integration-rq04gqh0.js} +11 -11
- package/dist/chunks/{file-retention-erp4xdm0.js → integration-rqasrdk8.js} +165 -165
- package/dist/chunks/{file-retention-kwb98e0r.js → integration-rsshs73c.js} +10 -10
- package/dist/chunks/{file-retention-vbnnw6nt.js → integration-rt2qy71r.js} +9 -9
- package/dist/chunks/{file-retention-w8dzr37m.js → integration-rvtxy3cd.js} +16 -16
- package/dist/chunks/{file-retention-bekb0t59.js → integration-s1ahwq19.js} +5 -5
- package/dist/chunks/{file-retention-wpyfkh8g.js → integration-s706fh8z.js} +30 -30
- package/dist/chunks/{file-retention-546spcd1.js → integration-s7nbb837.js} +22 -22
- package/dist/chunks/{file-retention-tx6qfw4f.js → integration-s9w6dcwz.js} +8 -8
- package/dist/chunks/{file-retention-sa8ekw3f.js → integration-sa8ekw3f.js} +2 -2
- package/dist/chunks/{file-retention-scgrse2b.js → integration-scgrse2b.js} +2 -2
- package/dist/chunks/{file-retention-6421fqnz.js → integration-sdmkkwk6.js} +33 -33
- package/dist/chunks/{file-retention-txk711dm.js → integration-sna59257.js} +62 -62
- package/dist/chunks/{file-retention-v57f6cf1.js → integration-srz5vn3p.js} +1 -1
- package/dist/chunks/{file-retention-y2d041vx.js → integration-st8w1s27.js} +16 -16
- package/dist/chunks/{file-retention-td3rcjyz.js → integration-svcw9x3w.js} +12 -12
- package/dist/chunks/{file-retention-rffv7t3r.js → integration-sveg4fqe.js} +20 -20
- package/dist/chunks/{file-retention-syv4x271.js → integration-syv4x271.js} +1 -1
- package/dist/chunks/{file-retention-94kyw0k2.js → integration-t41sszjr.js} +24 -24
- package/dist/chunks/{file-retention-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-qby7vps4.js → integration-tc82y08z.js} +11 -11
- package/dist/chunks/{file-retention-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-57myy5jh.js → integration-tk14y25j.js} +5 -5
- package/dist/chunks/{file-retention-tm0kqsz3.js → integration-tm0kqsz3.js} +1 -1
- package/dist/chunks/{file-retention-gj6m04kd.js → integration-txcdme70.js} +47 -47
- package/dist/chunks/{file-retention-tyytaxap.js → integration-tyytaxap.js} +1 -1
- package/dist/chunks/{file-retention-1vezggaq.js → integration-tz4n1mmd.js} +4 -4
- package/dist/chunks/{file-retention-4434d9q2.js → integration-v0es1rhs.js} +9 -9
- package/dist/chunks/{file-retention-v7p4zvkq.js → integration-v7p4zvkq.js} +2 -2
- package/dist/chunks/{file-retention-rwvt0rje.js → integration-v89z4kp7.js} +4 -4
- package/dist/chunks/{file-retention-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-3aqnw6cv.js → integration-vpavjd7r.js} +18 -18
- package/dist/chunks/{file-retention-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-8gtt7xbk.js → integration-w3y421c5.js} +20 -20
- package/dist/chunks/{file-retention-seeaz0q7.js → integration-wbvfmsvn.js} +12 -12
- package/dist/chunks/{file-retention-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-m1mec9wj.js → integration-wh1r923y.js} +3 -3
- package/dist/chunks/{file-retention-7gn0kssx.js → integration-whe6hvck.js} +21 -21
- package/dist/chunks/{file-retention-wjr9rjd7.js → integration-wjr9rjd7.js} +2 -2
- package/dist/chunks/{file-retention-xcq1t7gv.js → integration-wkfp0bdm.js} +27 -27
- package/dist/chunks/{file-retention-vhwt8443.js → integration-wqjep7r8.js} +16 -16
- package/dist/chunks/{file-retention-bfegkxfd.js → integration-x5wrmng7.js} +11 -11
- package/dist/chunks/{file-retention-sy88hhfw.js → integration-x75czxqv.js} +22 -22
- package/dist/chunks/{file-retention-v3ezsmzq.js → integration-xf0y7t09.js} +17 -17
- package/dist/chunks/{file-retention-57b9ws8p.js → integration-xfkkasph.js} +7 -7
- package/dist/chunks/{file-retention-p7hqryzx.js → integration-xh3w1m2r.js} +35 -35
- package/dist/chunks/{file-retention-sgzqzbge.js → integration-xjbmwp8c.js} +3 -3
- package/dist/chunks/{file-retention-vzpzjna5.js → integration-xsde275j.js} +5 -5
- package/dist/chunks/{file-retention-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-fhgh4d8n.js → integration-y2cswm8c.js} +8 -8
- package/dist/chunks/{file-retention-me2j8n8g.js → integration-y672t3f6.js} +18 -18
- package/dist/chunks/{file-retention-y71avatq.js → integration-y71avatq.js} +1 -1
- package/dist/chunks/{file-retention-3jv2hb3r.js → integration-y89aycjh.js} +9 -9
- package/dist/chunks/{file-retention-htf0g372.js → integration-ycpec0gb.js} +8 -8
- package/dist/chunks/{file-retention-jmvxywvk.js → integration-ydbcqtja.js} +15 -15
- package/dist/chunks/{file-retention-wqg9hhs5.js → integration-yddr7m1n.js} +3 -3
- package/dist/chunks/{file-retention-rhraev7y.js → integration-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-retention-735pkyx8.js → integration-ytp4a2gy.js} +11 -11
- package/dist/chunks/{file-retention-vx6rwekq.js → integration-ywsf3z8v.js} +5 -5
- package/dist/chunks/{file-retention-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-as5kgg97.js → integration-z0qw1pwg.js} +12 -12
- package/dist/chunks/{file-retention-xmdd2d0z.js → integration-zfaw8e2q.js} +13 -13
- package/dist/chunks/{file-retention-rpgkwa3n.js → integration-zmhzecev.js} +5 -5
- package/dist/chunks/{file-retention-b3wcjb56.js → integration-zr1m2fsx.js} +7 -7
- package/dist/chunks/{file-retention-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-9jjdahev.js → integration-zwbg5n9v.js} +5 -5
- package/dist/chunks/{file-retention-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- 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 +85 -85
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +125 -125
- 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 +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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/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 +1 -1
- 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 +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +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 +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- 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 +93 -93
- 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 +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- 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 +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +131 -131
- 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 +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +96 -96
- package/dist/models-dev.js +103 -103
- 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 +115 -115
- 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 +76 -76
- package/dist/plugin/command.js +100 -100
- 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 +117 -117
- 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 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- 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 +118 -118
- 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 +1 -1
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- 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 +137 -137
- package/dist/session/context.js +151 -151
- 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 +213 -213
- package/dist/session/execution.js +129 -129
- 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 +95 -95
- package/dist/session/message-updater.js +2 -2
- 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 +127 -127
- package/dist/session/projector.js +86 -86
- 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 +2 -2
- 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 +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- 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 +124 -124
- 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 +126 -126
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- 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 +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +1 -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 +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/file-retention-4v7qdvcn.js +0 -18
- package/dist/chunks/file-retention-k8hky80b.js +0 -26
- package/dist/chunks/file-retention-my8wm2zc.js +0 -253
- package/dist/chunks/file-retention-zsrsm1dx.js +0 -513
- /package/dist/chunks/{file-retention-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → integration-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3t0ybcrp.js → integration-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → integration-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → integration-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → integration-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → integration-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → integration-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-pkyv6v7h.js → integration-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{file-retention-pyv0edze.js → integration-pyv0edze.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → integration-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wjj7prxr.js → integration-wjj7prxr.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service37,
|
|
10
|
+
node: () => node39
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service37 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node39 = LayerNode.unbound(Service37, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service37, node39, exports_service2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -8,17 +8,17 @@ __export(exports_app, {
|
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured7,
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
11
|
+
layer: () => layer22,
|
|
12
|
+
make: () => make19,
|
|
13
|
+
node: () => node54,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make19()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make19(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer:
|
|
33
|
-
var
|
|
31
|
+
var layer22 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
|
|
33
|
+
var node54 = configured7();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer22, configured7, node54, exports_app };
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-ardvwy48.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-hzqck04w.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID8,
|
|
14
|
+
Service57,
|
|
15
|
+
node60
|
|
16
|
+
} from "./integration-herrfec1.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service75,
|
|
22
|
+
node79
|
|
23
|
+
} from "./integration-dhyfr8yj.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./integration-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./integration-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./integration-1rn5pcm9.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
load4
|
|
38
|
+
} from "./integration-nchmws89.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./integration-68wqtz75.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service25,
|
|
47
|
+
node29
|
|
48
|
+
} from "./integration-sdmkkwk6.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service36,
|
|
51
|
+
node38
|
|
52
|
+
} from "./integration-hb8krrmj.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./integration-scgrse2b.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./integration-ywsf3z8v.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./integration-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./integration-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service7,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
|
-
layer: () =>
|
|
79
|
-
node: () =>
|
|
78
|
+
layer: () => layer7,
|
|
79
|
+
node: () => node9,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service7 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var
|
|
175
|
-
const agents = yield*
|
|
174
|
+
var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service57;
|
|
176
176
|
const bus = yield* Service84;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service75;
|
|
179
|
+
const models = yield* Service36;
|
|
180
180
|
const db = (yield* Service85).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service25;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer8 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID8.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -272,7 +272,7 @@ var layer8 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
272
272
|
const send = (request) => {
|
|
273
273
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
274
274
|
return Effect.gen(function* () {
|
|
275
|
-
const history = yield*
|
|
275
|
+
const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
|
|
276
276
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
277
277
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
278
278
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service7.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
483
|
-
layer:
|
|
484
|
-
deps: [
|
|
481
|
+
var node9 = makeLocationNode({
|
|
482
|
+
service: Service7,
|
|
483
|
+
layer: layer7,
|
|
484
|
+
deps: [node60, node88, node89, llmClient2, node79, node29, node38]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service7, buildPrompt2, layer7, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-hzqck04w.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service52,
|
|
21
|
+
layer: () => layer23,
|
|
22
|
+
node: () => node55
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event9 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service52 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer23 = Layer.effect(Service52, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service84;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service52.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node55 = makeLocationNode({
|
|
75
|
+
service: Service52,
|
|
76
|
+
layer: layer23,
|
|
77
77
|
deps: [node88]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError5, ExecutionError2, Service52, layer23, node55, exports_command4, Event9 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service81,
|
|
8
|
+
node85
|
|
9
|
+
} from "./integration-j6x6e543.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service15,
|
|
12
|
+
node17
|
|
13
|
+
} from "./integration-r7sf6fb8.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event2,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service14,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node16
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -82,7 +82,7 @@ var Content2 = Schema.Struct({
|
|
|
82
82
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
83
|
mime: Schema.String
|
|
84
84
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var
|
|
85
|
+
var ListInput2 = Schema.Struct({
|
|
86
86
|
path: Schema.String.pipe(Schema.optional)
|
|
87
87
|
});
|
|
88
88
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event2 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service81;
|
|
115
|
+
const search = yield* Service15;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service14.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError2({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
147
147
|
}),
|
|
148
148
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
149
149
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
150
|
-
const missing = new
|
|
150
|
+
const missing = new NotFoundError2({ path: RelativePath2.make(input.path ?? ".") });
|
|
151
151
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
152
152
|
if (info.type !== "Directory")
|
|
153
153
|
return yield* missing;
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node16 = makeLocationNode({
|
|
175
|
+
service: Service14,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node85, node17]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service72
|
|
4
|
+
} from "./integration-9e55pg5q.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./integration-s7nbb837.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin19
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin19 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service72;
|
|
27
|
+
const shell = yield* Service71;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin15 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin19, exports_shell };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-nvxqht09.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error = {};
|
|
13
|
+
__export(exports_error, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -19,9 +19,9 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError7,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2
|
|
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
31
31
|
import { Skill } from "@opencode/schema/skill";
|
|
32
32
|
import { SessionError } from "@opencode/schema/session-error";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
35
35
|
sessionID: SessionSchema2.ID
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
116
|
}) {
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|