@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,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./workspace-vx0nbd5a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./workspace-ahkdt7e5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID14,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service73
|
|
14
|
+
} from "./workspace-7f2qwqcj.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin23,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
26
|
description: () => description4,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input9 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID14,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin23 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service63;
|
|
53
|
+
const forms = yield* Service77;
|
|
54
|
+
const websearch = yield* Service73;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name9,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description4,
|
|
59
|
-
input:
|
|
59
|
+
input: Input9,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name9,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name9];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name9, NO_RESULTS2, description4, Input9, Plugin23, exports_websearch };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-w9ytv6gf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin2,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin2 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin19 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin19 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin2, exports_tavily };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-dt849bc4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node80
|
|
12
|
+
} from "./workspace-c8bfydn7.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-f79e7acg.js";
|
|
16
16
|
import {
|
|
17
17
|
ID11,
|
|
18
18
|
VariantID2,
|
|
19
19
|
Ref2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-fsnw1hqv.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service76,
|
|
24
|
+
node81
|
|
25
|
+
} from "./workspace-y418223f.js";
|
|
26
26
|
import {
|
|
27
27
|
Service69,
|
|
28
28
|
node74
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-58aqtfam.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./workspace-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service68,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
41
41
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
42
42
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
43
43
|
fromCatalogModel: () => fromCatalogModel2,
|
|
44
44
|
hasPackage: () => hasPackage2,
|
|
45
|
-
layer: () =>
|
|
46
|
-
node: () =>
|
|
45
|
+
layer: () => layer24,
|
|
46
|
+
node: () => node73,
|
|
47
47
|
resolveModel: () => resolveModel2,
|
|
48
48
|
withVariant: () => withVariant2
|
|
49
49
|
});
|
|
@@ -53,7 +53,7 @@ import { Auth } from "@opencode/ai/route";
|
|
|
53
53
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
54
54
|
import { Npm } from "@opencode/util/npm";
|
|
55
55
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
56
|
-
providerID:
|
|
56
|
+
providerID: ID15,
|
|
57
57
|
modelID: ID11,
|
|
58
58
|
variant: VariantID2
|
|
59
59
|
}) {
|
|
@@ -63,7 +63,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
66
|
-
providerID:
|
|
66
|
+
providerID: ID15,
|
|
67
67
|
modelID: ID11,
|
|
68
68
|
package: Schema.String
|
|
69
69
|
}) {
|
|
@@ -73,7 +73,7 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
76
|
-
providerID:
|
|
76
|
+
providerID: ID15,
|
|
77
77
|
modelID: ID11,
|
|
78
78
|
variables: Schema.Array(Schema.String)
|
|
79
79
|
}) {
|
|
@@ -83,7 +83,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
86
|
-
providerID:
|
|
86
|
+
providerID: ID15,
|
|
87
87
|
modelID: ID11,
|
|
88
88
|
route: Schema.String
|
|
89
89
|
}) {
|
|
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service68 extends Context.Service()("@opencode/ModelResolver") {
|
|
96
96
|
}
|
|
97
97
|
var withVariant2 = (model, variantID) => {
|
|
98
98
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
218
218
|
});
|
|
219
219
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
220
220
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
221
|
-
var
|
|
221
|
+
var layer24 = Layer.effect(Service68, Effect.gen(function* () {
|
|
222
222
|
const catalog = yield* Service69;
|
|
223
|
-
const integrations = yield*
|
|
223
|
+
const integrations = yield* Service76;
|
|
224
224
|
const npm = yield* Npm.Service;
|
|
225
|
-
const aisdk = yield*
|
|
225
|
+
const aisdk = yield* Service75;
|
|
226
226
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
227
227
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
228
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
228
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
|
|
229
229
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
230
230
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
231
231
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -246,7 +246,7 @@ var layer23 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
246
246
|
compaction: selected.compaction
|
|
247
247
|
};
|
|
248
248
|
});
|
|
249
|
-
return
|
|
249
|
+
return Service68.of({
|
|
250
250
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
251
251
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
252
252
|
if (!selected)
|
|
@@ -263,10 +263,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
263
263
|
const name = packageName2(packageName);
|
|
264
264
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
265
265
|
}
|
|
266
|
-
var
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [node74,
|
|
266
|
+
var node73 = makeLocationNode({
|
|
267
|
+
service: Service68,
|
|
268
|
+
layer: layer24,
|
|
269
|
+
deps: [node74, node81, Npm.node, node80]
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
272
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service68, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node73, exports_model_resolver };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-w9ytv6gf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-tjedsf1z.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./workspace-ytp44yw2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-y418223f.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID15,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-dt849bc4.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-1wh2xykj.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID15.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const tokens = new Map;
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID15.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID15.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID15.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID15.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
170
|
-
yield* bus.subscribe(
|
|
170
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
171
171
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
172
|
-
if (evt.model.providerID !==
|
|
172
|
+
if (evt.model.providerID !== ID15.azure)
|
|
173
173
|
return;
|
|
174
|
-
const connection = yield* ctx.integration.connection.active(
|
|
174
|
+
const connection = yield* ctx.integration.connection.active(ID15.azure);
|
|
175
175
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
})) : undefined;
|
|
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID15.azure });
|
|
188
188
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
189
189
|
if (evt.package !== "@ai-sdk/azure")
|
|
190
190
|
return;
|
|
191
|
-
if (evt.model.providerID ===
|
|
191
|
+
if (evt.model.providerID === ID15.azure) {
|
|
192
192
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
193
193
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
194
194
|
}
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
evt.sdk = mod.createAzure(evt.options);
|
|
198
198
|
}));
|
|
199
199
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
200
|
-
if (evt.model.providerID !==
|
|
200
|
+
if (evt.model.providerID !== ID15.azure)
|
|
201
201
|
return;
|
|
202
202
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
203
203
|
}));
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-fwv3dbt3.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info22,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service64,
|
|
21
|
+
node: () => node69
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info22 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service64 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID8.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service64.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node69 = makeGlobalNode({ service: Service64, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID8, Info22, ListInput4, AddInput2, Service64, node69, exports_saved };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin10
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin10 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin21 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin10, exports_mcp_codemode_exclusion };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./workspace-njh9zcvs.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./workspace-709qmd4f.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service23
|
|
10
|
+
} from "./workspace-94z0cytz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make10
|
|
13
|
+
} from "./workspace-73tb2d7t.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin42
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin42 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service48;
|
|
37
|
+
const formatter = yield* Service23;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service70;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin41 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make10({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin41 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin42, exports_formatter };
|