@opencode/core 0.0.0-dev-19877 → 0.0.0-dev-19878
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{app-26ym7a2d.js → location-activity-06dxphr1.js} +4 -4
- package/dist/chunks/{app-arndb05z.js → location-activity-0fexsbzd.js} +8 -8
- package/dist/chunks/{app-57ez7d0k.js → location-activity-0ke265bw.js} +5 -5
- package/dist/chunks/location-activity-0mesazry.js +4 -0
- package/dist/chunks/{app-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-0q0f95c6.js → location-activity-0q0f95c6.js} +1 -1
- package/dist/chunks/{app-rfdx9aph.js → location-activity-14bc5jn9.js} +23 -23
- package/dist/chunks/{app-fab6kdz8.js → location-activity-1bf9xmj7.js} +23 -23
- package/dist/chunks/{app-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-qzjq96ve.js → location-activity-1hacwagn.js} +41 -41
- package/dist/chunks/{app-7ekr1ah4.js → location-activity-1hby7933.js} +30 -30
- package/dist/chunks/{app-abfe342y.js → location-activity-1mc48hy1.js} +5 -5
- package/dist/chunks/{app-688dcwrg.js → location-activity-1n7dkdfa.js} +8 -8
- package/dist/chunks/{app-g5zpxqd5.js → location-activity-1p47ghm9.js} +47 -47
- package/dist/chunks/{app-swk9pkgd.js → location-activity-1rbt4ax3.js} +7 -7
- package/dist/chunks/{app-zmnyjegj.js → location-activity-1vgghcm1.js} +15 -15
- package/dist/chunks/{app-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{app-6h73sxmp.js → location-activity-2402vzrj.js} +5 -5
- package/dist/chunks/{app-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-5v8q48de.js → location-activity-2bsax5xk.js} +30 -30
- package/dist/chunks/{app-11823ez3.js → location-activity-2e96adxv.js} +9 -9
- package/dist/chunks/{app-tn0aqsam.js → location-activity-2f0bjgcj.js} +5 -5
- package/dist/chunks/{app-44zmf7q8.js → location-activity-2r2jj9rt.js} +43 -43
- package/dist/chunks/{app-tb5xxcc9.js → location-activity-2vrfpz63.js} +83 -83
- package/dist/chunks/{app-7ka5mwj0.js → location-activity-2w5wsfaf.js} +24 -24
- package/dist/chunks/{app-csxzn776.js → location-activity-2xnvsrn7.js} +12 -12
- package/dist/chunks/{app-z6p9zkzw.js → location-activity-2yc0w210.js} +44 -44
- package/dist/chunks/{app-kfpfq9wx.js → location-activity-30t3z4xa.js} +11 -11
- package/dist/chunks/{app-d0kf8th3.js → location-activity-32skw66p.js} +11 -11
- package/dist/chunks/{app-56gdpj1q.js → location-activity-33w4ejhs.js} +6 -6
- package/dist/chunks/{app-5mj83k5s.js → location-activity-349jpbgm.js} +11 -11
- package/dist/chunks/{app-axtvtek4.js → location-activity-34rkz0x9.js} +4 -4
- package/dist/chunks/{app-bvfp0cee.js → location-activity-34vw3k6j.js} +28 -28
- package/dist/chunks/{app-v19j2x38.js → location-activity-384bh6p5.js} +10 -10
- package/dist/chunks/{app-q4gtzsax.js → location-activity-3bpk1kz3.js} +28 -28
- package/dist/chunks/{app-cz4gxkeh.js → location-activity-3cej3bx5.js} +51 -51
- package/dist/chunks/{app-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-yrhthkpk.js → location-activity-3k5jkm3z.js} +29 -29
- package/dist/chunks/{app-y5xn5bba.js → location-activity-3mtq6pek.js} +19 -19
- package/dist/chunks/{app-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-zkmmppc2.js → location-activity-3w142vg8.js} +10 -10
- package/dist/chunks/{app-gs5memm2.js → location-activity-444xzsav.js} +11 -11
- package/dist/chunks/{app-qbkt3cqr.js → location-activity-485fr60v.js} +11 -11
- package/dist/chunks/{app-6nshdwd7.js → location-activity-48agk50t.js} +31 -31
- package/dist/chunks/{app-wa17x0f6.js → location-activity-4attd441.js} +20 -20
- package/dist/chunks/{app-ebe9bak5.js → location-activity-4dgbcxzg.js} +4 -4
- package/dist/chunks/{app-nm6tfe9e.js → location-activity-4k0xqdp1.js} +11 -11
- package/dist/chunks/{app-7vneq8n3.js → location-activity-4kajxznq.js} +8 -8
- package/dist/chunks/{app-3e6x224v.js → location-activity-4x3kykr2.js} +18 -18
- package/dist/chunks/{app-2pnhn36q.js → location-activity-50mzsvk4.js} +21 -21
- package/dist/chunks/{app-20ycjnd3.js → location-activity-5140det9.js} +6 -6
- package/dist/chunks/{app-yj47cjx3.js → location-activity-5855fc5r.js} +15 -15
- package/dist/chunks/{app-7hnsdr40.js → location-activity-5c855dx6.js} +25 -25
- package/dist/chunks/{app-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{app-e3qxr5gk.js → location-activity-5qd3pb7m.js} +2 -2
- package/dist/chunks/{app-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{app-06r2eyqd.js → location-activity-66kz9jvd.js} +6 -6
- package/dist/chunks/{app-1s3za36d.js → location-activity-6bjjk6rs.js} +4 -4
- package/dist/chunks/{app-d883tjw7.js → location-activity-6g8qhsa2.js} +28 -28
- package/dist/chunks/{app-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-p29sx5d2.js → location-activity-6mycc3tm.js} +13 -13
- package/dist/chunks/{app-7hwc72pw.js → location-activity-6wyfze09.js} +41 -41
- package/dist/chunks/{app-h4z1mxff.js → location-activity-705e2ap1.js} +5 -5
- package/dist/chunks/{app-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-88yxd0gw.js → location-activity-7gv3qed4.js} +40 -40
- package/dist/chunks/{app-rj6d5p5e.js → location-activity-7w99qc9d.js} +3 -3
- package/dist/chunks/{app-s1kvmffy.js → location-activity-82rhge12.js} +9 -9
- package/dist/chunks/{app-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-jpqzn5nx.js → location-activity-8jnvzp63.js} +36 -36
- package/dist/chunks/{app-dj2t23y0.js → location-activity-8p4f9s12.js} +2 -2
- package/dist/chunks/{app-aky1hhm0.js → location-activity-8wny9rhz.js} +23 -23
- package/dist/chunks/{app-709xpvx9.js → location-activity-8wvzn3x9.js} +12 -12
- package/dist/chunks/{app-f5js084j.js → location-activity-8xaawdtz.js} +3 -3
- package/dist/chunks/{app-9n0txh3w.js → location-activity-8xgtxbds.js} +30 -30
- package/dist/chunks/{app-2npqe2nd.js → location-activity-8ywr4py6.js} +34 -34
- package/dist/chunks/{app-8kefq0e4.js → location-activity-935s2dtd.js} +24 -24
- package/dist/chunks/{app-vqn7h5f3.js → location-activity-97sqn3m6.js} +41 -41
- package/dist/chunks/{app-6r8xth9q.js → location-activity-9a7hdk7d.js} +11 -11
- package/dist/chunks/{app-h6jr292a.js → location-activity-9h41vc4j.js} +4 -4
- package/dist/chunks/{app-xgpvyysx.js → location-activity-9ncjasfh.js} +89 -89
- package/dist/chunks/{app-876jnmkn.js → location-activity-9qxgs4wb.js} +19 -19
- package/dist/chunks/{app-fpxm7379.js → location-activity-9tp80bz2.js} +3 -3
- package/dist/chunks/{app-3m4ehbcm.js → location-activity-9zgsk6sk.js} +10 -10
- package/dist/chunks/{app-m85z7vph.js → location-activity-a0q2yx5w.js} +11 -11
- package/dist/chunks/{app-5c4hm403.js → location-activity-a1bz86dw.js} +3 -3
- package/dist/chunks/{app-8trhq89n.js → location-activity-a1c6bcys.js} +7 -7
- package/dist/chunks/{app-thph1k7c.js → location-activity-a67jkta2.js} +27 -27
- package/dist/chunks/{app-jewzahs7.js → location-activity-a89e0tac.js} +4 -4
- package/dist/chunks/{app-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{app-gfpj78pk.js → location-activity-aj48sn1e.js} +4 -4
- package/dist/chunks/{app-v6h6kk4n.js → location-activity-akq5pr62.js} +46 -46
- package/dist/chunks/{app-gcq2fxm3.js → location-activity-akve5yxg.js} +12 -12
- package/dist/chunks/{app-bawrj3b9.js → location-activity-az38zn9v.js} +2 -2
- package/dist/chunks/{app-nm3p96rh.js → location-activity-b0k9pvtq.js} +24 -24
- package/dist/chunks/{app-v1kgz5pa.js → location-activity-b0mnz61g.js} +13 -13
- package/dist/chunks/{app-v62cs5sj.js → location-activity-b1sryb0b.js} +21 -21
- package/dist/chunks/location-activity-b45axz3y.js +252 -0
- package/dist/chunks/{app-psst68c8.js → location-activity-b54ctf8r.js} +28 -28
- package/dist/chunks/{app-g6ckadgp.js → location-activity-b5yryq8z.js} +16 -16
- package/dist/chunks/{app-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-rfjpkbyr.js → location-activity-b6kd1xhc.js} +164 -164
- package/dist/chunks/{app-h2tx7zx9.js → location-activity-b71216jz.js} +20 -20
- package/dist/chunks/{app-5vt9esmq.js → location-activity-b7qq63vc.js} +20 -20
- package/dist/chunks/{app-1a6p2twq.js → location-activity-bct739vz.js} +4 -4
- package/dist/chunks/{app-ttsb85y1.js → location-activity-bfdyam1j.js} +7 -7
- package/dist/chunks/{app-qmznc2j1.js → location-activity-bh9f9yhx.js} +32 -32
- package/dist/chunks/{app-gh58188p.js → location-activity-bp1txj4e.js} +15 -15
- package/dist/chunks/{app-x3qv8ryf.js → location-activity-bprvn3qa.js} +72 -72
- package/dist/chunks/{app-1zcc4bn4.js → location-activity-brgjf4xc.js} +11 -11
- package/dist/chunks/{app-57m20ys8.js → location-activity-brsex9gv.js} +5 -5
- package/dist/chunks/{app-2pjc63d4.js → location-activity-bz85s9hh.js} +1 -1
- package/dist/chunks/{app-0sa6p4t3.js → location-activity-bzmaha2t.js} +11 -11
- package/dist/chunks/{app-d4awevab.js → location-activity-ca93aw7g.js} +7 -7
- package/dist/chunks/{app-ykf0jhfk.js → location-activity-camvkydn.js} +21 -21
- package/dist/chunks/{app-y2nmavtm.js → location-activity-cd8dvhmv.js} +30 -30
- package/dist/chunks/{app-m0jqrx5p.js → location-activity-cfpkc3c9.js} +2 -2
- package/dist/chunks/{app-nk1wytkm.js → location-activity-cp7xmptn.js} +27 -27
- package/dist/chunks/{app-49yvn64x.js → location-activity-cq3p6ny5.js} +1 -1
- package/dist/chunks/{app-014xdmgp.js → location-activity-cr070h5f.js} +27 -27
- package/dist/chunks/{app-xg9j3gxx.js → location-activity-cywfwrvr.js} +5 -5
- package/dist/chunks/{app-2hsx99jb.js → location-activity-d790svbd.js} +26 -26
- package/dist/chunks/{app-zc72yjq3.js → location-activity-damrcpcq.js} +22 -22
- package/dist/chunks/{app-e14sp09f.js → location-activity-dcq7df5z.js} +9 -9
- package/dist/chunks/{app-wx5y01fx.js → location-activity-dqvyg6hs.js} +11 -11
- package/dist/chunks/{app-8v6pyhej.js → location-activity-dv1qgsyq.js} +8 -8
- package/dist/chunks/{app-711sgqvm.js → location-activity-dw7kj2wt.js} +9 -9
- package/dist/chunks/{app-8j10kyg7.js → location-activity-dxd2xv6a.js} +11 -11
- package/dist/chunks/{app-vwcr4tjx.js → location-activity-e3j5vbpy.js} +9 -9
- package/dist/chunks/{app-cxgg6zzr.js → location-activity-e54wnc6j.js} +9 -9
- package/dist/chunks/{app-hcz3zddy.js → location-activity-e6hmchc5.js} +5 -5
- package/dist/chunks/{app-f6h44vt5.js → location-activity-e8cja42p.js} +6 -6
- package/dist/chunks/{app-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-f8wvxc75.js → location-activity-egs6ks1d.js} +9 -9
- package/dist/chunks/{app-r5x6zcsm.js → location-activity-eq1pz5kg.js} +3 -3
- package/dist/chunks/{app-erw5rpbs.js → location-activity-erw5rpbs.js} +2 -2
- package/dist/chunks/{app-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-azynnvek.js → location-activity-ev386gwf.js} +53 -53
- package/dist/chunks/{app-p33jdkfk.js → location-activity-ezc0aa6y.js} +6 -6
- package/dist/chunks/{app-ddt2bs9e.js → location-activity-f73rjn58.js} +4 -4
- package/dist/chunks/{app-hdnk95c8.js → location-activity-f828m53h.js} +2 -2
- package/dist/chunks/{app-2fvbvr4z.js → location-activity-f8waefjm.js} +13 -13
- package/dist/chunks/{app-2k8khapm.js → location-activity-fcrkznn8.js} +5 -5
- package/dist/chunks/{app-grfgd9mf.js → location-activity-fkj9wy1t.js} +28 -28
- package/dist/chunks/{app-zswdvhgs.js → location-activity-ft191qx5.js} +9 -9
- package/dist/chunks/{app-c1ef6zpr.js → location-activity-fwsfvr3q.js} +3 -3
- package/dist/chunks/{app-fxbjtjnd.js → location-activity-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-d78xx6qz.js → location-activity-fy69wa9z.js} +20 -20
- package/dist/chunks/{app-qfdknrj4.js → location-activity-g3smgjcz.js} +3 -3
- package/dist/chunks/{app-bw1ynhc4.js → location-activity-g68dq4n6.js} +24 -24
- package/dist/chunks/{app-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-wxyrkypr.js → location-activity-gdhexgge.js} +16 -16
- package/dist/chunks/{app-bd9kkww0.js → location-activity-gsw1j5rg.js} +14 -14
- package/dist/chunks/{app-sjgwehbe.js → location-activity-gv1kg07s.js} +13 -13
- package/dist/chunks/{app-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
- package/dist/chunks/{app-0hr54mt4.js → location-activity-gysg5gwh.js} +33 -33
- package/dist/chunks/{app-3m3qrqke.js → location-activity-h36ja21g.js} +8 -8
- package/dist/chunks/{app-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-pps41de9.js → location-activity-hdjmp71s.js} +10 -10
- package/dist/chunks/{app-bg2gq5qa.js → location-activity-hfdr1yjj.js} +4 -4
- package/dist/chunks/{app-bdwsy2v9.js → location-activity-hqkcqn2q.js} +4 -4
- package/dist/chunks/{app-7ghxp6dc.js → location-activity-hvx0y2vp.js} +14 -14
- package/dist/chunks/{app-3b1q5j1v.js → location-activity-j15mfg1p.js} +6 -6
- package/dist/chunks/{app-9jn97mr4.js → location-activity-j4hgvzxf.js} +8 -8
- package/dist/chunks/{app-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{app-va20k388.js → location-activity-j5hmy3er.js} +15 -15
- package/dist/chunks/{app-d9ytdjw8.js → location-activity-jb35hfe2.js} +20 -20
- package/dist/chunks/{app-vy4zg7qh.js → location-activity-jsvb6vsn.js} +12 -12
- package/dist/chunks/{app-39dgwvb1.js → location-activity-k0kn787a.js} +21 -21
- package/dist/chunks/{app-y15xkh2n.js → location-activity-k2ees04y.js} +23 -23
- package/dist/chunks/{app-k3c624dm.js → location-activity-k3c624dm.js} +3 -3
- package/dist/chunks/{app-vmv0kd87.js → location-activity-k3fhncfr.js} +3 -3
- package/dist/chunks/{app-mm16ex40.js → location-activity-k4cx13vt.js} +7 -7
- package/dist/chunks/{app-b6mrn51r.js → location-activity-k8j6mtqq.js} +11 -11
- package/dist/chunks/{app-knb7evpn.js → location-activity-k9kj6xed.js} +6 -6
- package/dist/chunks/{app-yrq83nnf.js → location-activity-kb85603d.js} +2 -2
- package/dist/chunks/{app-png4bzvj.js → location-activity-ke1qpm2n.js} +29 -29
- package/dist/chunks/{app-zdb8sah8.js → location-activity-kwaa7r03.js} +18 -18
- package/dist/chunks/location-activity-kxsyv2pq.js +26 -0
- package/dist/chunks/{app-y9p6qzzr.js → location-activity-m0704kf9.js} +42 -42
- package/dist/chunks/{app-68zcn1pn.js → location-activity-m0vfraxg.js} +5 -5
- package/dist/chunks/{app-6c2r5v8w.js → location-activity-m1npberz.js} +4 -4
- package/dist/chunks/{app-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{app-07can071.js → location-activity-m67kh20n.js} +25 -25
- package/dist/chunks/{app-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-h5gvbxth.js → location-activity-mbmvtr52.js} +18 -18
- package/dist/chunks/{app-d7fy9tms.js → location-activity-mbrx791e.js} +31 -31
- package/dist/chunks/{app-x4e5jp7e.js → location-activity-ms0n5vr2.js} +10 -10
- package/dist/chunks/{app-senw7f5q.js → location-activity-n4fkg9qz.js} +5 -5
- package/dist/chunks/{app-c38jyzps.js → location-activity-n5aq07z9.js} +8 -8
- package/dist/chunks/{app-tfxsda3f.js → location-activity-n6kaeczp.js} +35 -35
- package/dist/chunks/{app-7mvfcvez.js → location-activity-n6v9sa9g.js} +19 -19
- package/dist/chunks/{app-57e9z27j.js → location-activity-n9axn9y3.js} +8 -8
- package/dist/chunks/{app-4d4f54qe.js → location-activity-na1qpcwd.js} +41 -41
- package/dist/chunks/{app-jzz4kwyh.js → location-activity-ndwahwhj.js} +4 -4
- package/dist/chunks/{app-wpm2rk0p.js → location-activity-nm4299rz.js} +8 -8
- package/dist/chunks/{app-rh2h7bz2.js → location-activity-nmhw28fq.js} +18 -18
- package/dist/chunks/{app-5nb2d01r.js → location-activity-nng2ktcm.js} +2 -2
- package/dist/chunks/{app-m2d0j7c0.js → location-activity-nq7qbqzc.js} +9 -9
- package/dist/chunks/{app-y76zn1vz.js → location-activity-nqft9t69.js} +5 -5
- package/dist/chunks/{app-3vaynbq5.js → location-activity-nr925g6z.js} +3 -3
- package/dist/chunks/{app-jw57wrad.js → location-activity-nz8rbcfr.js} +13 -13
- package/dist/chunks/{app-35w9qdzz.js → location-activity-nzpy1syf.js} +9 -9
- package/dist/chunks/{app-p28j5sbe.js → location-activity-p28j5sbe.js} +2 -2
- package/dist/chunks/{app-tb9xm78q.js → location-activity-pe874fy5.js} +5 -5
- package/dist/chunks/{app-7gvwkz6m.js → location-activity-pecb0brz.js} +5 -5
- package/dist/chunks/{app-t0b82sn3.js → location-activity-pfaw34ey.js} +11 -11
- package/dist/chunks/{app-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{app-7x1nw6gz.js → location-activity-prq6sj6q.js} +12 -12
- package/dist/chunks/{app-yy70n6y7.js → location-activity-q8he5qek.js} +17 -17
- package/dist/chunks/{app-d4he2qe1.js → location-activity-qmqgtz8f.js} +9 -9
- package/dist/chunks/{app-kytjdcrv.js → location-activity-qs7p0wga.js} +53 -53
- package/dist/chunks/{app-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{app-yp2x3t23.js → location-activity-r8xr0va3.js} +4 -4
- package/dist/chunks/location-activity-rap9a73h.js +18 -0
- package/dist/chunks/{app-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-g2qchbvm.js → location-activity-rfy9k25q.js} +18 -18
- package/dist/chunks/{app-m3pgw4q9.js → location-activity-rsckn68j.js} +25 -25
- package/dist/chunks/{app-79mnhcfn.js → location-activity-s5met55r.js} +8 -8
- package/dist/chunks/{app-v7ax49y9.js → location-activity-s7531b5j.js} +13 -13
- package/dist/chunks/{app-0gdmqesm.js → location-activity-s8d7rejh.js} +4 -4
- package/dist/chunks/{app-0tv5m9zy.js → location-activity-s92tpkwr.js} +13 -13
- package/dist/chunks/{app-w3jg838k.js → location-activity-s9xxw18e.js} +9 -9
- package/dist/chunks/{app-wks3bq41.js → location-activity-sazxm3mh.js} +35 -35
- package/dist/chunks/{app-03matkmd.js → location-activity-sj2dt0dw.js} +17 -17
- package/dist/chunks/{app-ps5kdaeb.js → location-activity-t6sasnat.js} +29 -29
- package/dist/chunks/{app-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-aswv42tr.js → location-activity-tba9x9m4.js} +11 -11
- package/dist/chunks/{app-89znhe33.js → location-activity-tcezcvh9.js} +4 -4
- package/dist/chunks/{app-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{app-x9qt50vx.js → location-activity-teedqcfj.js} +13 -13
- package/dist/chunks/{app-p7a39gy5.js → location-activity-tegs1ycp.js} +6 -6
- package/dist/chunks/{app-x2rmejqt.js → location-activity-th6z70na.js} +14 -14
- package/dist/chunks/{app-1wr3afwe.js → location-activity-tmn0t1cr.js} +5 -5
- package/dist/chunks/{app-dw1nbz2e.js → location-activity-ts9vv5h1.js} +13 -13
- package/dist/chunks/{app-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{app-d0zj62h6.js → location-activity-tw63m3ht.js} +16 -16
- package/dist/chunks/{app-c2k60acp.js → location-activity-twx6d01m.js} +17 -17
- package/dist/chunks/{app-7b4r5at6.js → location-activity-v412kext.js} +17 -17
- package/dist/chunks/{app-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{app-7w8wfers.js → location-activity-vf8gbq8c.js} +25 -25
- package/dist/chunks/{app-jnmfw45r.js → location-activity-vx899hpg.js} +3 -3
- package/dist/chunks/{app-bdqrk2vk.js → location-activity-vyqn3nqs.js} +4 -4
- package/dist/chunks/{app-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-wq38yxfv.js → location-activity-w54fwt40.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{app-zy4aaz3n.js → location-activity-wj65y8df.js} +3 -3
- package/dist/chunks/{app-x8chr5sc.js → location-activity-wjpqa2gh.js} +28 -28
- package/dist/chunks/{app-16rcg4y4.js → location-activity-wm6ca8w2.js} +27 -27
- package/dist/chunks/{app-yxms1dgw.js → location-activity-wxt5gzn3.js} +25 -25
- package/dist/chunks/{app-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-fdaj3cxn.js → location-activity-xap8r8eb.js} +28 -28
- package/dist/chunks/{app-drwq78ky.js → location-activity-xfkkasph.js} +4 -4
- package/dist/chunks/{app-20dk8r1s.js → location-activity-xprwhmay.js} +23 -23
- package/dist/chunks/{app-55y9qcck.js → location-activity-xvb9xxzg.js} +5 -5
- package/dist/chunks/{app-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-4y9pqhyv.js → location-activity-y35sf2j4.js} +4 -4
- package/dist/chunks/{app-y71avatq.js → location-activity-y71avatq.js} +1 -1
- package/dist/chunks/{app-9pe371ph.js → location-activity-y7kf544v.js} +11 -11
- package/dist/chunks/{app-dpfenvj7.js → location-activity-y9c1nhc2.js} +9 -9
- package/dist/chunks/{app-wxtfr31w.js → location-activity-ybyatjwz.js} +20 -20
- package/dist/chunks/{app-0j8d1df6.js → location-activity-ydx8dyns.js} +3 -3
- package/dist/chunks/{app-01s6r663.js → location-activity-yes5hb5v.js} +14 -14
- package/dist/chunks/location-activity-yjf8n2qf.js +492 -0
- package/dist/chunks/{app-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-s4enseaf.js → location-activity-yrznvahk.js} +2 -2
- package/dist/chunks/{app-8n69n882.js → location-activity-yvvvp4gn.js} +4 -4
- package/dist/chunks/{app-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-xhpeghz7.js → location-activity-z2q6w509.js} +3 -3
- package/dist/chunks/{app-2f21k4jq.js → location-activity-z4spg9s6.js} +19 -19
- package/dist/chunks/{app-29x78va6.js → location-activity-z63w68vq.js} +6 -6
- package/dist/chunks/{app-k27386pf.js → location-activity-z9r5bt3m.js} +27 -27
- package/dist/chunks/{app-ybgh1m9m.js → location-activity-zcgjhpex.js} +19 -19
- package/dist/chunks/{app-20zx6c52.js → location-activity-zdqwfx3v.js} +24 -24
- package/dist/chunks/{app-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
- package/dist/chunks/{app-zw4pk1bw.js → location-activity-zk8c4w5t.js} +5 -5
- package/dist/chunks/{app-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-dsqt3g70.js → location-activity-zvtx7z4t.js} +4 -4
- package/dist/chunks/{app-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/chunks/{app-915nf07v.js → location-activity-zz6q0sdm.js} +11 -11
- 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 +80 -80
- 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 +127 -127
- 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 +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +102 -102
- 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 +68 -68
- 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 +80 -80
- 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 +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- 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 +4 -4
- 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 +93 -93
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +90 -90
- 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 +3 -3
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- 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 +96 -96
- package/dist/session/message-updater.js +2 -2
- 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 +216 -216
- 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 +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- 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-qtvmxc8s.js +0 -4
- package/dist/chunks/app-s0mmenjh.js +0 -252
- /package/dist/chunks/{app-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → location-activity-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → location-activity-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-activity-2xnvsrn7.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command5 = {};
|
|
@@ -15,19 +15,19 @@ __export(exports_command5, {
|
|
|
15
15
|
Command: () => exports_command5,
|
|
16
16
|
Event: () => Event19,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info31,
|
|
19
|
+
NotFoundError: () => NotFoundError10,
|
|
20
|
+
Service: () => Service76,
|
|
21
|
+
layer: () => layer25,
|
|
22
|
+
node: () => node80
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
import { Event as Event19 } from "@opencode/schema/command";
|
|
28
|
-
var
|
|
28
|
+
var Info31 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError10 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service76 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer25 = Layer.effect(Service76, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer24 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info31.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service76.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer24 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError10({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node80 = makeLocationNode({
|
|
75
|
+
service: Service76,
|
|
76
|
+
layer: layer25,
|
|
77
|
+
deps: [node86]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info31, NotFoundError10, ExecutionError2, Service76, layer25, node80, exports_command5, Event19 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service46,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node50
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service46 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service46.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node50 = makeLocationNode({
|
|
143
|
+
service: Service46,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service46, node50, exports_tool_output2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service77,
|
|
3
3
|
node81
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-kb85603d.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./location-activity-camvkydn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-f8waefjm.js";
|
|
9
9
|
import {
|
|
10
10
|
Service13
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-8xaawdtz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service62
|
|
14
|
+
} from "./location-activity-ev386gwf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service25
|
|
17
|
+
} from "./location-activity-1vgghcm1.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-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: () => Input5,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin6,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name5,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
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 name5 = "write";
|
|
39
|
+
var Input5 = 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 Output4 = 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
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin6 = {
|
|
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*
|
|
55
|
+
const access = yield* Service25;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service53;
|
|
58
58
|
const formatter = yield* Service13;
|
|
59
|
-
const permission = yield*
|
|
59
|
+
const permission = yield* Service62;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name5,
|
|
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: Input5,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name5, Input5, Output4, toModelContent3, Plugin6, exports_write };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-activity-2xnvsrn7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service77,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-kb85603d.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./location-activity-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service45,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node48
|
|
16
|
+
} from "./location-activity-damrcpcq.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service15,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node17
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service15 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
60
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service82;
|
|
62
62
|
const location = yield* Service77;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service45;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service15.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node17 = makeLocationNode({
|
|
274
|
+
service: Service15,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node86, node81, node48]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-vx899hpg.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node59
|
|
12
|
+
} from "./location-activity-nm4299rz.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID5,
|
|
25
|
+
Info: () => Info19,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service54,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured11,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node58
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID5 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info19 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID5,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info31 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID5,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service54 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service54,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node87,
|
|
64
|
+
deps: [node87, node59]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service83).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info19({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service54.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID5.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node58 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID5, Info19, NotFound3, CreateConflict2, Service54, configured11, node58, exports_workspace };
|