@opencode/core 0.0.0-dev-20482 → 0.0.0-dev-20483
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 +75 -75
- package/dist/chunks/{location-activity-nevvy4w2.js → file-retention-010svtsv.js} +26 -26
- package/dist/chunks/{location-activity-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-hrcfx6vp.js → file-retention-0pdpn3pq.js} +11 -11
- package/dist/chunks/{location-activity-gj71zhbs.js → file-retention-0r3c1bmw.js} +5 -5
- package/dist/chunks/{location-activity-fns5jgry.js → file-retention-0r90g8yp.js} +23 -23
- package/dist/chunks/{location-activity-0vbcp93d.js → file-retention-0vbcp93d.js} +2 -2
- package/dist/chunks/file-retention-16e93gk9.js +507 -0
- package/dist/chunks/{location-activity-4h0nv21f.js → file-retention-1856z5gp.js} +29 -29
- package/dist/chunks/{location-activity-g82etb9w.js → file-retention-18k9cajk.js} +4 -4
- package/dist/chunks/{location-activity-gjcdwnpg.js → file-retention-19m1yqgd.js} +26 -26
- package/dist/chunks/{location-activity-acptaqp2.js → file-retention-19wbe0f4.js} +19 -19
- package/dist/chunks/file-retention-1bmzne1w.js +26 -0
- package/dist/chunks/{location-activity-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-zrqpdgxa.js → file-retention-1f27qpcc.js} +38 -38
- package/dist/chunks/{location-activity-aydwp65z.js → file-retention-1pd86f1r.js} +10 -10
- package/dist/chunks/{location-activity-h5v9nra6.js → file-retention-1q0jybjw.js} +17 -17
- package/dist/chunks/{location-activity-2ymm49ek.js → file-retention-1qa1mw2k.js} +45 -45
- package/dist/chunks/{location-activity-kb7sybk7.js → file-retention-1tt22aw3.js} +29 -29
- package/dist/chunks/{location-activity-dpamk4w9.js → file-retention-1tz386xc.js} +27 -27
- package/dist/chunks/{location-activity-1ygqh575.js → file-retention-1ygqh575.js} +2 -2
- package/dist/chunks/{location-activity-bx2cw6ge.js → file-retention-1yxhyg8n.js} +23 -23
- package/dist/chunks/{location-activity-d34e2vcy.js → file-retention-22s53sjq.js} +8 -8
- package/dist/chunks/{location-activity-7nw3fj3w.js → file-retention-23ydc1ae.js} +15 -15
- package/dist/chunks/{location-activity-39msrn4c.js → file-retention-24etr8ym.js} +15 -15
- package/dist/chunks/{location-activity-vmfsvd6h.js → file-retention-24y4cr83.js} +22 -22
- package/dist/chunks/{location-activity-ay5e4ynh.js → file-retention-26a94np2.js} +45 -45
- package/dist/chunks/{location-activity-n3h7b6bk.js → file-retention-299t90wb.js} +16 -16
- package/dist/chunks/{location-activity-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-jsjj0c6c.js → file-retention-2b07cd18.js} +24 -24
- package/dist/chunks/{location-activity-wscyxcxf.js → file-retention-2dyhgb9n.js} +12 -12
- package/dist/chunks/{location-activity-c40j02qq.js → file-retention-2e17eh3v.js} +4 -4
- package/dist/chunks/{location-activity-6gn8k2yc.js → file-retention-2fcdk11z.js} +56 -56
- package/dist/chunks/{location-activity-9y23kbjd.js → file-retention-2pvxx6w1.js} +5 -5
- package/dist/chunks/{location-activity-qkz1k4kx.js → file-retention-2qasw89v.js} +5 -5
- package/dist/chunks/{location-activity-5he2sdfn.js → file-retention-2s45n8cs.js} +3 -3
- package/dist/chunks/{location-activity-rzy66xyp.js → file-retention-2x8x7t3a.js} +32 -32
- package/dist/chunks/{location-activity-h2b79v29.js → file-retention-3cegwx68.js} +2 -2
- package/dist/chunks/{location-activity-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-b6zssv9f.js → file-retention-3kbc11ry.js} +11 -11
- package/dist/chunks/{location-activity-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-0kjg249v.js → file-retention-3v6j8f05.js} +10 -10
- package/dist/chunks/{location-activity-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-4v7ngy20.js → file-retention-44ak30pa.js} +4 -4
- package/dist/chunks/{location-activity-axe3mf62.js → file-retention-48kw51zw.js} +3 -3
- package/dist/chunks/{location-activity-4g7zmamd.js → file-retention-4dhdfeb8.js} +12 -12
- package/dist/chunks/{location-activity-tpyep7wn.js → file-retention-4kx9erc0.js} +16 -16
- package/dist/chunks/{location-activity-xcr4nt91.js → file-retention-4mat50dd.js} +14 -14
- package/dist/chunks/{location-activity-1zz2cpjf.js → file-retention-4mp36x47.js} +7 -7
- package/dist/chunks/{location-activity-y5222gcj.js → file-retention-4sq4r2t8.js} +3 -3
- package/dist/chunks/{location-activity-4ts7tf6z.js → file-retention-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-activity-ftz64sk8.js → file-retention-4v3k5exv.js} +33 -33
- package/dist/chunks/{location-activity-cavr175a.js → file-retention-50mzsvk4.js} +4 -4
- package/dist/chunks/{location-activity-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
- package/dist/chunks/{location-activity-930yc4ac.js → file-retention-5cj6t5k8.js} +8 -8
- package/dist/chunks/{location-activity-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-wg9mrbyx.js → file-retention-5fffgman.js} +59 -59
- package/dist/chunks/{location-activity-cxbqh5r0.js → file-retention-5nsj1v3b.js} +4 -4
- package/dist/chunks/{location-activity-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-4qsn3ydy.js → file-retention-62e165w1.js} +19 -19
- package/dist/chunks/{location-activity-qej8jne0.js → file-retention-63b3jkh8.js} +22 -22
- package/dist/chunks/{location-activity-hb1zg4ht.js → file-retention-63r88w2b.js} +11 -11
- package/dist/chunks/{location-activity-m39p0v92.js → file-retention-6479pxty.js} +5 -5
- package/dist/chunks/{location-activity-jp4g486y.js → file-retention-6517zxh1.js} +12 -12
- package/dist/chunks/{location-activity-fytsnez6.js → file-retention-664q6xrj.js} +17 -17
- package/dist/chunks/{location-activity-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-wjhhp971.js → file-retention-672hp4zj.js} +8 -8
- package/dist/chunks/{location-activity-mncwhvf2.js → file-retention-6akfc5px.js} +24 -24
- package/dist/chunks/{location-activity-7v8e2cp0.js → file-retention-6g0d6zmv.js} +7 -7
- package/dist/chunks/{location-activity-pp1yyjjg.js → file-retention-6pxgffms.js} +3 -3
- package/dist/chunks/{location-activity-nahm64m7.js → file-retention-6y6b3v79.js} +44 -44
- package/dist/chunks/{location-activity-w39jehkq.js → file-retention-6yz0wx8n.js} +5 -5
- package/dist/chunks/{location-activity-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-j5q726ab.js → file-retention-7kc72sy1.js} +15 -15
- package/dist/chunks/{location-activity-t9m3edaw.js → file-retention-7np80qm3.js} +2 -2
- package/dist/chunks/{location-activity-0t098hqn.js → file-retention-7r0r50e5.js} +5 -5
- package/dist/chunks/{location-activity-g2wjer42.js → file-retention-7t9r5z7t.js} +6 -6
- package/dist/chunks/{location-activity-1dvck2a7.js → file-retention-84h8c373.js} +2 -2
- package/dist/chunks/{location-activity-pct1c8gm.js → file-retention-86qzxe6p.js} +4 -4
- package/dist/chunks/{location-activity-mtzw15c5.js → file-retention-89qfpw9h.js} +20 -20
- package/dist/chunks/{location-activity-gh5z95q3.js → file-retention-8a6ws7jr.js} +9 -9
- package/dist/chunks/{location-activity-72pj7xs5.js → file-retention-8bx78z2w.js} +15 -15
- package/dist/chunks/{location-activity-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-6bh7pj3q.js → file-retention-8gszwhhd.js} +7 -7
- package/dist/chunks/{location-activity-e17jeqfc.js → file-retention-8p4jk4hz.js} +16 -16
- package/dist/chunks/{location-activity-609f4zy0.js → file-retention-8tx99sfv.js} +23 -23
- package/dist/chunks/{location-activity-4mshw40j.js → file-retention-8xf2390s.js} +11 -11
- package/dist/chunks/{location-activity-wqamxebv.js → file-retention-91150f7p.js} +23 -23
- package/dist/chunks/{location-activity-tjn0w8tq.js → file-retention-916ecn31.js} +20 -20
- package/dist/chunks/{location-activity-pk1q6pjh.js → file-retention-99z2e8tf.js} +21 -21
- package/dist/chunks/{location-activity-wtyn31es.js → file-retention-9cgh24rp.js} +29 -29
- package/dist/chunks/{location-activity-320xg5h5.js → file-retention-9ma816y3.js} +23 -23
- package/dist/chunks/{location-activity-afb1z1nh.js → file-retention-9phb3768.js} +22 -22
- package/dist/chunks/file-retention-9sh4wc5j.js +18 -0
- package/dist/chunks/{location-activity-4trjxrjf.js → file-retention-9wpkv8d5.js} +1 -1
- package/dist/chunks/{location-activity-pj4a0my9.js → file-retention-9ymnkqa3.js} +13 -13
- package/dist/chunks/{location-activity-crd6jgtk.js → file-retention-9z7evyec.js} +22 -22
- package/dist/chunks/{location-activity-mhkvc446.js → file-retention-a1gpj94z.js} +3 -3
- package/dist/chunks/{location-activity-ppqkzqgj.js → file-retention-a2c5gk3p.js} +3 -3
- package/dist/chunks/{location-activity-x1g3xjpd.js → file-retention-a39dgx1a.js} +8 -8
- package/dist/chunks/{location-activity-e0szw8hf.js → file-retention-a8fr1h6x.js} +170 -170
- package/dist/chunks/{location-activity-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-35vmqc8e.js → file-retention-b1059kqh.js} +19 -19
- package/dist/chunks/{location-activity-b3f8fkhc.js → file-retention-b3f8fkhc.js} +2 -2
- package/dist/chunks/{location-activity-f3eqp88s.js → file-retention-b47w6h91.js} +13 -13
- package/dist/chunks/{location-activity-cfsekr6v.js → file-retention-b4twkq7r.js} +6 -6
- package/dist/chunks/{location-activity-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-y8z6pjqt.js → file-retention-bkb94af5.js} +44 -44
- package/dist/chunks/{location-activity-4dmtav14.js → file-retention-byxd618f.js} +19 -19
- package/dist/chunks/{location-activity-vgepzxbh.js → file-retention-c4rc6qkb.js} +4 -4
- package/dist/chunks/{location-activity-1cvrxvtf.js → file-retention-cb03yeca.js} +14 -14
- package/dist/chunks/{location-activity-z5cg979m.js → file-retention-cc9f4jmy.js} +9 -9
- package/dist/chunks/{location-activity-k08bdcds.js → file-retention-ceb9zpqz.js} +9 -9
- package/dist/chunks/{location-activity-x8r0ew4v.js → file-retention-cmp6hdh9.js} +13 -13
- package/dist/chunks/{location-activity-5yzzbxa7.js → file-retention-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-activity-5qfy63yy.js → file-retention-cn1yc8yx.js} +36 -36
- package/dist/chunks/{location-activity-d4fbbg98.js → file-retention-cs1ase73.js} +15 -15
- package/dist/chunks/{location-activity-cwa6csj7.js → file-retention-cwa6csj7.js} +2 -2
- package/dist/chunks/{location-activity-1bq2j8hp.js → file-retention-cxpvh0dz.js} +11 -11
- package/dist/chunks/{location-activity-pmmjvhhs.js → file-retention-cy54bjc2.js} +8 -8
- package/dist/chunks/{location-activity-92gvj9aq.js → file-retention-d0z5e1mn.js} +21 -21
- package/dist/chunks/{location-activity-mar13xq9.js → file-retention-d9y2dced.js} +23 -23
- package/dist/chunks/{location-activity-h9my387j.js → file-retention-da5crynx.js} +8 -8
- package/dist/chunks/{location-activity-addxnjmp.js → file-retention-db2wf4at.js} +4 -4
- package/dist/chunks/{location-activity-fq4mr5gq.js → file-retention-dc2qckmf.js} +13 -13
- package/dist/chunks/{location-activity-4c5qn8gy.js → file-retention-dgk23zpj.js} +32 -32
- package/dist/chunks/{location-activity-zpff0acr.js → file-retention-dj02fe1d.js} +38 -38
- package/dist/chunks/{location-activity-nxm207yx.js → file-retention-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-activity-gv3x6gar.js → file-retention-dqdxhkv7.js} +13 -13
- package/dist/chunks/{location-activity-41err7wp.js → file-retention-dqetav0t.js} +3 -3
- package/dist/chunks/{location-activity-ztar2vnf.js → file-retention-drvshtg5.js} +24 -24
- package/dist/chunks/{location-activity-akk9vn25.js → file-retention-dyrnqeff.js} +14 -14
- package/dist/chunks/{location-activity-d83nxqz6.js → file-retention-e4n08x2a.js} +6 -6
- package/dist/chunks/{location-activity-spc73t8y.js → file-retention-e7fybsm5.js} +1 -1
- package/dist/chunks/{location-activity-4r9qfk58.js → file-retention-e7rehdhe.js} +77 -77
- package/dist/chunks/{location-activity-2va3hwtf.js → file-retention-e9rrx8nb.js} +17 -17
- package/dist/chunks/{location-activity-s8d7rejh.js → file-retention-eaj1djv9.js} +6 -6
- package/dist/chunks/{location-activity-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-sth74pnq.js → file-retention-ehy2g33m.js} +23 -23
- package/dist/chunks/{location-activity-93ke7w4k.js → file-retention-emjm3mg5.js} +18 -18
- package/dist/chunks/{location-activity-t4ny6stw.js → file-retention-enpnrszd.js} +21 -21
- package/dist/chunks/{location-activity-nzq7ck9f.js → file-retention-eqkxs06z.js} +6 -6
- package/dist/chunks/{location-activity-t6ay20en.js → file-retention-et5g45k6.js} +22 -22
- package/dist/chunks/{location-activity-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-vr37hq2x.js → file-retention-evhxnv2q.js} +13 -13
- package/dist/chunks/{location-activity-eqbd4sme.js → file-retention-ez2gdk13.js} +17 -17
- package/dist/chunks/{location-activity-d2czbp48.js → file-retention-f29mbr7f.js} +4 -4
- package/dist/chunks/{location-activity-wy271fzy.js → file-retention-f3md509a.js} +18 -18
- package/dist/chunks/{location-activity-71az546q.js → file-retention-f75zav2x.js} +2 -2
- package/dist/chunks/{location-activity-2k8khapm.js → file-retention-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-activity-tw9ekqb6.js → file-retention-fwyzff2k.js} +12 -12
- package/dist/chunks/{location-activity-x0vzmp4x.js → file-retention-g2y161wv.js} +8 -8
- package/dist/chunks/{location-activity-g5w8qwbj.js → file-retention-g5w8qwbj.js} +1 -1
- package/dist/chunks/{location-activity-yym3kn8t.js → file-retention-g7b432k9.js} +9 -9
- package/dist/chunks/{location-activity-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-0xgsdn2e.js → file-retention-gmyr53yh.js} +15 -15
- package/dist/chunks/{location-activity-dy6awcmf.js → file-retention-gpvbq4ra.js} +24 -24
- package/dist/chunks/{location-activity-2wzcstvr.js → file-retention-gr6b6mj1.js} +11 -11
- package/dist/chunks/{location-activity-y40jdrre.js → file-retention-gt8adb52.js} +8 -8
- package/dist/chunks/{location-activity-4v9y65rg.js → file-retention-gzfdgjtf.js} +13 -13
- package/dist/chunks/{location-activity-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-pzpn5aar.js → file-retention-h6wrxb9q.js} +29 -29
- package/dist/chunks/{location-activity-7tf6aeev.js → file-retention-hb0k09dj.js} +11 -11
- package/dist/chunks/{location-activity-5pbj17sc.js → file-retention-htp67ewe.js} +11 -11
- package/dist/chunks/{location-activity-k1qrnqst.js → file-retention-hz0q9sdq.js} +8 -8
- package/dist/chunks/{location-activity-tp3k5ea2.js → file-retention-j1516eyq.js} +22 -22
- package/dist/chunks/{location-activity-4n0zntvv.js → file-retention-j4s13nb2.js} +11 -11
- package/dist/chunks/{location-activity-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-c6qwqagy.js → file-retention-jc1gpg60.js} +5 -5
- package/dist/chunks/{location-activity-ktf5frdt.js → file-retention-jnk7qm89.js} +10 -10
- package/dist/chunks/{location-activity-0hs7h7cm.js → file-retention-jqp48237.js} +33 -33
- package/dist/chunks/{location-activity-1g9v2p7a.js → file-retention-jx0q4spf.js} +16 -16
- package/dist/chunks/{location-activity-jwar5sv4.js → file-retention-k5zhfa84.js} +31 -31
- package/dist/chunks/{location-activity-9e5bzkjp.js → file-retention-kb9j3d72.js} +3 -3
- package/dist/chunks/file-retention-kdgzr6za.js +252 -0
- package/dist/chunks/{location-activity-89ysthp9.js → file-retention-kgfzxw26.js} +10 -10
- package/dist/chunks/{location-activity-0fq14k9x.js → file-retention-khtp5qmv.js} +23 -23
- package/dist/chunks/{location-activity-vcfp5rjs.js → file-retention-kn16ews1.js} +17 -17
- package/dist/chunks/{location-activity-ajzsbz6h.js → file-retention-knp96k5g.js} +11 -11
- package/dist/chunks/{location-activity-7h5dp112.js → file-retention-kxvjk49k.js} +5 -5
- package/dist/chunks/{location-activity-1y5174xs.js → file-retention-m2fmqjsg.js} +20 -20
- package/dist/chunks/{location-activity-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-dh9efh6e.js → file-retention-mh3pfvhs.js} +3 -3
- package/dist/chunks/{location-activity-vhncgchg.js → file-retention-msgz7vnx.js} +21 -21
- package/dist/chunks/{location-activity-yr715y08.js → file-retention-n37c4crj.js} +5 -5
- package/dist/chunks/{location-activity-dye4q3te.js → file-retention-n69ahfa0.js} +19 -19
- package/dist/chunks/{location-activity-mrydgg8n.js → file-retention-nc9ket9e.js} +7 -7
- package/dist/chunks/{location-activity-4sx4mmjn.js → file-retention-njg0144m.js} +11 -11
- package/dist/chunks/{location-activity-a199weyn.js → file-retention-nmpbqy18.js} +6 -6
- package/dist/chunks/{location-activity-8e1b1gzh.js → file-retention-ntg2j34t.js} +6 -6
- package/dist/chunks/{location-activity-kt043v3q.js → file-retention-nvebafbr.js} +13 -13
- package/dist/chunks/{location-activity-shvhq7an.js → file-retention-nx5d6twc.js} +41 -41
- package/dist/chunks/{location-activity-1stqrsyy.js → file-retention-p4qz04xc.js} +48 -48
- package/dist/chunks/{location-activity-9ajjpfs9.js → file-retention-pb2egvkv.js} +6 -6
- package/dist/chunks/{location-activity-gy3tdm6e.js → file-retention-pf3jdx00.js} +5 -5
- package/dist/chunks/{location-activity-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-p0f4zmkb.js → file-retention-pm3syzdj.js} +20 -20
- package/dist/chunks/{location-activity-m4emr75t.js → file-retention-py5x8axh.js} +8 -8
- package/dist/chunks/{location-activity-q0xm7vwc.js → file-retention-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-activity-y38vkjgw.js → file-retention-q3wbtnjt.js} +9 -9
- package/dist/chunks/{location-activity-n4r3xatb.js → file-retention-q5asdkn4.js} +4 -4
- package/dist/chunks/{location-activity-06ckfdnj.js → file-retention-q6e5294y.js} +36 -36
- package/dist/chunks/{location-activity-d4qcgmvd.js → file-retention-q717ea4v.js} +3 -3
- package/dist/chunks/{location-activity-hb7an6nh.js → file-retention-qeajncbp.js} +15 -15
- package/dist/chunks/{location-activity-sded7z9w.js → file-retention-qjz171mj.js} +7 -7
- package/dist/chunks/{location-activity-6pmstnsj.js → file-retention-qkpjj9ac.js} +11 -11
- package/dist/chunks/{location-activity-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-activity-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-4n607a2z.js → file-retention-qsr9synt.js} +5 -5
- package/dist/chunks/{location-activity-f6rxa388.js → file-retention-qvp3ayyr.js} +4 -4
- package/dist/chunks/{location-activity-shjdf60r.js → file-retention-qw26wqbf.js} +11 -11
- package/dist/chunks/{location-activity-5sbkmvr0.js → file-retention-qwvc2n28.js} +15 -15
- package/dist/chunks/{location-activity-x3fsy76a.js → file-retention-r4mw293q.js} +20 -20
- package/dist/chunks/{location-activity-899smtts.js → file-retention-r5zhkawj.js} +4 -4
- package/dist/chunks/{location-activity-cg1r65cz.js → file-retention-r6km2j76.js} +20 -20
- package/dist/chunks/{location-activity-qbgt62kf.js → file-retention-r8ngcrxq.js} +45 -45
- package/dist/chunks/{location-activity-ryr25ayn.js → file-retention-ratrq7cm.js} +4 -4
- package/dist/chunks/{location-activity-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-nnkpej43.js → file-retention-rfx500q8.js} +47 -47
- package/dist/chunks/{location-activity-rhraev7y.js → file-retention-rhraev7y.js} +1 -1
- package/dist/chunks/{location-activity-a4ae1mqs.js → file-retention-rk1r2hx8.js} +1 -1
- package/dist/chunks/{location-activity-1937k8q6.js → file-retention-rmzxb8wx.js} +40 -40
- package/dist/chunks/{location-activity-9y9sk2j9.js → file-retention-rqa1jxse.js} +2 -2
- package/dist/chunks/{location-activity-43k6fpga.js → file-retention-rya9vxen.js} +42 -42
- package/dist/chunks/{location-activity-phffqbv0.js → file-retention-s78w3mx6.js} +30 -30
- package/dist/chunks/{location-activity-6n4b0dsb.js → file-retention-s9xxw18e.js} +8 -8
- package/dist/chunks/{location-activity-kwe37vaz.js → file-retention-t3dkts0r.js} +11 -11
- package/dist/chunks/{location-activity-zkttgkb0.js → file-retention-taazwa2m.js} +14 -14
- package/dist/chunks/{location-activity-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-activity-vey5mqe7.js → file-retention-tctwkzpn.js} +33 -33
- package/dist/chunks/{location-activity-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-a6x1mmgf.js → file-retention-tezq3vq8.js} +33 -33
- package/dist/chunks/{location-activity-6q61hx8h.js → file-retention-tfwaqret.js} +8 -8
- package/dist/chunks/{location-activity-hqpah0r2.js → file-retention-tj5rcesx.js} +34 -34
- package/dist/chunks/{location-activity-8a1mntyx.js → file-retention-tnwsy8nb.js} +87 -87
- package/dist/chunks/{location-activity-pjsqfx9m.js → file-retention-twwzjqdf.js} +6 -6
- package/dist/chunks/{location-activity-v0es1rhs.js → file-retention-v0es1rhs.js} +2 -2
- package/dist/chunks/{location-activity-0e4zfx6z.js → file-retention-v1gfxk1h.js} +5 -5
- package/dist/chunks/{location-activity-zr73n83g.js → file-retention-v81vxjx2.js} +11 -11
- package/dist/chunks/{location-activity-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-svqfenz5.js → file-retention-vzgh18wv.js} +5 -5
- package/dist/chunks/{location-activity-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-activity-84txncab.js → file-retention-w1eejvng.js} +5 -5
- package/dist/chunks/{location-activity-yxh0zdxf.js → file-retention-w2bejqka.js} +22 -22
- package/dist/chunks/{location-activity-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-qe26s0zb.js → file-retention-w3x9v1nk.js} +8 -8
- package/dist/chunks/{location-activity-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-nbmw97mr.js → file-retention-wnk9exdz.js} +6 -6
- package/dist/chunks/{location-activity-94dc9ms6.js → file-retention-wvj3jknz.js} +96 -96
- package/dist/chunks/{location-activity-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-zfs8ae4p.js → file-retention-xasyx0as.js} +4 -4
- package/dist/chunks/{location-activity-6mmst0ad.js → file-retention-xevbb3dk.js} +32 -32
- package/dist/chunks/{location-activity-rf6cmkn1.js → file-retention-xh27xnk0.js} +11 -11
- package/dist/chunks/{location-activity-xkntkrq7.js → file-retention-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-activity-bnkzdsy0.js → file-retention-xqs03zex.js} +28 -28
- package/dist/chunks/{location-activity-3zbwexce.js → file-retention-xvrdsv0z.js} +5 -5
- package/dist/chunks/{location-activity-xtp7b56q.js → file-retention-xxz7chtq.js} +29 -29
- package/dist/chunks/{location-activity-xyafkbt0.js → file-retention-xyafkbt0.js} +3 -3
- package/dist/chunks/{location-activity-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-y1026n7a.js → file-retention-y1tbwvmr.js} +17 -17
- package/dist/chunks/{location-activity-kwtdqxjw.js → file-retention-y43kper9.js} +31 -31
- package/dist/chunks/{location-activity-9g74sf26.js → file-retention-yhws0ggv.js} +7 -7
- package/dist/chunks/{location-activity-6b84w211.js → file-retention-ymxbsbk4.js} +5 -5
- package/dist/chunks/{location-activity-ynpe6tcd.js → file-retention-ynx963a9.js} +12 -12
- package/dist/chunks/{location-activity-8ank75fn.js → file-retention-ypw91m64.js} +8 -8
- package/dist/chunks/{location-activity-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-xdgk9xw0.js → file-retention-yygvcae8.js} +9 -9
- package/dist/chunks/{location-activity-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-whyata6j.js → file-retention-z421k0xb.js} +13 -13
- package/dist/chunks/{location-activity-xp1r6926.js → file-retention-zcf427st.js} +37 -37
- package/dist/chunks/{location-activity-e8344z6b.js → file-retention-zn9rd40w.js} +33 -33
- package/dist/chunks/{location-activity-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- 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 +118 -118
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +74 -74
- 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 +364 -364
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- 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 +5 -5
- package/dist/plugin/internal.js +327 -327
- 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/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +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/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- 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 +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- 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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +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 +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- 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 +1 -1
- 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 +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +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 +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +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 +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +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 +14 -14
- 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 +3 -3
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- 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 +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/location-activity-9v61txyr.js +0 -26
- package/dist/chunks/location-activity-f695y85p.js +0 -252
- package/dist/chunks/location-activity-jqh9b0xq.js +0 -18
- package/dist/chunks/location-activity-xs4bhnbp.js +0 -507
- /package/dist/chunks/{location-activity-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-tctwkzpn.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info17
|
|
11
|
+
} from "./file-retention-4v3k5exv.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID8.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info17.make({
|
|
122
|
+
...Info17.default(ID9.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID8.make(remote.id),
|
|
125
|
+
providerID: ID9.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service73,
|
|
3
|
+
node76,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-yygvcae8.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service57,
|
|
8
|
+
node60
|
|
9
|
+
} from "./file-retention-eqkxs06z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service70
|
|
12
|
+
} from "./file-retention-2x8x7t3a.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-kdgzr6za.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service73, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service70);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node60.replace(Layer.succeed(Service57, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node76.replace(Layer.succeed(Service73, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
node62
|
|
7
|
+
} from "./file-retention-bkb94af5.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service24,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer10,
|
|
20
|
+
node: () => node27
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service24 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service59;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service24.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node27 = makeLocationNode({
|
|
74
|
+
service: Service24,
|
|
75
|
+
layer: layer10,
|
|
76
|
+
deps: [node62, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service24, layer10, node27, exports_generate };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info23,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info23 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-retention-8bx78z2w.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
22
|
-
configured: () =>
|
|
21
|
+
Service: () => Service82,
|
|
22
|
+
configured: () => configured11,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node85,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service82 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function configured11(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service82,
|
|
84
|
+
deps: [node86],
|
|
85
|
+
layer: Layer.effect(Service82, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service83;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service82.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node85 = configured11();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured11, node85, exports_bus };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-3cegwx68.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options10,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options10 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options10]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options10, Spec2, exports_plugin3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./file-retention-f3md509a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service63,
|
|
6
|
+
Event13
|
|
7
|
+
} from "./file-retention-0r90g8yp.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin34,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin34 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service82;
|
|
24
|
+
const wellknown = yield* Service63;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin18 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin34, exports_plugin };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin6,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin6 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin9 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin6, exports_exa };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-gr6b6mj1.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin2,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin2 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin7 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin7 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint2, Plugin2, exports_parallel };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service45,
|
|
8
|
+
node48
|
|
9
|
+
} from "./file-retention-9z7evyec.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-b1059kqh.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service8,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node10,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service45;
|
|
335
|
+
return Service8.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [node48] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
|