@opencode/core 0.0.0-dev-21026 → 0.0.0-dev-21031
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-wmcaf8ca.js → models-dev-02nvsyaz.js} +31 -31
- package/dist/chunks/{model-0b5g1ynf.js → models-dev-0b5g1ynf.js} +4 -4
- package/dist/chunks/{model-5m24e1bs.js → models-dev-0c42kaf7.js} +29 -29
- package/dist/chunks/{model-qq8gj99e.js → models-dev-0em4fyfa.js} +18 -18
- package/dist/chunks/{model-43xeh9aq.js → models-dev-0f59me08.js} +4 -4
- package/dist/chunks/{model-f2dsq0sx.js → models-dev-0m17z5gy.js} +32 -32
- package/dist/chunks/{model-xbnpeec3.js → models-dev-0rh6kept.js} +34 -34
- package/dist/chunks/{model-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-wp97teag.js → models-dev-0y07nzjf.js} +17 -17
- package/dist/chunks/{model-y6cwq76b.js → models-dev-0y71xcgt.js} +11 -11
- package/dist/chunks/{model-40sbw5pj.js → models-dev-1casa0jm.js} +36 -36
- package/dist/chunks/{model-g5y76h12.js → models-dev-1hrhxdga.js} +33 -33
- package/dist/chunks/{model-nym9wyb3.js → models-dev-210p74nv.js} +6 -6
- package/dist/chunks/{model-8ng4acg9.js → models-dev-2276p8c4.js} +6 -6
- package/dist/chunks/{model-8x2j076n.js → models-dev-25fv0sh8.js} +43 -43
- package/dist/chunks/{model-y8zy7amg.js → models-dev-29a9xv62.js} +16 -16
- package/dist/chunks/{model-stpcs325.js → models-dev-29j702b9.js} +8 -8
- package/dist/chunks/{model-jhr8jnrw.js → models-dev-2ck0c8kx.js} +13 -13
- package/dist/chunks/{model-yg62bcth.js → models-dev-2fqna6rb.js} +11 -11
- package/dist/chunks/{model-mp3rbb49.js → models-dev-2r93mh4x.js} +12 -12
- package/dist/chunks/{model-t2az9yje.js → models-dev-2vs2nh1n.js} +4 -4
- package/dist/chunks/{model-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-kfrz2jxp.js → models-dev-3h4xk2vm.js} +5 -5
- package/dist/chunks/{model-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3hwn7j4h.js → models-dev-3hwn7j4h.js} +2 -2
- package/dist/chunks/models-dev-3kcvskkf.js +253 -0
- package/dist/chunks/{model-8hdm4x97.js → models-dev-3ncgdam6.js} +8 -8
- package/dist/chunks/{model-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-w4j701p4.js → models-dev-3wrgjec0.js} +8 -8
- package/dist/chunks/{model-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-q9z6c42s.js → models-dev-40n9tj9j.js} +9 -9
- package/dist/chunks/{model-fd5g32kx.js → models-dev-44jskavf.js} +3 -3
- package/dist/chunks/{model-40fe41y2.js → models-dev-44srevkf.js} +36 -36
- package/dist/chunks/{model-7cmh32yw.js → models-dev-44yp3zsh.js} +23 -23
- package/dist/chunks/{model-q8smq9rm.js → models-dev-4cvx3zk0.js} +29 -29
- package/dist/chunks/{model-r7wmahnz.js → models-dev-4hxzsgfg.js} +26 -26
- package/dist/chunks/{model-9ae44cfy.js → models-dev-4mwpykj0.js} +6 -6
- package/dist/chunks/{model-77bypgyx.js → models-dev-4qbwh2bz.js} +5 -5
- package/dist/chunks/{model-tbkx8g7m.js → models-dev-4ra7p95s.js} +9 -9
- package/dist/chunks/{model-p1pg3s4t.js → models-dev-4scwjggb.js} +24 -24
- package/dist/chunks/models-dev-51dbsqvm.js +513 -0
- package/dist/chunks/{model-xfrnbqxb.js → models-dev-53fe0j6w.js} +7 -7
- package/dist/chunks/{model-r94pvvab.js → models-dev-54ma36ye.js} +4 -4
- package/dist/chunks/{model-gb2d0a3q.js → models-dev-58sqdaj5.js} +39 -39
- package/dist/chunks/{model-yhtxwa5q.js → models-dev-5ctnpzg2.js} +13 -13
- package/dist/chunks/{model-5gagafpw.js → models-dev-5f33wg9g.js} +8 -8
- package/dist/chunks/{model-5m9w47nd.js → models-dev-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-p37cw4rj.js → models-dev-5yzzbxa7.js} +8 -8
- package/dist/chunks/{model-0g9exnkr.js → models-dev-687qtk6p.js} +11 -11
- package/dist/chunks/{model-wt6b9xn1.js → models-dev-6dtqrqs2.js} +5 -5
- package/dist/chunks/{model-e9ap395p.js → models-dev-6dz7t284.js} +21 -21
- package/dist/chunks/{model-b096sb2f.js → models-dev-6e10nwxv.js} +13 -13
- package/dist/chunks/{model-fdms3n6w.js → models-dev-6hjx5zpb.js} +9 -9
- package/dist/chunks/{model-rkprpv83.js → models-dev-6pc27hjz.js} +6 -6
- package/dist/chunks/{model-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-3mvas6ge.js → models-dev-6zga407v.js} +5 -5
- package/dist/chunks/{model-n52gv0t2.js → models-dev-772df2t2.js} +23 -23
- package/dist/chunks/{model-775gj3j1.js → models-dev-775gj3j1.js} +2 -2
- package/dist/chunks/{model-d7bz7cyc.js → models-dev-7awn1eca.js} +87 -87
- package/dist/chunks/{model-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-y2kcrf7q.js → models-dev-7cx6vmvd.js} +9 -9
- package/dist/chunks/{model-xs3x383r.js → models-dev-7j6b7cf2.js} +12 -12
- package/dist/chunks/{model-124s7jg1.js → models-dev-7jax3d31.js} +4 -4
- package/dist/chunks/{model-bd498wnj.js → models-dev-7r6xmrkr.js} +11 -11
- package/dist/chunks/{model-wfq6jpmw.js → models-dev-7sta3r44.js} +32 -32
- package/dist/chunks/{model-w1eejvng.js → models-dev-84txncab.js} +5 -5
- package/dist/chunks/{model-vppcbm3y.js → models-dev-86kb63bw.js} +10 -10
- package/dist/chunks/{model-pqrr6518.js → models-dev-87dt7mzz.js} +36 -36
- package/dist/chunks/{model-pakcngh0.js → models-dev-8aaqm6qj.js} +8 -8
- package/dist/chunks/{model-6b06eyw5.js → models-dev-8et75xt1.js} +12 -12
- package/dist/chunks/{model-kt26yds1.js → models-dev-8ff0rxwx.js} +13 -13
- package/dist/chunks/{model-8m6m0r52.js → models-dev-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-nw1b9wk3.js → models-dev-8mvpz4fy.js} +4 -4
- package/dist/chunks/{model-pyzjd10w.js → models-dev-8n9x2wf6.js} +2 -2
- package/dist/chunks/{model-fx9ycnc9.js → models-dev-8trxcb2y.js} +5 -5
- package/dist/chunks/{model-sp1bq8t5.js → models-dev-8w3sca24.js} +4 -4
- package/dist/chunks/{model-h6310vsd.js → models-dev-8wbxkt1z.js} +4 -4
- package/dist/chunks/{model-91qna3x0.js → models-dev-91qna3x0.js} +3 -3
- package/dist/chunks/{model-k4xvcd80.js → models-dev-9ams9md9.js} +50 -50
- package/dist/chunks/{model-yv09eh8f.js → models-dev-9pfg34kv.js} +8 -8
- package/dist/chunks/{model-pt8t6bwe.js → models-dev-9wrmc8bv.js} +15 -15
- package/dist/chunks/{model-4q7c2z0k.js → models-dev-9zay2yph.js} +4 -4
- package/dist/chunks/{model-w6h1y6dq.js → models-dev-a8da1bgk.js} +11 -11
- package/dist/chunks/{model-hgqgzfp7.js → models-dev-aa1byvrx.js} +13 -13
- package/dist/chunks/{model-c0q9byrh.js → models-dev-aanb7cm6.js} +11 -11
- package/dist/chunks/{model-db2wf4at.js → models-dev-addxnjmp.js} +4 -4
- package/dist/chunks/{model-6jxha2sg.js → models-dev-ahq53jd5.js} +36 -36
- package/dist/chunks/{model-7pvy9pzv.js → models-dev-ahxdrjfh.js} +11 -11
- package/dist/chunks/{model-0grnp236.js → models-dev-ap35vmqf.js} +4 -4
- package/dist/chunks/{model-wr1ewhk4.js → models-dev-ap6xemjt.js} +5 -5
- package/dist/chunks/{model-8y6qxnd2.js → models-dev-awcvgszp.js} +30 -30
- package/dist/chunks/{model-xgwqb5jk.js → models-dev-b0d43emt.js} +32 -32
- package/dist/chunks/{model-e70pe916.js → models-dev-b2e9bjkk.js} +22 -22
- package/dist/chunks/{model-99wq20s7.js → models-dev-b2wb6800.js} +14 -14
- package/dist/chunks/{model-vq4kdd46.js → models-dev-b7bzyegb.js} +15 -15
- package/dist/chunks/{model-t79s17n5.js → models-dev-bft59c27.js} +9 -9
- package/dist/chunks/{model-bjx1sjef.js → models-dev-bjx1sjef.js} +2 -2
- package/dist/chunks/{model-45mc4at0.js → models-dev-bkt6k2qn.js} +5 -5
- package/dist/chunks/{model-zf7skas7.js → models-dev-bme7dax2.js} +22 -22
- package/dist/chunks/{model-am4dv7bb.js → models-dev-bq6cmejr.js} +33 -33
- package/dist/chunks/{model-ra67jj04.js → models-dev-bxqk5pf5.js} +9 -9
- package/dist/chunks/{model-jke95dby.js → models-dev-c138fnt2.js} +19 -19
- package/dist/chunks/{model-nxj57cfn.js → models-dev-c1a1b1k2.js} +4 -4
- package/dist/chunks/{model-7rxph2nn.js → models-dev-c1ek1mkb.js} +13 -13
- package/dist/chunks/{model-c1fqxshp.js → models-dev-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-21yyccfm.js → models-dev-cd49xnn7.js} +6 -6
- package/dist/chunks/{model-zfq801h6.js → models-dev-cdqe3acw.js} +6 -6
- package/dist/chunks/{model-9nthj2st.js → models-dev-ce84vtze.js} +2 -2
- package/dist/chunks/{model-mnypcc0v.js → models-dev-ck19mtvh.js} +9 -9
- package/dist/chunks/{model-s13c7292.js → models-dev-dhedqzcj.js} +25 -25
- package/dist/chunks/{model-dqxsqydv.js → models-dev-dqxsqydv.js} +1 -1
- package/dist/chunks/{model-drwq78ky.js → models-dev-drwq78ky.js} +1 -1
- package/dist/chunks/{model-x17e2yyb.js → models-dev-dvpe37cm.js} +23 -23
- package/dist/chunks/{model-c3arycbm.js → models-dev-e7p86yrn.js} +16 -16
- package/dist/chunks/{model-e80seqcp.js → models-dev-e80seqcp.js} +1 -1
- package/dist/chunks/{model-eej6y6fw.js → models-dev-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-fs5hygsn.js → models-dev-eng572xq.js} +14 -14
- package/dist/chunks/{model-x2jnxxy0.js → models-dev-ewms06wq.js} +20 -20
- package/dist/chunks/{model-5bcww33d.js → models-dev-f1mnkpqm.js} +11 -11
- package/dist/chunks/{model-g0d965vs.js → models-dev-f5b9jkp9.js} +16 -16
- package/dist/chunks/{model-vqk1e85q.js → models-dev-f5qq0z73.js} +6 -6
- package/dist/chunks/{model-70spc8zb.js → models-dev-f6akwmps.js} +17 -17
- package/dist/chunks/{model-zpegy5y1.js → models-dev-f6fgd632.js} +13 -13
- package/dist/chunks/{model-y9y8j1f2.js → models-dev-f84gknbk.js} +25 -25
- package/dist/chunks/{model-d70j4vcr.js → models-dev-f9ebjzh0.js} +52 -52
- package/dist/chunks/{model-edrmdtr5.js → models-dev-fqb2p7cx.js} +7 -7
- package/dist/chunks/{model-r2m716tb.js → models-dev-ft3hqk2c.js} +9 -9
- package/dist/chunks/{model-6g25qtd6.js → models-dev-g2qx1j3k.js} +3 -3
- package/dist/chunks/{model-4dbz3zxd.js → models-dev-g4hdz8fh.js} +89 -89
- package/dist/chunks/{model-0k9wf2hg.js → models-dev-g52tt8mw.js} +11 -11
- package/dist/chunks/{model-vrrq7v3g.js → models-dev-g6yfr6ja.js} +5 -5
- package/dist/chunks/{model-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-b0w22pfr.js → models-dev-gdq7s844.js} +23 -23
- package/dist/chunks/{model-ygdna4kr.js → models-dev-gj71zhbs.js} +5 -5
- package/dist/chunks/{model-454sa7n0.js → models-dev-gpxpah6c.js} +13 -13
- package/dist/chunks/{model-h99738j4.js → models-dev-gqrzrpnb.js} +12 -12
- package/dist/chunks/{model-mm2924pv.js → models-dev-gwg64xpb.js} +33 -33
- package/dist/chunks/{model-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-31xfzrxg.js → models-dev-h7s7r6s9.js} +5 -5
- package/dist/chunks/{model-mrpe8yp5.js → models-dev-hd9sya5y.js} +33 -33
- package/dist/chunks/{model-5deaz9jv.js → models-dev-hg6fvb8h.js} +4 -4
- package/dist/chunks/{model-hgz4x7wa.js → models-dev-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-vw126e4d.js → models-dev-hn300vjm.js} +15 -15
- package/dist/chunks/{model-358yc98n.js → models-dev-hpxzp9rx.js} +1 -1
- package/dist/chunks/{model-0kgrmwp0.js → models-dev-hyavndt0.js} +25 -25
- package/dist/chunks/{model-ht3067rw.js → models-dev-hydq8y4t.js} +26 -26
- package/dist/chunks/{model-46mt6x8j.js → models-dev-hyxd6180.js} +16 -16
- package/dist/chunks/{model-bhdyt95r.js → models-dev-j6z2dytx.js} +21 -21
- package/dist/chunks/{model-f0d2hz6a.js → models-dev-j9468e3s.js} +10 -10
- package/dist/chunks/{model-r9jzxqvq.js → models-dev-je214mst.js} +38 -38
- package/dist/chunks/{model-jk540des.js → models-dev-jk540des.js} +2 -2
- package/dist/chunks/{model-9sbgnbhh.js → models-dev-jrbfgch9.js} +19 -19
- package/dist/chunks/{model-mz8as577.js → models-dev-jxn7dvkj.js} +3 -3
- package/dist/chunks/{model-r85h4k88.js → models-dev-k5nx9gf6.js} +35 -35
- package/dist/chunks/{model-rp09h2a9.js → models-dev-k82cey18.js} +14 -14
- package/dist/chunks/{model-ctn84etg.js → models-dev-kcr9yty2.js} +24 -24
- package/dist/chunks/{model-ny8edt06.js → models-dev-khmqacep.js} +4 -4
- package/dist/chunks/{model-rffh3mqk.js → models-dev-kp9v44y6.js} +16 -16
- package/dist/chunks/{model-vfw5w8v2.js → models-dev-ksqexn5b.js} +17 -17
- package/dist/chunks/{model-rx4wz1w4.js → models-dev-ksyw1h75.js} +10 -10
- package/dist/chunks/{model-dqvv6bdz.js → models-dev-kvycfk4x.js} +2 -2
- package/dist/chunks/{model-cc080dhf.js → models-dev-kwvz8xsm.js} +35 -35
- package/dist/chunks/{model-8rw8yr2z.js → models-dev-m43p4m24.js} +25 -25
- package/dist/chunks/{model-4acmj4he.js → models-dev-m6g7jkxp.js} +7 -7
- package/dist/chunks/{model-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → models-dev-maspj1v3.js} +1 -1
- package/dist/chunks/{model-8fh9asg7.js → models-dev-mawbj8c7.js} +12 -12
- package/dist/chunks/{model-qfxf707x.js → models-dev-mdkqwhqk.js} +14 -14
- package/dist/chunks/{model-pzhd9fhs.js → models-dev-mwa53675.js} +24 -24
- package/dist/chunks/{model-pg3yv55e.js → models-dev-n41s30kp.js} +14 -14
- package/dist/chunks/{model-m2y34ngg.js → models-dev-nd673bhh.js} +18 -18
- package/dist/chunks/{model-7ca3xte1.js → models-dev-nm80a8zg.js} +10 -10
- package/dist/chunks/{model-3cqwnyj9.js → models-dev-npw39rc8.js} +8 -8
- package/dist/chunks/{model-md6a2bpm.js → models-dev-nr5dye9z.js} +6 -6
- package/dist/chunks/{model-k1ck9wgq.js → models-dev-p157t1fq.js} +11 -11
- package/dist/chunks/{model-2aegfh2p.js → models-dev-p7f50jp2.js} +10 -10
- package/dist/chunks/{model-p2x1ybm5.js → models-dev-p8r370vm.js} +28 -28
- package/dist/chunks/{model-jfw34q2z.js → models-dev-phfa2v1d.js} +17 -17
- package/dist/chunks/models-dev-phz3h32g.js +18 -0
- package/dist/chunks/{model-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-wtqshrcq.js → models-dev-pk4f2aze.js} +11 -11
- package/dist/chunks/{model-pknna89w.js → models-dev-pknna89w.js} +1 -1
- package/dist/chunks/{model-zzzv4s15.js → models-dev-pncz9ezf.js} +19 -19
- package/dist/chunks/{model-6xcvt31d.js → models-dev-pnzf6mjf.js} +1 -1
- package/dist/chunks/{model-qxfsh50a.js → models-dev-pp2w7hra.js} +8 -8
- package/dist/chunks/{model-1pgs1s3m.js → models-dev-pv3b1asr.js} +11 -11
- package/dist/chunks/{model-3855cc73.js → models-dev-pv818zwk.js} +53 -53
- package/dist/chunks/{model-q0xm7vwc.js → models-dev-q0xm7vwc.js} +2 -2
- package/dist/chunks/{model-qysp5m4p.js → models-dev-q3sjtm7g.js} +24 -24
- package/dist/chunks/{model-0cqcz89e.js → models-dev-q404fz3t.js} +9 -9
- package/dist/chunks/{model-y0ymffas.js → models-dev-q5kf7mcj.js} +45 -45
- package/dist/chunks/{model-0jwsre1p.js → models-dev-qgn6gcr1.js} +5 -5
- package/dist/chunks/{model-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
- package/dist/chunks/{model-v6wtv6sh.js → models-dev-qvs0fk0x.js} +15 -15
- package/dist/chunks/{model-mq6shjb6.js → models-dev-r1d3qzdq.js} +9 -9
- package/dist/chunks/{model-pcpm970h.js → models-dev-rajkn84v.js} +41 -41
- package/dist/chunks/{model-wdz250da.js → models-dev-rc5j5mkd.js} +31 -31
- package/dist/chunks/{model-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-rert0e01.js → models-dev-rert0e01.js} +2 -2
- package/dist/chunks/{model-01rfddxe.js → models-dev-rhm9r2e7.js} +45 -45
- package/dist/chunks/{model-afb9wseb.js → models-dev-rhswqpbr.js} +22 -22
- package/dist/chunks/{model-rj3eygr5.js → models-dev-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-1hc858k7.js → models-dev-rjqa6xvr.js} +5 -5
- package/dist/chunks/{model-dz1h6v1j.js → models-dev-rrrs7b4h.js} +44 -44
- package/dist/chunks/{model-gd6gh308.js → models-dev-rs56my4t.js} +179 -179
- package/dist/chunks/{model-8mbscqky.js → models-dev-rvf0m9x6.js} +8 -8
- package/dist/chunks/{model-z75pxxh7.js → models-dev-rvswe9jz.js} +3 -3
- package/dist/chunks/{model-9xc4s1wq.js → models-dev-rxxgfbgd.js} +31 -31
- package/dist/chunks/{model-rd1cgpxp.js → models-dev-s2m39v4y.js} +20 -20
- package/dist/chunks/{model-kwjpkb26.js → models-dev-s6nd2x5k.js} +17 -17
- package/dist/chunks/{model-ywkcfvf7.js → models-dev-s8s89f8k.js} +13 -13
- package/dist/chunks/{model-sa8ekw3f.js → models-dev-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-scgrse2b.js → models-dev-scgrse2b.js} +2 -2
- package/dist/chunks/{model-a3s2mkkw.js → models-dev-shrx83xz.js} +38 -38
- package/dist/chunks/{model-bxp5y3gq.js → models-dev-sjt6nrdb.js} +22 -22
- package/dist/chunks/{model-bfh1r411.js → models-dev-sk4xkn0s.js} +19 -19
- package/dist/chunks/{model-d022x100.js → models-dev-sn3esjwr.js} +11 -11
- package/dist/chunks/{model-syv4x271.js → models-dev-syv4x271.js} +1 -1
- package/dist/chunks/{model-s2z0d44b.js → models-dev-sz15zhhw.js} +4 -4
- package/dist/chunks/{model-7d2a7xbs.js → models-dev-sznyev98.js} +5 -5
- package/dist/chunks/{model-36sc5tph.js → models-dev-t0yzwfwa.js} +39 -39
- package/dist/chunks/{model-gnngpsss.js → models-dev-t462pgxk.js} +34 -34
- package/dist/chunks/{model-bbnjt3hf.js → models-dev-t4jzv59m.js} +11 -11
- package/dist/chunks/{model-t550f9t1.js → models-dev-t550f9t1.js} +1 -1
- package/dist/chunks/{model-scgz3sns.js → models-dev-t59ay9nj.js} +27 -27
- package/dist/chunks/{model-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-89znhe33.js → models-dev-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-m9m2bw1x.js → models-dev-tctv09ep.js} +74 -74
- package/dist/chunks/{model-7kesx33y.js → models-dev-tcxxj4xv.js} +59 -59
- package/dist/chunks/{model-tdstcens.js → models-dev-tdstcens.js} +1 -1
- package/dist/chunks/{model-4qa4eb2f.js → models-dev-tezr4t8w.js} +10 -10
- package/dist/chunks/{model-y52pq506.js → models-dev-tgkebzgj.js} +28 -28
- package/dist/chunks/{model-xxxym934.js → models-dev-tjedn1bk.js} +4 -4
- package/dist/chunks/{model-tm0kqsz3.js → models-dev-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-pj9xvhw4.js → models-dev-tped5syp.js} +1 -1
- package/dist/chunks/{model-trya7axm.js → models-dev-trya7axm.js} +2 -2
- package/dist/chunks/{model-559cv5mq.js → models-dev-tvq2padx.js} +26 -26
- package/dist/chunks/{model-a4r1667r.js → models-dev-tx2ykx8n.js} +20 -20
- package/dist/chunks/{model-tyytaxap.js → models-dev-tyytaxap.js} +1 -1
- package/dist/chunks/{model-tg7bkhef.js → models-dev-v0es1rhs.js} +7 -7
- package/dist/chunks/{model-v7p4zvkq.js → models-dev-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-bf8cw6nk.js → models-dev-vedw13eh.js} +16 -16
- package/dist/chunks/{model-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
- package/dist/chunks/{model-0hmbxfvk.js → models-dev-vgk39nvh.js} +18 -18
- package/dist/chunks/{model-8kfrjq0p.js → models-dev-vkahxkee.js} +32 -32
- package/dist/chunks/{model-csjs0rgm.js → models-dev-vqww9wf2.js} +18 -18
- package/dist/chunks/{model-31zph7gx.js → models-dev-vvz7xq4k.js} +30 -30
- package/dist/chunks/{model-x5ay7k0w.js → models-dev-vx0jde21.js} +9 -9
- package/dist/chunks/{model-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-20f5kd3r.js → models-dev-w11zjscx.js} +51 -51
- package/dist/chunks/{model-15cj51dt.js → models-dev-w3wfn83y.js} +19 -19
- package/dist/chunks/{model-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-wd87259q.js → models-dev-wd87259q.js} +1 -1
- package/dist/chunks/{model-mw0c0vj6.js → models-dev-we83yyr7.js} +30 -30
- package/dist/chunks/{model-b77ja0wt.js → models-dev-wfsmwj5g.js} +19 -19
- package/dist/chunks/{model-nms2wt4g.js → models-dev-x5h44zm2.js} +10 -10
- package/dist/chunks/{model-6vvy3pkk.js → models-dev-xfk6cv89.js} +22 -22
- package/dist/chunks/{model-ty6kwv90.js → models-dev-xr0b3q4c.js} +22 -22
- package/dist/chunks/{model-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-y71avatq.js → models-dev-y71avatq.js} +1 -1
- package/dist/chunks/{model-y6xhfxcm.js → models-dev-y9f7x49n.js} +25 -25
- package/dist/chunks/{model-58hng72m.js → models-dev-yd4bzqjj.js} +5 -5
- package/dist/chunks/models-dev-yfpjxthe.js +26 -0
- package/dist/chunks/{model-21xby13n.js → models-dev-ymd5dqt1.js} +23 -23
- package/dist/chunks/{model-q45w12d8.js → models-dev-yn3sjzkr.js} +24 -24
- package/dist/chunks/{model-f2n192rq.js → models-dev-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-nxe4pcap.js → models-dev-yrcj3v3g.js} +4 -4
- package/dist/chunks/{model-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-ze19dk6b.js → models-dev-zkehg455.js} +3 -3
- package/dist/chunks/{model-1ttk16ha.js → models-dev-znegvexa.js} +8 -8
- package/dist/chunks/{model-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-trrs9qjc.js → models-dev-zs526gn4.js} +13 -13
- package/dist/chunks/{model-79vjxwag.js → models-dev-zt49gfb7.js} +25 -25
- package/dist/chunks/{model-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- 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 +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- 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 +117 -117
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- 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 +81 -81
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +104 -104
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- 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 +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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +74 -74
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- 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 +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +102 -102
- 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 +4 -4
- 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 +116 -116
- 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 +120 -120
- 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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +3 -3
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- 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 +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- 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 +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +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 +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- 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 +126 -126
- 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 +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- 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 +206 -206
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- 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 +10 -10
- 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/model-19rpp6m5.js +0 -253
- package/dist/chunks/model-b54ntt24.js +0 -26
- package/dist/chunks/model-gpdxzypf.js +0 -513
- package/dist/chunks/model-pf31ssb9.js +0 -18
- /package/dist/chunks/{model-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → models-dev-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → models-dev-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → models-dev-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5qd3pb7m.js → models-dev-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → models-dev-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → models-dev-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → models-dev-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → models-dev-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → models-dev-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → models-dev-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → models-dev-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → models-dev-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → models-dev-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → models-dev-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → models-dev-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → models-dev-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-pyv0edze.js → models-dev-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → models-dev-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → models-dev-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → models-dev-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service85
|
|
3
|
-
} from "./model-c0q9byrh.js";
|
|
4
1
|
import {
|
|
5
2
|
Service84
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./models-dev-aanb7cm6.js";
|
|
4
|
+
import {
|
|
5
|
+
Service82
|
|
6
|
+
} from "./models-dev-f5b9jkp9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./models-dev-4mwpykj0.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./models-dev-f5qq0z73.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./models-dev-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service61
|
|
29
|
+
} from "./models-dev-qvs0fk0x.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service41
|
|
34
|
+
} from "./models-dev-hydq8y4t.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service39
|
|
37
|
+
} from "./models-dev-shrx83xz.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./models-dev-kp9v44y6.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./models-dev-f84gknbk.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./models-dev-q404fz3t.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
get4
|
|
51
|
+
} from "./models-dev-8et75xt1.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
66
|
+
const bus = yield* Service82;
|
|
67
|
+
const database = yield* Service84;
|
|
68
|
+
const store = yield* Service61;
|
|
69
|
+
const instances = yield* Service43;
|
|
70
|
+
const execution = yield* Service39;
|
|
71
|
+
const admission = yield* Service41;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError9({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield*
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service84, database), Effect.provideService(Service82, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service82, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-1casa0jm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./models-dev-hyxd6180.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service60,
|
|
13
|
+
node62
|
|
14
|
+
} from "./models-dev-25fv0sh8.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -23,7 +23,7 @@ __export(exports_file_access, {
|
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
25
|
Service: () => Service55,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node57,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,8 +51,8 @@ var invocation = (context) => ({
|
|
|
51
51
|
});
|
|
52
52
|
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service80;
|
|
55
|
+
const permission = yield* Service60;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -103,6 +103,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
103
103
|
});
|
|
104
104
|
return Service55.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node57 = makeLocationNode({ service: Service55, layer, deps: [FSUtil.node, node84, node62] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2, Service55, resolvePath2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service55, resolvePath2, node57, exports_file_access };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service80,
|
|
18
|
+
node84
|
|
19
|
+
} from "./models-dev-hyxd6180.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service67,
|
|
22
|
+
node69
|
|
23
|
+
} from "./models-dev-rc5j5mkd.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service66,
|
|
33
|
+
node: () => node68
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service66,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node68,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service66 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service80;
|
|
66
|
+
const workspace = yield* Service67;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service66.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node68 = makeLocationNode({
|
|
71
|
+
service: Service66,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node69]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service66, node68, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer8,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer8 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer8, exports_unavailable };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./models-dev-bft59c27.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./models-dev-4mwpykj0.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-phz3h32g.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service64
|
|
15
|
+
} from "./models-dev-rvf0m9x6.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./models-dev-f5qq0z73.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service35
|
|
23
|
+
} from "./models-dev-p8r370vm.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service43;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service64;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service35;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service69;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./models-dev-aanb7cm6.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-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
16
|
ID: () => ID7,
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
17
|
+
Info: () => Info17,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service62,
|
|
21
|
+
node: () => node64
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,8 +26,8 @@ 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
28
|
var ID7 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var Info17 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service62 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service84).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);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -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 Service62.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node64 = makeGlobalNode({ service: Service62, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export { ID7,
|
|
73
|
+
export { ID7, Info17, ListInput5, AddInput2, Service62, node64, exports_saved };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./models-dev-pv818zwk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./models-dev-f9ebjzh0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin34,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin34 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service49;
|
|
28
|
+
const mcp = yield* Service32;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin34, register2, exports_mcp2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-8n9x2wf6.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./models-dev-f5b9jkp9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./models-dev-hyxd6180.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service52,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node54
|
|
13
|
+
} from "./models-dev-jrbfgch9.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./models-dev-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event3,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info2,
|
|
29
|
+
NotFoundError: () => NotFoundError3,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service18,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node20
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info2 = Pty.Info;
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service18 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service82;
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const shell = yield* Service52;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service18.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node20 = makeLocationNode({
|
|
273
|
+
service: Service18,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node86, node84, node54]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service18, node20, exports_pty, Event3 };
|