@opencode/core 0.0.0-dev-20677 → 0.0.0-dev-20678
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/{agent-4kmwdp9k.js → worktree-08em3ee9.js} +28 -28
- package/dist/chunks/{agent-bmmeg5sm.js → worktree-0ezpynm7.js} +15 -15
- package/dist/chunks/{agent-vykevjvn.js → worktree-0gapa1rm.js} +5 -5
- package/dist/chunks/{agent-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{agent-zd30eb5w.js → worktree-0ryd0fps.js} +5 -5
- package/dist/chunks/{agent-0vbcp93d.js → worktree-0vbcp93d.js} +2 -2
- package/dist/chunks/{agent-z99e7jc7.js → worktree-124pajz9.js} +33 -33
- package/dist/chunks/{agent-r9p2yfma.js → worktree-15560esq.js} +8 -8
- package/dist/chunks/{agent-61tzzxsr.js → worktree-17m7e5yb.js} +33 -33
- package/dist/chunks/{agent-5ymje97q.js → worktree-17we2qek.js} +6 -6
- package/dist/chunks/{agent-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{agent-apvampct.js → worktree-1f35zj2n.js} +22 -22
- package/dist/chunks/{agent-db62y6bp.js → worktree-1sdf2zn9.js} +27 -27
- package/dist/chunks/{agent-03xyy9gs.js → worktree-1tbv6vyw.js} +8 -8
- package/dist/chunks/{agent-jmxsfgen.js → worktree-20k90jn5.js} +9 -9
- package/dist/chunks/{agent-emb8t02r.js → worktree-20qzy3kz.js} +24 -24
- package/dist/chunks/{agent-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{agent-4a0nv7mx.js → worktree-2eegacq4.js} +8 -8
- package/dist/chunks/{agent-6waraj69.js → worktree-2gec4brg.js} +30 -30
- package/dist/chunks/{agent-mktej9kf.js → worktree-2kn5e7ew.js} +11 -11
- package/dist/chunks/{agent-n4r3xatb.js → worktree-2vs2nh1n.js} +4 -4
- package/dist/chunks/{agent-xswen0y0.js → worktree-30s1jqhr.js} +5 -5
- package/dist/chunks/{agent-3cegwx68.js → worktree-3cegwx68.js} +2 -2
- package/dist/chunks/{agent-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{agent-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-xb54y55j.js → worktree-3n65r2sc.js} +60 -60
- package/dist/chunks/{agent-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{agent-9nb94ttp.js → worktree-3t7b0x40.js} +26 -26
- package/dist/chunks/{agent-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{agent-3tvp0d45.js → worktree-3v3tg56d.js} +17 -17
- package/dist/chunks/{agent-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{agent-shqrd0p7.js → worktree-43g4wmcb.js} +5 -5
- package/dist/chunks/{agent-c1fbq4kv.js → worktree-4hwsr2c7.js} +36 -36
- package/dist/chunks/{agent-m4twzpdx.js → worktree-4jeef9x8.js} +46 -46
- package/dist/chunks/{agent-nzq7ck9f.js → worktree-4mwpykj0.js} +6 -6
- package/dist/chunks/{agent-4617ttsa.js → worktree-4p3293aj.js} +25 -25
- package/dist/chunks/{agent-h7znadvr.js → worktree-4tfbnah3.js} +8 -8
- package/dist/chunks/{agent-4ts7tf6z.js → worktree-4ts7tf6z.js} +2 -2
- package/dist/chunks/{agent-adt5jcng.js → worktree-4wc52ngv.js} +19 -19
- package/dist/chunks/{agent-w39jehkq.js → worktree-4xpgt2w9.js} +5 -5
- package/dist/chunks/{agent-mjymc32g.js → worktree-50mzsvk4.js} +4 -4
- package/dist/chunks/{agent-54ma36ye.js → worktree-54ma36ye.js} +1 -1
- package/dist/chunks/{agent-9pst789e.js → worktree-554ppjqe.js} +9 -9
- package/dist/chunks/{agent-d3pa2dt1.js → worktree-55dytp5r.js} +24 -24
- package/dist/chunks/{agent-56gdpj1q.js → worktree-56gdpj1q.js} +2 -2
- package/dist/chunks/{agent-b6crebg4.js → worktree-59f3e3ff.js} +17 -17
- package/dist/chunks/{agent-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{agent-r5ypt5d9.js → worktree-5g5j2e1n.js} +11 -11
- package/dist/chunks/{agent-xd0zgs67.js → worktree-5hw3kh65.js} +24 -24
- package/dist/chunks/{agent-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-1bv2kaf1.js → worktree-5nn9b30n.js} +20 -20
- package/dist/chunks/{agent-hcg5kpq6.js → worktree-5t0megjy.js} +32 -32
- package/dist/chunks/{agent-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{agent-x14d6wr9.js → worktree-5xepet72.js} +76 -76
- package/dist/chunks/{agent-wyjka35g.js → worktree-5zzwt5g1.js} +31 -31
- package/dist/chunks/{agent-d93aaqkk.js → worktree-60ag5qjy.js} +4 -4
- package/dist/chunks/{agent-drnf6xwf.js → worktree-63db42yp.js} +2 -2
- package/dist/chunks/{agent-pmf7a4gp.js → worktree-6evnp53q.js} +95 -95
- package/dist/chunks/{agent-w1vqmw9z.js → worktree-6gde23dc.js} +29 -29
- package/dist/chunks/{agent-emcb384r.js → worktree-6gmc3kzw.js} +8 -8
- package/dist/chunks/{agent-m1jewsve.js → worktree-6nwqebjc.js} +9 -9
- package/dist/chunks/{agent-pxstbhnf.js → worktree-6rd4tpzh.js} +44 -44
- package/dist/chunks/{agent-6xb47vfp.js → worktree-6xb47vfp.js} +1 -1
- package/dist/chunks/{agent-cvsve72h.js → worktree-6xjbkn91.js} +19 -19
- package/dist/chunks/{agent-ky1e5nsp.js → worktree-73c0qt40.js} +9 -9
- package/dist/chunks/{agent-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-pm6p0qfa.js → worktree-7c77ewax.js} +28 -28
- package/dist/chunks/{agent-ddd3v19d.js → worktree-7csx5nx0.js} +11 -11
- package/dist/chunks/{agent-7dqw4kz8.js → worktree-7dqw4kz8.js} +1 -1
- package/dist/chunks/{agent-j7dp57tw.js → worktree-7ds11y3c.js} +9 -9
- package/dist/chunks/{agent-xw8dfwaj.js → worktree-7gb06545.js} +20 -20
- package/dist/chunks/{agent-jnyg353g.js → worktree-7hctjrk6.js} +23 -23
- package/dist/chunks/{agent-w5zzhgd0.js → worktree-7qq3ahcc.js} +6 -6
- package/dist/chunks/{agent-7yh4e7ss.js → worktree-7yh4e7ss.js} +1 -1
- package/dist/chunks/{agent-bhhppv72.js → worktree-8284y6xq.js} +8 -8
- package/dist/chunks/{agent-84h8c373.js → worktree-84h8c373.js} +2 -2
- package/dist/chunks/{agent-84kwgfzz.js → worktree-87bb084g.js} +24 -24
- package/dist/chunks/{agent-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{agent-541dm475.js → worktree-8g79wser.js} +3 -3
- package/dist/chunks/{agent-672xc31r.js → worktree-8hq66769.js} +7 -7
- package/dist/chunks/{agent-webf11ha.js → worktree-8rg4pjtz.js} +3 -3
- package/dist/chunks/{agent-b6mnpgpe.js → worktree-8sfbsvhp.js} +26 -26
- package/dist/chunks/{agent-cfsekr6v.js → worktree-8sze2n9a.js} +6 -6
- package/dist/chunks/{agent-8v6pyhej.js → worktree-8v6pyhej.js} +1 -1
- package/dist/chunks/{agent-6feta9cj.js → worktree-8vz7v9xx.js} +21 -21
- package/dist/chunks/{agent-j01xwkjw.js → worktree-8w291pm7.js} +21 -21
- package/dist/chunks/{agent-848sxtqq.js → worktree-944zhfh4.js} +14 -14
- package/dist/chunks/{agent-37jae8a1.js → worktree-97anc7e4.js} +11 -11
- package/dist/chunks/{agent-ftxvqbsg.js → worktree-980jbebj.js} +11 -11
- package/dist/chunks/{agent-abmjs3wp.js → worktree-9bbn03rq.js} +26 -26
- package/dist/chunks/{agent-299ygcnd.js → worktree-9cwy2jha.js} +22 -22
- package/dist/chunks/{agent-pber7d37.js → worktree-9da98haa.js} +11 -11
- package/dist/chunks/{agent-rp55dayf.js → worktree-9e73zybw.js} +24 -24
- package/dist/chunks/{agent-d3f2prkd.js → worktree-9jn3z3yz.js} +44 -44
- package/dist/chunks/{agent-0w51wpsa.js → worktree-a2fssteg.js} +3 -3
- package/dist/chunks/{agent-8n5zbqyh.js → worktree-a6bra8ct.js} +7 -7
- package/dist/chunks/{agent-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{agent-bxfxz57t.js → worktree-abze2epy.js} +22 -22
- package/dist/chunks/{agent-cc8cknna.js → worktree-ah48gt2j.js} +42 -42
- package/dist/chunks/{agent-x7rh3hnq.js → worktree-ak05m9d7.js} +23 -23
- package/dist/chunks/{agent-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{agent-fd8908de.js → worktree-bb1b8k90.js} +15 -15
- package/dist/chunks/worktree-by5v678g.js +18 -0
- package/dist/chunks/{agent-0e4zfx6z.js → worktree-c2j3xy4g.js} +8 -8
- package/dist/chunks/{agent-g6q9qykm.js → worktree-c765mh8b.js} +9 -9
- package/dist/chunks/{agent-5b3yx2mr.js → worktree-cfbwxe1g.js} +1 -1
- package/dist/chunks/{agent-fswrwyfk.js → worktree-cftk923j.js} +6 -6
- package/dist/chunks/{agent-x2nf5h0k.js → worktree-cjtxsq47.js} +18 -18
- package/dist/chunks/{agent-f9kekh7f.js → worktree-cnr2fbcv.js} +11 -11
- package/dist/chunks/{agent-44a7phry.js → worktree-cprp9kwr.js} +35 -35
- package/dist/chunks/{agent-seefsy74.js → worktree-cyczn8d8.js} +32 -32
- package/dist/chunks/{agent-j9pgxxd7.js → worktree-d0fqnv22.js} +17 -17
- package/dist/chunks/{agent-xsz0k8gc.js → worktree-d34h28nh.js} +28 -28
- package/dist/chunks/{agent-61bbtbmc.js → worktree-d96ycdxj.js} +27 -27
- package/dist/chunks/{agent-z0hr7r87.js → worktree-d9zcp3x2.js} +30 -30
- package/dist/chunks/{agent-cb89hyx5.js → worktree-da0z8qs1.js} +5 -5
- package/dist/chunks/{agent-addxnjmp.js → worktree-db2wf4at.js} +4 -4
- package/dist/chunks/{agent-984m73yw.js → worktree-dejvf9w0.js} +18 -18
- package/dist/chunks/{agent-nxm207yx.js → worktree-dpkg50ah.js} +4 -4
- package/dist/chunks/{agent-760hrz28.js → worktree-dqwk5426.js} +38 -38
- package/dist/chunks/{agent-1gpb38yh.js → worktree-e8vwfchq.js} +6 -6
- package/dist/chunks/{agent-gjzmqfxe.js → worktree-e9ddm36m.js} +10 -10
- package/dist/chunks/{agent-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-wmvjsdxp.js → worktree-emqscpbc.js} +22 -22
- package/dist/chunks/{agent-knevfgda.js → worktree-espax8zg.js} +4 -4
- package/dist/chunks/{agent-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{agent-hfetwrmg.js → worktree-ex5gm711.js} +22 -22
- package/dist/chunks/{agent-ghde90aw.js → worktree-f1fpav69.js} +6 -6
- package/dist/chunks/{agent-zsr4wwhv.js → worktree-f29mbr7f.js} +4 -4
- package/dist/chunks/{agent-ygz1yfbt.js → worktree-f2mw6jyj.js} +11 -11
- package/dist/chunks/{agent-f75zav2x.js → worktree-f75zav2x.js} +2 -2
- package/dist/chunks/{agent-9zj3ww2h.js → worktree-fa24ys4h.js} +11 -11
- package/dist/chunks/{agent-59c10ypj.js → worktree-fbv57nyx.js} +4 -4
- package/dist/chunks/{agent-1gq97tmn.js → worktree-fhr46ct7.js} +182 -182
- package/dist/chunks/{agent-hh1fe6b7.js → worktree-fn9txvmy.js} +35 -35
- package/dist/chunks/{agent-ftjf86m5.js → worktree-fqcgpcra.js} +9 -9
- package/dist/chunks/{agent-wdbnpmn3.js → worktree-ftdt7j28.js} +16 -16
- package/dist/chunks/{agent-v3v4sgpm.js → worktree-ftw06dxe.js} +3 -3
- package/dist/chunks/{agent-9hrc7yhg.js → worktree-fz1ega6x.js} +11 -11
- package/dist/chunks/{agent-gs91af73.js → worktree-g7px2a66.js} +92 -92
- package/dist/chunks/{agent-k2025ghf.js → worktree-g8hmyp2d.js} +13 -13
- package/dist/chunks/{agent-pjvcp6pt.js → worktree-gbzg285s.js} +34 -34
- package/dist/chunks/{agent-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{agent-bx0gyb4h.js → worktree-gj71zhbs.js} +5 -5
- package/dist/chunks/{agent-htb94n32.js → worktree-gt84n3fs.js} +14 -14
- package/dist/chunks/{agent-qpbc7zwf.js → worktree-gv66gg0x.js} +5 -5
- package/dist/chunks/{agent-ptyashkp.js → worktree-gvwrdnb7.js} +3 -3
- package/dist/chunks/{agent-3afxxhd7.js → worktree-gwb0ctjv.js} +50 -50
- package/dist/chunks/{agent-3tm29b2b.js → worktree-h0mpfvff.js} +327 -327
- package/dist/chunks/{agent-96f2n6ah.js → worktree-h4aqnj6c.js} +12 -12
- package/dist/chunks/{agent-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{agent-zcps5b4x.js → worktree-hckh89c1.js} +3 -3
- package/dist/chunks/{agent-m938ztfj.js → worktree-hf0f0s02.js} +32 -32
- package/dist/chunks/{agent-2sradmzs.js → worktree-hnq9bmna.js} +28 -28
- package/dist/chunks/{agent-egsf10bm.js → worktree-j203rygf.js} +11 -11
- package/dist/chunks/{agent-3ze65hfa.js → worktree-j2c9memp.js} +29 -29
- package/dist/chunks/{agent-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{agent-we2jpmnd.js → worktree-j9c73dve.js} +15 -15
- package/dist/chunks/{agent-3ewed21c.js → worktree-jewzahs7.js} +4 -4
- package/dist/chunks/{agent-sz4assh2.js → worktree-jpzbbj13.js} +5 -5
- package/dist/chunks/{agent-fqmwv32j.js → worktree-jqfnw3hv.js} +8 -8
- package/dist/chunks/{agent-qagkqpcw.js → worktree-k1qrnqst.js} +8 -8
- package/dist/chunks/{agent-sxcgg9pv.js → worktree-k2pcze7v.js} +4 -4
- package/dist/chunks/{agent-kb9j3d72.js → worktree-kb9j3d72.js} +3 -3
- package/dist/chunks/{agent-cx89qeg3.js → worktree-kc86bjfa.js} +6 -6
- package/dist/chunks/{agent-mc5gsmcy.js → worktree-khzvsr9n.js} +16 -16
- package/dist/chunks/{agent-mx1sahds.js → worktree-kpy4tq5x.js} +21 -21
- package/dist/chunks/{agent-237z5p4t.js → worktree-ksg1aq7r.js} +18 -18
- package/dist/chunks/{agent-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{agent-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-myj39cz3.js → worktree-mad84jxc.js} +48 -48
- package/dist/chunks/{agent-8j0012y3.js → worktree-mfa4e2dy.js} +29 -29
- package/dist/chunks/{agent-x0bgzv0s.js → worktree-mfg7hkjp.js} +1 -1
- package/dist/chunks/{agent-e2erybrn.js → worktree-mp95dmdx.js} +11 -11
- package/dist/chunks/{agent-9zrkfg92.js → worktree-mvfv6g31.js} +37 -37
- package/dist/chunks/{agent-4c701q23.js → worktree-mvmnyn7n.js} +35 -35
- package/dist/chunks/{agent-y57vdypc.js → worktree-n143kkat.js} +45 -45
- package/dist/chunks/{agent-33ds9rj3.js → worktree-n30jecw5.js} +11 -11
- package/dist/chunks/{agent-md2j7y0e.js → worktree-nps7pa21.js} +20 -20
- package/dist/chunks/{agent-tzhfy6rd.js → worktree-ns15zm60.js} +6 -6
- package/dist/chunks/{agent-xgemm4h5.js → worktree-pdf4nf1w.js} +11 -11
- package/dist/chunks/{agent-bf9mzw80.js → worktree-pft5j206.js} +2 -2
- package/dist/chunks/{agent-84tzk9gr.js → worktree-pgvafq4z.js} +22 -22
- package/dist/chunks/{agent-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{agent-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{agent-f0wnr75e.js → worktree-pt9pzmkj.js} +29 -29
- package/dist/chunks/{agent-q0xm7vwc.js → worktree-q0xm7vwc.js} +2 -2
- package/dist/chunks/{agent-ej7nfns1.js → worktree-q1d18pxx.js} +20 -20
- package/dist/chunks/{agent-vbh50phm.js → worktree-q58mka6k.js} +9 -9
- package/dist/chunks/{agent-he27pt63.js → worktree-q5e7cmwt.js} +1 -1
- package/dist/chunks/{agent-3xdvdhsm.js → worktree-qcxtzrkv.js} +16 -16
- package/dist/chunks/{agent-bmr4b0kb.js → worktree-qhbw5a4b.js} +9 -9
- package/dist/chunks/{agent-9k8khh75.js → worktree-qkn6xzgz.js} +10 -10
- package/dist/chunks/{agent-a4rged5n.js → worktree-qm27jccq.js} +13 -13
- package/dist/chunks/{agent-qnc92qwc.js → worktree-qnc92qwc.js} +1 -1
- package/dist/chunks/{agent-ynpe6tcd.js → worktree-qqrjxc2w.js} +12 -12
- package/dist/chunks/{agent-eyq9c17f.js → worktree-qr3e8w20.js} +15 -15
- package/dist/chunks/{agent-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{agent-jqyc2fxa.js → worktree-qtjwvqnb.js} +4 -4
- package/dist/chunks/{agent-gdyt3gj6.js → worktree-qvzmz2hd.js} +11 -11
- package/dist/chunks/{agent-qxjc9qry.js → worktree-qxjc9qry.js} +3 -3
- package/dist/chunks/{agent-5n1rr6qj.js → worktree-r2t9nb79.js} +12 -12
- package/dist/chunks/{agent-phrn0hnn.js → worktree-rb0yz7b3.js} +47 -47
- package/dist/chunks/{agent-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{agent-dkkan8mq.js → worktree-rk26t4bh.js} +17 -17
- package/dist/chunks/{agent-3xx70s67.js → worktree-rtbx6p6s.js} +15 -15
- package/dist/chunks/{agent-mt48d8bc.js → worktree-ryvhqdqz.js} +33 -33
- package/dist/chunks/worktree-s29k18d1.js +26 -0
- package/dist/chunks/{agent-5xzzfr73.js → worktree-s3sb1ad7.js} +22 -22
- package/dist/chunks/{agent-vx4kd0j3.js → worktree-sj5387ee.js} +15 -15
- package/dist/chunks/{agent-rx9ava5n.js → worktree-sqvzcy4n.js} +4 -4
- package/dist/chunks/{agent-8a6ws7jr.js → worktree-srq8z0b0.js} +9 -9
- package/dist/chunks/{agent-my4zabxr.js → worktree-ss358qx3.js} +3 -3
- package/dist/chunks/{agent-26mk346k.js → worktree-t3mstrkb.js} +25 -25
- package/dist/chunks/{agent-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{agent-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{agent-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{agent-8dpqntaq.js → worktree-tnf1wecr.js} +27 -27
- package/dist/chunks/{agent-afjydgk3.js → worktree-tx92n959.js} +4 -4
- package/dist/chunks/{agent-6hk2686f.js → worktree-tznhj0ze.js} +46 -46
- package/dist/chunks/{agent-v0es1rhs.js → worktree-v0es1rhs.js} +2 -2
- package/dist/chunks/{agent-tkmwgdpd.js → worktree-v5dkyp31.js} +5 -5
- package/dist/chunks/{agent-35q2em60.js → worktree-v60n4k93.js} +25 -25
- package/dist/chunks/{agent-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-d28w4k3h.js → worktree-vf88kmda.js} +17 -17
- package/dist/chunks/{agent-1a721rxg.js → worktree-vgp7e6pk.js} +5 -5
- package/dist/chunks/{agent-6rcj2hr5.js → worktree-vgwdt6gq.js} +28 -28
- package/dist/chunks/{agent-212y0zje.js → worktree-vhxw02v1.js} +10 -10
- package/dist/chunks/{agent-ckt1a3xt.js → worktree-vj5pc5q1.js} +12 -12
- package/dist/chunks/{agent-4mp2bwzd.js → worktree-vn3s1ht6.js} +13 -13
- package/dist/chunks/{agent-nw12y3df.js → worktree-vrm0t447.js} +11 -11
- package/dist/chunks/{agent-682b4fx6.js → worktree-vtmyt3zh.js} +11 -11
- package/dist/chunks/{agent-64jy87jm.js → worktree-vy6tct52.js} +54 -54
- package/dist/chunks/{agent-v6mpbx6v.js → worktree-vyfh7cqh.js} +37 -37
- package/dist/chunks/{agent-27rataxe.js → worktree-vzhe4zg6.js} +15 -15
- package/dist/chunks/{agent-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{agent-84txncab.js → worktree-w1eejvng.js} +5 -5
- package/dist/chunks/{agent-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-7j2qha59.js → worktree-w49382pb.js} +8 -8
- package/dist/chunks/{agent-rzem9bwq.js → worktree-w95j1aag.js} +5 -5
- package/dist/chunks/{agent-vasdvhx2.js → worktree-w9778aye.js} +8 -8
- package/dist/chunks/{agent-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{agent-md04j19x.js → worktree-we3yb86z.js} +1 -1
- package/dist/chunks/{agent-r8jtv4kk.js → worktree-wn0425kx.js} +5 -5
- package/dist/chunks/{agent-s8d7rejh.js → worktree-wv396vej.js} +8 -8
- package/dist/chunks/{agent-508esqyf.js → worktree-x73za9sf.js} +35 -35
- package/dist/chunks/{agent-qhbttv6z.js → worktree-x90t23kx.js} +24 -24
- package/dist/chunks/{agent-btdzdyts.js → worktree-x995py8c.js} +10 -10
- package/dist/chunks/{agent-z20ctxjw.js → worktree-xcbn40rf.js} +12 -12
- package/dist/chunks/{agent-8dcer5qr.js → worktree-xfaszaq1.js} +13 -13
- package/dist/chunks/{agent-g5w8qwbj.js → worktree-xfkkasph.js} +4 -4
- package/dist/chunks/{agent-fvbmtwra.js → worktree-xh3pt0hh.js} +13 -13
- package/dist/chunks/{agent-zdamgzkx.js → worktree-xk6gwbtw.js} +5 -5
- package/dist/chunks/{agent-xkntkrq7.js → worktree-xkntkrq7.js} +2 -2
- package/dist/chunks/{agent-ysr5vm6y.js → worktree-xqrtg09m.js} +15 -15
- package/dist/chunks/{agent-asw8c91m.js → worktree-y127w3hy.js} +4 -4
- package/dist/chunks/{agent-64vpcbr9.js → worktree-y1dpn6q8.js} +5 -5
- package/dist/chunks/{agent-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/worktree-y8fy98eq.js +253 -0
- package/dist/chunks/{agent-v0yfz79w.js → worktree-yd1hyy78.js} +9 -9
- package/dist/chunks/{agent-rgvftgaz.js → worktree-ye7asgrj.js} +33 -33
- package/dist/chunks/{agent-cdhr69tv.js → worktree-yertzaey.js} +11 -11
- package/dist/chunks/{agent-r8xr0va3.js → worktree-yp2x3t23.js} +4 -4
- package/dist/chunks/{agent-angdxrpd.js → worktree-ype5ssfh.js} +16 -16
- package/dist/chunks/{agent-7bvtnfyz.js → worktree-yv32pxkv.js} +20 -20
- package/dist/chunks/{agent-xc7fr0n8.js → worktree-ywvdrxjw.js} +33 -33
- package/dist/chunks/{agent-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-j422692e.js → worktree-z3zxqg9g.js} +7 -7
- package/dist/chunks/{agent-3dx6e5mz.js → worktree-z736p80b.js} +25 -25
- package/dist/chunks/{agent-vnb5qef4.js → worktree-zd8n3m20.js} +1 -1
- package/dist/chunks/{agent-95dtjqf2.js → worktree-zdz72ay5.js} +4 -4
- package/dist/chunks/{agent-8kzy5fr5.js → worktree-zgwqe4kw.js} +11 -11
- package/dist/chunks/{agent-cz4pebbb.js → worktree-zm5574p5.js} +58 -58
- package/dist/chunks/{agent-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{agent-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/chunks/{agent-wecqtg5s.js → worktree-zyk1yjk8.js} +5 -5
- package/dist/chunks/{agent-m8n59xp2.js → worktree-zyp8ka10.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +116 -116
- package/dist/config/plugin/command.js +205 -205
- 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 +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- 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 +118 -118
- 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 +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +360 -360
- 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 +218 -218
- 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 +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +81 -81
- 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 +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +100 -100
- 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 +1 -1
- 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 +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +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/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 +114 -114
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- 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 +114 -114
- 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 +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- 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 +133 -133
- 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 +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 +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 +79 -79
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- 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 +123 -123
- 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 +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +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 +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- 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 +1 -1
- 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 +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/agent-f81tjggh.js +0 -18
- package/dist/chunks/agent-v8hbtvfc.js +0 -26
- package/dist/chunks/agent-vden9jcp.js +0 -253
- /package/dist/chunks/{agent-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3t0ybcrp.js → worktree-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./worktree-khzvsr9n.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./worktree-944zhfh4.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service68,
|
|
20
|
+
node72,
|
|
21
|
+
Event15
|
|
22
|
+
} from "./worktree-cprp9kwr.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,27 +30,27 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID8,
|
|
36
|
+
Info: () => Info17,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service67,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node71,
|
|
45
|
+
parse: () => parse4,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
53
|
+
var ID8 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,14 +66,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info17 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service67 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const location = yield*
|
|
73
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service68;
|
|
75
|
+
const bus = yield* Service80;
|
|
76
|
+
const location = yield* Service78;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "model",
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info17.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -207,8 +207,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
207
207
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
yield* bus.subscribe(
|
|
211
|
-
return
|
|
210
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
|
+
return Service67.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
214
214
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node71 = makeLocationNode({ service: Service67, layer, deps: [node72, node84, node82] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -238,12 +238,12 @@ function compatibility2(input) {
|
|
|
238
238
|
return;
|
|
239
239
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function parse4(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
|
-
providerID:
|
|
245
|
-
modelID:
|
|
244
|
+
providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
|
|
245
|
+
modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export {
|
|
249
|
+
export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info17, Service67, node71, supportsText2, compatibility2, parse4, exports_model2, Event14 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service11,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service11 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service11.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service11, node13, exports_update };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./worktree-qm27jccq.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-ss358qx3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service44,
|
|
20
|
+
make: () => make18,
|
|
21
|
+
node: () => node46
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service44 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make18 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service82;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make20 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service44.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make20 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service44, make18);
|
|
358
|
+
var node46 = makeGlobalNode({ service: Service44, layer, deps: [node86] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service44, make18, node46, exports_job };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-wn0425kx.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service37
|
|
7
|
+
} from "./worktree-x90t23kx.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-ss358qx3.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-e8vwfchq.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-kb9j3d72.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service37;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./worktree-mp95dmdx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./worktree-944zhfh4.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service67,
|
|
13
|
+
node71
|
|
14
|
+
} from "./worktree-fn9txvmy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID15,
|
|
17
|
+
Service76,
|
|
18
|
+
node80
|
|
19
|
+
} from "./worktree-9e73zybw.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-e8vwfchq.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-wv396vej.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-f29mbr7f.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-4tfbnah3.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service74,
|
|
34
|
+
node78
|
|
35
|
+
} from "./worktree-vf88kmda.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./worktree-zm5574p5.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make14
|
|
41
|
+
} from "./worktree-qkn6xzgz.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service46,
|
|
44
|
+
node48
|
|
45
|
+
} from "./worktree-z736p80b.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service25,
|
|
48
|
+
node29
|
|
49
|
+
} from "./worktree-6xjbkn91.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service45,
|
|
52
|
+
node47
|
|
53
|
+
} from "./worktree-emqscpbc.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service29,
|
|
56
|
+
node33
|
|
57
|
+
} from "./worktree-cyczn8d8.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service28,
|
|
60
|
+
node32
|
|
61
|
+
} from "./worktree-4p3293aj.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
63
|
+
Service26,
|
|
64
|
+
node30
|
|
65
|
+
} from "./worktree-nps7pa21.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service32,
|
|
68
|
+
node36
|
|
69
|
+
} from "./worktree-55dytp5r.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service27,
|
|
72
|
+
node31
|
|
73
|
+
} from "./worktree-yv32pxkv.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service30,
|
|
76
|
+
node34
|
|
77
|
+
} from "./worktree-5zzwt5g1.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service42,
|
|
80
|
+
node44
|
|
81
|
+
} from "./worktree-xh3pt0hh.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./worktree-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service24,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node28
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service24 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
101
|
-
const db = (yield*
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
97
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service76;
|
|
99
|
+
const builtins = yield* Service25;
|
|
100
|
+
const model = yield* Service67;
|
|
101
|
+
const db = (yield* Service84).db;
|
|
102
|
+
const discovery = yield* Service46;
|
|
103
|
+
const entries = yield* Service27;
|
|
104
|
+
const location = yield* Service78;
|
|
105
|
+
const mcpInstructions = yield* Service28;
|
|
106
|
+
const mcpTools = yield* Service29;
|
|
107
|
+
const models = yield* Service42;
|
|
108
|
+
const request = yield* Service30;
|
|
109
|
+
const referenceInstructions = yield* Service26;
|
|
110
|
+
const skillInstructions = yield* Service32;
|
|
111
|
+
const store = yield* Service74;
|
|
112
|
+
const registry = yield* Service45;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID15.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
165
165
|
session,
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
|
-
|
|
168
|
+
make14(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.mcp,
|
|
170
170
|
loaded.references,
|
|
171
171
|
loaded.skills,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service24.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node28 = makeLocationNode({
|
|
195
|
+
service: Service24,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
198
|
+
node80,
|
|
199
|
+
node71,
|
|
200
|
+
node88,
|
|
201
|
+
node29,
|
|
202
|
+
node48,
|
|
203
|
+
node31,
|
|
204
|
+
node82,
|
|
205
|
+
node32,
|
|
206
|
+
node33,
|
|
207
|
+
node30,
|
|
208
|
+
node44,
|
|
209
|
+
node34,
|
|
199
210
|
node78,
|
|
200
|
-
node87,
|
|
201
|
-
node40,
|
|
202
|
-
node45,
|
|
203
|
-
node39,
|
|
204
|
-
node83,
|
|
205
211
|
node36,
|
|
206
|
-
|
|
207
|
-
node44,
|
|
208
|
-
node64,
|
|
209
|
-
node37,
|
|
210
|
-
node70,
|
|
211
|
-
node43,
|
|
212
|
-
node54
|
|
212
|
+
node47
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service24, node28, exports_context };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./worktree-khzvsr9n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./worktree-944zhfh4.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service33
|
|
10
|
+
} from "./worktree-vy6tct52.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin40
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin40 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service78;
|
|
200
|
+
const mcp = yield* Service33;
|
|
201
|
+
const bus = yield* Service80;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin40, exports_command2 };
|