@opencode/core 0.0.0-dev-21703 → 0.0.0-dev-21708
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{vcs-99cj8zr2.js → agent-00n6seg6.js} +35 -35
- package/dist/chunks/{vcs-pbtkdcp0.js → agent-01crwgf8.js} +7 -7
- package/dist/chunks/{vcs-v34k8dr0.js → agent-02kv643b.js} +17 -17
- package/dist/chunks/{vcs-034tev2y.js → agent-034tev2y.js} +2 -2
- package/dist/chunks/{vcs-vb9pfrew.js → agent-036gtng7.js} +10 -10
- package/dist/chunks/{vcs-cw16pp1j.js → agent-0aydfmfd.js} +12 -12
- package/dist/chunks/{vcs-6f6h7c2t.js → agent-0bxps2dt.js} +30 -30
- package/dist/chunks/{vcs-v0yw3gr0.js → agent-0cpnqkys.js} +5 -5
- package/dist/chunks/{vcs-fznmdakp.js → agent-0h8y3ex8.js} +4 -4
- package/dist/chunks/{vcs-n39q19g8.js → agent-0p88zpcm.js} +4 -4
- package/dist/chunks/{vcs-3yws84f3.js → agent-0pes53yc.js} +45 -45
- package/dist/chunks/{vcs-71v1yb5p.js → agent-0teydma5.js} +17 -17
- package/dist/chunks/{vcs-1ep2p91f.js → agent-1ep2p91f.js} +2 -2
- package/dist/chunks/{vcs-c5c0bz0t.js → agent-1q5awywt.js} +5 -5
- package/dist/chunks/{vcs-34zfme1g.js → agent-1vpzeawt.js} +20 -20
- package/dist/chunks/{vcs-1x2knyw4.js → agent-1x2knyw4.js} +1 -1
- package/dist/chunks/{vcs-1y0wdj51.js → agent-1y0wdj51.js} +1 -1
- package/dist/chunks/{vcs-hnacnv9c.js → agent-1zsaqb4r.js} +9 -9
- package/dist/chunks/{vcs-46qzr04y.js → agent-2cxr0spy.js} +14 -14
- package/dist/chunks/{vcs-5hvygcnt.js → agent-2fhsvw3b.js} +10 -10
- package/dist/chunks/{vcs-530a82th.js → agent-2j4fkc1b.js} +11 -11
- package/dist/chunks/{vcs-b1zh1j4f.js → agent-2rb0wgje.js} +61 -61
- package/dist/chunks/{vcs-gag6a473.js → agent-2yj94xj3.js} +13 -13
- package/dist/chunks/{vcs-2z1j29yd.js → agent-2z1j29yd.js} +1 -1
- package/dist/chunks/{vcs-jw20qntp.js → agent-30wk5qzn.js} +5 -5
- package/dist/chunks/{vcs-hch4wa3n.js → agent-34s5tdcd.js} +4 -4
- package/dist/chunks/{vcs-bgwvksk6.js → agent-3e6zmnwb.js} +19 -19
- package/dist/chunks/{vcs-ff97cw60.js → agent-3fq3g97k.js} +4 -4
- package/dist/chunks/{vcs-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-254hq818.js → agent-3hg15haz.js} +48 -48
- package/dist/chunks/{vcs-3nnrz6f6.js → agent-3nnrz6f6.js} +1 -1
- package/dist/chunks/{vcs-3wffcd5s.js → agent-3s89fne6.js} +22 -22
- package/dist/chunks/{vcs-tbynrmzc.js → agent-3wx5r2aw.js} +87 -87
- package/dist/chunks/{vcs-dyg9d8gn.js → agent-43pxryb4.js} +33 -33
- package/dist/chunks/{vcs-hdmztdx8.js → agent-45wkcxp1.js} +23 -23
- package/dist/chunks/{vcs-ex08epxr.js → agent-4edy420v.js} +9 -9
- package/dist/chunks/{vcs-jmdhtxe0.js → agent-4fqqg07t.js} +32 -32
- package/dist/chunks/{vcs-vt7gs0sa.js → agent-4n19pvv2.js} +28 -28
- package/dist/chunks/{vcs-g8q9wv7c.js → agent-4q4hrjc3.js} +11 -11
- package/dist/chunks/{vcs-4v008n1t.js → agent-4v008n1t.js} +1 -1
- package/dist/chunks/{vcs-4xvmh7wp.js → agent-4xvmh7wp.js} +3 -3
- package/dist/chunks/{vcs-5x8br9fm.js → agent-5465mdww.js} +26 -26
- package/dist/chunks/{vcs-z61xbmm9.js → agent-58wwcftr.js} +16 -16
- package/dist/chunks/{vcs-kn7j2k6k.js → agent-5agv5pnb.js} +9 -9
- package/dist/chunks/{vcs-1r2244sv.js → agent-5e5fd4m6.js} +5 -5
- package/dist/chunks/{vcs-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-bnjqvjjm.js → agent-5pr0e8th.js} +5 -5
- package/dist/chunks/{vcs-ep7q3v7p.js → agent-5sgdhf0y.js} +50 -50
- package/dist/chunks/{vcs-abk8akr1.js → agent-5sgw76x3.js} +24 -24
- package/dist/chunks/{vcs-ah756314.js → agent-5vk473bb.js} +14 -14
- package/dist/chunks/{vcs-r47ja65p.js → agent-5y6gyw07.js} +18 -18
- package/dist/chunks/{vcs-87rf06dy.js → agent-5zmew617.js} +27 -27
- package/dist/chunks/{vcs-p7vhpwh8.js → agent-5zrxpy3q.js} +5 -5
- package/dist/chunks/{vcs-0rcrzzvr.js → agent-605j6g36.js} +35 -35
- package/dist/chunks/{vcs-6esdw8yj.js → agent-6esdw8yj.js} +1 -1
- package/dist/chunks/{vcs-6pjqjmy2.js → agent-6pjqjmy2.js} +1 -1
- package/dist/chunks/{vcs-2fmpy7yj.js → agent-6rgwxkf7.js} +18 -18
- package/dist/chunks/{vcs-68t33k5k.js → agent-6t50jf2k.js} +15 -15
- package/dist/chunks/{vcs-7fyt61ge.js → agent-6w1z0ptf.js} +4 -4
- package/dist/chunks/{vcs-42b1cham.js → agent-70e5j6cm.js} +26 -26
- package/dist/chunks/{vcs-xkmedc5t.js → agent-731c8v1k.js} +42 -42
- package/dist/chunks/{vcs-w8qtt4th.js → agent-76cb1hcw.js} +4 -4
- package/dist/chunks/{vcs-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-3gvxgqww.js → agent-7df5b9k0.js} +27 -27
- package/dist/chunks/{vcs-p63vsd4p.js → agent-7fhznn00.js} +37 -37
- package/dist/chunks/{vcs-1zjbdtxw.js → agent-7kaqzwxm.js} +14 -14
- package/dist/chunks/{vcs-6fg5chfs.js → agent-7kk9vmc1.js} +31 -31
- package/dist/chunks/{vcs-q15q0jep.js → agent-7mw2rj4h.js} +9 -9
- package/dist/chunks/{vcs-7w2ypzdf.js → agent-7w2ypzdf.js} +1 -1
- package/dist/chunks/{vcs-xqvtd8tg.js → agent-81g59q3k.js} +4 -4
- package/dist/chunks/{vcs-536wrdac.js → agent-83xm0yd3.js} +11 -11
- package/dist/chunks/{vcs-mvpchj3s.js → agent-84rbnah8.js} +24 -24
- package/dist/chunks/{vcs-6b49fqw0.js → agent-860hyfcr.js} +17 -17
- package/dist/chunks/{vcs-5t6a11tz.js → agent-8avgn4nh.js} +20 -20
- package/dist/chunks/{vcs-qjgzc4b4.js → agent-8jztxfpf.js} +4 -4
- package/dist/chunks/{vcs-c3wzxa47.js → agent-8k8r57g4.js} +8 -8
- package/dist/chunks/{vcs-8wtp7s3z.js → agent-8wtp7s3z.js} +1 -1
- package/dist/chunks/{vcs-3ze3q6mf.js → agent-8yms0qqj.js} +11 -11
- package/dist/chunks/{vcs-91rj84md.js → agent-91rj84md.js} +1 -1
- package/dist/chunks/{vcs-998yhzzq.js → agent-998yhzzq.js} +3 -3
- package/dist/chunks/{vcs-s20e5wsv.js → agent-9egmy7ex.js} +35 -35
- package/dist/chunks/{vcs-kxcz00f7.js → agent-9mea8krd.js} +21 -21
- package/dist/chunks/{vcs-zpxa3g5c.js → agent-9q3bjtf0.js} +20 -20
- package/dist/chunks/{vcs-pja5mqfm.js → agent-9q7rnr6m.js} +9 -9
- package/dist/chunks/{vcs-yqtnzwzq.js → agent-a56egb6w.js} +5 -5
- package/dist/chunks/{vcs-qc5pkzrw.js → agent-ab61cr6d.js} +14 -14
- package/dist/chunks/{vcs-07zevav5.js → agent-ac2jg0km.js} +53 -53
- package/dist/chunks/{vcs-dgeqmw5w.js → agent-asx4crfn.js} +28 -28
- package/dist/chunks/{vcs-jjs45sef.js → agent-awmbx144.js} +13 -13
- package/dist/chunks/{vcs-ayjs7tqn.js → agent-ayjs7tqn.js} +2 -2
- package/dist/chunks/{vcs-2b76hbf1.js → agent-aywq2m6b.js} +11 -11
- package/dist/chunks/{vcs-b0mv4wxm.js → agent-b0mv4wxm.js} +2 -2
- package/dist/chunks/{vcs-f931xhwa.js → agent-b39xeefv.js} +37 -37
- package/dist/chunks/{vcs-b50rsrab.js → agent-b50rsrab.js} +2 -2
- package/dist/chunks/{vcs-b6vsg801.js → agent-b6vsg801.js} +2 -2
- package/dist/chunks/{vcs-jjec1xd0.js → agent-b7mz4wb4.js} +2 -2
- package/dist/chunks/{vcs-d9msb9sj.js → agent-ba699vex.js} +15 -15
- package/dist/chunks/{vcs-eeb2rd94.js → agent-bc3gms31.js} +21 -21
- package/dist/chunks/{vcs-bstexjd6.js → agent-bstexjd6.js} +1 -1
- package/dist/chunks/{vcs-rek8exz1.js → agent-c1nwn41d.js} +32 -32
- package/dist/chunks/{vcs-exm49mxx.js → agent-c22xs6zs.js} +11 -11
- package/dist/chunks/{vcs-c3cfh5w6.js → agent-c3cfh5w6.js} +2 -2
- package/dist/chunks/{vcs-1kt6mkhz.js → agent-c9nnf1dt.js} +7 -7
- package/dist/chunks/{vcs-c9t2ty9q.js → agent-c9t2ty9q.js} +1 -1
- package/dist/chunks/{vcs-vpnrak8v.js → agent-cb7xvab4.js} +20 -20
- package/dist/chunks/{vcs-deqy3kpa.js → agent-cbva7xm7.js} +22 -22
- package/dist/chunks/{vcs-btxkkvbe.js → agent-cn8d63zf.js} +8 -8
- package/dist/chunks/{vcs-41sv4bbj.js → agent-cr8qxe6d.js} +16 -16
- package/dist/chunks/{vcs-9mere5t7.js → agent-cv2j9yha.js} +13 -13
- package/dist/chunks/{vcs-h4tb54mh.js → agent-cw4wsck5.js} +21 -21
- package/dist/chunks/{vcs-1t40x6tf.js → agent-d2jy9c0j.js} +4 -4
- package/dist/chunks/{vcs-d4v9tmah.js → agent-d4v9tmah.js} +2 -2
- package/dist/chunks/{vcs-7jxjvf9t.js → agent-d8mgxzbr.js} +32 -32
- package/dist/chunks/{vcs-nfggw9da.js → agent-dwm0n3p0.js} +5 -5
- package/dist/chunks/{vcs-8vh6kwmg.js → agent-dy4xqx41.js} +50 -50
- package/dist/chunks/{vcs-kwc19jgx.js → agent-dza0thjn.js} +18 -18
- package/dist/chunks/{vcs-m22273wf.js → agent-e1x5hgfw.js} +3 -3
- package/dist/chunks/{vcs-vs6edpr4.js → agent-e1yvprzr.js} +24 -24
- package/dist/chunks/{vcs-kdjksvwe.js → agent-e3cpefx3.js} +30 -30
- package/dist/chunks/{vcs-9p9xqj3m.js → agent-e5dqjz6v.js} +8 -8
- package/dist/chunks/{vcs-e834z07m.js → agent-e834z07m.js} +1 -1
- package/dist/chunks/{vcs-skwe01yc.js → agent-ea9qy1vr.js} +22 -22
- package/dist/chunks/{vcs-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-maar8wck.js → agent-egqc00n5.js} +9 -9
- package/dist/chunks/{vcs-b5g50cq8.js → agent-ejyk05z4.js} +23 -23
- package/dist/chunks/{vcs-kmzgegqq.js → agent-enkpkfwx.js} +8 -8
- package/dist/chunks/{vcs-eq3fc1qc.js → agent-eq3fc1qc.js} +2 -2
- package/dist/chunks/{vcs-7cx8wp0a.js → agent-eqh43b5v.js} +9 -9
- package/dist/chunks/{vcs-d3r8edvw.js → agent-ercvtcgz.js} +4 -4
- package/dist/chunks/{vcs-h3b857xk.js → agent-erjptbv1.js} +4 -4
- package/dist/chunks/{vcs-yqpwreg0.js → agent-et6331cw.js} +47 -47
- package/dist/chunks/{vcs-n3bkb5q1.js → agent-ez1g32xq.js} +8 -8
- package/dist/chunks/{vcs-pg0ng17h.js → agent-f3xvtd5f.js} +14 -14
- package/dist/chunks/{vcs-8zyq9cqv.js → agent-f56tfzs6.js} +344 -344
- package/dist/chunks/{vcs-fffv3p7h.js → agent-fffv3p7h.js} +1 -1
- package/dist/chunks/{vcs-9cbnrx2n.js → agent-fp2kss3x.js} +6 -6
- package/dist/chunks/{vcs-n9tasrvf.js → agent-g0mjfn9f.js} +12 -12
- package/dist/chunks/{vcs-vzmjdaw1.js → agent-g1ay4zd8.js} +9 -9
- package/dist/chunks/{vcs-g5h9c0rr.js → agent-g5h9c0rr.js} +2 -2
- package/dist/chunks/{vcs-pe8zxjjb.js → agent-g7yg2z4y.js} +8 -8
- package/dist/chunks/{vcs-baw7bc8n.js → agent-g9jwm955.js} +1 -1
- package/dist/chunks/agent-gbftmgpj.js +26 -0
- package/dist/chunks/{vcs-rmt6m6se.js → agent-gcjdgkn2.js} +9 -9
- package/dist/chunks/{vcs-1crk60dk.js → agent-gm52qjxn.js} +15 -15
- package/dist/chunks/{vcs-2cyz7x39.js → agent-gtwwf5qc.js} +24 -24
- package/dist/chunks/{vcs-jtp9x085.js → agent-gwff6e0f.js} +26 -26
- package/dist/chunks/{vcs-pe678q2q.js → agent-h84cj61w.js} +2 -2
- package/dist/chunks/{vcs-38h2fn7g.js → agent-hm143rc2.js} +3 -3
- package/dist/chunks/{vcs-en4cswrv.js → agent-ht7bz1sv.js} +25 -25
- package/dist/chunks/{vcs-j113cymg.js → agent-j113cymg.js} +1 -1
- package/dist/chunks/{vcs-ayg1wwbx.js → agent-j5pyptyp.js} +25 -25
- package/dist/chunks/{vcs-ftn2x50x.js → agent-j8ka3dj3.js} +33 -33
- package/dist/chunks/{vcs-90n99h22.js → agent-jmt4g3es.js} +6 -6
- package/dist/chunks/{vcs-cps5zgbh.js → agent-k5g4ndkg.js} +38 -38
- package/dist/chunks/{vcs-k814nvkf.js → agent-k814nvkf.js} +1 -1
- package/dist/chunks/{vcs-2dzqnr5m.js → agent-k8sgxmwq.js} +29 -29
- package/dist/chunks/{vcs-8c677wsw.js → agent-kwwqhmte.js} +31 -31
- package/dist/chunks/{vcs-m1714858.js → agent-m1714858.js} +1 -1
- package/dist/chunks/{vcs-ggbcva3z.js → agent-m96zp2x3.js} +5 -5
- package/dist/chunks/{vcs-0xfwnfde.js → agent-m9tz8kfk.js} +18 -18
- package/dist/chunks/{vcs-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-maspj1v3.js → agent-maspj1v3.js} +1 -1
- package/dist/chunks/{vcs-rcbk8nhg.js → agent-mkr1zw4c.js} +25 -25
- package/dist/chunks/{vcs-7c486ac5.js → agent-mv2fkptf.js} +8 -8
- package/dist/chunks/{vcs-v94mhwh5.js → agent-mvrp1pf2.js} +13 -13
- package/dist/chunks/{vcs-jrtmv02s.js → agent-mwam2bxf.js} +24 -24
- package/dist/chunks/{vcs-3bhgvgs9.js → agent-my1p2r7g.js} +22 -22
- package/dist/chunks/{vcs-n0p0277s.js → agent-n0p0277s.js} +1 -1
- package/dist/chunks/{vcs-wtk09v7c.js → agent-n7j6jkwh.js} +24 -24
- package/dist/chunks/{vcs-rdsms1bd.js → agent-nae82sp2.js} +25 -25
- package/dist/chunks/{vcs-770pw0s1.js → agent-nah043kf.js} +4 -4
- package/dist/chunks/{vcs-yxdc7d4s.js → agent-nbwnjq76.js} +8 -8
- package/dist/chunks/{vcs-jcd0g2s4.js → agent-njstssvg.js} +20 -20
- package/dist/chunks/{vcs-dbqrmbed.js → agent-npyprqtv.js} +6 -6
- package/dist/chunks/{vcs-tw1cfj00.js → agent-nq3tx4x1.js} +44 -44
- package/dist/chunks/{vcs-vdc7b2sf.js → agent-nt0vz67d.js} +11 -11
- package/dist/chunks/{vcs-qz7bsaqe.js → agent-nwvcypp6.js} +11 -11
- package/dist/chunks/{vcs-p015t6z3.js → agent-p015t6z3.js} +2 -2
- package/dist/chunks/{vcs-dh62xe4r.js → agent-pc1v25hk.js} +3 -3
- package/dist/chunks/{vcs-bbkbvbs4.js → agent-pdjy0dkv.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-f1kyj18j.js → agent-prpkhwe7.js} +55 -55
- package/dist/chunks/{vcs-aypkeb6d.js → agent-pwb927wa.js} +89 -89
- package/dist/chunks/{vcs-48kw51zw.js → agent-pyzjd10w.js} +3 -3
- package/dist/chunks/{vcs-ggkz6eda.js → agent-q2dycjj6.js} +9 -9
- package/dist/chunks/{vcs-10ygv7zj.js → agent-q431msev.js} +9 -9
- package/dist/chunks/{vcs-s12jh10e.js → agent-q6vmwcr3.js} +8 -8
- package/dist/chunks/{vcs-m5fkg57x.js → agent-qa2bc9h6.js} +33 -33
- package/dist/chunks/{vcs-m68y8hd5.js → agent-qdjpasa6.js} +17 -17
- package/dist/chunks/{vcs-vh9aq6dc.js → agent-qe4f2n8q.js} +28 -28
- package/dist/chunks/{vcs-xxjtdm9r.js → agent-qps3wf85.js} +11 -11
- package/dist/chunks/{vcs-gkt35az7.js → agent-qrsf94hb.js} +14 -14
- package/dist/chunks/agent-qsxt5pmn.js +257 -0
- package/dist/chunks/{vcs-r0yr0wbs.js → agent-r0yr0wbs.js} +1 -1
- package/dist/chunks/{vcs-m33a7njg.js → agent-r649t70p.js} +34 -34
- package/dist/chunks/{vcs-8xw1gbxj.js → agent-r6g963jp.js} +25 -25
- package/dist/chunks/{vcs-r1k9m3eb.js → agent-r6wgv8c9.js} +4 -4
- package/dist/chunks/{vcs-5q1dgqbh.js → agent-r8vff35f.js} +36 -36
- package/dist/chunks/{vcs-szbkmyzk.js → agent-r9jvn0me.js} +19 -19
- package/dist/chunks/{vcs-rb9dy4dg.js → agent-rb9dy4dg.js} +1 -1
- package/dist/chunks/{vcs-pz16wjas.js → agent-rm4sw271.js} +4 -4
- package/dist/chunks/{vcs-5ahgw1dr.js → agent-rpd03b69.js} +15 -15
- package/dist/chunks/{vcs-rt5dr6hb.js → agent-rt5dr6hb.js} +1 -1
- package/dist/chunks/{vcs-0rq01gt9.js → agent-s1cekj41.js} +5 -5
- package/dist/chunks/{vcs-6s6a40zb.js → agent-s5ckv70a.js} +13 -13
- package/dist/chunks/{vcs-ar2j3j0f.js → agent-s626qfae.js} +4 -4
- package/dist/chunks/{vcs-azfbc7ga.js → agent-sdskc420.js} +187 -187
- package/dist/chunks/{vcs-k0nmcfh6.js → agent-se8z0af6.js} +4 -4
- package/dist/chunks/{vcs-dtqdhp9c.js → agent-sfayrj8h.js} +15 -15
- package/dist/chunks/{vcs-bmvcqawa.js → agent-sg8mkp01.js} +47 -47
- package/dist/chunks/{vcs-k46f9xjt.js → agent-shygem95.js} +22 -22
- package/dist/chunks/{vcs-a7hcemwv.js → agent-spa8vgy8.js} +6 -6
- package/dist/chunks/{vcs-sqjzf8x2.js → agent-sqjzf8x2.js} +1 -1
- package/dist/chunks/{vcs-v9085ex6.js → agent-syd85nze.js} +4 -4
- package/dist/chunks/{vcs-j75hfe7b.js → agent-t34k7vdx.js} +23 -23
- package/dist/chunks/{vcs-t8v8tvff.js → agent-t81h9cx6.js} +23 -23
- package/dist/chunks/{vcs-dzznqqbs.js → agent-tbmp9t5p.js} +12 -12
- package/dist/chunks/{vcs-4ytg8f8f.js → agent-tc4kyz8e.js} +2 -2
- package/dist/chunks/{vcs-tczq8hjw.js → agent-tczq8hjw.js} +1 -1
- package/dist/chunks/{vcs-mhmq597p.js → agent-tf78gtve.js} +17 -17
- package/dist/chunks/{vcs-e553kem5.js → agent-tha6crsv.js} +21 -21
- package/dist/chunks/{vcs-kw8s18nw.js → agent-tr53db22.js} +38 -38
- package/dist/chunks/{vcs-tw8zr1ps.js → agent-tw8zr1ps.js} +1 -1
- package/dist/chunks/{vcs-twv2r8f4.js → agent-twv2r8f4.js} +2 -2
- package/dist/chunks/{vcs-xpmys0j9.js → agent-tybz541q.js} +25 -25
- package/dist/chunks/{vcs-v60pntgq.js → agent-tzwfb695.js} +33 -33
- package/dist/chunks/{vcs-v2r1d0zg.js → agent-v2r1d0zg.js} +1 -1
- package/dist/chunks/{vcs-dbya8kmy.js → agent-v6pnwzcj.js} +77 -77
- package/dist/chunks/{vcs-wsf6rpby.js → agent-v7v3rrns.js} +9 -9
- package/dist/chunks/{vcs-q11fyp6d.js → agent-v8w832qv.js} +19 -19
- package/dist/chunks/{vcs-vd3b3yk9.js → agent-vd3b3yk9.js} +1 -1
- package/dist/chunks/{vcs-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-g7esga4v.js → agent-vmfhgzt5.js} +5 -5
- package/dist/chunks/{vcs-gbv88pv7.js → agent-vq55ta2w.js} +12 -12
- package/dist/chunks/{vcs-hx7vxw9c.js → agent-vwac03cp.js} +6 -6
- package/dist/chunks/{vcs-wjy5h13p.js → agent-vxgn3e9c.js} +16 -16
- package/dist/chunks/{vcs-xg28gvg7.js → agent-w1b192n3.js} +14 -14
- package/dist/chunks/{vcs-kj1j79ct.js → agent-w1w7qgbq.js} +11 -11
- package/dist/chunks/{vcs-40za9wsf.js → agent-w2eysc6j.js} +9 -9
- package/dist/chunks/{vcs-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-dwspvcwq.js → agent-w5t7bbyx.js} +13 -13
- package/dist/chunks/{vcs-cneb3d70.js → agent-w75qjcvt.js} +8 -8
- package/dist/chunks/{vcs-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
- package/dist/chunks/{vcs-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-skfx7z6k.js → agent-wdk09kh3.js} +14 -14
- package/dist/chunks/{vcs-3wyhrqfb.js → agent-wgvnftve.js} +8 -8
- package/dist/chunks/{vcs-wwye013q.js → agent-wmjzvx4b.js} +7 -7
- package/dist/chunks/{vcs-za6w1b0s.js → agent-x1kqdqv8.js} +7 -7
- package/dist/chunks/{vcs-3xhcmk8x.js → agent-x29zv49r.js} +14 -14
- package/dist/chunks/{vcs-8ba3wsfr.js → agent-x7nn8z2j.js} +11 -11
- package/dist/chunks/{vcs-ndxwzmcc.js → agent-xf07g6fp.js} +36 -36
- package/dist/chunks/{vcs-nz2z8868.js → agent-xfrhb91r.js} +41 -41
- package/dist/chunks/{vcs-4qxmg69m.js → agent-xk6cct51.js} +37 -37
- package/dist/chunks/{vcs-x8a5m77f.js → agent-xkv91zbc.js} +22 -22
- package/dist/chunks/{vcs-tasvem1v.js → agent-xkympmbz.js} +6 -6
- package/dist/chunks/{vcs-1wp5yz2q.js → agent-xmdjjv6p.js} +15 -15
- package/dist/chunks/{vcs-wnaab4d3.js → agent-xpx0a1hv.js} +36 -36
- package/dist/chunks/{vcs-prd8gnhb.js → agent-xsact9zs.js} +4 -4
- package/dist/chunks/{vcs-s8vdmeb0.js → agent-xw0c0mqp.js} +10 -10
- package/dist/chunks/{vcs-nqqb3qew.js → agent-xxf3k3sy.js} +14 -14
- package/dist/chunks/{vcs-p3yv1tbb.js → agent-y8hmd8bf.js} +13 -13
- package/dist/chunks/{vcs-k6xzj90s.js → agent-ya0bzcwn.js} +27 -27
- package/dist/chunks/{vcs-yb20nhc3.js → agent-yb20nhc3.js} +1 -1
- package/dist/chunks/{vcs-prajgvp7.js → agent-yhhb56re.js} +16 -16
- package/dist/chunks/{vcs-kj8zjydm.js → agent-yjkkab03.js} +6 -6
- package/dist/chunks/{vcs-b1xsayxh.js → agent-yn9h7jnh.js} +7 -7
- package/dist/chunks/{vcs-xa1dtvk7.js → agent-yqmxxt9c.js} +6 -6
- package/dist/chunks/{vcs-z8nn4snw.js → agent-ysw37sry.js} +47 -47
- package/dist/chunks/{vcs-jqqpsq7t.js → agent-yyd0z27r.js} +17 -17
- package/dist/chunks/{vcs-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-m6qs7jjd.js → agent-z0te8qnm.js} +13 -13
- package/dist/chunks/{vcs-247ftevp.js → agent-z1b9nwea.js} +6 -6
- package/dist/chunks/{vcs-z38nccrw.js → agent-z38nccrw.js} +1 -1
- package/dist/chunks/agent-z7bdqmx5.js +18 -0
- package/dist/chunks/{vcs-njnvzz52.js → agent-z8hxvef0.js} +41 -41
- package/dist/chunks/{vcs-gzphd3qt.js → agent-zav2k54e.js} +4 -4
- package/dist/chunks/{vcs-4239rm3w.js → agent-zcv9t832.js} +20 -20
- package/dist/chunks/{vcs-zkg84ctx.js → agent-zkg84ctx.js} +1 -1
- package/dist/chunks/{vcs-jpq8vy5m.js → agent-zqfy40s7.js} +24 -24
- package/dist/chunks/{vcs-9wdb4fag.js → agent-ztngrg4w.js} +18 -18
- package/dist/chunks/{vcs-vw4tn0tb.js → agent-zxrxde13.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +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 +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +74 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +361 -361
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- 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 +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- 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 +352 -352
- 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 +114 -114
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- 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 +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- 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 +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +139 -139
- 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 +120 -120
- package/dist/tool/plugin/mcp-resource.js +124 -124
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- 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/git-executable.js +2 -2
- 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/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- 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 +102 -102
- package/package.json +8 -8
- package/dist/chunks/vcs-89ps0kn4.js +0 -26
- package/dist/chunks/vcs-ezna1kdx.js +0 -18
- package/dist/chunks/vcs-zrej7bp7.js +0 -257
- /package/dist/chunks/{vcs-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5fjb7ams.js → agent-5fjb7ams.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a058387c.js → agent-a058387c.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-g5h9c0rr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service86,
|
|
9
|
+
node90
|
|
10
|
+
} from "./agent-cv2j9yha.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-8jztxfpf.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node52
|
|
18
|
+
} from "./agent-w75qjcvt.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./agent-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./agent-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID5,
|
|
31
|
+
Info: () => Info7,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service48,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured6,
|
|
36
|
+
node: () => node51
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID5 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info7 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID5,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,25 +52,25 @@ class Info18 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID5,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service48 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured6 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service48,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node90, node52]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
76
76
|
const connections = new Map;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info7({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service48.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID5.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node51 = configured6();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID5, Info7, NotFound2, CreateConflict2, Service48, configured6, node51, exports_workspace };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-x29zv49r.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service81,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node85,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service81 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service81, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node85 = LayerNode.unbound(Service81, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service81;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service81, node85, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./agent-9egmy7ex.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-vwac03cp.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service37
|
|
7
|
+
} from "./agent-qa2bc9h6.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-pyzjd10w.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-yjkkab03.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-998yhzzq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service37;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./agent-vxgn3e9c.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info23,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service76,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer27,
|
|
29
|
+
node: () => node80,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info23 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service76 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer27 = Layer.effect(Service76, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
@@ -90,7 +90,7 @@ var layer26 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer26 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service76.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node80 = makeLocationNode({ service: Service76, layer: layer27, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID15, Info23, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer27, node80, validateAnswer2, validateFields2, exports_form, Event17 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service69,
|
|
3
|
+
node73
|
|
4
|
+
} from "./agent-3s89fne6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service67,
|
|
7
|
+
node71
|
|
8
|
+
} from "./agent-0pes53yc.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-pyzjd10w.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service53,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node56,
|
|
24
24
|
resolved: () => resolved2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service53 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
47
47
|
}
|
|
48
48
|
var resolved2 = (model, options) => ({
|
|
49
49
|
model,
|
|
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
|
|
|
58
58
|
compaction: options.compaction,
|
|
59
59
|
transport: options.transport
|
|
60
60
|
});
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const resolver = yield*
|
|
63
|
-
const agents = yield*
|
|
64
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service67;
|
|
63
|
+
const agents = yield* Service69;
|
|
64
|
+
return Service53.of({
|
|
65
65
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
66
66
|
if (!session.model) {
|
|
67
67
|
const agent = (yield* agents.select(session.agent)).info?.model;
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node56 = makeLocationNode({ service: Service53, layer, deps: [node71, node73] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service53, resolved2, node56, exports_model };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./agent-3s89fne6.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./agent-spa8vgy8.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-ercvtcgz.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service56
|
|
16
|
+
} from "./agent-ac2jg0km.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./agent-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin21
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin21 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service56;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin45 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin21, exports_agent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-nwvcypp6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin34,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin34 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin8 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin8 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin34, exports_tavily };
|