@opencode/core 0.0.0-dev-19360 → 0.0.0-dev-19363
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +77 -77
- package/dist/chunks/{kv-k0x38na5.js → workspace-010ejnzv.js} +23 -23
- package/dist/chunks/{kv-j2m1sh4m.js → workspace-022adzae.js} +8 -8
- package/dist/chunks/{kv-dhgwjg8a.js → workspace-02nph5r6.js} +31 -31
- package/dist/chunks/{kv-ggg9gqgj.js → workspace-0b1gpwwb.js} +22 -22
- package/dist/chunks/{kv-f6j4trmm.js → workspace-0ebyrbpf.js} +15 -15
- package/dist/chunks/{kv-keat3kjn.js → workspace-0gr7cw0d.js} +4 -4
- package/dist/chunks/{kv-1r0d1kr4.js → workspace-0n1qmxwe.js} +17 -17
- package/dist/chunks/{kv-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{kv-bbcxt5nx.js → workspace-1c2ybwbd.js} +25 -25
- package/dist/chunks/{kv-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-1dfhrqqs.js → workspace-1dfhrqqs.js} +2 -2
- package/dist/chunks/{kv-n1qcxzd8.js → workspace-1fa9ans5.js} +1 -1
- package/dist/chunks/{kv-q9h0epwa.js → workspace-1kaepe8y.js} +22 -22
- package/dist/chunks/{kv-k0w2nq2k.js → workspace-1qa7sx05.js} +19 -19
- package/dist/chunks/{kv-h235cfqb.js → workspace-1wh2xykj.js} +5 -5
- package/dist/chunks/{kv-33w4ejhs.js → workspace-1ygqh575.js} +6 -6
- package/dist/chunks/{kv-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{kv-2402vzrj.js → workspace-2402vzrj.js} +1 -1
- package/dist/chunks/{kv-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-h7ygw6q4.js → workspace-2bt6bea8.js} +9 -9
- package/dist/chunks/{kv-brrng35t.js → workspace-2ee8pmxs.js} +5 -5
- package/dist/chunks/{kv-kcadhap2.js → workspace-2r9a3wfp.js} +6 -6
- package/dist/chunks/{kv-htxwfwhk.js → workspace-2s56tc45.js} +8 -8
- package/dist/chunks/{kv-ajqrbvev.js → workspace-2vz4t0z4.js} +7 -7
- package/dist/chunks/{kv-6qgsb3f2.js → workspace-2wb4awa6.js} +21 -21
- package/dist/chunks/{kv-m9wy7qrr.js → workspace-2y34zzjz.js} +6 -6
- package/dist/chunks/{kv-fpayzr53.js → workspace-33w8fzr9.js} +40 -40
- package/dist/chunks/{kv-pe4se4ke.js → workspace-3aq545f1.js} +11 -11
- package/dist/chunks/{kv-ybnhfehy.js → workspace-3b1wqxak.js} +25 -25
- package/dist/chunks/{kv-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-231cp38k.js → workspace-3fsqj4j0.js} +5 -5
- package/dist/chunks/{kv-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-rjg8g7fv.js → workspace-3ssv6kad.js} +27 -27
- package/dist/chunks/{kv-m1nxg7xt.js → workspace-3t9wsyj4.js} +13 -13
- package/dist/chunks/{kv-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-3cfzdc8e.js → workspace-3w0fmcng.js} +5 -5
- package/dist/chunks/{kv-ftd5gews.js → workspace-3yd4wcry.js} +7 -7
- package/dist/chunks/{kv-yp13aqkf.js → workspace-43yx1h7c.js} +11 -11
- package/dist/chunks/{kv-2h6x17mq.js → workspace-494yeyrp.js} +9 -9
- package/dist/chunks/{kv-wbx57ajf.js → workspace-4gqpqfcq.js} +46 -39
- package/dist/chunks/{kv-mpqhg696.js → workspace-4gzagvey.js} +166 -166
- package/dist/chunks/{kv-ecrv93z9.js → workspace-4m2pmvxz.js} +6 -6
- package/dist/chunks/{kv-qptq4a97.js → workspace-4ne4chy4.js} +7 -7
- package/dist/chunks/{kv-xfjax5kj.js → workspace-4pwxaf10.js} +6 -6
- package/dist/chunks/{kv-cy6y2h87.js → workspace-4tmag8pw.js} +12 -12
- package/dist/chunks/{kv-nr4qfx73.js → workspace-54qh477g.js} +9 -9
- package/dist/chunks/{kv-0h54jqbs.js → workspace-5892jdtn.js} +8 -8
- package/dist/chunks/{kv-0mfzvwpr.js → workspace-58aqtfam.js} +17 -17
- package/dist/chunks/{kv-1m7hx97q.js → workspace-59wgq1a5.js} +17 -17
- package/dist/chunks/{kv-06dxphr1.js → workspace-5c0f1prt.js} +4 -4
- package/dist/chunks/{kv-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-77echfzz.js → workspace-5qatf9sn.js} +21 -21
- package/dist/chunks/{kv-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-x0jtbjg2.js → workspace-5ys1ttr6.js} +28 -28
- package/dist/chunks/{kv-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{kv-8xf24hrn.js → workspace-685qrrxy.js} +32 -32
- package/dist/chunks/{kv-ygm3k6pt.js → workspace-6ccptkaw.js} +4 -4
- package/dist/chunks/{kv-ce9cy9tn.js → workspace-6jex2xta.js} +5 -5
- package/dist/chunks/{kv-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-k0a960a7.js → workspace-6qgms2qw.js} +14 -14
- package/dist/chunks/{kv-p1hfkb2a.js → workspace-6wjp1q1r.js} +47 -47
- package/dist/chunks/{kv-gn188skn.js → workspace-709qmd4f.js} +45 -45
- package/dist/chunks/{kv-71q4at8m.js → workspace-71q4at8m.js} +1 -1
- package/dist/chunks/{kv-mhkvc446.js → workspace-73tb2d7t.js} +3 -3
- package/dist/chunks/{kv-zmbz8hcx.js → workspace-76q5vzcy.js} +47 -47
- package/dist/chunks/{kv-7khkw86z.js → workspace-7as7932t.js} +14 -14
- package/dist/chunks/{kv-x3et2xth.js → workspace-7b15y959.js} +8 -8
- package/dist/chunks/{kv-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-qgn6gcr1.js → workspace-7dqw4kz8.js} +5 -5
- package/dist/chunks/workspace-7er8a3we.js +247 -0
- package/dist/chunks/{kv-erf53p6a.js → workspace-7f2qwqcj.js} +19 -19
- package/dist/chunks/{kv-kktgha0p.js → workspace-7hhc48cv.js} +26 -26
- package/dist/chunks/{kv-q2yy3qv3.js → workspace-7s02b6me.js} +1 -1
- package/dist/chunks/{kv-xkmffr67.js → workspace-7vp5pahf.js} +24 -24
- package/dist/chunks/{kv-6nrp97vg.js → workspace-7we4r9ew.js} +11 -11
- package/dist/chunks/{kv-wk17m56v.js → workspace-8a435q9z.js} +24 -24
- package/dist/chunks/{kv-8mvvvh03.js → workspace-8bg05p2k.js} +20 -20
- package/dist/chunks/{kv-2z2qjkd3.js → workspace-8bt8kjwe.js} +9 -9
- package/dist/chunks/{kv-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-fy69466f.js → workspace-8dp3tmf6.js} +34 -34
- package/dist/chunks/{kv-e844176y.js → workspace-8e1b1gzh.js} +6 -6
- package/dist/chunks/{kv-j3ac5q50.js → workspace-8ncewq7h.js} +32 -32
- package/dist/chunks/{kv-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{kv-75sr1xqr.js → workspace-910asfwy.js} +4 -4
- package/dist/chunks/{kv-avmjt9n5.js → workspace-934ndfrr.js} +6 -6
- package/dist/chunks/{kv-596b0gqg.js → workspace-94z0cytz.js} +15 -15
- package/dist/chunks/{kv-vtek68tq.js → workspace-9asg0y97.js} +16 -16
- package/dist/chunks/{kv-nx4sh7k4.js → workspace-9b8ps0g9.js} +4 -4
- package/dist/chunks/{kv-qa6ppnwe.js → workspace-9cmgy7cp.js} +35 -35
- package/dist/chunks/workspace-9sh4wc5j.js +18 -0
- package/dist/chunks/{kv-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{kv-6hh8tjw2.js → workspace-a2ew8a62.js} +4 -4
- package/dist/chunks/{kv-8ycz0j3c.js → workspace-a78mx8ke.js} +11 -11
- package/dist/chunks/workspace-a93wq46y.js +22 -0
- package/dist/chunks/{kv-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-23pqda6t.js → workspace-ab9238g2.js} +5 -5
- package/dist/chunks/{kv-aky46mj0.js → workspace-abn48psr.js} +14 -14
- package/dist/chunks/{kv-439qq586.js → workspace-ag2v6e19.js} +32 -32
- package/dist/chunks/{kv-9vwhk7mz.js → workspace-ahkdt7e5.js} +42 -42
- package/dist/chunks/{kv-twc0z75m.js → workspace-any60g97.js} +5 -5
- package/dist/chunks/{kv-81swgkk7.js → workspace-ar8qnkc3.js} +9 -9
- package/dist/chunks/{kv-b9nc7df5.js → workspace-b1t2am26.js} +37 -37
- package/dist/chunks/{kv-4305953a.js → workspace-b281zsyd.js} +3 -3
- package/dist/chunks/{kv-d50f2zf5.js → workspace-b3t12aqp.js} +1 -1
- package/dist/chunks/{kv-9e7hbcg6.js → workspace-b6bb7nct.js} +15 -15
- package/dist/chunks/{kv-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-3w5w3nh8.js → workspace-b8s0s4ee.js} +17 -17
- package/dist/chunks/{kv-4sm1ktk0.js → workspace-bbyyrkpa.js} +5 -5
- package/dist/chunks/{kv-erkhkr0k.js → workspace-bt0wtns8.js} +11 -11
- package/dist/chunks/{kv-fxd4av11.js → workspace-byfykep1.js} +17 -17
- package/dist/chunks/{kv-d85t2vjv.js → workspace-c2s6b9jx.js} +289 -289
- package/dist/chunks/{kv-dcrp08f6.js → workspace-c3m0xs4s.js} +12 -12
- package/dist/chunks/{kv-4ze7kxrr.js → workspace-c8bfydn7.js} +11 -11
- package/dist/chunks/{kv-5y0nzxc1.js → workspace-ccq2df5x.js} +6 -6
- package/dist/chunks/{kv-hf2pbrtn.js → workspace-cekxsej1.js} +32 -32
- package/dist/chunks/{kv-y5bhkzgm.js → workspace-cf42bz4p.js} +18 -18
- package/dist/chunks/{kv-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{kv-fy056mg1.js → workspace-cgybpxck.js} +25 -25
- package/dist/chunks/{kv-nmgx7778.js → workspace-cy2x3s5a.js} +18 -18
- package/dist/chunks/{kv-4gr0a549.js → workspace-d23qetaw.js} +10 -10
- package/dist/chunks/{kv-sefzmpgj.js → workspace-d3mk2n0c.js} +19 -19
- package/dist/chunks/{kv-53bzy8z6.js → workspace-devz3we5.js} +36 -36
- package/dist/chunks/{kv-y71avatq.js → workspace-dpkg50ah.js} +4 -4
- package/dist/chunks/{kv-cp1smhp7.js → workspace-dsfjtjtn.js} +18 -18
- package/dist/chunks/{kv-6by2q13s.js → workspace-dt849bc4.js} +6 -6
- package/dist/chunks/{kv-838refjp.js → workspace-dxk9f402.js} +19 -19
- package/dist/chunks/{kv-gz5d2c22.js → workspace-e369tct8.js} +16 -16
- package/dist/chunks/{kv-rqp4wsb9.js → workspace-e4tyy19d.js} +17 -17
- package/dist/chunks/{kv-kja4r8qp.js → workspace-eamgkqma.js} +2 -2
- package/dist/chunks/{kv-h5vr5j79.js → workspace-eebjtjym.js} +6 -6
- package/dist/chunks/{kv-09a5a0fp.js → workspace-et6333e0.js} +14 -14
- package/dist/chunks/{kv-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-ryhwgtxa.js → workspace-exzp4pnr.js} +10 -10
- package/dist/chunks/{kv-wwjt80m9.js → workspace-f5wfqm5e.js} +11 -11
- package/dist/chunks/{kv-ckf8nxjz.js → workspace-f73rjn58.js} +4 -4
- package/dist/chunks/{kv-h455ysgm.js → workspace-f79e7acg.js} +2 -2
- package/dist/chunks/{kv-9zswys26.js → workspace-f7ehr2sm.js} +9 -9
- package/dist/chunks/{kv-f828m53h.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{kv-pgm7azv9.js → workspace-f9ps9yx5.js} +20 -20
- package/dist/chunks/{kv-017vzha0.js → workspace-feth5zyx.js} +5 -5
- package/dist/chunks/{kv-pbewafnk.js → workspace-fkab44b1.js} +17 -17
- package/dist/chunks/{kv-fgbvkaq8.js → workspace-fmmn8x74.js} +3 -3
- package/dist/chunks/{kv-ddn28z7g.js → workspace-fsnw1hqv.js} +7 -7
- package/dist/chunks/{kv-waez83j4.js → workspace-fv9ed2xt.js} +41 -41
- package/dist/chunks/{kv-0wab6ted.js → workspace-fwv3dbt3.js} +3 -3
- package/dist/chunks/{kv-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-t2w3xr5a.js → workspace-g5q0e61f.js} +2 -2
- package/dist/chunks/{kv-506x7411.js → workspace-g84khnv4.js} +17 -17
- package/dist/chunks/{kv-exfbp3cy.js → workspace-gcvj5pa8.js} +20 -20
- package/dist/chunks/{kv-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-1r42e7ty.js → workspace-gd9thf3n.js} +6 -6
- package/dist/chunks/{kv-r5d1dmqg.js → workspace-gg212e6z.js} +27 -27
- package/dist/chunks/{kv-3w9yc7a7.js → workspace-ggqdnky6.js} +8 -8
- package/dist/chunks/{kv-n68r2zkb.js → workspace-ggrs6r08.js} +12 -12
- package/dist/chunks/{kv-b6haqpd9.js → workspace-gp8tcjp2.js} +13 -13
- package/dist/chunks/{kv-ypcjrsbr.js → workspace-gqap5j9g.js} +12 -12
- package/dist/chunks/{kv-8pp9vwy8.js → workspace-gt0apk7z.js} +20 -20
- package/dist/chunks/{kv-th5km1p3.js → workspace-gv6a8nnw.js} +5 -5
- package/dist/chunks/{kv-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
- package/dist/chunks/{kv-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-wqc1s1gd.js → workspace-hadkhv8d.js} +32 -32
- package/dist/chunks/{kv-t3tk0kdt.js → workspace-hb1af40t.js} +37 -37
- package/dist/chunks/{kv-bby00dsd.js → workspace-hd29wc17.js} +8 -8
- package/dist/chunks/{kv-59r9wywc.js → workspace-hdcqa9dy.js} +12 -12
- package/dist/chunks/{kv-9njzw40h.js → workspace-hf8cnsjw.js} +1 -1
- package/dist/chunks/{kv-bajakh74.js → workspace-hfdr1yjj.js} +4 -4
- package/dist/chunks/{kv-bkskf6gp.js → workspace-hjsw513e.js} +4 -4
- package/dist/chunks/{kv-nhy5jxhy.js → workspace-hjt4xg1x.js} +4 -4
- package/dist/chunks/{kv-wzp3jkbn.js → workspace-hkp1h9sy.js} +20 -20
- package/dist/chunks/{kv-bgxcxs0p.js → workspace-hnr5yq9h.js} +5 -5
- package/dist/chunks/{kv-4bxkgwjc.js → workspace-hz4vbhnm.js} +83 -83
- package/dist/chunks/{kv-er9grmn7.js → workspace-hzn56yvs.js} +12 -12
- package/dist/chunks/{kv-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-0v53mg2y.js → workspace-j83byb14.js} +4 -4
- package/dist/chunks/{kv-p8mfetr7.js → workspace-jc1vbcaj.js} +13 -13
- package/dist/chunks/{kv-8aevjsfj.js → workspace-jg036ky1.js} +4 -4
- package/dist/chunks/{kv-w721cga8.js → workspace-jndyp0t0.js} +82 -82
- package/dist/chunks/{kv-cbhba7e7.js → workspace-jp51bnyt.js} +24 -24
- package/dist/chunks/{kv-a8bn8zg0.js → workspace-jw80jp6b.js} +4 -4
- package/dist/chunks/{kv-av4fg7kg.js → workspace-jwye7syw.js} +9 -9
- package/dist/chunks/{kv-t6gyap4y.js → workspace-k9q45n45.js} +5 -5
- package/dist/chunks/{kv-802tcqey.js → workspace-kfch808q.js} +19 -19
- package/dist/chunks/{kv-7gjp1kwb.js → workspace-kfjdjtta.js} +41 -41
- package/dist/chunks/{kv-kg06axw8.js → workspace-kg06axw8.js} +1 -1
- package/dist/chunks/{kv-f77b4gg8.js → workspace-kr986s70.js} +11 -11
- package/dist/chunks/{kv-6mtjdhp0.js → workspace-krapsz8s.js} +8 -8
- package/dist/chunks/{kv-w1738nfv.js → workspace-krye8wkr.js} +15 -15
- package/dist/chunks/{kv-63zbbs1j.js → workspace-kwb80b5k.js} +8 -8
- package/dist/chunks/{kv-5nmbd4v9.js → workspace-kzzsz8rg.js} +16 -16
- package/dist/chunks/{kv-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-9w4ppqge.js → workspace-ma15yhyh.js} +5 -5
- package/dist/chunks/{kv-gemkfa67.js → workspace-mdncrv3b.js} +41 -41
- package/dist/chunks/{kv-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
- package/dist/chunks/{kv-70d43s4v.js → workspace-n0rxe8qg.js} +6 -6
- package/dist/chunks/{kv-e9ne7566.js → workspace-n4yapsk0.js} +31 -31
- package/dist/chunks/{kv-8vhsavsz.js → workspace-n5zjdcc0.js} +1 -1
- package/dist/chunks/{kv-46s06qcm.js → workspace-ngmftgzk.js} +6 -6
- package/dist/chunks/{kv-wpd1p932.js → workspace-njh9zcvs.js} +17 -17
- package/dist/chunks/{kv-rnn5ab1a.js → workspace-ntbm31a4.js} +9 -9
- package/dist/chunks/{kv-3wheaa1t.js → workspace-nyqyjq7f.js} +56 -56
- package/dist/chunks/{kv-tmh6rfkz.js → workspace-pawwnp4a.js} +16 -16
- package/dist/chunks/{kv-2bkjbnp9.js → workspace-pb37c83a.js} +8 -8
- package/dist/chunks/{kv-yt0fqk68.js → workspace-pecb0brz.js} +5 -5
- package/dist/chunks/{kv-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{kv-2m10wfgt.js → workspace-pm9j628w.js} +11 -11
- package/dist/chunks/{kv-76gk4s10.js → workspace-pv643edj.js} +2 -2
- package/dist/chunks/{kv-7g7s010y.js → workspace-pz5qb3qt.js} +8 -8
- package/dist/chunks/workspace-qapv375x.js +4 -0
- package/dist/chunks/{kv-6xp89fzc.js → workspace-qedhf8hd.js} +11 -11
- package/dist/chunks/{kv-bmfzpfj9.js → workspace-qq43q54h.js} +9 -9
- package/dist/chunks/{kv-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-d7wm60v1.js → workspace-qssq5wvh.js} +1 -1
- package/dist/chunks/{kv-egqspz5t.js → workspace-qtwarjwz.js} +9 -9
- package/dist/chunks/{kv-j5ysm35j.js → workspace-r9kqtr81.js} +14 -14
- package/dist/chunks/{kv-1sn8gmqj.js → workspace-rcq5765c.js} +15 -15
- package/dist/chunks/{kv-1acjjqhc.js → workspace-rhraev7y.js} +4 -4
- package/dist/chunks/{kv-4haz999q.js → workspace-rq6x4r74.js} +17 -17
- package/dist/chunks/{kv-jge6stq5.js → workspace-rqz552e7.js} +22 -22
- package/dist/chunks/{kv-4hbkt23j.js → workspace-s74e6q5b.js} +24 -24
- package/dist/chunks/{kv-t550f9t1.js → workspace-s8d7rejh.js} +4 -4
- package/dist/chunks/{kv-fezr930q.js → workspace-s8t4qsw4.js} +3 -3
- package/dist/chunks/{kv-xvj1r6w1.js → workspace-scdhnzv1.js} +9 -9
- package/dist/chunks/{kv-k9ngkg1e.js → workspace-sd1b9zfd.js} +13 -13
- package/dist/chunks/{kv-ztatr4as.js → workspace-sdh12dq5.js} +29 -29
- package/dist/chunks/{kv-2b2mnr53.js → workspace-skchca7t.js} +18 -18
- package/dist/chunks/{kv-vjnb44yt.js → workspace-skyymkrr.js} +3 -3
- package/dist/chunks/{kv-hmavm4jw.js → workspace-srqbxy54.js} +24 -24
- package/dist/chunks/{kv-396mvtqj.js → workspace-sxgqf9nr.js} +27 -27
- package/dist/chunks/{kv-5kptn8c0.js → workspace-t0x5rdq8.js} +9 -9
- package/dist/chunks/{kv-h80adbj4.js → workspace-t1bhcjx3.js} +1 -1
- package/dist/chunks/{kv-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-89znhe33.js → workspace-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{kv-jefma2gq.js → workspace-tfgscs23.js} +10 -10
- package/dist/chunks/{kv-2r1rtg3e.js → workspace-tjedsf1z.js} +4 -4
- package/dist/chunks/{kv-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-zeq506h1.js → workspace-v1v9n7kj.js} +18 -18
- package/dist/chunks/{kv-4mx2b0k8.js → workspace-v7bsnapp.js} +43 -43
- package/dist/chunks/{kv-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-6y25d0ac.js → workspace-vx0nbd5a.js} +23 -23
- package/dist/chunks/{kv-vgegbj1j.js → workspace-vz7ss3k3.js} +10 -10
- package/dist/chunks/{kv-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-vbtttdfc.js → workspace-vzw5ftch.js} +1 -1
- package/dist/chunks/{kv-64s65d1n.js → workspace-w1ad28wa.js} +8 -8
- package/dist/chunks/{kv-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-bq6p2e81.js → workspace-w9ytv6gf.js} +8 -8
- package/dist/chunks/{kv-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{kv-k79xn9em.js → workspace-wh7dthar.js} +53 -53
- package/dist/chunks/{kv-vbptb2xn.js → workspace-wjjfysat.js} +9 -9
- package/dist/chunks/{kv-hvbfygy7.js → workspace-wn4xj15b.js} +5 -5
- package/dist/chunks/{kv-zfznrpx1.js → workspace-wt5gx8pc.js} +4 -4
- package/dist/chunks/{kv-3nd5cs90.js → workspace-wtknh6p7.js} +4 -4
- package/dist/chunks/{kv-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
- package/dist/chunks/{kv-2jjcr86y.js → workspace-xcxg3sjd.js} +9 -9
- package/dist/chunks/{kv-vmtnrby3.js → workspace-xhnnpr23.js} +46 -46
- package/dist/chunks/{kv-x5rrbr66.js → workspace-xj890rb7.js} +26 -26
- package/dist/chunks/{kv-p85616da.js → workspace-xwq8n2sh.js} +3 -3
- package/dist/chunks/{kv-0w81t5sb.js → workspace-xwy4v95w.js} +15 -15
- package/dist/chunks/{kv-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-3mx0y1ht.js → workspace-y418223f.js} +26 -26
- package/dist/chunks/{kv-exfw471h.js → workspace-y7e11ang.js} +11 -11
- package/dist/chunks/{kv-8354z59m.js → workspace-yam58fy8.js} +16 -16
- package/dist/chunks/{kv-gqc5bnj8.js → workspace-yeaw3623.js} +26 -26
- package/dist/chunks/{kv-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-r7ns69j1.js → workspace-ytjkbs5q.js} +30 -30
- package/dist/chunks/{kv-dn72drj9.js → workspace-ytp44yw2.js} +28 -28
- package/dist/chunks/{kv-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-75y5tx4d.js → workspace-z52w236g.js} +2 -2
- package/dist/chunks/{kv-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{kv-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-gj9xpvv3.js → workspace-zerdtc7d.js} +2 -2
- package/dist/chunks/{kv-zdfagqyp.js → workspace-zjw1qxrj.js} +24 -24
- package/dist/chunks/{kv-0n7epq16.js → workspace-zmmw47s9.js} +8 -8
- package/dist/chunks/{kv-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-6c6rf3hd.js → workspace-zt9y4nc3.js} +15 -15
- package/dist/chunks/{kv-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +115 -115
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +4 -4
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +100 -100
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +68 -68
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- 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 +90 -90
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/session/compaction.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/kv-0mesazry.js +0 -4
- package/dist/chunks/kv-1vbpvncb.js +0 -22
- package/dist/chunks/kv-pgbvw7vb.js +0 -247
- package/dist/chunks/kv-vnkjks7b.js +0 -18
- /package/dist/chunks/{kv-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-paphc93g.js → workspace-paphc93g.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service66
|
|
4
|
+
} from "./workspace-1qa7sx05.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service48
|
|
8
|
+
} from "./workspace-709qmd4f.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-skyymkrr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service61
|
|
14
|
+
} from "./workspace-c3m0xs4s.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service63
|
|
18
|
+
} from "./workspace-ahkdt7e5.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service26
|
|
21
|
+
} from "./workspace-jndyp0t0.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make9
|
|
27
|
+
} from "./workspace-bt0wtns8.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Output: () => Output5,
|
|
37
|
+
Plugin: () => Plugin20,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description2,
|
|
40
|
+
name: () => name6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name6 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input6 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input5 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output5 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description2 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description3 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin20 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service26;
|
|
84
|
+
const jobs = yield* Service61;
|
|
85
|
+
const agents = yield* Service66;
|
|
86
|
+
const config = yield* Service48;
|
|
87
|
+
const permission = yield* Service63;
|
|
88
|
+
const subagents = yield* make9;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name6,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description2,
|
|
93
|
+
input: Input6,
|
|
94
|
+
output: Output5,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin6 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name6,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin6 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID9.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name6];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name6, Input6, Output5, description2, Plugin20, exports_subagent };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./workspace-709qmd4f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./workspace-jwye7syw.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin39
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin39 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service48;
|
|
26
|
+
const image = yield* Service41;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin36 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin39, exports_image };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./workspace-5qatf9sn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./workspace-4m2pmvxz.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service60;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
Service62,
|
|
3
|
+
node67,
|
|
4
|
+
canonical3
|
|
5
|
+
} from "./workspace-hzn56yvs.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node65
|
|
9
|
+
} from "./workspace-4m2pmvxz.js";
|
|
10
10
|
import {
|
|
11
11
|
layer2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-7er8a3we.js";
|
|
13
13
|
|
|
14
14
|
// src/location-services.ts
|
|
15
15
|
import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
16
16
|
function buildLocationServiceMap2(replacements = []) {
|
|
17
|
-
return Layer.effect(
|
|
17
|
+
return Layer.effect(Service62, Effect.gen(function* () {
|
|
18
18
|
const owner = yield* Effect.scope;
|
|
19
19
|
const booting = MutableHashMap.empty();
|
|
20
20
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -32,21 +32,21 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
32
32
|
}, { idleTimeToLive: Duration.infinity });
|
|
33
33
|
const map = {
|
|
34
34
|
...inner,
|
|
35
|
-
get: (ref) => inner.get(
|
|
36
|
-
contextEffect: (ref) => inner.contextEffect(
|
|
37
|
-
contextEffectOption: (ref) => inner.contextEffectOption(
|
|
35
|
+
get: (ref) => inner.get(canonical3(ref)),
|
|
36
|
+
contextEffect: (ref) => inner.contextEffect(canonical3(ref)),
|
|
37
|
+
contextEffectOption: (ref) => inner.contextEffectOption(canonical3(ref)),
|
|
38
38
|
invalidate: (ref) => Effect.suspend(() => {
|
|
39
|
-
const key =
|
|
39
|
+
const key = canonical3(ref);
|
|
40
40
|
MutableHashMap.remove(booting, key);
|
|
41
41
|
return inner.invalidate(key);
|
|
42
42
|
})
|
|
43
43
|
};
|
|
44
44
|
const bindings = [
|
|
45
|
-
|
|
45
|
+
node65.replace(Layer.succeed(Service60, {
|
|
46
46
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
47
47
|
})),
|
|
48
48
|
...replacements,
|
|
49
|
-
|
|
49
|
+
node67.replace(Layer.succeed(Service62, map))
|
|
50
50
|
];
|
|
51
51
|
return map;
|
|
52
52
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info17
|
|
6
|
+
} from "./workspace-jw80jp6b.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info11
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info17)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info11 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info11, exports_agent3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service70,
|
|
3
|
+
node75
|
|
4
|
+
} from "./workspace-njh9zcvs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service32
|
|
7
|
+
} from "./workspace-9sh4wc5j.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service22,
|
|
10
|
+
node26
|
|
11
|
+
} from "./workspace-33w8fzr9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node20
|
|
14
|
+
} from "./workspace-v1v9n7kj.js";
|
|
15
15
|
import {
|
|
16
16
|
node6
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-ytjkbs5q.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
@@ -28,9 +28,9 @@ __export(exports_refresh, {
|
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service70;
|
|
32
|
+
const plugins = yield* Service32;
|
|
33
|
+
const worktrees = yield* Service22;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
38
38
|
var node5 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node26, node75, node20, node6]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
export { node5, exports_refresh };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-fwv3dbt3.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-tjedsf1z.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service72,
|
|
14
|
+
node77
|
|
15
|
+
} from "./workspace-tfgscs23.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event16,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-ar8qnkc3.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./workspace-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID12,
|
|
40
|
+
Info: () => Info28,
|
|
41
|
+
NotFoundError: () => NotFoundError9,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service71,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node76,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID12 = ID13;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info28 = Info29;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID12
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service71 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service72;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event16.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID12.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
167
167
|
time_updated: Date.now()
|
|
168
168
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
169
169
|
if (!row)
|
|
170
|
-
return yield* new
|
|
170
|
+
return yield* new NotFoundError9({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event16.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID12.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID12.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID12.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID12.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID12.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID12.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID12.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service71.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node76 = makeGlobalNode({
|
|
277
|
+
service: Service71,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node84, node85, FSUtil.node,
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node77, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID12, Vcs2, Current2, Info28, UpdateInput3, NotFoundError9, root2, Service71, node76, exports_project };
|