@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node85
|
|
5
|
+
} from "./file-retention-f3md509a.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event10,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options7,
|
|
30
|
+
Service: () => Service48,
|
|
31
|
+
configured: () => configured7,
|
|
32
|
+
layer: () => layer18,
|
|
33
|
+
node: () => node51
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event10 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options7 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service48 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer18 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service82;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,7 +72,7 @@ var layer20 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer20 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service48.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer20 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured7(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service48,
|
|
110
|
+
layer: layer18(options),
|
|
111
|
+
deps: [node85]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node51 = configured7();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event10, Options7, Service48, layer18, configured7, node51, exports_instruction_discovery };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info14
|
|
6
|
+
} from "./file-retention-50mzsvk4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info14)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-retention-8bx78z2w.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node54
|
|
12
|
+
} from "./file-retention-ntg2j34t.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID7,
|
|
25
|
+
Info: () => Info10,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service50,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured8,
|
|
30
|
+
node: () => node53
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID7 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info10 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID7,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,25 +46,25 @@ class Info14 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID7,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service50 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured8 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service50,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node86, node54]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
67
|
-
const db = (yield*
|
|
66
|
+
var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
67
|
+
const db = (yield* Service83).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
70
70
|
const connections = new Map;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info10({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service50.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID7.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node53 = configured8();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID7, Info10, NotFound3, CreateConflict2, Service50, configured8, node53, exports_workspace };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./file-retention-w2bejqka.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-6g0d6zmv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./file-retention-6y6b3v79.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-010svtsv.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service11
|
|
20
|
+
} from "./file-retention-8a6ws7jr.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-e4n08x2a.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill3 = {};
|
|
30
30
|
__export(exports_skill3, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin38
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin38 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service61;
|
|
43
|
+
const discovery = yield* Service11;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service62;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin44 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin38, exports_skill3 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node88
|
|
5
|
+
} from "./file-retention-gr6b6mj1.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-f29mbr7f.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service78,
|
|
12
|
+
node81
|
|
13
|
+
} from "./file-retention-ypw91m64.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-2fcdk11z.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-qjz171mj.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error5
|
|
22
|
+
} from "./file-retention-91150f7p.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-retention-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service38,
|
|
28
|
+
node41
|
|
29
|
+
} from "./file-retention-qkpjj9ac.js";
|
|
30
30
|
import {
|
|
31
31
|
make16
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-retention-g5w8qwbj.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-retention-rk1r2hx8.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service37,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer14,
|
|
48
|
+
node: () => node40,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
|
|
|
151
151
|
});
|
|
152
152
|
};
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service37 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const hooks = yield*
|
|
158
|
-
const transport = yield*
|
|
156
|
+
var layer14 = Layer.effect(Service37, Effect.gen(function* () {
|
|
157
|
+
const hooks = yield* Service78;
|
|
158
|
+
const transport = yield* Service38;
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
161
161
|
const session = input.session;
|
|
@@ -163,7 +163,7 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
163
163
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
164
164
|
const tools = input.tools ?? {
|
|
165
165
|
definitions: [],
|
|
166
|
-
execute: () => new
|
|
166
|
+
execute: () => new Error5({ message: "Tools are not available for this request" })
|
|
167
167
|
};
|
|
168
168
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
169
169
|
const shaped = yield* shape({
|
|
@@ -260,17 +260,17 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
260
260
|
};
|
|
261
261
|
});
|
|
262
262
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
263
|
-
return
|
|
263
|
+
return Service37.of({
|
|
264
264
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
265
265
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
266
266
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
267
267
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
268
268
|
});
|
|
269
269
|
}));
|
|
270
|
-
var
|
|
271
|
-
service:
|
|
272
|
-
layer:
|
|
273
|
-
deps: [
|
|
270
|
+
var node40 = makeLocationNode({
|
|
271
|
+
service: Service37,
|
|
272
|
+
layer: layer14,
|
|
273
|
+
deps: [node81, node41, node88]
|
|
274
274
|
});
|
|
275
275
|
|
|
276
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
276
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service37, layer14, node40, exports_model_request };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-4v3k5exv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./file-retention-6y6b3v79.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-wnk9exdz.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -36,7 +36,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service61;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID8.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-9wpkv8d5.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-7t9r5z7t.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service84,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node87
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service84 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service84.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node87 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service84, node87, exports_git3 };
|