@opencode/core 0.0.0-dev-19877 → 0.0.0-dev-19879
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 +76 -76
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{app-gcq2fxm3.js → model-resolver-06s4385t.js} +12 -12
- package/dist/chunks/{app-s1kvmffy.js → model-resolver-0996nyz8.js} +9 -9
- package/dist/chunks/{app-tb5xxcc9.js → model-resolver-0dnt9ggj.js} +85 -85
- package/dist/chunks/model-resolver-0mesazry.js +4 -0
- package/dist/chunks/{app-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{app-d78xx6qz.js → model-resolver-0vbwh1ma.js} +23 -23
- package/dist/chunks/{app-2npqe2nd.js → model-resolver-1289akr8.js} +37 -37
- package/dist/chunks/{app-hcz3zddy.js → model-resolver-14yjf0x4.js} +5 -5
- package/dist/chunks/{app-pps41de9.js → model-resolver-159hjbtj.js} +10 -10
- package/dist/chunks/{app-azynnvek.js → model-resolver-19rvyxk9.js} +51 -51
- package/dist/chunks/{app-yp2x3t23.js → model-resolver-1acjjqhc.js} +4 -4
- package/dist/chunks/{app-xhpeghz7.js → model-resolver-1anfc26p.js} +10 -10
- package/dist/chunks/{app-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-qfdknrj4.js → model-resolver-1nksd46f.js} +3 -3
- package/dist/chunks/{app-thph1k7c.js → model-resolver-1sejg8v7.js} +32 -32
- package/dist/chunks/{app-3m3qrqke.js → model-resolver-1v112ay2.js} +8 -8
- package/dist/chunks/{app-56gdpj1q.js → model-resolver-1ygqh575.js} +9 -9
- package/dist/chunks/{app-y2nmavtm.js → model-resolver-1zrjt9bj.js} +35 -35
- package/dist/chunks/{app-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{app-6h73sxmp.js → model-resolver-2402vzrj.js} +5 -5
- package/dist/chunks/{app-axtvtek4.js → model-resolver-25m4ah6t.js} +4 -4
- package/dist/chunks/{app-29x78va6.js → model-resolver-29x78va6.js} +2 -2
- package/dist/chunks/{app-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-fab6kdz8.js → model-resolver-2bryg182.js} +16 -16
- package/dist/chunks/{app-jpqzn5nx.js → model-resolver-2c4qhs1k.js} +39 -39
- package/dist/chunks/{app-3b1q5j1v.js → model-resolver-2d57kztd.js} +6 -6
- package/dist/chunks/{app-senw7f5q.js → model-resolver-2ekq1fhc.js} +5 -5
- package/dist/chunks/{app-d0zj62h6.js → model-resolver-2fs90zrh.js} +16 -16
- package/dist/chunks/{app-jzz4kwyh.js → model-resolver-2mjhcg4p.js} +4 -4
- package/dist/chunks/{app-x4e5jp7e.js → model-resolver-2szjhpjf.js} +10 -10
- package/dist/chunks/{app-ddt2bs9e.js → model-resolver-2vs2nh1n.js} +4 -4
- package/dist/chunks/{app-x3qv8ryf.js → model-resolver-36n4n3t4.js} +70 -70
- package/dist/chunks/{app-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-wa17x0f6.js → model-resolver-3tax330k.js} +23 -23
- package/dist/chunks/{app-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-dpfenvj7.js → model-resolver-3vf55zzj.js} +9 -9
- package/dist/chunks/{app-e14sp09f.js → model-resolver-3vm6db06.js} +9 -9
- package/dist/chunks/{app-f5js084j.js → model-resolver-3ye25fqg.js} +18 -18
- package/dist/chunks/{app-yrhthkpk.js → model-resolver-417sk53s.js} +37 -37
- package/dist/chunks/{app-knb7evpn.js → model-resolver-44ke2mar.js} +2 -2
- package/dist/chunks/{app-d9ytdjw8.js → model-resolver-49gs54c4.js} +25 -25
- package/dist/chunks/{app-v7ax49y9.js → model-resolver-4kb9w903.js} +16 -16
- package/dist/chunks/{app-711sgqvm.js → model-resolver-4sfv4160.js} +9 -9
- package/dist/chunks/{app-k27386pf.js → model-resolver-4tb4y58c.js} +27 -27
- package/dist/chunks/{app-zw4pk1bw.js → model-resolver-4v4bfvma.js} +5 -5
- package/dist/chunks/{app-tn0aqsam.js → model-resolver-4xbskmpe.js} +5 -5
- package/dist/chunks/{app-sjgwehbe.js → model-resolver-4xj7jy5m.js} +15 -15
- package/dist/chunks/{app-arndb05z.js → model-resolver-5apets8e.js} +8 -8
- package/dist/chunks/{app-5c4hm403.js → model-resolver-5c4hm403.js} +3 -3
- package/dist/chunks/{app-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{app-014xdmgp.js → model-resolver-5hkrv0vj.js} +23 -23
- package/dist/chunks/{app-5vt9esmq.js → model-resolver-5kn4885k.js} +23 -23
- package/dist/chunks/{app-ebe9bak5.js → model-resolver-5mtzsd3b.js} +4 -4
- package/dist/chunks/{app-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-zc72yjq3.js → model-resolver-616ym9rn.js} +19 -19
- package/dist/chunks/{app-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{app-v1kgz5pa.js → model-resolver-6c0f2qr4.js} +13 -13
- package/dist/chunks/{app-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-jnmfw45r.js → model-resolver-6rhwg9p1.js} +3 -3
- package/dist/chunks/{app-d4awevab.js → model-resolver-6xbvwgke.js} +9 -9
- package/dist/chunks/{app-7b4r5at6.js → model-resolver-6zwjjspm.js} +17 -17
- package/dist/chunks/{app-r5x6zcsm.js → model-resolver-73tb2d7t.js} +3 -3
- package/dist/chunks/{app-h5gvbxth.js → model-resolver-764y3xsx.js} +18 -18
- package/dist/chunks/{app-49yvn64x.js → model-resolver-78mtxkg6.js} +1 -1
- package/dist/chunks/{app-55y9qcck.js → model-resolver-79cfd5na.js} +5 -5
- package/dist/chunks/{app-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-2k8khapm.js → model-resolver-7dqw4kz8.js} +5 -5
- package/dist/chunks/{app-0hr54mt4.js → model-resolver-7f0d2bbc.js} +31 -31
- package/dist/chunks/{app-gfpj78pk.js → model-resolver-7hrt1dkg.js} +4 -4
- package/dist/chunks/{app-x2rmejqt.js → model-resolver-7hxcqsga.js} +16 -16
- package/dist/chunks/{app-ps5kdaeb.js → model-resolver-7v4f4tb8.js} +32 -32
- package/dist/chunks/{app-11823ez3.js → model-resolver-7xhhf2aw.js} +6 -6
- package/dist/chunks/{app-vqn7h5f3.js → model-resolver-84rk7f3f.js} +40 -40
- package/dist/chunks/{app-26ym7a2d.js → model-resolver-88sz8qcd.js} +4 -4
- package/dist/chunks/{app-zswdvhgs.js → model-resolver-88tsvha8.js} +20 -20
- package/dist/chunks/{app-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-57e9z27j.js → model-resolver-8ha6ga5e.js} +5 -5
- package/dist/chunks/{app-y9p6qzzr.js → model-resolver-8hszhpj7.js} +42 -42
- package/dist/chunks/{app-bawrj3b9.js → model-resolver-8pp8jf47.js} +2 -2
- package/dist/chunks/{app-qzjq96ve.js → model-resolver-8wj3mj4g.js} +43 -43
- package/dist/chunks/{app-yrq83nnf.js → model-resolver-939csnrg.js} +16 -16
- package/dist/chunks/{app-9n0txh3w.js → model-resolver-9qw467yc.js} +29 -29
- package/dist/chunks/{app-d0kf8th3.js → model-resolver-9x2zw2dr.js} +11 -11
- package/dist/chunks/{app-ttsb85y1.js → model-resolver-9xk8zs32.js} +7 -7
- package/dist/chunks/{app-7mvfcvez.js → model-resolver-a0b5drbd.js} +21 -21
- package/dist/chunks/{app-swk9pkgd.js → model-resolver-a0qc5mea.js} +11 -11
- package/dist/chunks/{app-876jnmkn.js → model-resolver-a1fb49zt.js} +15 -15
- package/dist/chunks/{app-cz4gxkeh.js → model-resolver-a83wf666.js} +54 -54
- package/dist/chunks/{app-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{app-06r2eyqd.js → model-resolver-aagbmaqd.js} +6 -6
- package/dist/chunks/{app-p29sx5d2.js → model-resolver-abkgffbm.js} +17 -17
- package/dist/chunks/{app-0sa6p4t3.js → model-resolver-adywxnqa.js} +11 -11
- package/dist/chunks/{app-rfdx9aph.js → model-resolver-af80h3am.js} +21 -21
- package/dist/chunks/{app-bdqrk2vk.js → model-resolver-apn8f15b.js} +9 -9
- package/dist/chunks/{app-57ez7d0k.js → model-resolver-awbdwcvp.js} +7 -7
- package/dist/chunks/{app-c2k60acp.js → model-resolver-ax8pt9gw.js} +17 -17
- package/dist/chunks/{app-qmznc2j1.js → model-resolver-b4y5hkjs.js} +32 -32
- package/dist/chunks/{app-7ghxp6dc.js → model-resolver-b52ryf5f.js} +14 -14
- package/dist/chunks/{app-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-gh58188p.js → model-resolver-b70qncxb.js} +15 -15
- package/dist/chunks/{app-yy70n6y7.js → model-resolver-b9swv1kn.js} +31 -31
- package/dist/chunks/{app-3e6x224v.js → model-resolver-bf9gty6t.js} +18 -18
- package/dist/chunks/model-resolver-bffktq59.js +26 -0
- package/dist/chunks/{app-y15xkh2n.js → model-resolver-bhfhzr1m.js} +23 -23
- package/dist/chunks/{app-35w9qdzz.js → model-resolver-brav8yb8.js} +9 -9
- package/dist/chunks/{app-h6jr292a.js → model-resolver-bw03vhcb.js} +4 -4
- package/dist/chunks/{app-915nf07v.js → model-resolver-bz4xne2a.js} +11 -11
- package/dist/chunks/{app-xgpvyysx.js → model-resolver-c06y4pyh.js} +94 -94
- package/dist/chunks/{app-79mnhcfn.js → model-resolver-c27esgm9.js} +8 -8
- package/dist/chunks/{app-7vneq8n3.js → model-resolver-c574q531.js} +10 -10
- package/dist/chunks/{app-wks3bq41.js → model-resolver-c8f5h7fp.js} +37 -37
- package/dist/chunks/{app-709xpvx9.js → model-resolver-cb5kpe73.js} +12 -12
- package/dist/chunks/{app-2fvbvr4z.js → model-resolver-cdpzwh9k.js} +13 -13
- package/dist/chunks/{app-8v6pyhej.js → model-resolver-cmwkp3r5.js} +8 -8
- package/dist/chunks/{app-png4bzvj.js → model-resolver-cr9558d1.js} +32 -32
- package/dist/chunks/{app-rj6d5p5e.js → model-resolver-csdaj16z.js} +3 -3
- package/dist/chunks/{app-d4he2qe1.js → model-resolver-cwa6csj7.js} +9 -9
- package/dist/chunks/model-resolver-cyydfs3c.js +252 -0
- package/dist/chunks/{app-aky1hhm0.js → model-resolver-cz18w411.js} +25 -25
- package/dist/chunks/{app-cxgg6zzr.js → model-resolver-d4rwqpz6.js} +9 -9
- package/dist/chunks/{app-fpxm7379.js → model-resolver-dagg7nba.js} +3 -3
- package/dist/chunks/{app-3m4ehbcm.js → model-resolver-dbz8g9vz.js} +10 -10
- package/dist/chunks/{app-dj2t23y0.js → model-resolver-dj2t23y0.js} +2 -2
- package/dist/chunks/{app-20zx6c52.js → model-resolver-dpxqvzet.js} +20 -20
- package/dist/chunks/model-resolver-dxj72tfx.js +18 -0
- package/dist/chunks/{app-8j10kyg7.js → model-resolver-dyxd458n.js} +8 -8
- package/dist/chunks/{app-0tv5m9zy.js → model-resolver-e3att9pz.js} +15 -15
- package/dist/chunks/{app-jewzahs7.js → model-resolver-eahhehpg.js} +4 -4
- package/dist/chunks/{app-7hnsdr40.js → model-resolver-eb50jbx7.js} +28 -28
- package/dist/chunks/{app-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-erw5rpbs.js → model-resolver-erw5rpbs.js} +2 -2
- package/dist/chunks/{app-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/model-resolver-eyk6r27j.js +492 -0
- package/dist/chunks/{app-tfxsda3f.js → model-resolver-f4nqg1rk.js} +35 -35
- package/dist/chunks/{app-16rcg4y4.js → model-resolver-fmrmvz2k.js} +27 -27
- package/dist/chunks/{app-m3pgw4q9.js → model-resolver-fre4m1z6.js} +25 -25
- package/dist/chunks/{app-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-wpm2rk0p.js → model-resolver-fzgxakwn.js} +6 -6
- package/dist/chunks/{app-6c2r5v8w.js → model-resolver-g1gqch2e.js} +4 -4
- package/dist/chunks/{app-m2d0j7c0.js → model-resolver-g74mfj6n.js} +9 -9
- package/dist/chunks/{app-20ycjnd3.js → model-resolver-g997j2fw.js} +6 -6
- package/dist/chunks/{app-57m20ys8.js → model-resolver-garff814.js} +5 -5
- package/dist/chunks/{app-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-g6ckadgp.js → model-resolver-gh3w682p.js} +14 -14
- package/dist/chunks/{app-9jn97mr4.js → model-resolver-h65ecam0.js} +10 -10
- package/dist/chunks/{app-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-wx5y01fx.js → model-resolver-h7f8s8kx.js} +11 -11
- package/dist/chunks/{app-kfpfq9wx.js → model-resolver-h9xbmez1.js} +11 -11
- package/dist/chunks/{app-bvfp0cee.js → model-resolver-ha0p6w6v.js} +28 -28
- package/dist/chunks/{app-h4z1mxff.js → model-resolver-hbyhqfhs.js} +5 -5
- package/dist/chunks/{app-hdnk95c8.js → model-resolver-hdnk95c8.js} +2 -2
- package/dist/chunks/{app-z6p9zkzw.js → model-resolver-hhd0x5h8.js} +44 -44
- package/dist/chunks/{app-688dcwrg.js → model-resolver-hkpdzfw9.js} +8 -8
- package/dist/chunks/{app-x9qt50vx.js → model-resolver-hr4hckmy.js} +13 -13
- package/dist/chunks/{app-tb9xm78q.js → model-resolver-hw2mbygq.js} +8 -8
- package/dist/chunks/{app-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{app-7hwc72pw.js → model-resolver-jbfg7gfk.js} +40 -40
- package/dist/chunks/{app-6r8xth9q.js → model-resolver-jcxvn8gn.js} +10 -10
- package/dist/chunks/{app-q4gtzsax.js → model-resolver-je6b98an.js} +28 -28
- package/dist/chunks/{app-8n69n882.js → model-resolver-jn0tk1mz.js} +8 -8
- package/dist/chunks/{app-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/model-resolver-k87n3mnb.js +65 -0
- package/dist/chunks/{app-xg9j3gxx.js → model-resolver-k8qkjtdv.js} +5 -5
- package/dist/chunks/{app-v19j2x38.js → model-resolver-kfd1t4rr.js} +10 -10
- package/dist/chunks/{app-5v8q48de.js → model-resolver-kq3kmm4s.js} +33 -33
- package/dist/chunks/{app-7ka5mwj0.js → model-resolver-kxq74w2a.js} +24 -24
- package/dist/chunks/{app-f8wvxc75.js → model-resolver-m06q4kjh.js} +9 -9
- package/dist/chunks/{app-mm16ex40.js → model-resolver-m06x1evk.js} +9 -9
- package/dist/chunks/{app-m0jqrx5p.js → model-resolver-m0jqrx5p.js} +2 -2
- package/dist/chunks/{app-8trhq89n.js → model-resolver-m0rjhax7.js} +7 -7
- package/dist/chunks/{app-9pe371ph.js → model-resolver-m0t6dn9n.js} +11 -11
- package/dist/chunks/{app-7ekr1ah4.js → model-resolver-m27169sy.js} +24 -24
- package/dist/chunks/{app-0j8d1df6.js → model-resolver-m2wxmj5v.js} +3 -3
- package/dist/chunks/{app-4d4f54qe.js → model-resolver-m3cv1qmd.js} +43 -43
- package/dist/chunks/{app-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{app-g2qchbvm.js → model-resolver-m5csp7t6.js} +18 -18
- package/dist/chunks/{app-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-c38jyzps.js → model-resolver-mdqxewsd.js} +8 -8
- package/dist/chunks/{app-rh2h7bz2.js → model-resolver-mrv6ghce.js} +21 -21
- package/dist/chunks/{app-wxtfr31w.js → model-resolver-mvda01ge.js} +20 -20
- package/dist/chunks/{app-grfgd9mf.js → model-resolver-mxq6csbx.js} +28 -28
- package/dist/chunks/{app-kytjdcrv.js → model-resolver-nh07yg89.js} +58 -58
- package/dist/chunks/{app-y5xn5bba.js → model-resolver-nnar0fsb.js} +17 -17
- package/dist/chunks/{app-dsqt3g70.js → model-resolver-nv7590vc.js} +4 -4
- package/dist/chunks/{app-yj47cjx3.js → model-resolver-nwb51fbw.js} +13 -13
- package/dist/chunks/{app-g5zpxqd5.js → model-resolver-p1tppetm.js} +47 -47
- package/dist/chunks/{app-d7fy9tms.js → model-resolver-pc8r89n2.js} +29 -29
- package/dist/chunks/{app-f6h44vt5.js → model-resolver-pd5kn0n4.js} +6 -6
- package/dist/chunks/{app-b6mrn51r.js → model-resolver-pfbep0b9.js} +11 -11
- package/dist/chunks/{app-t0b82sn3.js → model-resolver-pgxpsng8.js} +13 -13
- package/dist/chunks/{app-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{app-aswv42tr.js → model-resolver-pnc00jwe.js} +11 -11
- package/dist/chunks/{app-1zcc4bn4.js → model-resolver-pqtm16cx.js} +11 -11
- package/dist/chunks/{app-bdwsy2v9.js → model-resolver-pw0s52c9.js} +4 -4
- package/dist/chunks/{app-20dk8r1s.js → model-resolver-q3tbzv75.js} +27 -27
- package/dist/chunks/{app-01s6r663.js → model-resolver-q9y4mng6.js} +17 -17
- package/dist/chunks/{app-m85z7vph.js → model-resolver-qc9vtygz.js} +11 -11
- package/dist/chunks/{app-vmv0kd87.js → model-resolver-qcwj7nge.js} +3 -3
- package/dist/chunks/{app-p33jdkfk.js → model-resolver-qfavfwf5.js} +6 -6
- package/dist/chunks/{app-zmnyjegj.js → model-resolver-qkprbssz.js} +18 -18
- package/dist/chunks/{app-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{app-bw1ynhc4.js → model-resolver-r43n0tkv.js} +27 -27
- package/dist/chunks/{app-ybgh1m9m.js → model-resolver-r5829pqs.js} +19 -19
- package/dist/chunks/{app-1a6p2twq.js → model-resolver-r98e92ep.js} +4 -4
- package/dist/chunks/{app-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-1wr3afwe.js → model-resolver-rg6yn4zr.js} +5 -5
- package/dist/chunks/{app-88yxd0gw.js → model-resolver-rnvw3hvm.js} +50 -50
- package/dist/chunks/{app-4y9pqhyv.js → model-resolver-rp1g7e9y.js} +4 -4
- package/dist/chunks/{app-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
- package/dist/chunks/{app-dw1nbz2e.js → model-resolver-rq9gd7cy.js} +13 -13
- package/dist/chunks/{app-s4enseaf.js → model-resolver-s4enseaf.js} +2 -2
- package/dist/chunks/{app-d883tjw7.js → model-resolver-s4gd82ff.js} +26 -26
- package/dist/chunks/{app-gs5memm2.js → model-resolver-sbwttkaf.js} +11 -11
- package/dist/chunks/{app-2pjc63d4.js → model-resolver-scq4khx8.js} +1 -1
- package/dist/chunks/{app-bg2gq5qa.js → model-resolver-sdbkfcvv.js} +4 -4
- package/dist/chunks/{app-fdaj3cxn.js → model-resolver-sjx8sgwr.js} +26 -26
- package/dist/chunks/{app-jw57wrad.js → model-resolver-st9rbhtf.js} +13 -13
- package/dist/chunks/{app-p7a39gy5.js → model-resolver-sxzvkvgj.js} +6 -6
- package/dist/chunks/{app-abfe342y.js → model-resolver-sy3rdx9f.js} +5 -5
- package/dist/chunks/{app-0gdmqesm.js → model-resolver-t550f9t1.js} +4 -4
- package/dist/chunks/{app-1s3za36d.js → model-resolver-t6bnr8x5.js} +4 -4
- package/dist/chunks/{app-w3jg838k.js → model-resolver-tat11k01.js} +9 -9
- package/dist/chunks/{app-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-p28j5sbe.js → model-resolver-tbz0fdvh.js} +5 -5
- package/dist/chunks/{app-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
- package/dist/chunks/{app-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{app-39dgwvb1.js → model-resolver-th0g359r.js} +15 -15
- package/dist/chunks/{app-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{app-nm3p96rh.js → model-resolver-tx769sbk.js} +26 -26
- package/dist/chunks/{app-5nb2d01r.js → model-resolver-tyqkzprt.js} +2 -2
- package/dist/chunks/{app-c1ef6zpr.js → model-resolver-tzfx967f.js} +3 -3
- package/dist/chunks/{app-6nshdwd7.js → model-resolver-v1h9wh0s.js} +31 -31
- package/dist/chunks/{app-vy4zg7qh.js → model-resolver-v24739yc.js} +12 -12
- package/dist/chunks/{app-44zmf7q8.js → model-resolver-v43qsjh8.js} +43 -43
- package/dist/chunks/{app-7x1nw6gz.js → model-resolver-v4chc4dc.js} +12 -12
- package/dist/chunks/{app-psst68c8.js → model-resolver-v73a4c74.js} +32 -32
- package/dist/chunks/{app-csxzn776.js → model-resolver-v8878m3p.js} +12 -12
- package/dist/chunks/{app-7gvwkz6m.js → model-resolver-vdzspbnc.js} +5 -5
- package/dist/chunks/{app-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{app-v62cs5sj.js → model-resolver-vnccmz7g.js} +21 -21
- package/dist/chunks/{app-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-bd9kkww0.js → model-resolver-w0ddfprx.js} +18 -18
- package/dist/chunks/{app-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-zy4aaz3n.js → model-resolver-wc674h98.js} +3 -3
- package/dist/chunks/{app-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{app-3vaynbq5.js → model-resolver-wq2qj646.js} +3 -3
- package/dist/chunks/{app-8kefq0e4.js → model-resolver-wwvdgax5.js} +24 -24
- package/dist/chunks/{app-nm6tfe9e.js → model-resolver-x03qqaj0.js} +8 -8
- package/dist/chunks/{app-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-va20k388.js → model-resolver-x660ftyb.js} +15 -15
- package/dist/chunks/{app-2pnhn36q.js → model-resolver-xdk9p2qn.js} +4 -4
- package/dist/chunks/{app-rfjpkbyr.js → model-resolver-xes5nzqf.js} +175 -175
- package/dist/chunks/{app-drwq78ky.js → model-resolver-xfkkasph.js} +4 -4
- package/dist/chunks/{app-zdb8sah8.js → model-resolver-xwmqbvw4.js} +18 -18
- package/dist/chunks/{app-h2tx7zx9.js → model-resolver-xynw923x.js} +22 -22
- package/dist/chunks/{app-wq38yxfv.js → model-resolver-xztn33cf.js} +1 -1
- package/dist/chunks/{app-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-7w8wfers.js → model-resolver-y1vhqzk3.js} +22 -22
- package/dist/chunks/{app-5mj83k5s.js → model-resolver-y6f4m1ja.js} +11 -11
- package/dist/chunks/{app-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{app-2f21k4jq.js → model-resolver-ybq1nttj.js} +19 -19
- package/dist/chunks/{app-ykf0jhfk.js → model-resolver-yc1a4vnp.js} +24 -24
- package/dist/chunks/{app-03matkmd.js → model-resolver-ydkhd2vj.js} +17 -17
- package/dist/chunks/{app-x8chr5sc.js → model-resolver-yn096dga.js} +28 -28
- package/dist/chunks/{app-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-07can071.js → model-resolver-yvqgzgm9.js} +25 -25
- package/dist/chunks/{app-vwcr4tjx.js → model-resolver-yw8xy3m8.js} +9 -9
- package/dist/chunks/{app-gv6a8nnw.js → model-resolver-yyb7tjpc.js} +2 -2
- package/dist/chunks/{app-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-2hsx99jb.js → model-resolver-z3kzza17.js} +36 -36
- package/dist/chunks/{app-yxms1dgw.js → model-resolver-z97es7vj.js} +25 -25
- package/dist/chunks/{app-y76zn1vz.js → model-resolver-zc83q679.js} +5 -5
- package/dist/chunks/{app-wxyrkypr.js → model-resolver-zhrmp06p.js} +16 -16
- package/dist/chunks/{app-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-68zcn1pn.js → model-resolver-zvm8zp5s.js} +5 -5
- package/dist/chunks/{app-qbkt3cqr.js → model-resolver-zvpx4q1j.js} +12 -12
- package/dist/chunks/{app-zkmmppc2.js → model-resolver-zwgxd679.js} +10 -10
- package/dist/chunks/{app-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{app-v6h6kk4n.js → model-resolver-zzn9gyf4.js} +47 -47
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +90 -90
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/app-39c2k6vv.js +0 -26
- package/dist/chunks/app-4v7qdvcn.js +0 -18
- package/dist/chunks/app-japfypf2.js +0 -492
- package/dist/chunks/app-nk1wytkm.js +0 -65
- package/dist/chunks/app-qtvmxc8s.js +0 -4
- package/dist/chunks/app-s0mmenjh.js +0 -252
- /package/dist/chunks/{app-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e3qxr5gk.js → model-resolver-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./model-resolver-zzn9gyf4.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service62
|
|
13
|
+
} from "./model-resolver-yc1a4vnp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service65
|
|
16
|
+
} from "./model-resolver-q9y4mng6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service50
|
|
19
|
+
} from "./model-resolver-19rvyxk9.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service18,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-qkprbssz.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service59,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-616ym9rn.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError8,
|
|
36
|
+
Service55
|
|
37
|
+
} from "./model-resolver-rnvw3hvm.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./model-resolver-c06y4pyh.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-resolver-2mjhcg4p.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin25,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input9 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin25 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service26;
|
|
122
|
+
const jobs = yield* Service65;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service62;
|
|
125
|
+
const access = yield* Service18;
|
|
126
|
+
const shell = yield* Service55;
|
|
127
|
+
const shellSelect = yield* Service59;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service50;
|
|
130
|
+
const config = yield* Service57;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin12 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name9,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin12 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name9,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input9,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin12 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name9,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name9];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin25, exports_shell };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./model-resolver-b9swv1kn.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service78,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node82,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service78 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node82 = LayerNode.unbound(Service78, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service79;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service78.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service78,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node83]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service78, node82, boundNode2, exports_location };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./model-resolver-yc1a4vnp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service19,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-cdpzwh9k.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service77
|
|
11
|
+
} from "./model-resolver-3ye25fqg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service50
|
|
14
|
+
} from "./model-resolver-19rvyxk9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./model-resolver-qkprbssz.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input4,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin20,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name4,
|
|
33
33
|
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name4 = "write";
|
|
39
|
+
var Input4 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output3 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin20 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service18;
|
|
56
|
+
const fileMutation = yield* Service19;
|
|
57
|
+
const environment = yield* Service62;
|
|
58
|
+
const formatter = yield* Service77;
|
|
59
|
+
const permission = yield* Service50;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name4,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input4,
|
|
69
|
+
output: Output3,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name4, Input4, Output3, toModelContent4, Plugin20, exports_write };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service47
|
|
7
|
+
} from "./model-resolver-m27169sy.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-csdaj16z.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-7xhhf2aw.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-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* Service47;
|
|
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: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-6rhwg9p1.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./model-resolver-v8878m3p.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update3
|
|
18
|
+
} from "./model-resolver-tbz0fdvh.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-dj2t23y0.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-5c4hm403.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-5hkrv0vj.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./model-resolver-sdbkfcvv.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./model-resolver-x660ftyb.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./model-resolver-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node33
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -246,7 +246,7 @@ function run(db, event) {
|
|
|
246
246
|
updateCompaction: updateMessage,
|
|
247
247
|
appendMessage
|
|
248
248
|
};
|
|
249
|
-
yield*
|
|
249
|
+
yield* update3(adapter, event);
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
function insertMessage(db, event, message) {
|
|
@@ -276,7 +276,7 @@ function projectIdle(db, event) {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
279
|
-
const bus = yield*
|
|
279
|
+
const bus = yield* Service82;
|
|
280
280
|
const db = (yield* Service83).db;
|
|
281
281
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
282
282
|
const stored = yield* db.insert(SessionTable2).values({
|
|
@@ -458,6 +458,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
458
458
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
459
459
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
461
|
+
var node33 = makeGlobalNode({ name: "session-projector", layer, deps: [node86, node87] });
|
|
462
462
|
|
|
463
|
-
export { SessionAlreadyProjected2,
|
|
463
|
+
export { SessionAlreadyProjected2, node33, exports_projector };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./model-resolver-4tb4y58c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./model-resolver-19rvyxk9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin49,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service72;
|
|
57
|
+
const permission = yield* Service50;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name14, description6,
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./model-resolver-v8878m3p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./model-resolver-939csnrg.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service52,
|
|
14
|
+
node55
|
|
15
|
+
} from "./model-resolver-gh3w682p.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -35,10 +35,10 @@ var InjectedMetadata = Schema.Struct({
|
|
|
35
35
|
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
37
|
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
|
-
const bus = yield*
|
|
38
|
+
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service52;
|
|
41
|
+
const location = yield* Service78;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node8 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node86, FSUtil.node, node82, node55]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service6, node8, exports_instructions };
|