@opencode/core 0.0.0-dev-20783 → 0.0.0-dev-20784
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +7 -7
- package/dist/bus.js +74 -74
- package/dist/chunks/{skill-cr3znner.js → file-retention-01m0edtj.js} +13 -13
- package/dist/chunks/file-retention-02wkw50e.js +513 -0
- package/dist/chunks/{skill-dx79gnp7.js → file-retention-0crjjxxx.js} +19 -19
- package/dist/chunks/{skill-bsx3ef4h.js → file-retention-0e3qe3yy.js} +22 -22
- package/dist/chunks/{skill-q0xm7vwc.js → file-retention-0j77ygfz.js} +6 -6
- package/dist/chunks/{skill-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-485qxas3.js → file-retention-0rfmeyxn.js} +11 -11
- package/dist/chunks/{skill-9kdvs0qs.js → file-retention-0sdx5hkx.js} +20 -20
- package/dist/chunks/{skill-0vbcp93d.js → file-retention-0vbcp93d.js} +2 -2
- package/dist/chunks/{skill-w113ygr5.js → file-retention-0y4k1x12.js} +16 -16
- package/dist/chunks/{skill-z3w57r3v.js → file-retention-15vdfc9c.js} +5 -5
- package/dist/chunks/{skill-1dvck2a7.js → file-retention-1dvck2a7.js} +2 -2
- package/dist/chunks/{skill-taqj60ds.js → file-retention-1f2vccss.js} +44 -44
- package/dist/chunks/{skill-xzzfknmp.js → file-retention-1k45a421.js} +13 -13
- package/dist/chunks/{skill-1p07q0wb.js → file-retention-1p07q0wb.js} +2 -2
- package/dist/chunks/{skill-82n5twj0.js → file-retention-226karrg.js} +35 -35
- package/dist/chunks/{skill-hddss928.js → file-retention-2908y79c.js} +14 -14
- package/dist/chunks/{skill-t8wv525n.js → file-retention-291fq28g.js} +49 -49
- package/dist/chunks/{skill-4ts7tf6z.js → file-retention-2ccvkpx1.js} +2 -2
- package/dist/chunks/{skill-fbh9pqtx.js → file-retention-2ekw743c.js} +1 -1
- package/dist/chunks/{skill-qa7075pb.js → file-retention-2hg7qvzt.js} +5 -5
- package/dist/chunks/{skill-ar95rhcv.js → file-retention-2j3kqcde.js} +20 -20
- package/dist/chunks/{skill-0r3c1bmw.js → file-retention-2k9fjx65.js} +5 -5
- package/dist/chunks/{skill-6707cyp3.js → file-retention-2mqvqnd5.js} +15 -15
- package/dist/chunks/{skill-jehq231j.js → file-retention-2n9hdwqs.js} +20 -20
- package/dist/chunks/{skill-5t3nmthw.js → file-retention-2vvh33eb.js} +3 -3
- package/dist/chunks/{skill-khjasm6z.js → file-retention-2w2dfs1b.js} +15 -15
- package/dist/chunks/{skill-wkmwept5.js → file-retention-32y4ehgv.js} +11 -11
- package/dist/chunks/{skill-070wkmva.js → file-retention-35p49r4v.js} +32 -32
- package/dist/chunks/{skill-fqtvmpfq.js → file-retention-37ea9c2d.js} +8 -8
- package/dist/chunks/{skill-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-3hwn7j4h.js → file-retention-3hwn7j4h.js} +2 -2
- package/dist/chunks/{skill-hbtj3vsv.js → file-retention-3pa89wpn.js} +4 -4
- package/dist/chunks/{skill-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-db2wf4at.js → file-retention-3y377wv9.js} +4 -4
- package/dist/chunks/{skill-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-6g7e4dd5.js → file-retention-4434d9q2.js} +9 -9
- package/dist/chunks/{skill-hp0b1pmt.js → file-retention-4bzbvhwk.js} +19 -19
- package/dist/chunks/{skill-5gbtv9te.js → file-retention-4re51v5c.js} +94 -94
- package/dist/chunks/{skill-9a1bht1a.js → file-retention-4wnyxfvg.js} +4 -4
- package/dist/chunks/{skill-ys6pq9md.js → file-retention-4x8je4cs.js} +30 -30
- package/dist/chunks/{skill-67j1ykj9.js → file-retention-4zeyygbb.js} +11 -11
- package/dist/chunks/{skill-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
- package/dist/chunks/{skill-k1591j5w.js → file-retention-54vb1344.js} +35 -35
- package/dist/chunks/{skill-mnsdmbv8.js → file-retention-5526gnt0.js} +33 -33
- package/dist/chunks/{skill-57b9ws8p.js → file-retention-57b9ws8p.js} +1 -1
- package/dist/chunks/{skill-4j4tgtq5.js → file-retention-5dkn69vz.js} +4 -4
- package/dist/chunks/file-retention-5fec3t3w.js +31 -0
- package/dist/chunks/{skill-q5bsz0vw.js → file-retention-5g380qbr.js} +32 -32
- package/dist/chunks/{skill-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-zwdw4kt6.js → file-retention-5shkaybx.js} +15 -15
- package/dist/chunks/{skill-tv7tv5a0.js → file-retention-5sn004hq.js} +19 -19
- package/dist/chunks/{skill-s9vwt7sq.js → file-retention-5w8jzqx5.js} +5 -5
- package/dist/chunks/{skill-9hn6k4tm.js → file-retention-5xtgfte3.js} +8 -8
- package/dist/chunks/{skill-7ab8v4x8.js → file-retention-5z9rmvjz.js} +75 -75
- package/dist/chunks/{skill-cr9n7mfv.js → file-retention-641gya88.js} +3 -3
- package/dist/chunks/{skill-bvyrej0j.js → file-retention-6gaajhts.js} +10 -10
- package/dist/chunks/{skill-6mp9tdn9.js → file-retention-6mbzp12p.js} +40 -40
- package/dist/chunks/{skill-yyf5mnjx.js → file-retention-6wh776qa.js} +6 -6
- package/dist/chunks/{skill-6xb47vfp.js → file-retention-6xb47vfp.js} +1 -1
- package/dist/chunks/{skill-6qpmcf3t.js → file-retention-700ev8gh.js} +37 -37
- package/dist/chunks/{skill-71az546q.js → file-retention-71az546q.js} +2 -2
- package/dist/chunks/{skill-xyafkbt0.js → file-retention-72sxpf59.js} +3 -3
- package/dist/chunks/{skill-561ssg1x.js → file-retention-75w0f5x3.js} +6 -6
- package/dist/chunks/{skill-ytph8xz7.js → file-retention-76g80x4f.js} +3 -3
- package/dist/chunks/{skill-hbyhqfhs.js → file-retention-76rvckpe.js} +5 -5
- package/dist/chunks/{skill-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-skv2z4tm.js → file-retention-7cxxxtha.js} +60 -60
- package/dist/chunks/{skill-2k8khapm.js → file-retention-7dqw4kz8.js} +5 -5
- package/dist/chunks/{skill-vzdahvpe.js → file-retention-7fdjvgwr.js} +4 -4
- package/dist/chunks/{skill-f6c7zxgy.js → file-retention-7j5w12p9.js} +35 -35
- package/dist/chunks/{skill-0rkq89b0.js → file-retention-7kk9evys.js} +20 -20
- package/dist/chunks/{skill-ew2ppw2e.js → file-retention-7me7tz75.js} +7 -7
- package/dist/chunks/{skill-6yzz6ydy.js → file-retention-7pj8drkf.js} +23 -23
- package/dist/chunks/{skill-04cccj5a.js → file-retention-81fjg4yx.js} +13 -13
- package/dist/chunks/{skill-qx29skc5.js → file-retention-84wx499v.js} +27 -27
- package/dist/chunks/{skill-vktyeyg6.js → file-retention-85snt3vs.js} +187 -187
- package/dist/chunks/{skill-9pa8tak9.js → file-retention-85xxa1xb.js} +2 -2
- package/dist/chunks/{skill-6ty2jb9x.js → file-retention-87bzfwd4.js} +9 -9
- package/dist/chunks/{skill-e6kg2nsz.js → file-retention-88pgeajf.js} +6 -6
- package/dist/chunks/{skill-8m6m0r52.js → file-retention-8m6m0r52.js} +1 -1
- package/dist/chunks/{skill-4qhq17ss.js → file-retention-8sd5y0hb.js} +29 -29
- package/dist/chunks/{skill-sxzvkvgj.js → file-retention-909p1r3q.js} +6 -6
- package/dist/chunks/{skill-07eh7qw4.js → file-retention-90ncnea0.js} +17 -17
- package/dist/chunks/{skill-1tegpzkj.js → file-retention-998r05vw.js} +50 -50
- package/dist/chunks/{skill-9e5bzkjp.js → file-retention-9e5bzkjp.js} +3 -3
- package/dist/chunks/{skill-hwyt46md.js → file-retention-9hy1eatw.js} +10 -10
- package/dist/chunks/{skill-7fctep6b.js → file-retention-9j1mbtc1.js} +17 -17
- package/dist/chunks/{skill-fm4cwmp6.js → file-retention-9r9w78qs.js} +11 -11
- package/dist/chunks/{skill-v0p69kbt.js → file-retention-a0pnfrft.js} +32 -32
- package/dist/chunks/{skill-h5crbhmb.js → file-retention-a310axxt.js} +11 -11
- package/dist/chunks/{skill-zzg514gs.js → file-retention-a9kdv268.js} +15 -15
- package/dist/chunks/{skill-tg951fdk.js → file-retention-ab8h52gf.js} +33 -33
- package/dist/chunks/{skill-h9s33j2f.js → file-retention-ac7rwfbv.js} +9 -9
- package/dist/chunks/{skill-hpvzebmm.js → file-retention-adm4qcea.js} +32 -32
- package/dist/chunks/{skill-ebjs1f3d.js → file-retention-ath3g41k.js} +45 -45
- package/dist/chunks/{skill-f63q8jpn.js → file-retention-azanj09g.js} +10 -10
- package/dist/chunks/{skill-xrpv627y.js → file-retention-azy71b5p.js} +10 -10
- package/dist/chunks/{skill-msbzkdgs.js → file-retention-b2tc811h.js} +9 -9
- package/dist/chunks/{skill-scgrse2b.js → file-retention-b3f8fkhc.js} +5 -5
- package/dist/chunks/{skill-143qq2q9.js → file-retention-ba07h9gm.js} +3 -3
- package/dist/chunks/{skill-w4y2b1bh.js → file-retention-banfh6zd.js} +24 -24
- package/dist/chunks/{skill-hvferw5v.js → file-retention-bbcm0tyt.js} +87 -87
- package/dist/chunks/{skill-1ygqh575.js → file-retention-bjx1sjef.js} +3 -3
- package/dist/chunks/{skill-faj2svbs.js → file-retention-bkxyw0dr.js} +9 -9
- package/dist/chunks/{skill-bfj3mgeh.js → file-retention-btmq9cxd.js} +19 -19
- package/dist/chunks/{skill-1k80zed8.js → file-retention-btwe4kze.js} +5 -5
- package/dist/chunks/{skill-6krh7jxd.js → file-retention-bzn6nda8.js} +11 -11
- package/dist/chunks/{skill-7x2z0ng4.js → file-retention-cd70q2ry.js} +27 -27
- package/dist/chunks/{skill-6vv39ctp.js → file-retention-ck45pw9k.js} +6 -6
- package/dist/chunks/{skill-58vc7jc3.js → file-retention-d580n77m.js} +13 -13
- package/dist/chunks/{skill-z5cmew6x.js → file-retention-d6w343vm.js} +24 -24
- package/dist/chunks/{skill-6b8kbxwq.js → file-retention-d7x0sh0y.js} +10 -10
- package/dist/chunks/{skill-06jffbs3.js → file-retention-d7zv88p4.js} +19 -19
- package/dist/chunks/{skill-jwcy2c2z.js → file-retention-dpkg50ah.js} +4 -4
- package/dist/chunks/{skill-cvk1gt9h.js → file-retention-dwaxmk1s.js} +23 -23
- package/dist/chunks/{skill-vym1cadz.js → file-retention-dwe8s81y.js} +10 -10
- package/dist/chunks/file-retention-dxj72tfx.js +18 -0
- package/dist/chunks/{skill-5qd3pb7m.js → file-retention-e3qxr5gk.js} +2 -2
- package/dist/chunks/{skill-zt541pk1.js → file-retention-e4ma86vn.js} +12 -12
- package/dist/chunks/{skill-gse9956c.js → file-retention-e4nca66s.js} +5 -5
- package/dist/chunks/{skill-zrt7fk07.js → file-retention-e80jqawr.js} +37 -37
- package/dist/chunks/{skill-cen1dnrb.js → file-retention-ea9a622x.js} +20 -20
- package/dist/chunks/{skill-v3s0gpe2.js → file-retention-ecv6s6zk.js} +28 -28
- package/dist/chunks/{skill-ph5whc14.js → file-retention-eej6y6fw.js} +3 -3
- package/dist/chunks/{skill-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-04w8c0ba.js → file-retention-ek3n6pab.js} +19 -19
- package/dist/chunks/{skill-8awwapf3.js → file-retention-enqcm95t.js} +36 -36
- package/dist/chunks/{skill-e337rshx.js → file-retention-eyhnzkb4.js} +5 -5
- package/dist/chunks/{skill-fkxxfd9n.js → file-retention-eynxa54k.js} +46 -46
- package/dist/chunks/file-retention-f2fj5fz0.js +253 -0
- package/dist/chunks/{skill-58sep7qz.js → file-retention-f8d5qev0.js} +13 -13
- package/dist/chunks/{skill-csj3nndk.js → file-retention-fgjzfnyp.js} +5 -5
- package/dist/chunks/{skill-5b4dqe4n.js → file-retention-fhx5vk7x.js} +23 -23
- package/dist/chunks/{skill-0jta6v3t.js → file-retention-fjh3s92b.js} +30 -30
- package/dist/chunks/{skill-w2c8f02a.js → file-retention-fkrcgtjd.js} +10 -10
- package/dist/chunks/{skill-t2fc4mz5.js → file-retention-fm2qvscf.js} +4 -4
- package/dist/chunks/{skill-xxcr61zh.js → file-retention-frf5w0nt.js} +13 -13
- package/dist/chunks/{skill-a4rf0zrw.js → file-retention-fshxsajn.js} +34 -34
- package/dist/chunks/{skill-0vpaabdz.js → file-retention-g7kzsnmy.js} +23 -23
- package/dist/chunks/{skill-5cj392th.js → file-retention-g95216pe.js} +45 -45
- package/dist/chunks/{skill-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-brak4p4d.js → file-retention-gfe3ax2q.js} +3 -3
- package/dist/chunks/{skill-8d7r5vzw.js → file-retention-gk8qb678.js} +4 -4
- package/dist/chunks/{skill-x3y19w6y.js → file-retention-gw2k9m0t.js} +50 -50
- package/dist/chunks/{skill-dx8p2nff.js → file-retention-gz086qgb.js} +7 -7
- package/dist/chunks/{skill-h2b79v29.js → file-retention-h2b79v29.js} +2 -2
- package/dist/chunks/{skill-2z1v9gjs.js → file-retention-h5qdgnb5.js} +28 -28
- package/dist/chunks/{skill-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-h7s7r6s9.js → file-retention-h7s7r6s9.js} +2 -2
- package/dist/chunks/{skill-29qym6xz.js → file-retention-h9pnpq88.js} +4 -4
- package/dist/chunks/{skill-hgz4x7wa.js → file-retention-hgz4x7wa.js} +1 -1
- package/dist/chunks/{skill-8x58wqts.js → file-retention-hn2ax6sd.js} +23 -23
- package/dist/chunks/{skill-j2p13e9j.js → file-retention-hnra3d6s.js} +5 -5
- package/dist/chunks/{skill-zz99enan.js → file-retention-hp90m9cj.js} +32 -32
- package/dist/chunks/{skill-93j9r8vr.js → file-retention-hq6c81g9.js} +11 -11
- package/dist/chunks/{skill-en5h7jeg.js → file-retention-hrh521yf.js} +8 -8
- package/dist/chunks/{skill-akepvz7y.js → file-retention-hs4w86ex.js} +7 -7
- package/dist/chunks/{skill-9tqbbpx7.js → file-retention-hs6v00ac.js} +11 -11
- package/dist/chunks/{skill-03g2t9hw.js → file-retention-hymc8p36.js} +8 -8
- package/dist/chunks/{skill-h6vf0ja8.js → file-retention-j4hxg427.js} +4 -4
- package/dist/chunks/{skill-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-xt4njr3s.js → file-retention-jhdf29st.js} +1 -1
- package/dist/chunks/{skill-ed1z33yj.js → file-retention-jjenqzg1.js} +52 -52
- package/dist/chunks/{skill-at2p4n3p.js → file-retention-jtmhc97q.js} +62 -62
- package/dist/chunks/{skill-y8cydn3q.js → file-retention-jze0r7bz.js} +3 -8
- package/dist/chunks/{skill-vq2x1gvt.js → file-retention-k3wcbxqn.js} +11 -11
- package/dist/chunks/{skill-vnvshc90.js → file-retention-k430jzx8.js} +19 -19
- package/dist/chunks/{skill-c227t32y.js → file-retention-k79tzb9n.js} +8 -8
- package/dist/chunks/{skill-rqzc1cst.js → file-retention-ka5c30pq.js} +22 -22
- package/dist/chunks/{skill-t98cn88e.js → file-retention-kksd5aqz.js} +28 -28
- package/dist/chunks/{skill-amkdz55e.js → file-retention-kkymj4jt.js} +22 -22
- package/dist/chunks/{skill-2vs2nh1n.js → file-retention-kne8f3cn.js} +4 -4
- package/dist/chunks/{skill-b9m9jd47.js → file-retention-ks6sgrkr.js} +4 -4
- package/dist/chunks/{skill-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
- package/dist/chunks/{skill-js8wertj.js → file-retention-m6y8pydv.js} +12 -12
- package/dist/chunks/{skill-3b53nk28.js → file-retention-m8q1dgfp.js} +5 -5
- package/dist/chunks/{skill-40ptwz48.js → file-retention-m91gvp7t.js} +6 -6
- package/dist/chunks/{skill-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-9vxq3aev.js → file-retention-mcp2qyd7.js} +23 -23
- package/dist/chunks/{skill-vrrn8f4d.js → file-retention-md08r0z8.js} +22 -22
- package/dist/chunks/{skill-1pn8hfyw.js → file-retention-mm2pt0qe.js} +23 -23
- package/dist/chunks/{skill-3n6qd5yb.js → file-retention-mmsbfapg.js} +1 -1
- package/dist/chunks/{skill-7pk0apss.js → file-retention-msa89gt8.js} +11 -11
- package/dist/chunks/{skill-52v53gqf.js → file-retention-mvsrg00e.js} +35 -35
- package/dist/chunks/{skill-gv54abtn.js → file-retention-mx7expm3.js} +16 -16
- package/dist/chunks/{skill-ge8vx2at.js → file-retention-my8b67cc.js} +11 -11
- package/dist/chunks/{skill-rj9txymb.js → file-retention-n7chjqa1.js} +18 -18
- package/dist/chunks/{skill-6cw3zjxa.js → file-retention-nb1wrey8.js} +36 -36
- package/dist/chunks/{skill-e8jkaw67.js → file-retention-nge58cm1.js} +13 -13
- package/dist/chunks/{skill-674dsst4.js → file-retention-nqj1gben.js} +38 -38
- package/dist/chunks/file-retention-nxaxcbj9.js +26 -0
- package/dist/chunks/{skill-k9bkx1zz.js → file-retention-pdetw647.js} +13 -13
- package/dist/chunks/{skill-p1qmfaz3.js → file-retention-pgdn5y71.js} +25 -25
- package/dist/chunks/{skill-k9cay8kk.js → file-retention-phxa5z0e.js} +7 -7
- package/dist/chunks/{skill-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{skill-277eer69.js → file-retention-pmwpe40e.js} +4 -4
- package/dist/chunks/{skill-j6adbkc7.js → file-retention-pq6k9xjj.js} +4 -4
- package/dist/chunks/{skill-mp9rkdz7.js → file-retention-pr54a62y.js} +25 -25
- package/dist/chunks/{skill-3w5fmr99.js → file-retention-pyv0edze.js} +8 -5
- package/dist/chunks/{skill-13zfdqkn.js → file-retention-q3qqjc4j.js} +10 -10
- package/dist/chunks/{skill-1b6q68c3.js → file-retention-q4dve0yc.js} +14 -14
- package/dist/chunks/{skill-pnb89dtp.js → file-retention-qf6etae5.js} +8 -8
- package/dist/chunks/{skill-cwa6csj7.js → file-retention-qmqgtz8f.js} +9 -9
- package/dist/chunks/{skill-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
- package/dist/chunks/{skill-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-gdyarp84.js → file-retention-qsxkee9e.js} +14 -14
- package/dist/chunks/{skill-2jy61na5.js → file-retention-qthw6f29.js} +11 -11
- package/dist/chunks/{skill-d2zsdd4d.js → file-retention-r2ktrraj.js} +22 -22
- package/dist/chunks/{skill-73tb2d7t.js → file-retention-r2z489rp.js} +4 -4
- package/dist/chunks/{skill-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-catzw522.js → file-retention-rr9cc36v.js} +11 -11
- package/dist/chunks/{skill-x861zb6t.js → file-retention-rtg4wmet.js} +2 -2
- package/dist/chunks/{skill-v1msdc2e.js → file-retention-ryndta0d.js} +46 -46
- package/dist/chunks/{skill-c0v64yz3.js → file-retention-s4wwhvjv.js} +22 -22
- package/dist/chunks/{skill-02nrjc1r.js → file-retention-s8d7rejh.js} +8 -8
- package/dist/chunks/{skill-maqy4c71.js → file-retention-sd2fp9ec.js} +20 -20
- package/dist/chunks/{skill-y5fhf6z7.js → file-retention-sf9ed94r.js} +17 -17
- package/dist/chunks/{skill-yejs50np.js → file-retention-sfczn6wa.js} +11 -11
- package/dist/chunks/{skill-3y9bq3t8.js → file-retention-spqcpneg.js} +6 -6
- package/dist/chunks/{skill-m4sg2fj5.js → file-retention-sww10ew7.js} +13 -13
- package/dist/chunks/{skill-jvw9kwwj.js → file-retention-t171g2rj.js} +18 -18
- package/dist/chunks/{skill-qcgvqcx7.js → file-retention-t3kgvaqg.js} +26 -26
- package/dist/chunks/{skill-r4cw7mx5.js → file-retention-t5ae1t4b.js} +27 -27
- package/dist/chunks/{skill-ktw141zw.js → file-retention-t8g2rvm9.js} +9 -9
- package/dist/chunks/{skill-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{skill-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{skill-358bewed.js → file-retention-thygzj8s.js} +41 -41
- package/dist/chunks/{skill-wh6zw745.js → file-retention-tk14y25j.js} +5 -5
- package/dist/chunks/{skill-etq0c3wd.js → file-retention-tyytaxap.js} +2 -2
- package/dist/chunks/{skill-a28va38p.js → file-retention-v7p4zvkq.js} +3 -3
- package/dist/chunks/{skill-frhb8ew0.js → file-retention-v7rdbjkx.js} +45 -45
- package/dist/chunks/{skill-kqj1wybc.js → file-retention-v97fnpgb.js} +5 -5
- package/dist/chunks/{skill-8mfdap3f.js → file-retention-vbrars45.js} +9 -9
- package/dist/chunks/{skill-2xsrshre.js → file-retention-vcn79w6t.js} +3 -3
- package/dist/chunks/{skill-ejdjv965.js → file-retention-vczmck8z.js} +13 -13
- package/dist/chunks/{skill-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-ahd542yp.js → file-retention-vwpcpzep.js} +8 -8
- package/dist/chunks/{skill-pj2hw229.js → file-retention-vytaj533.js} +31 -31
- package/dist/chunks/{skill-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
- package/dist/chunks/{skill-84txncab.js → file-retention-w1eejvng.js} +5 -5
- package/dist/chunks/{skill-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-sp8122mt.js → file-retention-waztmdc6.js} +23 -23
- package/dist/chunks/{skill-xq59p7zw.js → file-retention-wcdwbs26.js} +18 -18
- package/dist/chunks/{skill-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{skill-q2frhkde.js → file-retention-wsq1jxfe.js} +32 -32
- package/dist/chunks/{skill-479k0gs5.js → file-retention-wx15gkxh.js} +16 -16
- package/dist/chunks/{skill-g79ggcnn.js → file-retention-wy0w7taj.js} +25 -25
- package/dist/chunks/{skill-77w2ws7p.js → file-retention-x0q3bb0r.js} +32 -32
- package/dist/chunks/{skill-wnz7j1fm.js → file-retention-x47gwdav.js} +11 -11
- package/dist/chunks/{skill-kys722cf.js → file-retention-x799tqys.js} +17 -17
- package/dist/chunks/{skill-gz9w2prw.js → file-retention-xc914k0j.js} +25 -25
- package/dist/chunks/{skill-vsja4zwp.js → file-retention-xdqkszf6.js} +25 -25
- package/dist/chunks/{skill-hyqf44qd.js → file-retention-xhr4eg5m.js} +16 -16
- package/dist/chunks/{skill-m8xkxnzs.js → file-retention-xhvwjgs8.js} +45 -45
- package/dist/chunks/{skill-afv5k542.js → file-retention-xnyn0jx3.js} +16 -16
- package/dist/chunks/{skill-kb1jjea1.js → file-retention-xrmap3r6.js} +7 -9
- package/dist/chunks/{skill-etg2w4gs.js → file-retention-xwfqprxb.js} +13 -13
- package/dist/chunks/{skill-be66sdnk.js → file-retention-xxy9zgkz.js} +25 -25
- package/dist/chunks/{skill-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-t1wsc1h6.js → file-retention-y497myth.js} +3 -3
- package/dist/chunks/{skill-mb5k0437.js → file-retention-y5y4kes7.js} +29 -29
- package/dist/chunks/{skill-bsadxmtb.js → file-retention-y6nv3cb4.js} +26 -26
- package/dist/chunks/{skill-3njy147n.js → file-retention-ycd7fagt.js} +25 -25
- package/dist/chunks/{skill-z4xxkr3n.js → file-retention-ymh22vxa.js} +9 -9
- package/dist/chunks/{skill-1tbv6vyw.js → file-retention-ynmknp8q.js} +19 -21
- package/dist/chunks/{skill-yp2x3t23.js → file-retention-yp2x3t23.js} +1 -1
- package/dist/chunks/{skill-c22p0fvq.js → file-retention-ytt0bby0.js} +10 -10
- package/dist/chunks/{skill-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-krsmb9br.js → file-retention-z3db4tjk.js} +21 -21
- package/dist/chunks/{skill-zs4thy15.js → file-retention-z71twgyp.js} +5 -5
- package/dist/chunks/{skill-x9mpd4db.js → file-retention-z7qtbqvc.js} +19 -19
- package/dist/chunks/{skill-8c7secgm.js → file-retention-zfs8ae4p.js} +4 -4
- package/dist/chunks/{skill-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-ydhxanhm.js → file-retention-zrnmd36g.js} +8 -8
- package/dist/chunks/{skill-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +67 -67
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +4 -4
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +4 -4
- package/dist/database/sqlite.workerd.js +4 -4
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +2 -2
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +100 -100
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +90 -90
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +354 -354
- package/dist/location.js +90 -90
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +92 -92
- 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 +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/bus.d.ts +2 -2
- package/dist/types/database/database.d.ts +1 -1
- package/dist/types/database/drizzle/effect-sqlite/driver.d.ts +1 -1
- package/dist/types/database/drizzle/effect-sqlite/session.d.ts +2 -2
- package/dist/types/database/drizzle/sqlite-core/effect/db.d.ts +1 -1
- package/dist/types/database/drizzle/sqlite-core/effect/session.d.ts +1 -1
- package/dist/types/database/sqlite.bun.d.ts +1 -1
- package/dist/types/database/sqlite.d.ts +4 -4
- package/dist/types/database/sqlite.node.d.ts +1 -1
- package/dist/types/database/sqlite.workerd.d.ts +1 -1
- package/dist/types/effect/app-node-platform.d.ts +1 -1
- package/dist/types/effect/websocket-constructor.d.ts +1 -1
- package/dist/types/environment/driver.d.ts +1 -1
- package/dist/types/environment/environment.d.ts +1 -1
- package/dist/types/environment/exec-defaults.d.ts +1 -1
- package/dist/types/environment/local.d.ts +1 -1
- package/dist/types/environment/unavailable.d.ts +7 -7
- package/dist/types/models-dev.d.ts +1 -1
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/provider/azure.d.ts +1 -1
- package/dist/types/plugin/provider/chatgpt.d.ts +2 -2
- package/dist/types/plugin/provider/digitalocean.d.ts +1 -1
- package/dist/types/plugin/provider/gitlab.d.ts +1 -1
- package/dist/types/plugin/provider/lmstudio.d.ts +2 -2
- package/dist/types/plugin/provider/local.d.ts +4 -4
- package/dist/types/plugin/provider/ollama.d.ts +2 -2
- package/dist/types/plugin/provider/opencode.d.ts +1 -1
- package/dist/types/plugin/provider/poe.d.ts +1 -1
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -1
- package/dist/types/plugin/provider/vllm.d.ts +2 -2
- package/dist/types/plugin/websearch/exa.d.ts +1 -1
- package/dist/types/plugin/websearch/firecrawl.d.ts +1 -1
- package/dist/types/plugin/websearch/index.d.ts +1 -1
- package/dist/types/plugin/websearch/mcp.d.ts +2 -2
- package/dist/types/plugin/websearch/parallel.d.ts +1 -1
- package/dist/types/plugin/websearch/tavily.d.ts +1 -1
- package/dist/types/plugin/websearch/tinyfish.d.ts +1 -1
- package/dist/types/session/diff.d.ts +1 -1
- package/dist/types/session/history.d.ts +5 -5
- package/dist/types/session/inbox.d.ts +10 -10
- package/dist/types/session/instruction-entry.d.ts +2 -2
- package/dist/types/session/instruction-state.d.ts +10 -10
- package/dist/types/session/model-transport.d.ts +1 -1
- package/dist/types/tool/http-body.d.ts +2 -2
- package/dist/types/tool/plugin/webfetch.d.ts +1 -1
- package/dist/types/v1/config/agent.d.ts +6 -66
- package/dist/types/v1/config/migrate.d.ts +1 -1
- package/dist/types/v1/config/permission.d.ts +5 -53
- package/dist/types/wellknown.d.ts +1 -1
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +9 -7
- 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 +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +83 -83
- 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 +90 -90
- package/dist/worktree.js +95 -95
- package/package.json +13 -12
- package/dist/chunks/skill-50mzsvk4.js +0 -41
- package/dist/chunks/skill-8dhds0dv.js +0 -26
- package/dist/chunks/skill-a9m7pnx7.js +0 -513
- package/dist/chunks/skill-e0q146ww.js +0 -253
- package/dist/chunks/skill-ht5y0zrb.js +0 -18
- /package/dist/chunks/{skill-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3t0ybcrp.js → file-retention-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-bw78ga2c.js → file-retention-bw78ga2c.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-pyv0edze.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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./file-retention-226karrg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./file-retention-1f2vccss.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service77;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service66);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-hnra3d6s.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-pyv0edze.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin15,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin15 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin15, exports_tool_input_repair };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-gfe3ax2q.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./file-retention-m6y8pydv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node48
|
|
12
|
+
} from "./file-retention-909p1r3q.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./file-retention-ryndta0d.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref3
|
|
23
|
+
} from "./file-retention-sf9ed94r.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service52,
|
|
26
|
+
node54
|
|
27
|
+
} from "./file-retention-rr9cc36v.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./file-retention-t8g2rvm9.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-retention-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service43
|
|
39
|
+
} from "./file-retention-kne8f3cn.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service56,
|
|
42
|
+
node58
|
|
43
|
+
} from "./file-retention-mx7expm3.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service44,
|
|
48
|
+
node46,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./file-retention-xdqkszf6.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service42,
|
|
53
|
+
node45
|
|
54
|
+
} from "./file-retention-700ev8gh.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node32
|
|
57
|
+
} from "./file-retention-0crjjxxx.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service28,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node31
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service28 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service79;
|
|
92
|
+
const locations = yield* Service52;
|
|
93
|
+
const store = yield* Service56;
|
|
94
|
+
const execution = yield* Service42;
|
|
95
|
+
const instances = yield* Service46;
|
|
96
|
+
const admission = yield* Service44;
|
|
97
97
|
const database = yield* Service85;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service84;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref3.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service43.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service28.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node31 = makeGlobalNode({
|
|
167
|
+
service: Service28,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node83,
|
|
173
|
+
node54,
|
|
174
|
+
node58,
|
|
175
|
+
node45,
|
|
176
|
+
node48,
|
|
177
|
+
node46,
|
|
178
178
|
node89,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node88,
|
|
180
|
+
node32
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node31, exports_move };
|
|
@@ -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: () => Options9,
|
|
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 Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-zrnmd36g.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make5 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make5();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./file-retention-sf9ed94r.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./file-retention-ycd7fagt.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service23
|
|
15
|
+
} from "./file-retention-4bzbvhwk.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-fshxsajn.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service54
|
|
24
|
+
} from "./file-retention-jtmhc97q.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service18
|
|
27
|
+
} from "./file-retention-n7chjqa1.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input12,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin49,
|
|
39
|
+
name: () => name12,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name12 = "glob";
|
|
46
|
+
var Input12 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input8 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin49 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service64;
|
|
70
|
+
const ripgrep = yield* Service23;
|
|
71
|
+
const location = yield* Service78;
|
|
72
|
+
const access = yield* Service18;
|
|
73
|
+
const permission = yield* Service54;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input12,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name12,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin25 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name12, Input12, Output8, toModelContent6, Plugin49, exports_glob };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./file-retention-m6y8pydv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID17,
|
|
6
|
+
Event20,
|
|
7
|
+
Service82
|
|
8
|
+
} from "./file-retention-5526gnt0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID13
|
|
11
|
+
} from "./file-retention-226karrg.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-75w0f5x3.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
45
|
-
const bus = yield*
|
|
44
|
+
const credentials = yield* Service82;
|
|
45
|
+
const bus = yield* Service84;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
48
48
|
}));
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID13.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID13.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-phxa5z0e.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-2ekw743c.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
13
13
|
import * as Layer from "effect/Layer";
|
|
14
|
-
import { SqlClient } from "effect/
|
|
14
|
+
import { SqlClient } from "effect/sql/SqlClient";
|
|
15
15
|
import { EffectCache } from "drizzle-orm/cache/core/cache-effect";
|
|
16
16
|
import { EffectLogger } from "drizzle-orm/effect-core";
|
|
17
17
|
import { entityKind } from "drizzle-orm/entity";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
|