@opencode/core 0.0.0-dev-20345 → 0.0.0-dev-20348
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{state-yt7aqnvn.js → location-00ts2kzt.js} +24 -24
- package/dist/chunks/{state-nwqe4f3s.js → location-01m7n6jp.js} +19 -19
- package/dist/chunks/{state-ddt2bs9e.js → location-06x8he3q.js} +4 -4
- package/dist/chunks/{state-gwcert61.js → location-0f3jrm1q.js} +15 -15
- package/dist/chunks/{state-wkrjrqp5.js → location-0g5ckg7g.js} +9 -9
- package/dist/chunks/{state-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-be59z4hg.js → location-0rdn37j5.js} +33 -33
- package/dist/chunks/{state-3e87262r.js → location-0thq7ctp.js} +1 -1
- package/dist/chunks/{state-0vpvgsj7.js → location-0wd18q2k.js} +58 -58
- package/dist/chunks/{state-yc6hmas2.js → location-0xrwab9k.js} +5 -5
- package/dist/chunks/{state-80mb3rs2.js → location-17yyvbe9.js} +11 -11
- package/dist/chunks/{state-8nv3jfj1.js → location-18rp1xkf.js} +8 -8
- package/dist/chunks/{state-fmye1ng3.js → location-1bj4gwz6.js} +4 -4
- package/dist/chunks/{state-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-r4feqcmh.js → location-1h8w82y9.js} +18 -18
- package/dist/chunks/{state-ektkda5n.js → location-1tk67md7.js} +9 -9
- package/dist/chunks/{state-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{state-mezm2w51.js → location-299n82gd.js} +8 -8
- package/dist/chunks/{state-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-wm1tzmrb.js → location-2bw9zt22.js} +27 -27
- package/dist/chunks/{state-b5c7acg6.js → location-2e0fcd9j.js} +13 -13
- package/dist/chunks/{state-f4b92smv.js → location-2gw3vh47.js} +8 -8
- package/dist/chunks/{state-7dqw4kz8.js → location-2k8khapm.js} +5 -5
- package/dist/chunks/{state-j5208yae.js → location-2y34zzjz.js} +4 -4
- package/dist/chunks/{state-tvphtg2k.js → location-36aj2cm8.js} +34 -34
- package/dist/chunks/{state-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-dhwr7h25.js → location-3pbjq009.js} +11 -11
- package/dist/chunks/{state-nscznvay.js → location-3pe7sts8.js} +9 -9
- package/dist/chunks/{state-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-wywf0jv5.js → location-3tgv7gac.js} +21 -21
- package/dist/chunks/{state-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-3556dn8t.js → location-427t97hr.js} +1 -1
- package/dist/chunks/{state-2q2sbzgs.js → location-42ba421n.js} +6 -6
- package/dist/chunks/{state-vrzb7372.js → location-4386109a.js} +19 -19
- package/dist/chunks/{state-3k4qtam6.js → location-4759trp9.js} +15 -15
- package/dist/chunks/{state-0zeppm43.js → location-4mq1x62p.js} +7 -7
- package/dist/chunks/{state-a2js1e01.js → location-4rgapcf3.js} +14 -14
- package/dist/chunks/{state-8e176bsp.js → location-4t8t9syn.js} +13 -13
- package/dist/chunks/{state-afd8vays.js → location-4xth3yzf.js} +9 -9
- package/dist/chunks/{state-936k06nc.js → location-51hah4g5.js} +14 -14
- package/dist/chunks/{state-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{state-efhbm40n.js → location-54rhwcph.js} +21 -21
- package/dist/chunks/{state-56gdpj1q.js → location-56gdpj1q.js} +2 -2
- package/dist/chunks/{state-3ywf2fjx.js → location-590cb2rw.js} +26 -26
- package/dist/chunks/{state-j6acr1hx.js → location-5bmxm2h2.js} +35 -35
- package/dist/chunks/{state-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{state-papj7q52.js → location-5gfh327x.js} +298 -298
- package/dist/chunks/{state-fd8ad5g5.js → location-5nwc1qt7.js} +3 -3
- package/dist/chunks/{state-bvjk94fa.js → location-5ps1pq9q.js} +4 -4
- package/dist/chunks/{state-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
- package/dist/chunks/{state-9ah7747k.js → location-5qkytfck.js} +25 -25
- package/dist/chunks/{state-em3h5ktn.js → location-5qwkxp89.js} +4 -4
- package/dist/chunks/{state-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-mzywpf3p.js → location-5xpznt2d.js} +4 -4
- package/dist/chunks/{state-njqgdpjp.js → location-613reg7y.js} +7 -7
- package/dist/chunks/{state-ph2w6qfe.js → location-623pka8b.js} +2 -2
- package/dist/chunks/{state-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{state-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-41wzkj33.js → location-6yvxz189.js} +13 -13
- package/dist/chunks/{state-gn4mtd9h.js → location-71ynmsgj.js} +11 -11
- package/dist/chunks/{state-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-6pc27hjz.js → location-7fkffz83.js} +8 -8
- package/dist/chunks/{state-r7525m21.js → location-7g0wb0cy.js} +45 -45
- package/dist/chunks/{state-81swgkk7.js → location-81swgkk7.js} +2 -2
- package/dist/chunks/{state-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{state-1wy6918f.js → location-87ewwnhh.js} +8 -8
- package/dist/chunks/{state-ms93yq6r.js → location-8aaqm6qj.js} +8 -8
- package/dist/chunks/{state-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/location-8dbtp0rc.js +26 -0
- package/dist/chunks/{state-fhb5ssfr.js → location-8dr8mq96.js} +32 -32
- package/dist/chunks/{state-1zgzas4z.js → location-8msq6g0a.js} +26 -26
- package/dist/chunks/{state-xpx5mjk6.js → location-8zqs9j7p.js} +7 -7
- package/dist/chunks/{state-gfvb90ym.js → location-94ek1h2f.js} +2 -2
- package/dist/chunks/{state-vje8wz55.js → location-968bzxcp.js} +22 -22
- package/dist/chunks/{state-np3fkp2v.js → location-9ap4ea2s.js} +11 -11
- package/dist/chunks/{state-qt6sdbsb.js → location-9g4szje7.js} +9 -9
- package/dist/chunks/{state-qzbep2cn.js → location-9teg96v0.js} +18 -18
- package/dist/chunks/{state-dgvwm360.js → location-9tk9cqsk.js} +16 -16
- package/dist/chunks/{state-x0e6358b.js → location-a3ywwdhk.js} +35 -35
- package/dist/chunks/{state-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{state-12xd4ymj.js → location-agpdygac.js} +10 -10
- package/dist/chunks/{state-vr16sjez.js → location-ahafs8t7.js} +16 -16
- package/dist/chunks/{state-taxxrjzd.js → location-atbvbwe9.js} +34 -34
- package/dist/chunks/{state-0ryd0fps.js → location-axs6pdy0.js} +5 -5
- package/dist/chunks/{state-g97bb4fb.js → location-b09hzw3k.js} +2 -2
- package/dist/chunks/{state-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-5fbqftap.js → location-b6w9je7w.js} +13 -13
- package/dist/chunks/{state-5dak2w70.js → location-b6zafb3b.js} +4 -4
- package/dist/chunks/{state-1eg0141z.js → location-bv6e155w.js} +1 -1
- package/dist/chunks/{state-grq906mk.js → location-by4tzntv.js} +22 -22
- package/dist/chunks/{state-9s372dca.js → location-bzy5scph.js} +28 -28
- package/dist/chunks/{state-qh8vwz7j.js → location-c0yr27jg.js} +32 -32
- package/dist/chunks/{state-662ekzyz.js → location-c19pwdq3.js} +26 -26
- package/dist/chunks/{state-tn0aqsam.js → location-c78bbtc9.js} +5 -5
- package/dist/chunks/{state-qjw7q168.js → location-c9yc49s2.js} +13 -13
- package/dist/chunks/{state-y09nxxfn.js → location-ckbtgcas.js} +12 -12
- package/dist/chunks/{state-54tcyq79.js → location-ckecvw8r.js} +2 -2
- package/dist/chunks/{state-fvanntqq.js → location-cpy6gm2a.js} +4 -4
- package/dist/chunks/{state-bwje1fea.js → location-crf45ehp.js} +15 -15
- package/dist/chunks/{state-vbga4g3c.js → location-cw1jgv1w.js} +8 -8
- package/dist/chunks/{state-cwa6csj7.js → location-cwa6csj7.js} +2 -2
- package/dist/chunks/{state-krph668c.js → location-cy51bfwc.js} +29 -29
- package/dist/chunks/{state-cmwkp3r5.js → location-czfptnv9.js} +6 -6
- package/dist/chunks/{state-cz7wr2zz.js → location-czke85js.js} +37 -37
- package/dist/chunks/{state-azwp2v3h.js → location-d6hekszz.js} +43 -43
- package/dist/chunks/{state-fsf584xg.js → location-d7yvqe2m.js} +25 -25
- package/dist/chunks/{state-avzp3gyq.js → location-dbebcc4e.js} +15 -15
- package/dist/chunks/{state-xx531rrw.js → location-deav3xfk.js} +8 -8
- package/dist/chunks/{state-xy0es05p.js → location-dpzww8qs.js} +14 -14
- package/dist/chunks/{state-2vhkgxeb.js → location-dqt459vh.js} +23 -23
- package/dist/chunks/{state-0rhrw73v.js → location-e087dx1z.js} +13 -13
- package/dist/chunks/{state-66r9f6z1.js → location-e89xj288.js} +5 -5
- package/dist/chunks/{state-ecfe7b91.js → location-ecfe7b91.js} +2 -2
- package/dist/chunks/{state-v79qzs0e.js → location-edpxxy6h.js} +8 -8
- package/dist/chunks/{state-zbwqc9a9.js → location-edqypwwq.js} +9 -9
- package/dist/chunks/{state-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-ef5xe33j.js → location-ejvqnc63.js} +11 -11
- package/dist/chunks/{state-7bcnwrvj.js → location-ek5t7eqg.js} +6 -6
- package/dist/chunks/{state-n781nrqq.js → location-en77ektd.js} +14 -14
- package/dist/chunks/{state-yhs2t3wf.js → location-eq03v0a1.js} +76 -76
- package/dist/chunks/{state-9ecan2nc.js → location-er3vg3vh.js} +26 -26
- package/dist/chunks/{state-k84kd2rq.js → location-etgzvy3j.js} +16 -16
- package/dist/chunks/{state-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-yp2x3t23.js → location-f2n192rq.js} +4 -4
- package/dist/chunks/{state-vsp1fds9.js → location-f3ngv102.js} +21 -21
- package/dist/chunks/{state-vkrdzdkx.js → location-f99pqswk.js} +43 -43
- package/dist/chunks/{state-bdw8v3mn.js → location-fagqvdjb.js} +48 -48
- package/dist/chunks/{state-0npnkq69.js → location-fc7nysvv.js} +20 -20
- package/dist/chunks/{state-x8t44att.js → location-fn7q4aek.js} +3 -3
- package/dist/chunks/{state-h6b02349.js → location-g5agzp2h.js} +5 -5
- package/dist/chunks/{state-6cfd75hy.js → location-g8d3gcyj.js} +4 -4
- package/dist/chunks/{state-t9v8ce90.js → location-gax9tvz5.js} +9 -9
- package/dist/chunks/{state-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-cjxbqd7h.js → location-ges5jxp9.js} +36 -36
- package/dist/chunks/{state-sr6aw9m2.js → location-gfpy67ef.js} +12 -12
- package/dist/chunks/{state-4xndpv5p.js → location-ggany8nf.js} +18 -18
- package/dist/chunks/{state-wprsb84s.js → location-gkkmt2sg.js} +13 -13
- package/dist/chunks/{state-f2wnd5nk.js → location-gnnzp49s.js} +88 -88
- package/dist/chunks/{state-9wnq827a.js → location-gtk2dzy4.js} +17 -17
- package/dist/chunks/{state-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-y5qxgpje.js → location-gz5dk3bq.js} +5 -5
- package/dist/chunks/{state-d80ttx72.js → location-h345add1.js} +11 -11
- package/dist/chunks/{state-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-hwxfv3tc.js → location-hfe0pjhj.js} +12 -12
- package/dist/chunks/{state-chtreyd7.js → location-hrc5xhz2.js} +20 -20
- package/dist/chunks/{state-5d58fczq.js → location-hte1hbnx.js} +17 -17
- package/dist/chunks/{state-q5hpy1pp.js → location-hz96p7g5.js} +5 -5
- package/dist/chunks/{state-mvfsc1pv.js → location-j028xdjb.js} +3 -3
- package/dist/chunks/{state-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{state-xhpe18j8.js → location-j5zkyg6c.js} +11 -11
- package/dist/chunks/{state-3j8sdtpz.js → location-j83byb14.js} +4 -4
- package/dist/chunks/{state-b65r9e3v.js → location-j8zvn2fh.js} +4 -4
- package/dist/chunks/{state-30sh4j22.js → location-jdk5dma1.js} +7 -7
- package/dist/chunks/{state-wf98btk2.js → location-je364zjc.js} +11 -11
- package/dist/chunks/{state-qbqbaz6q.js → location-jewzahs7.js} +4 -4
- package/dist/chunks/{state-pk7dtzh7.js → location-jfd6bygr.js} +1 -1
- package/dist/chunks/{state-36qhr83r.js → location-jvy0y2ha.js} +33 -33
- package/dist/chunks/{state-qmhxt3hx.js → location-jx0s70p5.js} +141 -141
- package/dist/chunks/{state-ce68aqnt.js → location-k4tg163h.js} +6 -6
- package/dist/chunks/{state-5mn92tv3.js → location-kgkc771s.js} +20 -20
- package/dist/chunks/{state-ykej036m.js → location-kk3cv3zh.js} +1 -1
- package/dist/chunks/{state-pzsxz3jz.js → location-kmprzaxc.js} +19 -19
- package/dist/chunks/{state-zftz6z13.js → location-kmz30q20.js} +23 -23
- package/dist/chunks/{state-txvbd51c.js → location-kn0epzjf.js} +11 -11
- package/dist/chunks/{state-n5693fw6.js → location-knbep6cp.js} +11 -11
- package/dist/chunks/{state-fwwk8vbp.js → location-kp8q1t60.js} +5 -5
- package/dist/chunks/{state-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{state-2e83wwrs.js → location-m4s2206c.js} +16 -16
- package/dist/chunks/{state-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-6qmvz171.js → location-math506r.js} +22 -22
- package/dist/chunks/{state-pmerw669.js → location-mbheeb9q.js} +10 -10
- package/dist/chunks/{state-n25nhtx9.js → location-mp410mz8.js} +15 -15
- package/dist/chunks/{state-mpk0rfs5.js → location-mpk0rfs5.js} +1 -1
- package/dist/chunks/{state-x5zps9n8.js → location-mr7cqtv5.js} +18 -18
- package/dist/chunks/{state-9tjbveq7.js → location-mt0r8540.js} +11 -11
- package/dist/chunks/{state-qm865f5x.js → location-mte2zf97.js} +26 -26
- package/dist/chunks/{state-ednp5hmx.js → location-mw934p8z.js} +8 -8
- package/dist/chunks/{state-yt8vsfev.js → location-mzeadsks.js} +3 -3
- package/dist/chunks/{state-7j9zgq8p.js → location-nnf39y6b.js} +42 -42
- package/dist/chunks/{state-31gw44a1.js → location-nsa3r9ab.js} +12 -12
- package/dist/chunks/{state-1ejw9j53.js → location-nz8rrhbp.js} +24 -24
- package/dist/chunks/{state-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{state-fqbcpy34.js → location-nzpqs87y.js} +20 -20
- package/dist/chunks/{state-jxy46986.js → location-p9pebgfc.js} +13 -13
- package/dist/chunks/{state-fmcqyzhx.js → location-patgj9rf.js} +9 -9
- package/dist/chunks/{state-qy3qk6ng.js → location-pe666123.js} +1 -1
- package/dist/chunks/{state-sra9araw.js → location-pecb0brz.js} +5 -5
- package/dist/chunks/{state-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{state-216bemhx.js → location-pmjs45am.js} +34 -34
- package/dist/chunks/{state-ftr96xex.js → location-pn17gp7k.js} +2 -2
- package/dist/chunks/{state-71mzxbmj.js → location-ptry4pjd.js} +34 -34
- package/dist/chunks/{state-9g40tecy.js → location-pzxv3qq1.js} +90 -90
- package/dist/chunks/{state-z4vzmr80.js → location-q41j7w5c.js} +13 -13
- package/dist/chunks/{state-xrac12dq.js → location-q4e0v6dz.js} +8 -8
- package/dist/chunks/{state-0e4jz1n8.js → location-qa0bweyd.js} +15 -15
- package/dist/chunks/{state-cg3ccyyg.js → location-qfgbnpe6.js} +11 -11
- package/dist/chunks/{state-t2f2p2hs.js → location-qkg528j3.js} +46 -46
- package/dist/chunks/{state-drwq78ky.js → location-qqeeq2t9.js} +7 -7
- package/dist/chunks/{state-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{state-bnmr3cva.js → location-qwjmgwmn.js} +8 -8
- package/dist/chunks/{state-5adcek81.js → location-r0d4rr2j.js} +6 -6
- package/dist/chunks/{state-xk37293j.js → location-r0dmdece.js} +2 -2
- package/dist/chunks/{state-w2q85e14.js → location-r5skxa8y.js} +11 -11
- package/dist/chunks/{state-a2rpfkac.js → location-ra4n65wq.js} +4 -4
- package/dist/chunks/{state-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-h8n7s2er.js → location-rf7hrare.js} +14 -14
- package/dist/chunks/{state-fb1tbn8m.js → location-rhtam9wh.js} +14 -14
- package/dist/chunks/{state-t6hysv17.js → location-rnr5nq63.js} +13 -13
- package/dist/chunks/{state-d5s62x3z.js → location-rqwzy025.js} +13 -13
- package/dist/chunks/{state-tq190vwz.js → location-rtetnwks.js} +27 -27
- package/dist/chunks/{state-x0kfg7bm.js → location-rw7y820a.js} +15 -15
- package/dist/chunks/{state-m4z5w7fj.js → location-s45cmrye.js} +42 -42
- package/dist/chunks/{state-s8d7rejh.js → location-s8d7rejh.js} +1 -1
- package/dist/chunks/{state-wpk6ae5y.js → location-sdvk2ad6.js} +24 -24
- package/dist/chunks/{state-sexjdqf6.js → location-se0gt7je.js} +16 -16
- package/dist/chunks/{state-56xa85j2.js → location-sf9v7z6x.js} +5 -5
- package/dist/chunks/{state-41k2ygh2.js → location-sqxqv8se.js} +9 -9
- package/dist/chunks/{state-9kza3txs.js → location-stwp2f1a.js} +8 -8
- package/dist/chunks/{state-9vtsvkk2.js → location-swabsky0.js} +6 -6
- package/dist/chunks/{state-d1mtykxg.js → location-sxzvkvgj.js} +6 -6
- package/dist/chunks/{state-4z58m4b4.js → location-syf57q56.js} +4 -4
- package/dist/chunks/{state-0zdym56s.js → location-sz763eb6.js} +9 -9
- package/dist/chunks/{state-nzhr00nd.js → location-t0csqp6z.js} +26 -26
- package/dist/chunks/{state-fva3gcq8.js → location-t1kg76fs.js} +22 -22
- package/dist/chunks/{state-wm0fnsq3.js → location-t3cj5mba.js} +25 -25
- package/dist/chunks/{state-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-x20r9ngb.js → location-tdasrx2p.js} +15 -15
- package/dist/chunks/{state-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{state-wsm9s30m.js → location-tekbb0q2.js} +13 -13
- package/dist/chunks/{state-zfz6p2zn.js → location-tk0nydx8.js} +12 -12
- package/dist/chunks/{state-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{state-jrfyc01p.js → location-tyj1qjbe.js} +61 -61
- package/dist/chunks/location-v1faaxn9.js +18 -0
- package/dist/chunks/{state-79n0bxvh.js → location-v231365c.js} +3 -3
- package/dist/chunks/{state-1r786k4f.js → location-v9wsnbng.js} +32 -32
- package/dist/chunks/{state-2bgvn5nj.js → location-va37abn8.js} +14 -14
- package/dist/chunks/{state-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{state-stjna85r.js → location-vf7xdy0e.js} +23 -23
- package/dist/chunks/{state-gj33z6hv.js → location-vqk5dmcs.js} +8 -8
- package/dist/chunks/{state-918r00qh.js → location-vsh1qdt7.js} +21 -21
- package/dist/chunks/{state-p3fxhk0g.js → location-vsp45cnr.js} +21 -21
- package/dist/chunks/{state-fzdh19fh.js → location-vvxdtkaw.js} +9 -9
- package/dist/chunks/{state-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{state-69vwg8tc.js → location-w2738c68.js} +46 -46
- package/dist/chunks/location-w2qa834j.js +252 -0
- package/dist/chunks/{state-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-mjj1bz1p.js → location-w60t80j4.js} +8 -8
- package/dist/chunks/{state-psazpmmj.js → location-wd3x2cqz.js} +2 -2
- package/dist/chunks/{state-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{state-nqt4j4tt.js → location-wk53zw7x.js} +32 -32
- package/dist/chunks/{state-fr0z36kv.js → location-x0pg96dj.js} +13 -13
- package/dist/chunks/{state-x8m5f2m8.js → location-x0wcjtet.js} +12 -12
- package/dist/chunks/{state-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-be9x6ywh.js → location-xjqc52jg.js} +9 -9
- package/dist/chunks/{state-xkntkrq7.js → location-xkntkrq7.js} +2 -2
- package/dist/chunks/{state-csmch40z.js → location-xmha486q.js} +27 -27
- package/dist/chunks/{state-80d1yvs7.js → location-xrf4x0pp.js} +5 -5
- package/dist/chunks/{state-jzbn4sdj.js → location-xs9f3tqs.js} +33 -33
- package/dist/chunks/{state-w74ktcr0.js → location-y017brwn.js} +43 -43
- package/dist/chunks/{state-39ad5as0.js → location-y1bxbmrp.js} +11 -11
- package/dist/chunks/{state-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-2angj6gv.js → location-y5df08dr.js} +12 -12
- package/dist/chunks/{state-5epte933.js → location-y6f0p4jw.js} +2 -2
- package/dist/chunks/{state-dpkg50ah.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{state-hgy5zrac.js → location-yeyr9gdq.js} +21 -21
- package/dist/chunks/{state-z53dzy5k.js → location-yhztf7xm.js} +20 -20
- package/dist/chunks/{state-92a4ap4w.js → location-yjptyezs.js} +5 -5
- package/dist/chunks/{state-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-s4enseaf.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{state-bjtzbw4r.js → location-z07pqspn.js} +3 -3
- package/dist/chunks/{state-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-v2yhmqtv.js → location-z1g2rz02.js} +1 -1
- package/dist/chunks/{state-8159mah8.js → location-z2mts3jq.js} +20 -20
- package/dist/chunks/{state-29x78va6.js → location-z63w68vq.js} +6 -6
- package/dist/chunks/{state-szck5pq9.js → location-z7eps1h1.js} +4 -4
- package/dist/chunks/{state-aevpzszq.js → location-zcza1hmm.js} +49 -49
- package/dist/chunks/{state-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-30pmczq8.js → location-zgg0zcbd.js} +12 -12
- package/dist/chunks/{state-959s7zb7.js → location-zmkr9het.js} +18 -18
- package/dist/chunks/{state-te6p44we.js → location-znkk0wve.js} +6 -6
- package/dist/chunks/{state-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +75 -75
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +101 -92
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +94 -94
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +91 -91
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +117 -117
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/state-9sh4wc5j.js +0 -18
- package/dist/chunks/state-cpgb32tx.js +0 -252
- package/dist/chunks/state-pt6s91j2.js +0 -26
- /package/dist/chunks/{state-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Event19,
|
|
10
|
-
Service75,
|
|
11
|
-
node79
|
|
12
|
-
} from "./state-216bemhx.js";
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./location-se0gt7je.js";
|
|
13
8
|
import {
|
|
9
|
+
Event18,
|
|
14
10
|
Service76,
|
|
15
11
|
node80
|
|
16
|
-
} from "./
|
|
12
|
+
} from "./location-pmjs45am.js";
|
|
17
13
|
import {
|
|
18
|
-
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./location-rhtam9wh.js";
|
|
17
|
+
import {
|
|
18
|
+
Service51,
|
|
19
19
|
node53
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-hrc5xhz2.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service77,
|
|
24
|
+
node81
|
|
25
|
+
} from "./location-vf7xdy0e.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service75,
|
|
34
|
+
node79
|
|
35
|
+
} from "./location-vsp45cnr.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
45
|
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service32,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node35
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -91,7 +91,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
96
|
var Options4 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -99,13 +99,13 @@ var Options4 = Schema.Struct({
|
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var
|
|
103
|
-
const location = yield*
|
|
104
|
-
const environment = yield*
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
102
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
103
|
+
const location = yield* Service79;
|
|
104
|
+
const environment = yield* Service51;
|
|
105
|
+
const bus = yield* Service83;
|
|
106
|
+
const forms = yield* Service77;
|
|
107
|
+
const integration = yield* Service75;
|
|
108
|
+
const credentials = yield* Service76;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -133,7 +133,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -142,19 +142,19 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
142
142
|
const name = ServerName2.make(server);
|
|
143
143
|
const entry = entries.get(name);
|
|
144
144
|
if (!entry)
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new NotFoundError5({ server: name });
|
|
146
146
|
return { name, entry };
|
|
147
147
|
});
|
|
148
148
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID16.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
260
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service51, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -382,7 +382,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
382
382
|
yield* startServer(name, entry);
|
|
383
383
|
}).pipe(locks.withLock(name));
|
|
384
384
|
});
|
|
385
|
-
fork(bus.subscribe(
|
|
385
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
386
386
|
const state = create3({
|
|
387
387
|
name: "mcp",
|
|
388
388
|
initial: () => ({
|
|
@@ -408,7 +408,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service32.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,12 +516,12 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
}
|
|
517
517
|
function configured4(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
520
|
-
layer:
|
|
521
|
-
deps: [
|
|
519
|
+
service: Service32,
|
|
520
|
+
layer: layer15(options),
|
|
521
|
+
deps: [node83, node53, node87, node81, node79, node80]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node35 = configured4();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service32, Options4, layer15, configured4, node35, exports_mcp4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make13,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make13(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make13, render2, exports_system_prompt };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service71,
|
|
10
|
+
node: () => node75
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service71 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service71.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node75 = makeLocationNode({ service: Service71, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service71, node75, exports_hooks };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-bzy5scph.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID4.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-613reg7y.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./location-qa0bweyd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service22
|
|
6
|
+
} from "./location-pzxv3qq1.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service22;
|
|
24
|
+
const jobs = yield* Service43;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make5 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin40
|
|
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
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin40 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin46 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin40, exports_mcp_codemode_defaults };
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-t1kg76fs.js";
|
|
6
6
|
import {
|
|
7
7
|
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info25
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-3tgv7gac.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-8msq6g0a.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -12,22 +12,22 @@ __export(exports_location, {
|
|
|
12
12
|
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service79,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node83,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service79 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node83 = LayerNode.unbound(Service79, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service80;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service79.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service79,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node84]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info31, Ref4, response2,
|
|
43
|
+
export { Info31, Ref4, response2, Service79, node83, boundNode2, exports_location };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options9,
|
|
15
|
+
Service: () => Service54,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured9,
|
|
@@ -21,7 +21,7 @@ __export(exports_select, {
|
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node57,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options9 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service54 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,7 +199,7 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service54.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
@@ -207,8 +207,8 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
209
|
function configured9(options) {
|
|
210
|
-
return makeLocationNode({ service:
|
|
210
|
+
return makeLocationNode({ service: Service54, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node57 = configured9();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options9, Service54, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured9, node57, exports_select };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-qfgbnpe6.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service61,
|
|
17
|
+
node: () => node65
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service61 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service84).db;
|
|
26
|
+
return Service61.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node65 = makeGlobalNode({ service: Service61, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service61, node65, exports_kv };
|