@opencode/core 0.0.0-dev-20583 → 0.0.0-dev-20586
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 +81 -81
- 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/{file-mutation-jcvj30yp.js → schema-0brrbz7a.js} +16 -16
- package/dist/chunks/{file-mutation-5qrrcsc2.js → schema-0jm58kyp.js} +9 -9
- package/dist/chunks/{file-mutation-ft0c77xz.js → schema-0knh1j5d.js} +15 -15
- package/dist/chunks/{file-mutation-0qtgexh9.js → schema-0nrdtycv.js} +51 -51
- package/dist/chunks/{file-mutation-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-7jdtyktx.js → schema-0tjvnj70.js} +9 -9
- package/dist/chunks/{file-mutation-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-mutation-wzpg4398.js → schema-1279vwrw.js} +5 -5
- package/dist/chunks/{file-mutation-9z4end1d.js → schema-15h6fegf.js} +13 -13
- package/dist/chunks/{file-mutation-24wzahvd.js → schema-15s9b7tq.js} +16 -16
- package/dist/chunks/{file-mutation-cwsxj1fy.js → schema-18a3shtt.js} +12 -12
- package/dist/chunks/{file-mutation-r8xr0va3.js → schema-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-mutation-k1qrnqst.js → schema-1dangqhw.js} +8 -8
- package/dist/chunks/{file-mutation-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-1dvck2a7.js → schema-1dvck2a7.js} +2 -2
- package/dist/chunks/{file-mutation-gapccta5.js → schema-1j43e8h9.js} +20 -20
- package/dist/chunks/{file-mutation-5cz6gggr.js → schema-1x37w07y.js} +27 -27
- package/dist/chunks/{file-mutation-mfqp6xfm.js → schema-1ygqh575.js} +6 -6
- package/dist/chunks/{file-mutation-en7r6a3x.js → schema-1z8bakdw.js} +11 -11
- package/dist/chunks/{file-mutation-m80q8nre.js → schema-1zf23djs.js} +4 -4
- package/dist/chunks/{file-mutation-93t1mf90.js → schema-21z0btgx.js} +11 -11
- package/dist/chunks/{file-mutation-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-j3qw8rc6.js → schema-2aajs87z.js} +23 -23
- package/dist/chunks/{file-mutation-2st2vgs8.js → schema-2s93m5wx.js} +29 -29
- package/dist/chunks/{file-mutation-gxxtbefb.js → schema-2ty9snxt.js} +26 -26
- package/dist/chunks/{file-mutation-cdy1429m.js → schema-34tsw91e.js} +22 -22
- package/dist/chunks/schema-35668my4.js +26 -0
- package/dist/chunks/{file-mutation-s1wxmayf.js → schema-3757zhg2.js} +10 -10
- package/dist/chunks/{file-mutation-48cwc0wb.js → schema-398sja33.js} +24 -24
- package/dist/chunks/{file-mutation-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-f27gt3fb.js → schema-3jqk5x8p.js} +75 -75
- package/dist/chunks/{file-mutation-79ajbfyg.js → schema-3k1ktder.js} +4 -4
- package/dist/chunks/{file-mutation-21kzj585.js → schema-3rjzkyns.js} +16 -16
- package/dist/chunks/{file-mutation-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-8hkfkb27.js → schema-3zbwexce.js} +8 -8
- package/dist/chunks/{file-mutation-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-77hgjsk3.js → schema-461mwfvs.js} +31 -31
- package/dist/chunks/{file-mutation-4ts7tf6z.js → schema-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-mutation-2w5dyyz8.js → schema-4xxxtaen.js} +8 -8
- package/dist/chunks/{file-mutation-6wz7chbs.js → schema-4ytb3748.js} +3 -3
- package/dist/chunks/{file-mutation-54ma36ye.js → schema-54ma36ye.js} +1 -1
- package/dist/chunks/{file-mutation-40bnz8b2.js → schema-55m450pe.js} +11 -11
- package/dist/chunks/{file-mutation-w6pb9j5w.js → schema-5ccwcxf7.js} +14 -14
- package/dist/chunks/{file-mutation-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-1r1edwa1.js → schema-5f5fdjjg.js} +31 -31
- package/dist/chunks/{file-mutation-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-sxsdhb2f.js → schema-5xbqt2y0.js} +31 -31
- package/dist/chunks/{file-mutation-97jxdyep.js → schema-5zeh3nq2.js} +47 -47
- package/dist/chunks/{file-mutation-v03f7qed.js → schema-609c7rjf.js} +5 -5
- package/dist/chunks/{file-mutation-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-bx1kzrbd.js → schema-66f72jf0.js} +17 -17
- package/dist/chunks/{file-mutation-12wrqg79.js → schema-6je3rcen.js} +23 -23
- package/dist/chunks/{file-mutation-d7y24xev.js → schema-6p0hs1pc.js} +13 -13
- package/dist/chunks/{file-mutation-7y74vpaj.js → schema-6v4rkqn9.js} +22 -22
- package/dist/chunks/{file-mutation-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-mutation-8k1b3hgn.js → schema-6xg4x7p4.js} +27 -27
- package/dist/chunks/{file-mutation-71az546q.js → schema-71az546q.js} +2 -2
- package/dist/chunks/{file-mutation-j4dpp98w.js → schema-71v7metp.js} +27 -27
- package/dist/chunks/{file-mutation-zkpkevqb.js → schema-785emzww.js} +25 -25
- package/dist/chunks/{file-mutation-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-qgn6gcr1.js → schema-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-mutation-xtqdhsn8.js → schema-7gewva0j.js} +3 -3
- package/dist/chunks/{file-mutation-qykvrrtg.js → schema-7k951zm2.js} +11 -11
- package/dist/chunks/{file-mutation-d2vx756y.js → schema-7nfz7vry.js} +6 -6
- package/dist/chunks/{file-mutation-608kr7kb.js → schema-7vv0vsc5.js} +10 -10
- package/dist/chunks/{file-mutation-vc6v0gj3.js → schema-84c5kt73.js} +4 -4
- package/dist/chunks/{file-mutation-93cdtzk6.js → schema-892k6z1j.js} +11 -11
- package/dist/chunks/{file-mutation-qvb3nf84.js → schema-89bb6baa.js} +8 -8
- package/dist/chunks/{file-mutation-sznyev98.js → schema-89vjf07m.js} +5 -5
- package/dist/chunks/{file-mutation-94mz8ebf.js → schema-8c6aeth0.js} +28 -28
- package/dist/chunks/{file-mutation-e2t1g78s.js → schema-8d5nx7er.js} +183 -183
- package/dist/chunks/{file-mutation-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-9txt07q0.js → schema-8gn32dwp.js} +90 -90
- package/dist/chunks/{file-mutation-9xb4p3aq.js → schema-8j43q005.js} +7 -7
- package/dist/chunks/{file-mutation-anfj9sc3.js → schema-8xgppe8x.js} +8 -8
- package/dist/chunks/{file-mutation-9e5bzkjp.js → schema-9e5bzkjp.js} +3 -3
- package/dist/chunks/{file-mutation-eea3fma5.js → schema-9gjfbdts.js} +32 -32
- package/dist/chunks/{file-mutation-vkt86nx4.js → schema-9kwc633n.js} +19 -19
- package/dist/chunks/{file-mutation-90hpmr2t.js → schema-9swdtjav.js} +9 -9
- package/dist/chunks/{file-mutation-166kng33.js → schema-9y0w708y.js} +8 -8
- package/dist/chunks/{file-mutation-btbmdjwj.js → schema-a3c7ahw6.js} +4 -4
- package/dist/chunks/{file-mutation-6a6378pm.js → schema-a8rjsjfn.js} +23 -23
- package/dist/chunks/{file-mutation-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-x48v3pqg.js → schema-aczmxqpc.js} +8 -8
- package/dist/chunks/{file-mutation-yvd37te7.js → schema-aff3a7hd.js} +19 -19
- package/dist/chunks/{file-mutation-2w56afta.js → schema-an2v7pwn.js} +4 -4
- package/dist/chunks/{file-mutation-yjx32v1s.js → schema-as7cf5zz.js} +4 -4
- package/dist/chunks/{file-mutation-6b9m9qth.js → schema-ate656c3.js} +8 -8
- package/dist/chunks/{file-mutation-dx2gcj3s.js → schema-ayqs46pg.js} +22 -22
- package/dist/chunks/schema-ayx7vafe.js +507 -0
- package/dist/chunks/{file-mutation-wecqtg5s.js → schema-b3f8fkhc.js} +5 -5
- package/dist/chunks/{file-mutation-th8qagft.js → schema-b5pm0qd4.js} +8 -8
- package/dist/chunks/{file-mutation-rk1r2hx8.js → schema-b69jv39p.js} +1 -1
- package/dist/chunks/{file-mutation-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-capa8hmm.js → schema-b7a8j68b.js} +8 -8
- package/dist/chunks/{file-mutation-7zkbhs7g.js → schema-bdpzzc2x.js} +11 -11
- package/dist/chunks/{file-mutation-d9ygp6ze.js → schema-bv266yyp.js} +7 -7
- package/dist/chunks/{file-mutation-05j2y7x7.js → schema-bvbtfhva.js} +7 -7
- package/dist/chunks/{file-mutation-j4jm9w3p.js → schema-bw8pdnvy.js} +20 -20
- package/dist/chunks/{file-mutation-agrw7dk4.js → schema-c81ezzqg.js} +16 -16
- package/dist/chunks/{file-mutation-yeav80qa.js → schema-c8k34h4t.js} +19 -19
- package/dist/chunks/{file-mutation-a8bn8zg0.js → schema-cavr175a.js} +4 -4
- package/dist/chunks/{file-mutation-ts23464c.js → schema-cfsekr6v.js} +4 -4
- package/dist/chunks/{file-mutation-a81dbpn4.js → schema-cjw2sxyz.js} +56 -56
- package/dist/chunks/{file-mutation-d3gcvv3k.js → schema-cnnankxx.js} +10 -10
- package/dist/chunks/{file-mutation-58mk5nmy.js → schema-czxrm6cp.js} +18 -18
- package/dist/chunks/{file-mutation-9kr929zm.js → schema-d8mep6qx.js} +3 -3
- package/dist/chunks/{file-mutation-kb6vbnxp.js → schema-de52ckkz.js} +4 -4
- package/dist/chunks/{file-mutation-123xm1e3.js → schema-df0ykk77.js} +9 -9
- package/dist/chunks/{file-mutation-c779czcw.js → schema-dnxygc0x.js} +9 -9
- package/dist/chunks/{file-mutation-nxm207yx.js → schema-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-mutation-g60yh954.js → schema-dr6jkw1e.js} +35 -35
- package/dist/chunks/{file-mutation-dsq8k9r4.js → schema-drda7tq8.js} +35 -35
- package/dist/chunks/{file-mutation-nkh7czpt.js → schema-dtmn9m2k.js} +22 -22
- package/dist/chunks/schema-dxj72tfx.js +18 -0
- package/dist/chunks/{file-mutation-a9bm1b1m.js → schema-e3gj9zxp.js} +45 -45
- package/dist/chunks/{file-mutation-1kprmeav.js → schema-e7kdnfv2.js} +35 -35
- package/dist/chunks/{file-mutation-q752a12t.js → schema-e8v72fmy.js} +22 -22
- package/dist/chunks/{file-mutation-j8k9xj39.js → schema-e98kd4sq.js} +31 -31
- package/dist/chunks/{file-mutation-ayb65py8.js → schema-ecpsh8rg.js} +6 -6
- package/dist/chunks/{file-mutation-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-a1gpj94z.js → schema-eq1pz5kg.js} +3 -3
- package/dist/chunks/{file-mutation-wyahmztr.js → schema-espr1ah5.js} +5 -5
- package/dist/chunks/{file-mutation-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-awnyytxj.js → schema-f2030xt1.js} +36 -32
- package/dist/chunks/{file-mutation-x6n59cg4.js → schema-f5gz5swa.js} +14 -14
- package/dist/chunks/{file-mutation-f56msdte.js → schema-f6zdzjx0.js} +47 -47
- package/dist/chunks/{file-mutation-mbgxsypk.js → schema-f7m4gqsr.js} +31 -31
- package/dist/chunks/{file-mutation-j4k4y6cp.js → schema-fbhsdg98.js} +45 -45
- package/dist/chunks/{file-mutation-cdbfhxhg.js → schema-fe7qsfpk.js} +20 -20
- package/dist/chunks/{file-mutation-0swngr03.js → schema-fhh3yeyh.js} +26 -26
- package/dist/chunks/{file-mutation-49exe669.js → schema-fhz5gfgy.js} +5 -5
- package/dist/chunks/{file-mutation-a026aj5z.js → schema-fjb35128.js} +43 -43
- package/dist/chunks/{file-mutation-r6s1zymw.js → schema-fk3men0g.js} +35 -35
- package/dist/chunks/{file-mutation-w22zc6e5.js → schema-fkhfs56y.js} +18 -18
- package/dist/chunks/{file-mutation-eqv7r0bw.js → schema-fq9618wy.js} +6 -6
- package/dist/chunks/{file-mutation-wjmj7svf.js → schema-g4ec7k1p.js} +24 -24
- package/dist/chunks/{file-mutation-w19d8598.js → schema-g5w8qwbj.js} +7 -7
- package/dist/chunks/{file-mutation-s7h584sa.js → schema-g8j2n5ph.js} +9 -9
- package/dist/chunks/{file-mutation-kc6n47mc.js → schema-ga0tfepk.js} +3 -3
- package/dist/chunks/{file-mutation-dzbkcwn2.js → schema-ga67qtkk.js} +16 -16
- package/dist/chunks/{file-mutation-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-7tt1yyek.js → schema-ggdj6b59.js} +23 -23
- package/dist/chunks/{file-mutation-0t7934bj.js → schema-ghpd4fr7.js} +40 -40
- package/dist/chunks/{file-mutation-ygdna4kr.js → schema-gj71zhbs.js} +5 -5
- package/dist/chunks/{file-mutation-43mj7s4s.js → schema-gtmvshrw.js} +7 -7
- package/dist/chunks/{file-mutation-ybtvq2mj.js → schema-gwm757wf.js} +19 -19
- package/dist/chunks/{file-mutation-g8srsgrp.js → schema-gzh3bm7x.js} +5 -5
- package/dist/chunks/{file-mutation-h2b79v29.js → schema-h2b79v29.js} +2 -2
- package/dist/chunks/{file-mutation-g1epjwmz.js → schema-h52xp8p4.js} +12 -9
- package/dist/chunks/{file-mutation-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-gbdpq833.js → schema-he39p88c.js} +12 -12
- package/dist/chunks/{file-mutation-v0es1rhs.js → schema-hg3614cy.js} +9 -9
- package/dist/chunks/{file-mutation-awzyrsce.js → schema-hj5fbf02.js} +9 -9
- package/dist/chunks/{file-mutation-2cwknq7w.js → schema-hmv4j20b.js} +11 -11
- package/dist/chunks/{file-mutation-e2k83wgv.js → schema-hvywv52v.js} +5 -5
- package/dist/chunks/{file-mutation-zqcjw91e.js → schema-j129swd2.js} +17 -17
- package/dist/chunks/{file-mutation-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-xz8rcs7k.js → schema-j75c4hzg.js} +28 -28
- package/dist/chunks/{file-mutation-ngt3qdhm.js → schema-jba7mbpp.js} +5 -5
- package/dist/chunks/{file-mutation-5s0bmr25.js → schema-jyxk3ed8.js} +23 -23
- package/dist/chunks/{file-mutation-g31erja1.js → schema-k70p9jzb.js} +9 -9
- package/dist/chunks/{file-mutation-w7w59cfp.js → schema-kbm049ab.js} +13 -13
- package/dist/chunks/{file-mutation-vxmhavab.js → schema-kcn8d4wf.js} +13 -13
- package/dist/chunks/{file-mutation-bmdr62wy.js → schema-kg6ewcnz.js} +5 -5
- package/dist/chunks/{file-mutation-84xy7cmd.js → schema-kjhtpa86.js} +3 -3
- package/dist/chunks/{file-mutation-8gqyy45k.js → schema-kp7w4w0c.js} +20 -20
- package/dist/chunks/{file-mutation-2j93mrye.js → schema-kzsy6v0s.js} +11 -11
- package/dist/chunks/{file-mutation-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-k09a0f44.js → schema-m761qzqs.js} +15 -15
- package/dist/chunks/{file-mutation-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-gka6nvrt.js → schema-mpyv0gjv.js} +15 -15
- package/dist/chunks/{file-mutation-tmjgp03p.js → schema-msjz9fyp.js} +38 -38
- package/dist/chunks/{file-mutation-2sq0rgeb.js → schema-mt9f3aka.js} +31 -31
- package/dist/chunks/{file-mutation-9qwqd80z.js → schema-mxfx3p70.js} +23 -23
- package/dist/chunks/{file-mutation-gqtdsdt7.js → schema-mxvxcxwy.js} +4 -4
- package/dist/chunks/{file-mutation-w48dyk57.js → schema-mygtg7h0.js} +22 -22
- package/dist/chunks/{file-mutation-z39s51pd.js → schema-n3q2c8vm.js} +15 -15
- package/dist/chunks/{file-mutation-39kj94aj.js → schema-nhzfetse.js} +13 -13
- package/dist/chunks/{file-mutation-ehn96ckv.js → schema-nqee14cx.js} +11 -11
- package/dist/chunks/{file-mutation-68cfq5az.js → schema-nsjtt5er.js} +25 -25
- package/dist/chunks/{file-mutation-pa8pe2x7.js → schema-p37cw4rj.js} +8 -8
- package/dist/chunks/{file-mutation-7q62a8nt.js → schema-p7f50jp2.js} +11 -11
- package/dist/chunks/{file-mutation-w7n29mqq.js → schema-pgb4114y.js} +4 -4
- package/dist/chunks/{file-mutation-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-3gepn018.js → schema-pkdmza6n.js} +8 -8
- package/dist/chunks/{file-mutation-9n9hgcd8.js → schema-pkn3rqad.js} +18 -18
- package/dist/chunks/{file-mutation-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-b6nfqgtw.js → schema-pkqfn6w5.js} +12 -12
- package/dist/chunks/{file-mutation-px76j0pk.js → schema-pnkbpv6t.js} +5 -5
- package/dist/chunks/{file-mutation-4rt0ga34.js → schema-prq7hedt.js} +9 -9
- package/dist/chunks/{file-mutation-d15mmqf3.js → schema-pt6d7ckw.js} +11 -11
- package/dist/chunks/{file-mutation-t6fvfsyt.js → schema-pvxscb8w.js} +1 -1
- package/dist/chunks/{file-mutation-q0xm7vwc.js → schema-q0xm7vwc.js} +2 -2
- package/dist/chunks/{file-mutation-n9vhqagr.js → schema-q7cgqs0q.js} +30 -30
- package/dist/chunks/{file-mutation-zy0jt0ey.js → schema-qdgd7pts.js} +42 -42
- package/dist/chunks/{file-mutation-6136cgh5.js → schema-qj8bvm0v.js} +52 -52
- package/dist/chunks/{file-mutation-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-mutation-m1khtztb.js → schema-qnpbp7f6.js} +5 -5
- package/dist/chunks/{file-mutation-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-kzrvy21g.js → schema-qsmpxerm.js} +12 -12
- package/dist/chunks/{file-mutation-qxjc9qry.js → schema-qxjc9qry.js} +3 -3
- package/dist/chunks/{file-mutation-cwa6csj7.js → schema-r2m716tb.js} +9 -9
- package/dist/chunks/{file-mutation-ceetf7sw.js → schema-r3q6pmcz.js} +8 -8
- package/dist/chunks/{file-mutation-tfj6v96f.js → schema-r51ygcfp.js} +45 -44
- package/dist/chunks/{file-mutation-72p9t9gb.js → schema-rb8mch2y.js} +33 -33
- package/dist/chunks/{file-mutation-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-wv396vej.js → schema-rhjbct0v.js} +8 -8
- package/dist/chunks/{file-mutation-180jb965.js → schema-rhms3hdd.js} +19 -19
- package/dist/chunks/{file-mutation-qkrdv68w.js → schema-rhxwzm2w.js} +32 -32
- package/dist/chunks/{file-mutation-rzg0yy35.js → schema-rjt6kdv6.js} +11 -11
- package/dist/chunks/{file-mutation-ep44p4pe.js → schema-rttzrg3r.js} +12 -12
- package/dist/chunks/{file-mutation-h0tn9bp1.js → schema-rxsn8x9d.js} +24 -24
- package/dist/chunks/{file-mutation-ab0bv3vs.js → schema-ry4cmxgm.js} +10 -10
- package/dist/chunks/{file-mutation-dra5cftj.js → schema-rypd5ndp.js} +2 -2
- package/dist/chunks/{file-mutation-ryr25ayn.js → schema-ryr25ayn.js} +1 -1
- package/dist/chunks/{file-mutation-sazhseep.js → schema-s0yv6qk4.js} +11 -11
- package/dist/chunks/{file-mutation-5h9mcdhs.js → schema-sbdntvmw.js} +28 -28
- package/dist/chunks/{file-mutation-zx95ftzb.js → schema-sd9a6snf.js} +3 -3
- package/dist/chunks/{file-mutation-y5beyqvm.js → schema-sdsbj08z.js} +2 -2
- package/dist/chunks/{file-mutation-0pzykd19.js → schema-shny27f7.js} +38 -38
- package/dist/chunks/{file-mutation-mbrh99t5.js → schema-skzfdnfe.js} +5 -5
- package/dist/chunks/{file-mutation-zrtb0087.js → schema-srdpzyxc.js} +10 -10
- package/dist/chunks/{file-mutation-ftmsc343.js → schema-sy8hwy21.js} +17 -17
- package/dist/chunks/{file-mutation-f73rjn58.js → schema-t7n9q6bq.js} +4 -4
- package/dist/chunks/{file-mutation-wtr910ek.js → schema-taw4b7j9.js} +19 -19
- package/dist/chunks/{file-mutation-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-93ygb5af.js → schema-tcay1cqt.js} +6 -6
- package/dist/chunks/{file-mutation-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-v5azp370.js → schema-tg9q7e94.js} +48 -48
- package/dist/chunks/{file-mutation-7jvbf81s.js → schema-th268h5n.js} +33 -33
- package/dist/chunks/{file-mutation-y6mhz57t.js → schema-tjedn1bk.js} +4 -4
- package/dist/chunks/{file-mutation-94qxd8wt.js → schema-tqk33c0s.js} +3 -3
- package/dist/chunks/{file-mutation-bygr0fca.js → schema-tra9m5aj.js} +41 -41
- package/dist/chunks/{file-mutation-ceze7etz.js → schema-tz8q98pd.js} +3 -3
- package/dist/chunks/{file-mutation-skq3snf0.js → schema-v3cgeczt.js} +3 -3
- package/dist/chunks/{file-mutation-hh8qm7ej.js → schema-vejndnrc.js} +22 -22
- package/dist/chunks/{file-mutation-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-rpfmaskv.js → schema-vjmmbq9h.js} +83 -83
- package/dist/chunks/{file-mutation-qpjyd557.js → schema-vmx43xs3.js} +15 -15
- package/dist/chunks/{file-mutation-10t9a2f3.js → schema-vtt0yr3x.js} +17 -17
- package/dist/chunks/{file-mutation-aawfa1p8.js → schema-vwk1vad2.js} +1 -1
- package/dist/chunks/{file-mutation-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-84txncab.js → schema-w1eejvng.js} +5 -5
- package/dist/chunks/{file-mutation-dssbfrwz.js → schema-w39jehkq.js} +5 -5
- package/dist/chunks/{file-mutation-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-3xe73pcq.js → schema-w65mgvd1.js} +26 -26
- package/dist/chunks/{file-mutation-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-bj8e23yz.js → schema-wdhp2wqx.js} +20 -20
- package/dist/chunks/{file-mutation-f3d9psnk.js → schema-wrqwmc22.js} +36 -36
- package/dist/chunks/{file-mutation-47qpzrds.js → schema-x0m3x8cn.js} +46 -46
- package/dist/chunks/{file-mutation-5w26m471.js → schema-x68tzkrm.js} +9 -9
- package/dist/chunks/{file-mutation-g5krbyz9.js → schema-x9300pb6.js} +15 -15
- package/dist/chunks/{file-mutation-6s812hbs.js → schema-xb9ezq08.js} +30 -30
- package/dist/chunks/{file-mutation-peptrfgf.js → schema-xgam4qj3.js} +26 -26
- package/dist/chunks/{file-mutation-xkntkrq7.js → schema-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-mutation-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-s1gjyzhy.js → schema-y3739sk3.js} +12 -12
- package/dist/chunks/{file-mutation-6nwe3trr.js → schema-y5k41zqf.js} +10 -10
- package/dist/chunks/{file-mutation-pwk6y6g7.js → schema-y5t28hz6.js} +33 -33
- package/dist/chunks/{file-mutation-fbck328a.js → schema-y730841x.js} +24 -24
- package/dist/chunks/{file-mutation-8ne23mfp.js → schema-yk45h2rs.js} +15 -15
- package/dist/chunks/{file-mutation-k66mh8t8.js → schema-yk5nserk.js} +4 -4
- package/dist/chunks/{file-mutation-gez6wwhh.js → schema-ykjpaak5.js} +15 -15
- package/dist/chunks/{file-mutation-f29mbr7f.js → schema-yrcj3v3g.js} +4 -4
- package/dist/chunks/schema-ywtmtjc3.js +253 -0
- package/dist/chunks/{file-mutation-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-6hbe8yta.js → schema-z2nx0y2v.js} +13 -13
- package/dist/chunks/{file-mutation-1qxsyfe0.js → schema-z71avzk1.js} +27 -27
- package/dist/chunks/{file-mutation-exm9kzsb.js → schema-z8x71xh1.js} +5 -5
- package/dist/chunks/{file-mutation-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-jpqsftmp.js → schema-zw122828.js} +35 -35
- package/dist/chunks/{file-mutation-zxq2ej10.js → schema-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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- 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 +98 -98
- package/dist/model.js +102 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +2 -2
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- 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 +129 -129
- 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 +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- 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 +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +108 -108
- 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 +126 -126
- 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 +124 -124
- 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 +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/model.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/file-mutation-2r7ew65j.js +0 -26
- package/dist/chunks/file-mutation-8fke18e1.js +0 -253
- package/dist/chunks/file-mutation-kjjjense.js +0 -507
- package/dist/chunks/file-mutation-rap9a73h.js +0 -18
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./schema-rttzrg3r.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make13 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service79;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./schema-y3739sk3.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-qj8bvm0v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
21
|
ID: () => ID5,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
24
|
Service: () => Service50,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available3,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node52,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event9 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info8 = Skill.Info;
|
|
43
43
|
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
@@ -74,7 +74,7 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
74
74
|
class Service50 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
76
|
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
77
|
-
const bus = yield*
|
|
77
|
+
const bus = yield* Service82;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
111
|
+
var node52 = makeLocationNode({
|
|
112
112
|
service: Service50,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node86]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info8, ID5, Name2, available3, toModelOutput3, prepare3, Service50, node52, exports_skill5, Event9 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-tqk33c0s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./schema-y3739sk3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./schema-tcay1cqt.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service41
|
|
16
|
+
} from "./schema-th268h5n.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-d8mep6qx.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-9e5bzkjp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service48;
|
|
45
45
|
const database = yield* Service84;
|
|
46
|
-
const bus = yield*
|
|
46
|
+
const bus = yield* Service82;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service41;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
77
|
-
const bus = yield*
|
|
76
|
+
const instances = yield* Service48;
|
|
77
|
+
const bus = yield* Service82;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service41;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service52,
|
|
3
|
+
node54
|
|
4
|
+
} from "./schema-r51ygcfp.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-sd9a6snf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service46,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node48,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service46 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service52;
|
|
59
|
+
return Service46.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node48 = makeLocationNode({ service: Service46, layer, deps: [node54] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service46, resolved2, node48, exports_model };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./schema-y3739sk3.js";
|
|
6
|
+
import {
|
|
3
7
|
Service83,
|
|
4
8
|
node87
|
|
5
|
-
} from "./
|
|
6
|
-
import {
|
|
7
|
-
Service62,
|
|
8
|
-
node65
|
|
9
|
-
} from "./file-mutation-608kr7kb.js";
|
|
9
|
+
} from "./schema-7vv0vsc5.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event19,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service74,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node78,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service74 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event19 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service83;
|
|
81
|
+
const bus = yield* Service82;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event19.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service74.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event19.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event19.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node78 = makeGlobalNode({ service: Service74, layer, deps: [httpClient, node87, node86] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service74, Event19, inspect2, resolve4, node78, exports_wellknown };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./schema-wdhp2wqx.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./schema-0brrbz7a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./schema-x0m3x8cn.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./schema-66f72jf0.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service12
|
|
20
|
+
} from "./schema-k70p9jzb.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-pgb4114y.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill2 = {};
|
|
30
|
+
__export(exports_skill2, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
+
Plugin: () => Plugin28
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin28 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service55;
|
|
43
|
+
const discovery = yield* Service12;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service77;
|
|
47
|
+
const watcher = yield* Service56;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin15 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin15 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin15 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin15 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin15 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin28, exports_skill2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-h2b79v29.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./schema-0brrbz7a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./schema-pkn3rqad.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service10
|
|
12
|
+
} from "./schema-vejndnrc.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service11
|
|
27
|
+
} from "./schema-yk45h2rs.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input9,
|
|
36
|
+
Plugin: () => Plugin45,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name9,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name9 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input9 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin45 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service11;
|
|
62
|
+
const access = yield* Service16;
|
|
63
|
+
const sessionInstructions = yield* Service10;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service77;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name9,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input9,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin42 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent5 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name9, Input9, Plugin45, toModelContent5, exports_read };
|