@opencode/core 0.0.0-dev-306 → 0.0.0-dev-338
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 +89 -89
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +83 -83
- package/dist/chunks/{location-r7dkdyp5.js → schema-00csjphn.js} +36 -36
- package/dist/chunks/{location-nbm7yy57.js → schema-01kh9xtm.js} +14 -14
- package/dist/chunks/{location-hch7yraj.js → schema-02ye6z51.js} +15 -15
- package/dist/chunks/{location-034tev2y.js → schema-034tev2y.js} +2 -2
- package/dist/chunks/{location-zqbg2s7f.js → schema-04rctafp.js} +51 -51
- package/dist/chunks/{location-536gnnhd.js → schema-099yywvh.js} +29 -29
- package/dist/chunks/{location-6bd340sn.js → schema-0d2vjrpp.js} +8 -8
- package/dist/chunks/{location-bqxm09jz.js → schema-0dhx3ykd.js} +55 -55
- package/dist/chunks/{location-jyg8crv2.js → schema-0grvd95t.js} +25 -25
- package/dist/chunks/{location-ads06k24.js → schema-0hbtj59d.js} +19 -19
- package/dist/chunks/{location-bhyrg0mn.js → schema-0hvn3y38.js} +17 -17
- package/dist/chunks/{location-sqjzf8x2.js → schema-0j7gp832.js} +4 -4
- package/dist/chunks/{location-2bwv8tnq.js → schema-0ncehkqy.js} +87 -87
- package/dist/chunks/{location-ghrzdqqx.js → schema-0nde5ztd.js} +5 -5
- package/dist/chunks/{location-3dbyenxe.js → schema-0qqqxr5x.js} +20 -20
- package/dist/chunks/{location-147wqxjy.js → schema-0t5h2k0v.js} +5 -5
- package/dist/chunks/{location-7a4v4c26.js → schema-0w807sat.js} +11 -11
- package/dist/chunks/{location-m89858wj.js → schema-12yz1921.js} +3 -3
- package/dist/chunks/{location-v2yyptek.js → schema-1ad21j16.js} +8 -8
- package/dist/chunks/{location-1aqsckx4.js → schema-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-1ep2p91f.js → schema-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-50w453fn.js → schema-1g2qd3p6.js} +12 -12
- package/dist/chunks/{location-85hx114z.js → schema-1gdnxn8q.js} +23 -23
- package/dist/chunks/{location-5j5yn56v.js → schema-1p3hqer1.js} +12 -12
- package/dist/chunks/{location-cmkpv6mv.js → schema-1qc5n05d.js} +10 -10
- package/dist/chunks/{location-et87mf2s.js → schema-1ry6nyrb.js} +89 -89
- package/dist/chunks/{location-fd5e9wgq.js → schema-1wrrsbc4.js} +12 -12
- package/dist/chunks/{location-hhdnbsvt.js → schema-1wtf8ad7.js} +19 -19
- package/dist/chunks/{location-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-ms8gjsg9.js → schema-1x5s0zfr.js} +23 -23
- package/dist/chunks/{location-1yq9hg58.js → schema-1yq9hg58.js} +1 -1
- package/dist/chunks/{location-rw03ft0n.js → schema-1z5f493n.js} +5 -5
- package/dist/chunks/{location-204s3925.js → schema-204s3925.js} +1 -1
- package/dist/chunks/{location-zb0eyyj7.js → schema-25jw3g4f.js} +5 -5
- package/dist/chunks/{location-26x8chrq.js → schema-26x8chrq.js} +3 -3
- package/dist/chunks/{location-x07fr6ah.js → schema-2gk2y1j8.js} +14 -14
- package/dist/chunks/{location-bpjheaj0.js → schema-2j84ncef.js} +21 -21
- package/dist/chunks/{location-hh67hv7z.js → schema-2v186e1s.js} +30 -30
- package/dist/chunks/{location-99gmmhwa.js → schema-2vahexqr.js} +18 -18
- package/dist/chunks/{location-tsz093v2.js → schema-33qkep72.js} +8 -8
- package/dist/chunks/{location-zgkfm9vd.js → schema-36r31j1y.js} +15 -15
- package/dist/chunks/{location-yh2v5kew.js → schema-3756z231.js} +45 -45
- package/dist/chunks/{location-62s3a18k.js → schema-375j4a5k.js} +34 -34
- package/dist/chunks/{location-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-qgs1tbcx.js → schema-3hn5rpb1.js} +24 -24
- package/dist/chunks/{location-34pknpnd.js → schema-3mhkvgqt.js} +26 -26
- package/dist/chunks/{location-djd49kbm.js → schema-3qb4h4tp.js} +2 -2
- package/dist/chunks/{location-g32ax1nd.js → schema-3vf3ny91.js} +20 -20
- package/dist/chunks/{location-3jqxp1k9.js → schema-3w7mkftw.js} +20 -20
- package/dist/chunks/{location-40za9wsf.js → schema-40za9wsf.js} +2 -2
- package/dist/chunks/{location-w67s4ywc.js → schema-4a2b0ssv.js} +8 -8
- package/dist/chunks/{location-5dcrg5my.js → schema-4c49gk8m.js} +5 -5
- package/dist/chunks/{location-4dx1dgte.js → schema-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-fffxyf18.js → schema-4f5xwjpe.js} +13 -13
- package/dist/chunks/{location-4pyp9zr9.js → schema-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-4v008n1t.js → schema-4v008n1t.js} +1 -1
- package/dist/chunks/{location-mkc9xh75.js → schema-4zsvjwk5.js} +11 -11
- package/dist/chunks/{location-97r9t6wm.js → schema-54whx9vj.js} +21 -21
- package/dist/chunks/{location-9ahqkxsp.js → schema-578cqfvw.js} +3 -3
- package/dist/chunks/{location-74n62q8p.js → schema-57h12rnx.js} +3 -3
- package/dist/chunks/{location-de6znanw.js → schema-5c0rjt9e.js} +34 -34
- package/dist/chunks/{location-98n7hra1.js → schema-5jzshcv3.js} +32 -32
- package/dist/chunks/{location-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-b6vsg801.js → schema-5nnwax6m.js} +5 -5
- package/dist/chunks/{location-fhyh4p9b.js → schema-655tpehd.js} +34 -34
- package/dist/chunks/{location-336ptya5.js → schema-68mpvj42.js} +9 -9
- package/dist/chunks/{location-efbqjxxv.js → schema-6a8reyab.js} +9 -9
- package/dist/chunks/{location-6esdw8yj.js → schema-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-3sty8408.js → schema-6sqa993f.js} +9 -9
- package/dist/chunks/{location-my54cbqv.js → schema-6srxf2b1.js} +5 -5
- package/dist/chunks/{location-28365gvt.js → schema-6wyy0pz9.js} +41 -41
- package/dist/chunks/{location-dbmp929s.js → schema-6y263vp8.js} +5 -5
- package/dist/chunks/{location-j6fakqra.js → schema-6zw0fw57.js} +3 -3
- package/dist/chunks/{location-5bnajwfk.js → schema-71gmpxhv.js} +24 -24
- package/dist/chunks/{location-76cb1hcw.js → schema-76cb1hcw.js} +1 -1
- package/dist/chunks/{location-t8erkws8.js → schema-78p2h4ex.js} +5 -5
- package/dist/chunks/{location-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-3mtcb7b3.js → schema-7brnv8w0.js} +17 -17
- package/dist/chunks/{location-8gqhbr3y.js → schema-7fff45pw.js} +8 -8
- package/dist/chunks/{location-7gh51h4m.js → schema-7h768wt6.js} +20 -20
- package/dist/chunks/{location-vnqrb8rh.js → schema-7jw3x0rm.js} +20 -20
- package/dist/chunks/{location-7kr66rt3.js → schema-7kr66rt3.js} +1 -1
- package/dist/chunks/schema-7mzbv8bq.js +26 -0
- package/dist/chunks/{location-0d0e2qqj.js → schema-7n0jac0z.js} +9 -9
- package/dist/chunks/{location-eyc69scq.js → schema-7rvjhzv0.js} +31 -31
- package/dist/chunks/{location-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-rbndg51d.js → schema-7wfak81m.js} +3 -3
- package/dist/chunks/{location-f6bwzamp.js → schema-7znc2ak6.js} +12 -12
- package/dist/chunks/{location-25h84942.js → schema-8b3vzgkx.js} +4 -4
- package/dist/chunks/{location-5h2db7ke.js → schema-8b69v1a7.js} +21 -21
- package/dist/chunks/{location-8prsd97r.js → schema-8jhdp17k.js} +31 -31
- package/dist/chunks/{location-4f5ax2dv.js → schema-8m7jngp7.js} +11 -11
- package/dist/chunks/{location-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-90zstvax.js → schema-90zstvax.js} +1 -1
- package/dist/chunks/{location-xbvaqmtc.js → schema-9bnx8v1s.js} +43 -43
- package/dist/chunks/{location-efswkf52.js → schema-9vnf221r.js} +35 -35
- package/dist/chunks/{location-yg79hbqn.js → schema-9y5j7mew.js} +8 -8
- package/dist/chunks/{location-zgd8t41s.js → schema-9z9tayqc.js} +9 -9
- package/dist/chunks/{location-tkxe7v6f.js → schema-a6vzdybk.js} +20 -20
- package/dist/chunks/{location-vkdfbcf5.js → schema-aa5xtxj2.js} +16 -16
- package/dist/chunks/{location-gd3reat4.js → schema-afzqdm25.js} +27 -27
- package/dist/chunks/{location-zxc9shn1.js → schema-asjdf3ky.js} +4 -4
- package/dist/chunks/{location-dxrghr56.js → schema-asp0rn3b.js} +28 -28
- package/dist/chunks/{location-ayjs7tqn.js → schema-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-4c0eh56a.js → schema-b0951d1j.js} +7 -7
- package/dist/chunks/{location-9eh5kz8z.js → schema-b1k617ee.js} +19 -19
- package/dist/chunks/schema-b2ekajyb.js +257 -0
- package/dist/chunks/{location-r0pyvz6f.js → schema-b491pjm5.js} +24 -24
- package/dist/chunks/{location-c3qstxzp.js → schema-b59atwxm.js} +4 -4
- package/dist/chunks/{location-44vsgcd8.js → schema-bam9qj5c.js} +7 -7
- package/dist/chunks/{location-bstexjd6.js → schema-bstexjd6.js} +1 -1
- package/dist/chunks/{location-3ryz99p0.js → schema-c6x7d2ts.js} +4 -4
- package/dist/chunks/{location-r440h8qp.js → schema-cmhv6pag.js} +11 -11
- package/dist/chunks/{location-cwrgdav8.js → schema-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-49bazr4g.js → schema-d56bmmma.js} +19 -19
- package/dist/chunks/{location-gm0ycg18.js → schema-dbavz9kp.js} +9 -9
- package/dist/chunks/{location-egx4syav.js → schema-dezsc65w.js} +18 -18
- package/dist/chunks/{location-07bhy05n.js → schema-djm830jq.js} +4 -4
- package/dist/chunks/{location-35bjdts5.js → schema-djs3dngg.js} +7 -7
- package/dist/chunks/{location-xnwqffna.js → schema-drfa0kca.js} +3 -3
- package/dist/chunks/{location-dt77769w.js → schema-dt77769w.js} +1 -1
- package/dist/chunks/{location-4ntm1ty7.js → schema-dxf17875.js} +9 -9
- package/dist/chunks/{location-43mtkq1f.js → schema-dy8ej2a0.js} +20 -20
- package/dist/chunks/{location-q2kxgsvb.js → schema-e00yb6hn.js} +7 -7
- package/dist/chunks/{location-9xnamytp.js → schema-e5awnnxc.js} +25 -25
- package/dist/chunks/{location-e834z07m.js → schema-e834z07m.js} +1 -1
- package/dist/chunks/{location-011mqk6m.js → schema-e85a669x.js} +10 -10
- package/dist/chunks/{location-w510rxtp.js → schema-e89v3s2x.js} +5 -5
- package/dist/chunks/{location-hdmnesa6.js → schema-ecd2v7nh.js} +5 -5
- package/dist/chunks/{location-mfmmqpne.js → schema-efnt7zk1.js} +28 -28
- package/dist/chunks/{location-bbnmh3xr.js → schema-egd6pm3f.js} +35 -35
- package/dist/chunks/{location-spehfrkg.js → schema-ehgd54p9.js} +25 -25
- package/dist/chunks/{location-v6x8hkr5.js → schema-emvnqz9f.js} +11 -11
- package/dist/chunks/{location-mt21hhzj.js → schema-esk39185.js} +6 -6
- package/dist/chunks/{location-eqmd2tfz.js → schema-eybj1wgy.js} +5 -5
- package/dist/chunks/{location-85qde3ax.js → schema-ezqsy8gy.js} +27 -27
- package/dist/chunks/{location-jrbmxwcc.js → schema-ezw7t4kx.js} +9 -9
- package/dist/chunks/{location-sh2m58zd.js → schema-f3ad9cbx.js} +43 -43
- package/dist/chunks/{location-x79e7hsz.js → schema-faaeq40t.js} +6 -6
- package/dist/chunks/{location-pqs4b36k.js → schema-fbgyyhht.js} +21 -21
- package/dist/chunks/{location-fffv3p7h.js → schema-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-fg9p65nk.js → schema-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-nva9eqjm.js → schema-fn61dekp.js} +5 -5
- package/dist/chunks/{location-z896zmsn.js → schema-fq1fyy34.js} +41 -41
- package/dist/chunks/{location-v3h869xg.js → schema-fs1j62r4.js} +11 -11
- package/dist/chunks/{location-beqawg79.js → schema-fxyd2t29.js} +10 -10
- package/dist/chunks/{location-y4n6pw34.js → schema-g1e2r5aa.js} +4 -4
- package/dist/chunks/{location-8jjf20rn.js → schema-g1mvyxge.js} +8 -8
- package/dist/chunks/{location-9hw2m1zw.js → schema-g4te2x2h.js} +31 -31
- package/dist/chunks/{location-hhaywkwm.js → schema-gcbf8e2a.js} +11 -11
- package/dist/chunks/{location-kv1pxpnb.js → schema-gcye4jv7.js} +4 -4
- package/dist/chunks/{location-k4pwdphg.js → schema-gm428j6c.js} +29 -29
- package/dist/chunks/{location-xbq7ap0g.js → schema-gv5m31y1.js} +8 -5
- package/dist/chunks/{location-kcg78dnn.js → schema-hdfrs5mg.js} +7 -7
- package/dist/chunks/{location-kawgm7c0.js → schema-hek2y864.js} +9 -9
- package/dist/chunks/{location-hh7kjqtw.js → schema-hh7kjqtw.js} +1 -1
- package/dist/chunks/{location-hpg1pkwy.js → schema-hpg1pkwy.js} +1 -1
- package/dist/chunks/{location-2sjtpkz1.js → schema-hptmg8g9.js} +17 -17
- package/dist/chunks/{location-zehwd02a.js → schema-hq6dxpfa.js} +24 -24
- package/dist/chunks/{location-hqxkkta1.js → schema-hqxkkta1.js} +1 -1
- package/dist/chunks/{location-q2571jsw.js → schema-hscrayt9.js} +42 -42
- package/dist/chunks/{location-4h609sqz.js → schema-j0dybgn2.js} +30 -30
- package/dist/chunks/{location-jcqm84fr.js → schema-jcqm84fr.js} +2 -2
- package/dist/chunks/{location-jfaecv01.js → schema-jfaecv01.js} +1 -1
- package/dist/chunks/{location-ym7mkmya.js → schema-jhxhd08e.js} +19 -19
- package/dist/chunks/{location-jtnps1zs.js → schema-jtnps1zs.js} +2 -2
- package/dist/chunks/{location-vze99txj.js → schema-jzy064tf.js} +17 -17
- package/dist/chunks/{location-fr9j7gn6.js → schema-k394zw05.js} +58 -58
- package/dist/chunks/{location-4bbpqcw3.js → schema-k6966x57.js} +15 -15
- package/dist/chunks/{location-k814nvkf.js → schema-k814nvkf.js} +1 -1
- package/dist/chunks/{location-j2c5g3b2.js → schema-k8ec4f2h.js} +22 -22
- package/dist/chunks/{location-bgd12eww.js → schema-k9c4fygp.js} +193 -193
- package/dist/chunks/{location-b3a32pfz.js → schema-kh0hrg97.js} +4 -4
- package/dist/chunks/{location-akkhd0hr.js → schema-khq1tf5f.js} +20 -20
- package/dist/chunks/{location-q6jmyack.js → schema-kjphpf5s.js} +12 -12
- package/dist/chunks/{location-tjspe09c.js → schema-kka3dzk1.js} +10 -10
- package/dist/chunks/{location-tg1vr1qt.js → schema-kmzgegqq.js} +8 -8
- package/dist/chunks/{location-rerwg0b9.js → schema-ksw1makz.js} +12 -12
- package/dist/chunks/{location-kt3bjfbg.js → schema-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-trmt4qt7.js → schema-m0n96caj.js} +33 -33
- package/dist/chunks/{location-m1714858.js → schema-m1714858.js} +1 -1
- package/dist/chunks/{location-7kqn30mb.js → schema-m2p7g6q5.js} +39 -39
- package/dist/chunks/{location-pk0dqn8g.js → schema-m9mdazr8.js} +5 -5
- package/dist/chunks/{location-y0xdaqa2.js → schema-m9qjbqaf.js} +11 -11
- package/dist/chunks/{location-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-x8fyy5bn.js → schema-ma7n6kha.js} +4 -4
- package/dist/chunks/{location-mb7mbhnz.js → schema-mb7mbhnz.js} +3 -3
- package/dist/chunks/{location-nf3n4x4w.js → schema-md7hf9yx.js} +29 -29
- package/dist/chunks/schema-me0dhgxs.js +18 -0
- package/dist/chunks/{location-d2887f8n.js → schema-mtkfycnh.js} +4 -4
- package/dist/chunks/{location-w3ee0mms.js → schema-mvcvwgh8.js} +2 -2
- package/dist/chunks/{location-qxhe8vts.js → schema-mw7cb6xb.js} +11 -11
- package/dist/chunks/{location-9excscth.js → schema-n8agtmcc.js} +16 -16
- package/dist/chunks/{location-dgambtz7.js → schema-n9svx643.js} +29 -29
- package/dist/chunks/{location-2znspyh0.js → schema-na7hrbgf.js} +15 -15
- package/dist/chunks/{location-vha2yqec.js → schema-nagb01d0.js} +6 -6
- package/dist/chunks/{location-nah043kf.js → schema-nah043kf.js} +1 -1
- package/dist/chunks/{location-2y347c6b.js → schema-nb79qexc.js} +16 -16
- package/dist/chunks/{location-sh1my6rk.js → schema-nd0gg6f3.js} +52 -52
- package/dist/chunks/{location-esh8axw0.js → schema-nfy79yn0.js} +14 -14
- package/dist/chunks/{location-cvsegsfy.js → schema-nhj2s2rn.js} +29 -29
- package/dist/chunks/{location-z2vfz141.js → schema-npvk5mbc.js} +12 -12
- package/dist/chunks/{location-jgw0ez2q.js → schema-nsannsan.js} +35 -35
- package/dist/chunks/{location-p015t6z3.js → schema-p015t6z3.js} +2 -2
- package/dist/chunks/{location-x7fqccva.js → schema-p288ht65.js} +9 -9
- package/dist/chunks/{location-nkbs8pm4.js → schema-p6qx88jx.js} +11 -11
- package/dist/chunks/{location-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{location-aqr5273r.js → schema-pnj9p3e7.js} +15 -15
- package/dist/chunks/{location-gprb4n4c.js → schema-pzn80and.js} +5 -5
- package/dist/chunks/{location-k6586ewx.js → schema-q3gx0t3a.js} +21 -21
- package/dist/chunks/{location-h949k007.js → schema-q89tx0w9.js} +4 -4
- package/dist/chunks/{location-jzgtnw1d.js → schema-qa8rkrn5.js} +4 -4
- package/dist/chunks/{location-8jztxfpf.js → schema-qjgzc4b4.js} +4 -4
- package/dist/chunks/{location-w4dn9kj3.js → schema-qm628a9a.js} +81 -81
- package/dist/chunks/{location-zqpvfprb.js → schema-qn9arske.js} +16 -16
- package/dist/chunks/{location-qp7r0hxv.js → schema-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-brd5eeq0.js → schema-qqpbcr2p.js} +8 -8
- package/dist/chunks/{location-qqvy8y24.js → schema-qqvy8y24.js} +1 -1
- package/dist/chunks/{location-eyba04wr.js → schema-qxzr918a.js} +25 -25
- package/dist/chunks/{location-h3chngrm.js → schema-qyfz9dkk.js} +10 -10
- package/dist/chunks/{location-7j88ajzy.js → schema-qz97qqq3.js} +22 -22
- package/dist/chunks/{location-xrbbh422.js → schema-r15nerz4.js} +2 -2
- package/dist/chunks/{location-wpkqvnzq.js → schema-r1hwwpqk.js} +13 -13
- package/dist/chunks/{location-bfhbctn3.js → schema-r3jekzdf.js} +29 -29
- package/dist/chunks/{location-8k8pzbp4.js → schema-r4zhn8a3.js} +8 -8
- package/dist/chunks/{location-r542h3bh.js → schema-r542h3bh.js} +1 -1
- package/dist/chunks/{location-s2pfznc4.js → schema-ra34yqmw.js} +6 -6
- package/dist/chunks/{location-3sg64nxm.js → schema-rb6a0f6t.js} +11 -11
- package/dist/chunks/{location-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-vztbg1g9.js → schema-rehx0x6s.js} +11 -11
- package/dist/chunks/{location-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-7ahw8xm3.js → schema-s2dzrv2e.js} +351 -351
- package/dist/chunks/{location-2spvqkt6.js → schema-s5zjbmxy.js} +13 -13
- package/dist/chunks/{location-sa3fpqfw.js → schema-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-cm18kf9d.js → schema-sgq8g3gm.js} +18 -18
- package/dist/chunks/{location-j1pnkskb.js → schema-sj028wv8.js} +9 -9
- package/dist/chunks/{location-va0kemka.js → schema-snr8m60h.js} +3 -3
- package/dist/chunks/{location-zzc7mygy.js → schema-srcgv9w3.js} +50 -50
- package/dist/chunks/{location-svcy3p9a.js → schema-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-r20zdgj9.js → schema-sx385end.js} +5 -5
- package/dist/chunks/{location-4c7peeks.js → schema-t1bgdn1k.js} +21 -21
- package/dist/chunks/{location-w62z9fyd.js → schema-t8kxmwy5.js} +3 -3
- package/dist/chunks/{location-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-g8tf0a0n.js → schema-tj38cb2g.js} +19 -19
- package/dist/chunks/{location-tmc7xdjs.js → schema-tmc7xdjs.js} +1 -1
- package/dist/chunks/{location-twssxy5n.js → schema-twssxy5n.js} +2 -2
- package/dist/chunks/{location-qf791z7a.js → schema-v23js2jf.js} +24 -24
- package/dist/chunks/{location-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-f5vve9yn.js → schema-vce9hmvv.js} +8 -8
- package/dist/chunks/{location-662rk1k7.js → schema-vhvv8ez0.js} +4 -4
- package/dist/chunks/{location-9p40vjn2.js → schema-vnyx9vg6.js} +6 -6
- package/dist/chunks/{location-ysnxehz4.js → schema-vp8rtqyg.js} +18 -18
- package/dist/chunks/{location-pa2rdw4x.js → schema-vqntchmx.js} +20 -20
- package/dist/chunks/{location-scgs57d2.js → schema-vtbv1fva.js} +17 -17
- package/dist/chunks/{location-78m9g99c.js → schema-vtkbdejs.js} +33 -33
- package/dist/chunks/{location-3jwa21mm.js → schema-vybksbky.js} +22 -22
- package/dist/chunks/{location-fdjpgvma.js → schema-vz2va2d1.js} +21 -21
- package/dist/chunks/{location-wrd39zd3.js → schema-vzmjdaw1.js} +9 -9
- package/dist/chunks/{location-kytj30gb.js → schema-w11ey1wa.js} +11 -11
- package/dist/chunks/{location-s7kyse9r.js → schema-w35wzz9x.js} +4 -4
- package/dist/chunks/{location-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-fznmdakp.js → schema-w687dnns.js} +4 -4
- package/dist/chunks/{location-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{location-mw7rhp6d.js → schema-wdcvs2c8.js} +47 -47
- package/dist/chunks/{location-wegkxhrn.js → schema-wegkxhrn.js} +2 -2
- package/dist/chunks/{location-wnhgecwx.js → schema-wnhgecwx.js} +1 -1
- package/dist/chunks/{location-gk8yz1wb.js → schema-wvwyjhqj.js} +15 -15
- package/dist/chunks/{location-xhz7bc8m.js → schema-wwr5b8zq.js} +13 -13
- package/dist/chunks/{location-nesyvdwa.js → schema-wymh8p0v.js} +1 -1
- package/dist/chunks/{location-qnghve6e.js → schema-wzwsv8q3.js} +8 -8
- package/dist/chunks/{location-q1abnwp6.js → schema-x7sbefsh.js} +18 -18
- package/dist/chunks/{location-tfgkb3f6.js → schema-x7sgwrtq.js} +33 -33
- package/dist/chunks/{location-jbbta00e.js → schema-xa8sgekr.js} +1 -1
- package/dist/chunks/{location-gxt6edwm.js → schema-xg9fc39m.js} +27 -27
- package/dist/chunks/{location-bd1zsfw8.js → schema-xjhaxcdd.js} +12 -12
- package/dist/chunks/{location-5wsenn9a.js → schema-xnw40tj7.js} +18 -18
- package/dist/chunks/{location-e71bb87j.js → schema-xrc3640n.js} +8 -8
- package/dist/chunks/{location-s6h2s3rz.js → schema-xymnhqkr.js} +4 -4
- package/dist/chunks/{location-5pq7k0xn.js → schema-y1hrmxtq.js} +25 -25
- package/dist/chunks/{location-vpndcmkw.js → schema-yaf14s91.js} +29 -29
- package/dist/chunks/{location-yara3q77.js → schema-yara3q77.js} +2 -2
- package/dist/chunks/{location-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-vfgkptxa.js → schema-yfmps5ht.js} +17 -17
- package/dist/chunks/{location-2f6y3wyx.js → schema-ypzz06n9.js} +8 -8
- package/dist/chunks/{location-5225t9m9.js → schema-yv3czy6n.js} +27 -27
- package/dist/chunks/{location-v3swpve8.js → schema-zasfh7e5.js} +17 -17
- package/dist/chunks/{location-k2034wbj.js → schema-zbwmzx6w.js} +43 -43
- package/dist/chunks/{location-rp03b2v5.js → schema-zes4xa3j.js} +6 -6
- package/dist/chunks/{location-dn2kncps.js → schema-zr8qtytk.js} +3 -3
- package/dist/chunks/{location-agx6da5f.js → schema-ztatdthy.js} +45 -45
- package/dist/chunks/{location-e45fk36t.js → schema-ztf6n3de.js} +4 -4
- package/dist/chunks/{location-vwmyycjt.js → schema-zvmapj1s.js} +11 -11
- package/dist/chunks/{location-xwswqzhk.js → schema-zvwzcwk0.js} +8 -8
- package/dist/chunks/{location-zhh0qxkb.js → schema-zvyj7mkg.js} +33 -33
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +149 -149
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +93 -93
- package/dist/config/discovery.js +94 -94
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +129 -129
- package/dist/config/plugin/command.js +226 -226
- package/dist/config/plugin/compaction.js +169 -169
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +129 -129
- package/dist/config/plugin/mcp.js +136 -136
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +128 -128
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +132 -132
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -93
- package/dist/database/database.js +76 -76
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +104 -104
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +392 -392
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +105 -105
- 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 +84 -84
- package/dist/file-access.js +155 -155
- package/dist/file-mutation.js +106 -106
- 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/file-watch.js +90 -90
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +239 -239
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +99 -99
- package/dist/generate.js +119 -119
- package/dist/git.js +11 -11
- 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 +103 -103
- 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/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +383 -383
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +97 -97
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +173 -173
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +380 -380
- package/dist/location.js +99 -99
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +121 -121
- package/dist/mcp/instructions.js +177 -177
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +90 -90
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +148 -148
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +98 -98
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +84 -84
- package/dist/plugin/command.js +112 -112
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +232 -232
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +359 -359
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +126 -126
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +127 -127
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +131 -131
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +136 -136
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +146 -146
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +367 -367
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +239 -239
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +100 -100
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +108 -108
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +237 -237
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +245 -245
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +196 -196
- package/dist/session/diff.js +100 -100
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +243 -243
- package/dist/session/execution.js +159 -159
- package/dist/session/generate.js +196 -196
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +144 -144
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -140
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -166
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +246 -246
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +159 -159
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +177 -177
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +146 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +83 -83
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +226 -226
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +200 -200
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +237 -237
- package/dist/session/usage.js +1 -1
- package/dist/session.js +228 -228
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +149 -149
- package/dist/snapshot.js +101 -101
- 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 +176 -176
- package/dist/tool/plugin/edit.js +161 -161
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +167 -167
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +236 -236
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +163 -163
- package/dist/tool/plugin/question.js +143 -143
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +243 -243
- package/dist/tool/plugin/shell.js +232 -232
- package/dist/tool/plugin/skill.js +152 -152
- package/dist/tool/plugin/subagent.js +233 -233
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +161 -161
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +157 -157
- package/dist/usage-limits.js +99 -99
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -104
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +100 -100
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +112 -112
- package/package.json +8 -8
- package/dist/chunks/location-ev660z6k.js +0 -18
- package/dist/chunks/location-hwkge4a4.js +0 -26
- package/dist/chunks/location-n30bqkse.js +0 -257
- /package/dist/chunks/{location-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kah00gy.js → schema-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → schema-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5w3e23ze.js → schema-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-7stb81gk.js → schema-7stb81gk.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a058387c.js → schema-a058387c.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-beh6qq61.js → schema-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cqv5kn06.js → schema-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ean2d8b5.js → schema-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fkpq3x5p.js → schema-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jwr30sdr.js → schema-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → schema-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-ncqqe42p.js → schema-ncqqe42p.js} +0 -0
- /package/dist/chunks/{location-nh4v3znn.js → schema-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-p71gwv9c.js → schema-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-stkk57rt.js → schema-stkk57rt.js} +0 -0
- /package/dist/chunks/{location-t03h4f5z.js → schema-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-ty7weeps.js → schema-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured10,
|
|
11
|
+
layer: () => layer27,
|
|
12
|
+
make: () => make20,
|
|
13
|
+
node: () => node80,
|
|
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: () => make20()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make20(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make18(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer27 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
|
+
var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer27(input), deps: [] });
|
|
33
|
+
var node80 = configured10();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer27, configured10, node80, exports_app };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-01kh9xtm.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make7 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make4 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make7();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make7, LMStudioPlugin2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-034tev2y.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { blob, sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-drfa0kca.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service84,
|
|
8
|
+
node88
|
|
9
|
+
} from "./schema-1p3hqer1.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-p015t6z3.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-dxf17875.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service67,
|
|
21
|
+
node69
|
|
22
|
+
} from "./schema-7znc2ak6.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service21,
|
|
25
|
+
node24
|
|
26
|
+
} from "./schema-1ry6nyrb.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-r542h3bh.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service10,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node12
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service10 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
76
|
-
const bus = yield*
|
|
75
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
76
|
+
const bus = yield* Service84;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service21;
|
|
79
|
+
const store = yield* Service67;
|
|
80
80
|
const db = (yield* Service87).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service10.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
167
|
-
layer:
|
|
168
|
-
deps: [
|
|
165
|
+
var node12 = makeLocationNode({
|
|
166
|
+
service: Service10,
|
|
167
|
+
layer: layer7,
|
|
168
|
+
deps: [node88, llmClient2, node24, node69, node91]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service10, isUntitled2, layer7, node12, exports_title };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service31,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service31 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service31.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service31, awaitActivation2, exports_service };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make15 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -79,4 +79,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
79
79
|
return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { make15, exports_run_coordinator };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-bam9qj5c.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-a6vzdybk.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent = {};
|
|
12
12
|
__export(exports_agent, {
|
|
13
13
|
AgentPlugin: () => exports_agent,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin16
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin16 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin12 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID10.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID10.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID10.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID10.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID10.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin12 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin16, exports_agent };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-drfa0kca.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./schema-6sqa993f.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-me0dhgxs.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service68
|
|
15
|
+
} from "./schema-r4zhn8a3.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-7wfak81m.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-esk39185.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service64
|
|
30
|
+
} from "./schema-vp8rtqyg.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service68;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service64;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -141,7 +141,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
141
141
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
142
142
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
143
143
|
return { data: Base64.make(data), mime };
|
|
144
|
-
const image = yield*
|
|
144
|
+
const image = yield* Service48;
|
|
145
145
|
const label = attachmentLabel(input);
|
|
146
146
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
147
147
|
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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service84,
|
|
4
|
+
node88
|
|
5
|
+
} from "./schema-1p3hqer1.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-qqpbcr2p.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-204s3925.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event7,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
26
|
+
Options: () => Options4,
|
|
27
|
+
Service: () => Service42,
|
|
28
|
+
configured: () => configured5,
|
|
29
|
+
layer: () => layer19,
|
|
30
|
+
node: () => node45
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -38,19 +38,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
38
38
|
}) {
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
|
-
var key =
|
|
42
|
-
var
|
|
41
|
+
var key = Key3.make("core/instructions");
|
|
42
|
+
var Event7 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options4 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service42 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer19 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service84;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -69,9 +69,9 @@ var layer23 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make19({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer23 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service42.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer23 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured5(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
108
|
-
deps: [
|
|
106
|
+
service: Service42,
|
|
107
|
+
layer: layer19(options),
|
|
108
|
+
deps: [node88]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node45 = configured5();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2,
|
|
142
|
+
export { File2, Event7, Options4, Service42, layer19, configured5, node45, exports_instruction_discovery };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./schema-nb79qexc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./schema-wdcvs2c8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./schema-54whx9vj.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-hpg1pkwy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin25
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin25 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service69;
|
|
34
|
+
const location = yield* Service81;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service55;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin47 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin25, exports_worktree };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service84,
|
|
4
|
+
node88
|
|
5
|
+
} from "./schema-1p3hqer1.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
@@ -23,7 +23,7 @@ var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
|
23
23
|
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
25
|
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
|
-
const bus = yield*
|
|
26
|
+
const bus = yield* Service84;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
29
|
return Service3.of({
|
|
@@ -33,6 +33,6 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node88] });
|
|
37
37
|
|
|
38
38
|
export { Updated2, Service3, layer4, node4, exports_sdk };
|