@opencode/core 0.0.0-dev-19461 → 0.0.0-dev-19465
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{location-mb2t11pg.js → skill-069yxdfj.js} +3 -3
- package/dist/chunks/{location-3ncmaxct.js → skill-0cvx4fb4.js} +32 -32
- package/dist/chunks/{location-qqtwvk4z.js → skill-0gaj4617.js} +6 -6
- package/dist/chunks/{location-0gr7cw0d.js → skill-0gr7cw0d.js} +1 -1
- package/dist/chunks/{location-1fzcnh6v.js → skill-0hk96bqy.js} +17 -17
- package/dist/chunks/{location-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → skill-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-cabjg3g0.js → skill-0se4te34.js} +16 -16
- package/dist/chunks/{location-ejn237hk.js → skill-0snr5brg.js} +41 -41
- package/dist/chunks/{location-wmq45nfe.js → skill-0vm6v74g.js} +82 -82
- package/dist/chunks/{location-pxq7pqqx.js → skill-0x18acnr.js} +20 -20
- package/dist/chunks/{location-a3fmdkp8.js → skill-15bxkz3b.js} +1 -1
- package/dist/chunks/{location-tkgdp0re.js → skill-18xez9vh.js} +13 -13
- package/dist/chunks/{location-tgcnfkqc.js → skill-19hqt04n.js} +25 -25
- package/dist/chunks/{location-6ttajnb0.js → skill-1av7y6ck.js} +4 -4
- package/dist/chunks/{location-ra3vsbfe.js → skill-1c3k8t0n.js} +9 -9
- package/dist/chunks/{location-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-fffsb91j.js → skill-1e10pjx7.js} +4 -4
- package/dist/chunks/{location-4nkvv82w.js → skill-1jkts21f.js} +9 -9
- package/dist/chunks/{location-gwm9h4t4.js → skill-1t1mgs64.js} +18 -18
- package/dist/chunks/{location-cwjhdd4w.js → skill-1td1xm27.js} +16 -16
- package/dist/chunks/{location-7k2b160c.js → skill-1wt8hjjs.js} +2 -2
- package/dist/chunks/{location-1ygqh575.js → skill-1ygqh575.js} +2 -2
- package/dist/chunks/{location-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{location-2402vzrj.js → skill-2402vzrj.js} +1 -1
- package/dist/chunks/{location-29x78va6.js → skill-29x78va6.js} +2 -2
- package/dist/chunks/{location-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-vjq66stf.js → skill-2c62gqdw.js} +9 -9
- package/dist/chunks/{location-0tn02ksk.js → skill-2cskqjna.js} +52 -52
- package/dist/chunks/{location-qkh2avww.js → skill-2csnqqmz.js} +6 -6
- package/dist/chunks/{location-zxwpk2nb.js → skill-2dchnhcv.js} +1 -1
- package/dist/chunks/{location-fpmq6gma.js → skill-2f0bjgcj.js} +5 -5
- package/dist/chunks/{location-a3kgfrx0.js → skill-2jehf6nr.js} +11 -11
- package/dist/chunks/{location-hjsevywp.js → skill-2vn5f1ze.js} +11 -11
- package/dist/chunks/{location-zyyf3ne3.js → skill-2x1yjhp7.js} +18 -18
- package/dist/chunks/{location-88skwtww.js → skill-34m4bwv1.js} +20 -20
- package/dist/chunks/{location-0n9gyfew.js → skill-34xb35w3.js} +4 -4
- package/dist/chunks/{location-deq2xmw7.js → skill-38tw1je5.js} +3 -3
- package/dist/chunks/{location-5nsrms9d.js → skill-3dqftnvs.js} +1 -1
- package/dist/chunks/{location-h5z8kjx1.js → skill-3eys84td.js} +4 -4
- package/dist/chunks/{location-gdvy8fx6.js → skill-3fc6dm20.js} +4 -4
- package/dist/chunks/{location-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-4d6zvh3y.js → skill-3k3gsxc1.js} +17 -17
- package/dist/chunks/{location-gbxr56d2.js → skill-3sm8xmq4.js} +18 -18
- package/dist/chunks/{location-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-d0rxe8vc.js → skill-3t76bxvw.js} +12 -12
- package/dist/chunks/{location-e37jza6a.js → skill-3tkevmyj.js} +3 -3
- package/dist/chunks/{location-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-vzcbq1w3.js → skill-3z75at8f.js} +46 -46
- package/dist/chunks/{location-t8mcaem5.js → skill-45796egf.js} +1 -1
- package/dist/chunks/{location-awbtvej0.js → skill-45hw2ke2.js} +8 -8
- package/dist/chunks/{location-j5bzq3k2.js → skill-469x8pwq.js} +12 -12
- package/dist/chunks/{location-0q1bg550.js → skill-4g5n3egt.js} +7 -7
- package/dist/chunks/{location-1t7mpxg8.js → skill-4gt7sksm.js} +5 -5
- package/dist/chunks/{location-1ja8qtne.js → skill-4vgrg3f6.js} +24 -24
- package/dist/chunks/{location-6ry05z8r.js → skill-4wrn400e.js} +22 -22
- package/dist/chunks/{location-t41sh3fy.js → skill-4xpnnbkh.js} +18 -18
- package/dist/chunks/{location-0ajdgxne.js → skill-4y66k410.js} +5 -5
- package/dist/chunks/{location-nhnfdq9p.js → skill-4zrd4qtz.js} +13 -13
- package/dist/chunks/{location-x27ytnxh.js → skill-50c06mfy.js} +9 -9
- package/dist/chunks/{location-7tepnm88.js → skill-50cmcpy7.js} +20 -20
- package/dist/chunks/{location-p9pbejt8.js → skill-572ar5e8.js} +26 -26
- package/dist/chunks/{location-a1bz86dw.js → skill-5c4hm403.js} +3 -3
- package/dist/chunks/{location-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{location-f8jykge8.js → skill-5gkf2rhx.js} +20 -20
- package/dist/chunks/{location-9mx1cntf.js → skill-5n0a55p7.js} +16 -16
- package/dist/chunks/{location-8kvx5c4t.js → skill-5rqhfc6t.js} +12 -12
- package/dist/chunks/{location-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-9gbkhhyb.js → skill-5xtt40bq.js} +13 -13
- package/dist/chunks/{location-ymm454xd.js → skill-62bvnefr.js} +6 -6
- package/dist/chunks/{location-64kphnzf.js → skill-64kphnzf.js} +1 -1
- package/dist/chunks/{location-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{location-cncarfnr.js → skill-68nf50f2.js} +6 -6
- package/dist/chunks/{location-n46wdk6t.js → skill-69nkh73y.js} +9 -9
- package/dist/chunks/{location-ecwj8few.js → skill-6mkm26he.js} +8 -8
- package/dist/chunks/{location-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-zghxhb3h.js → skill-6x1znnnc.js} +6 -6
- package/dist/chunks/{location-n38wpmpz.js → skill-6yd676b3.js} +22 -22
- package/dist/chunks/{location-71q4at8m.js → skill-71q4at8m.js} +1 -1
- package/dist/chunks/{location-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-qgn6gcr1.js → skill-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-sgfkh1bp.js → skill-7t3xhesx.js} +4 -4
- package/dist/chunks/{location-0zf2whzq.js → skill-80whd3p3.js} +30 -30
- package/dist/chunks/{location-0bps82y7.js → skill-81rrwt6s.js} +6 -6
- package/dist/chunks/{location-dg7qpz4p.js → skill-87ggqk1h.js} +15 -15
- package/dist/chunks/{location-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-2nfqgr27.js → skill-8dd76x14.js} +13 -13
- package/dist/chunks/{location-5emdt044.js → skill-8hphmtdy.js} +7 -7
- package/dist/chunks/{location-6p2j0xaj.js → skill-8jmjfxwe.js} +11 -11
- package/dist/chunks/{location-2s8c9txd.js → skill-8jnw4rf9.js} +18 -18
- package/dist/chunks/{location-3dn8y05b.js → skill-8n1nmt6r.js} +11 -11
- package/dist/chunks/{location-4mkcvr19.js → skill-8nv6ekx5.js} +5 -5
- package/dist/chunks/{location-s2dhjhqs.js → skill-9b4fcb9s.js} +28 -28
- package/dist/chunks/{location-e4dde0bf.js → skill-9b920320.js} +5 -5
- package/dist/chunks/{location-pjxwef55.js → skill-9h6kjrdz.js} +32 -32
- package/dist/chunks/{location-qg6emqy4.js → skill-9pv0dm11.js} +7 -7
- package/dist/chunks/{location-61gb32ev.js → skill-9qet1afg.js} +33 -33
- package/dist/chunks/{location-689rwdfb.js → skill-9se4e465.js} +20 -20
- package/dist/chunks/{location-dv250zvr.js → skill-9vs0xtad.js} +3 -3
- package/dist/chunks/{location-p05b7svp.js → skill-9x874j65.js} +19 -19
- package/dist/chunks/{location-xhmq8qgk.js → skill-9zswys26.js} +9 -9
- package/dist/chunks/{location-k2ez8jpr.js → skill-a1mw03ee.js} +19 -19
- package/dist/chunks/{location-1pqsyb9r.js → skill-a5sptd3n.js} +8 -8
- package/dist/chunks/{location-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{location-n94hfmyp.js → skill-afs7fbce.js} +4 -4
- package/dist/chunks/{location-y4424x0p.js → skill-ahhdnpew.js} +4 -4
- package/dist/chunks/{location-g0m9gjz9.js → skill-ajv9mbft.js} +52 -52
- package/dist/chunks/{location-0xv9r4rc.js → skill-ak2r15zw.js} +36 -36
- package/dist/chunks/{location-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-wj7cshxw.js → skill-b6h7cdrm.js} +40 -40
- package/dist/chunks/{location-qq11w61w.js → skill-bct739vz.js} +4 -4
- package/dist/chunks/{location-cmbqfntm.js → skill-bdqrk2vk.js} +6 -6
- package/dist/chunks/{location-2rwqw19q.js → skill-bsp2w84h.js} +22 -22
- package/dist/chunks/{location-s0tc2krz.js → skill-bzdcy8yq.js} +17 -17
- package/dist/chunks/{location-e02shwjk.js → skill-c3486t2n.js} +43 -43
- package/dist/chunks/{location-vkkzdp2q.js → skill-c3pg4f1a.js} +6 -6
- package/dist/chunks/{location-yrrczd0w.js → skill-ccyhfr0b.js} +8 -8
- package/dist/chunks/{location-2dpa94xe.js → skill-cgswjz6e.js} +10 -10
- package/dist/chunks/{location-hj81pfz7.js → skill-ckdh4t9b.js} +9 -9
- package/dist/chunks/{location-fg7rbsd2.js → skill-cxp3r8sb.js} +11 -11
- package/dist/chunks/{location-vpsgd2jw.js → skill-d1j3kr65.js} +9 -9
- package/dist/chunks/{location-8p4f9s12.js → skill-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-6711snrz.js → skill-dkgmj00c.js} +14 -14
- package/dist/chunks/{location-jm1m0h68.js → skill-dxdqcvte.js} +33 -33
- package/dist/chunks/{location-dxj72tfx.js → skill-dxj72tfx.js} +1 -1
- package/dist/chunks/{location-3vq2j3j3.js → skill-e0sp47gf.js} +38 -38
- package/dist/chunks/{location-hjt4xg1x.js → skill-e82z9tr0.js} +7 -7
- package/dist/chunks/{location-bysfyz6c.js → skill-edvearje.js} +38 -38
- package/dist/chunks/{location-4yz38106.js → skill-egs27rwx.js} +21 -21
- package/dist/chunks/{location-4vp014ph.js → skill-ena93r8b.js} +12 -12
- package/dist/chunks/{location-eq1pz5kg.js → skill-eq1pz5kg.js} +1 -1
- package/dist/chunks/{location-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-7wbnq2vq.js → skill-exykx48p.js} +8 -8
- package/dist/chunks/{location-jfk1xeys.js → skill-f0dsah6w.js} +12 -12
- package/dist/chunks/{location-1acjjqhc.js → skill-f2n192rq.js} +4 -4
- package/dist/chunks/{location-q6r6ry4n.js → skill-f41b5hh0.js} +11 -11
- package/dist/chunks/{location-hgxcmmev.js → skill-f96dtzc8.js} +25 -25
- package/dist/chunks/{location-2nqpnpx3.js → skill-fcz02341.js} +23 -23
- package/dist/chunks/{location-5kptn8c0.js → skill-fjmrr6sh.js} +9 -9
- package/dist/chunks/{location-tc7ec7w9.js → skill-fry6bjf0.js} +36 -36
- package/dist/chunks/{location-thkpvahy.js → skill-fvcmx4mc.js} +22 -22
- package/dist/chunks/{location-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-padgxnv1.js → skill-fycn36cb.js} +5 -5
- package/dist/chunks/{location-hkqcgn21.js → skill-fzc97bae.js} +9 -9
- package/dist/chunks/{location-rabb6kfb.js → skill-gb7vzwag.js} +7 -7
- package/dist/chunks/{location-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-gx1zhcta.js → skill-gx1zhcta.js} +1 -1
- package/dist/chunks/{location-r4tq48pt.js → skill-gzhzaa5p.js} +11 -11
- package/dist/chunks/{location-h03wrkyp.js → skill-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-fm2g78m8.js → skill-h23w9p7f.js} +11 -11
- package/dist/chunks/{location-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-gsx0ryk4.js → skill-h7ygw6q4.js} +9 -9
- package/dist/chunks/{location-qte5z7bc.js → skill-hcz3zddy.js} +5 -5
- package/dist/chunks/{location-f828m53h.js → skill-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-1e3xc6ve.js → skill-hpc1gdm0.js} +25 -25
- package/dist/chunks/{location-tqzea4nr.js → skill-j24bqw62.js} +33 -33
- package/dist/chunks/{location-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{location-f06x8t7g.js → skill-j8hnd7cg.js} +24 -24
- package/dist/chunks/{location-3gfxcggk.js → skill-j9d8easd.js} +11 -11
- package/dist/chunks/{location-19vf66h0.js → skill-jfqtm2ew.js} +4 -4
- package/dist/chunks/{location-dtqg9ce1.js → skill-jgttmm4a.js} +5 -5
- package/dist/chunks/{location-bajakh74.js → skill-jmphe03k.js} +4 -4
- package/dist/chunks/{location-q5j1bp2v.js → skill-k52252t7.js} +4 -4
- package/dist/chunks/{location-chnmz1hg.js → skill-ka2k270b.js} +8 -8
- package/dist/chunks/{location-742mfkhf.js → skill-kcct59d9.js} +21 -21
- package/dist/chunks/{location-kg06axw8.js → skill-kg06axw8.js} +1 -1
- package/dist/chunks/{location-cfpkc3c9.js → skill-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-srpeewqc.js → skill-m23k9y15.js} +9 -9
- package/dist/chunks/{location-yfhpaps7.js → skill-m8xvr7s3.js} +17 -17
- package/dist/chunks/{location-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-hpf6vjwp.js → skill-m9xxtaj4.js} +22 -22
- package/dist/chunks/{location-vccwxyms.js → skill-maqcvqg3.js} +12 -12
- package/dist/chunks/{location-2naaymgq.js → skill-mcaz09sj.js} +20 -20
- package/dist/chunks/{location-0ge7vg41.js → skill-mdzsfjay.js} +11 -11
- package/dist/chunks/{location-jhetwysa.js → skill-mgtytz9t.js} +3 -3
- package/dist/chunks/{location-g5d9kagx.js → skill-mj2pgv42.js} +163 -163
- package/dist/chunks/{location-mkcjrzeh.js → skill-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-0q77j2hf.js → skill-mw5sgvh1.js} +30 -30
- package/dist/chunks/{location-grg0ht9d.js → skill-mx527x43.js} +30 -30
- package/dist/chunks/{location-cv28m94p.js → skill-n64b6sp6.js} +30 -30
- package/dist/chunks/{location-gxx6jc0s.js → skill-n8zwenhw.js} +3 -3
- package/dist/chunks/{location-jg27de1v.js → skill-n970r1wx.js} +15 -15
- package/dist/chunks/{location-4yzhf524.js → skill-narbeh08.js} +13 -13
- package/dist/chunks/{location-rme5v0wm.js → skill-nbddwgy7.js} +10 -10
- package/dist/chunks/{location-f6pdpkc8.js → skill-p4eqt7gw.js} +56 -56
- package/dist/chunks/{location-v54nzcw9.js → skill-p9abtgfw.js} +21 -21
- package/dist/chunks/{location-fj5qtafa.js → skill-pc65svd3.js} +35 -35
- package/dist/chunks/{location-nnejmx3z.js → skill-pfpk0zf4.js} +24 -24
- package/dist/chunks/{location-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{location-bdyczj2g.js → skill-qfh0g8bm.js} +11 -11
- package/dist/chunks/{location-w34f8myg.js → skill-qg8mtbnf.js} +24 -24
- package/dist/chunks/{location-yzn2jey8.js → skill-qhtt8cq2.js} +8 -8
- package/dist/chunks/{location-szyk33kk.js → skill-qk1s35sc.js} +6 -6
- package/dist/chunks/{location-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{location-j9g8tyqb.js → skill-qtkzm0vp.js} +8 -8
- package/dist/chunks/{location-c7ecgrk6.js → skill-r2qzv5a7.js} +6 -6
- package/dist/chunks/{location-y3ex4pz8.js → skill-r2s3jpjh.js} +15 -15
- package/dist/chunks/{location-r9mregkx.js → skill-r9mregkx.js} +2 -2
- package/dist/chunks/{location-en74w496.js → skill-ras7gexc.js} +5 -5
- package/dist/chunks/{location-z24k1rmt.js → skill-rkvfcyy6.js} +20 -20
- package/dist/chunks/{location-qe9wkc6t.js → skill-rwa70r0w.js} +10 -10
- package/dist/chunks/{location-4gjq1w3h.js → skill-rzbdrxpw.js} +39 -39
- package/dist/chunks/{location-xya91wz4.js → skill-rzxn8jq1.js} +2 -2
- package/dist/chunks/{location-g2y161wv.js → skill-s0agc963.js} +6 -6
- package/dist/chunks/{location-gt0cxfk7.js → skill-s1a57xgp.js} +1 -1
- package/dist/chunks/{location-tj2vbr09.js → skill-s3q1dfb5.js} +277 -277
- package/dist/chunks/{location-s4enseaf.js → skill-s4enseaf.js} +2 -2
- package/dist/chunks/{location-b3frasm9.js → skill-s4m6ffrn.js} +10 -10
- package/dist/chunks/{location-zd6k41k9.js → skill-s8rwmjr0.js} +11 -11
- package/dist/chunks/{location-4vm55rjt.js → skill-spamftm3.js} +18 -18
- package/dist/chunks/{location-wc4t234n.js → skill-spxyers1.js} +15 -15
- package/dist/chunks/{location-3r86hrp4.js → skill-svdcpqwj.js} +16 -16
- package/dist/chunks/{location-1wxb385z.js → skill-t3w9f47z.js} +1 -1
- package/dist/chunks/{location-zepncfka.js → skill-t51qk8jz.js} +4 -4
- package/dist/chunks/{location-t550f9t1.js → skill-t550f9t1.js} +1 -1
- package/dist/chunks/{location-t78ymf7t.js → skill-t638bs47.js} +12 -12
- package/dist/chunks/{location-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-z8y5r8b4.js → skill-tb0hthqf.js} +14 -14
- package/dist/chunks/{location-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{location-gv6a8nnw.js → skill-th5km1p3.js} +5 -5
- package/dist/chunks/{location-7zezh56x.js → skill-thceg08k.js} +20 -20
- package/dist/chunks/{location-xfrbke8t.js → skill-tqj0t39a.js} +47 -47
- package/dist/chunks/{location-mset8fj1.js → skill-trm52gcm.js} +41 -41
- package/dist/chunks/{location-crg35gqk.js → skill-tsh7pk9n.js} +2 -2
- package/dist/chunks/{location-9vhx2d4h.js → skill-ttepvpk4.js} +11 -11
- package/dist/chunks/{location-yvmq8qxx.js → skill-tveepnm1.js} +12 -12
- package/dist/chunks/{location-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{location-zpd6x7fe.js → skill-v2f6dcv3.js} +2 -2
- package/dist/chunks/{location-q5nc2w3s.js → skill-v2jh4czv.js} +15 -15
- package/dist/chunks/{location-83x6p9kd.js → skill-v71xcev7.js} +1 -1
- package/dist/chunks/{location-9nyx0xzb.js → skill-v7jdwsmt.js} +29 -29
- package/dist/chunks/{location-4pdm3gpn.js → skill-v8p5j567.js} +18 -18
- package/dist/chunks/skill-vagyftv9.js +247 -0
- package/dist/chunks/{location-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{location-443jp2h5.js → skill-vmmty49e.js} +11 -11
- package/dist/chunks/{location-djamvv4a.js → skill-vnfb9jgg.js} +16 -16
- package/dist/chunks/{location-wwa04tag.js → skill-vpd9vakt.js} +22 -22
- package/dist/chunks/{location-5wxnan0q.js → skill-vwjkge68.js} +4 -4
- package/dist/chunks/{location-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-nvnjvff3.js → skill-w20nd3yt.js} +24 -24
- package/dist/chunks/{location-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-38grcwtr.js → skill-w6ax7cqs.js} +11 -11
- package/dist/chunks/{location-6arvyfpk.js → skill-w70fs397.js} +5 -5
- package/dist/chunks/{location-1an81ev3.js → skill-wbj903yc.js} +7 -7
- package/dist/chunks/{location-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{location-29cddch4.js → skill-wg3vs4kv.js} +43 -43
- package/dist/chunks/{location-p7g16bt6.js → skill-wwct6c52.js} +9 -9
- package/dist/chunks/{location-jgffvrzd.js → skill-wxd2bqfr.js} +7 -7
- package/dist/chunks/{location-e0paksqa.js → skill-wxy7rra6.js} +18 -18
- package/dist/chunks/{location-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-8z17e00v.js → skill-x3a3e1nt.js} +8 -8
- package/dist/chunks/{location-7b15y959.js → skill-x3et2xth.js} +8 -8
- package/dist/chunks/{location-7ra4c6gm.js → skill-x90pe81c.js} +13 -13
- package/dist/chunks/{location-vbk940s3.js → skill-x91q163v.js} +22 -22
- package/dist/chunks/{location-5bcts36j.js → skill-xayds21m.js} +83 -83
- package/dist/chunks/{location-3pgnpxjv.js → skill-xb86z6zr.js} +10 -10
- package/dist/chunks/{location-ctysr86j.js → skill-xt6s5a9c.js} +13 -13
- package/dist/chunks/{location-hhbxt1mp.js → skill-xw6fw6zr.js} +8 -8
- package/dist/chunks/{location-vjqy2pak.js → skill-y09x1tcz.js} +3 -3
- package/dist/chunks/{location-vtnam11j.js → skill-y0yjhn21.js} +17 -17
- package/dist/chunks/{location-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-5k5btewg.js → skill-y4pxrj14.js} +18 -18
- package/dist/chunks/{location-b4phpgjh.js → skill-y5v9wk3k.js} +7 -7
- package/dist/chunks/{location-y71avatq.js → skill-y71avatq.js} +1 -1
- package/dist/chunks/{location-k881w53b.js → skill-yh2vsnhs.js} +46 -46
- package/dist/chunks/{location-pcg8y0q6.js → skill-ymty78va.js} +10 -10
- package/dist/chunks/{location-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-cz5ya5dx.js → skill-yrpprw9r.js} +6 -6
- package/dist/chunks/{location-avm8jn6n.js → skill-yt0fqk68.js} +5 -5
- package/dist/chunks/{location-711d7g3x.js → skill-yv8e5dfz.js} +18 -18
- package/dist/chunks/{location-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-swegyzdq.js → skill-z0sgkz7q.js} +11 -11
- package/dist/chunks/{location-zav06jzw.js → skill-zcrspsvn.js} +4 -4
- package/dist/chunks/{location-t9kz6j3c.js → skill-zd1r38ht.js} +24 -24
- package/dist/chunks/{location-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-gbxx1qdc.js → skill-zv8vnbs5.js} +32 -32
- package/dist/chunks/{location-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +97 -97
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +81 -81
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +86 -86
- 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 +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +109 -109
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +146 -146
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +7 -7
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- 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 +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +93 -93
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/location-51teaz73.js +0 -247
- /package/dist/chunks/{location-0mesazry.js → skill-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{location-hrnqkpcd.js → skill-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-j935v87r.js → skill-j935v87r.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → skill-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-38tw1je5.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-ahhdnpew.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service77,
|
|
14
|
+
node82
|
|
15
|
+
} from "./skill-nbddwgy7.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-9pv0dm11.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-dj2t23y0.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-m0jqrx5p.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info31,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service76,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node81,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info31 = Info32;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service76 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service77;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID16.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
167
167
|
time_updated: Date.now()
|
|
168
168
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
169
169
|
if (!row)
|
|
170
|
-
return yield* new
|
|
170
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
172
|
yield* bus.publish(Event19.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID16.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID16.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID16.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID16.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service76.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node81 = makeGlobalNode({
|
|
277
|
+
service: Service76,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node84, node85, FSUtil.node,
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node82, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID16, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service76, node81, exports_project };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-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 powered by 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,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-38tw1je5.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-ahhdnpew.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service48,
|
|
11
|
+
node51
|
|
12
|
+
} from "./skill-bzdcy8yq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service42,
|
|
15
|
+
node45
|
|
16
|
+
} from "./skill-81rrwt6s.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./skill-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service41
|
|
26
|
+
} from "./skill-zcrspsvn.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-2csnqqmz.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service58,
|
|
32
|
+
node62
|
|
33
|
+
} from "./skill-ena93r8b.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./skill-afs7fbce.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./skill-mcaz09sj.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./skill-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service40,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer16,
|
|
50
|
+
node: () => node44,
|
|
51
|
+
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service40 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer16 = Layer.effect(Service40, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service58;
|
|
70
|
+
const instances = yield* Service42;
|
|
71
71
|
const bus = yield* Service79;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service48;
|
|
73
73
|
const db = (yield* Service80).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,13 +82,13 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service41.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable)
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
const coordinator = yield*
|
|
91
|
+
const coordinator = yield* make15({
|
|
92
92
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
93
93
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
94
94
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -109,7 +109,7 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
109
109
|
}, releaseOnCommit(sessionID));
|
|
110
110
|
}))
|
|
111
111
|
});
|
|
112
|
-
return
|
|
112
|
+
return Service40.of({
|
|
113
113
|
active: coordinator.active,
|
|
114
114
|
isActive: coordinator.isActive,
|
|
115
115
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -128,12 +128,12 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
128
128
|
awaitIdle: coordinator.awaitIdle
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
133
|
-
layer:
|
|
134
|
-
deps: [
|
|
131
|
+
var node44 = makeGlobalNode({
|
|
132
|
+
service: Service40,
|
|
133
|
+
layer: layer16,
|
|
134
|
+
deps: [node62, node45, node84, node85, node51]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
136
|
+
var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
137
137
|
active: Effect.succeed(new Set),
|
|
138
138
|
isActive: () => Effect.succeed(false),
|
|
139
139
|
resume: () => Effect.void,
|
|
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service47, Service47.of({
|
|
|
142
142
|
awaitIdle: () => Effect.void
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Service40, terminal2, layer16, node44, noopLayer2, exports_execution };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-ahhdnpew.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./skill-m8xvr7s3.js";
|
|
9
9
|
import {
|
|
10
10
|
ID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service71,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node76
|
|
16
|
+
} from "./skill-mdzsfjay.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./skill-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_pty, {
|
|
|
30
30
|
Info: () => Info2,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service18,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node21
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service18 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service75;
|
|
63
|
+
const shell = yield* Service71;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service18.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node21 = makeLocationNode({
|
|
274
|
+
service: Service18,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node80, node76]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2,
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service18, node21, exports_pty, Event4 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-38tw1je5.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-5c4hm403.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-ccyhfr0b.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-v2f6dcv3.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service58,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node62
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service58 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service80;
|
|
59
|
-
return
|
|
59
|
+
return Service58.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node62 = makeGlobalNode({ service: Service58, layer, deps: [node85] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service58, node62, exports_store };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Plugin6
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-s0agc963.js";
|
|
4
4
|
import {
|
|
5
5
|
Plugin5
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Plugin2
|
|
9
|
-
} from "./location-ra3vsbfe.js";
|
|
6
|
+
} from "./skill-wxd2bqfr.js";
|
|
10
7
|
import {
|
|
11
8
|
Plugin7
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./skill-1c3k8t0n.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin8
|
|
12
|
+
} from "./skill-9b920320.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/websearch/index.ts
|
|
15
15
|
var WebSearchPlugins2 = [
|
|
16
16
|
Plugin6,
|
|
17
17
|
Plugin5,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
Plugin7,
|
|
19
|
+
Plugin8
|
|
20
20
|
];
|
|
21
21
|
|
|
22
22
|
export { WebSearchPlugins2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./skill-m8xvr7s3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./skill-trm52gcm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service13
|
|
10
|
+
} from "./skill-spxyers1.js";
|
|
11
11
|
import {
|
|
12
12
|
make8
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-eq1pz5kg.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
@@ -33,11 +33,11 @@ import { Effect } from "effect";
|
|
|
33
33
|
var Plugin21 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service63;
|
|
37
|
+
const formatter = yield* Service13;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service75;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make15 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make15, exports_run_coordinator };
|