@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,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-fjh3s92b.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID5.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-gfe3ax2q.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service84,
|
|
8
|
+
node88
|
|
9
|
+
} from "./file-retention-m6y8pydv.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-2vvh33eb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-hs6v00ac.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service56,
|
|
21
|
+
node58
|
|
22
|
+
} from "./file-retention-mx7expm3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service29,
|
|
25
|
+
node33
|
|
26
|
+
} from "./file-retention-bbcm0tyt.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service84;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service29;
|
|
65
|
+
const store = yield* Service56;
|
|
66
66
|
const db = (yield* Service85).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node3 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node88, llmClient2, node33, node58, node89]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service46,
|
|
10
|
+
node: () => node48
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service46 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node48 = LayerNode.unbound(Service46, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service46, node48, exports_service2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node67
|
|
9
|
+
} from "./file-retention-ycd7fagt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./file-retention-fshxsajn.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service13,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node15,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service13 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service64;
|
|
335
|
+
return Service13.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [node67] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service13, read2, node15, exports_read_filesystem };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-hrh521yf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./file-retention-m6y8pydv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID17,
|
|
9
|
+
Event20,
|
|
10
|
+
Service82
|
|
11
|
+
} from "./file-retention-5526gnt0.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-3y377wv9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-nb1wrey8.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service77
|
|
25
|
+
} from "./file-retention-226karrg.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID12
|
|
28
|
+
} from "./file-retention-mvsrg00e.js";
|
|
29
29
|
import {
|
|
30
30
|
iife2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-retention-1kg9ymc8.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-75w0f5x3.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/azure.ts
|
|
37
37
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
38
|
-
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/
|
|
39
|
-
import { ChildProcess } from "effect/
|
|
38
|
+
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
39
|
+
import { ChildProcess } from "effect/process";
|
|
40
40
|
import path from "node:path";
|
|
41
41
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
42
42
|
import { Form } from "@opencode/schema/form";
|
|
@@ -75,19 +75,19 @@ var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.No
|
|
|
75
75
|
var ResourceListing = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
76
76
|
var decodeProfile = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Struct({ subscriptions: Schema.NonEmptyArray(Schema.Unknown) })));
|
|
77
77
|
var decodeResourceListing = Schema.decodeUnknownOption(Schema.Struct({ resourceName: Schema.NonEmptyString, resourceGroup: Schema.String, location: Schema.String }));
|
|
78
|
-
function
|
|
78
|
+
function make7(endpoints = {
|
|
79
79
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
80
80
|
management: "https://management.azure.com"
|
|
81
81
|
}) {
|
|
82
82
|
return define({
|
|
83
83
|
id: "opencode.provider.azure",
|
|
84
84
|
effect: Effect.fn(function* (ctx) {
|
|
85
|
-
const configured = yield* configuredSettings2(
|
|
85
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
86
86
|
const processes = yield* AppProcess.Service;
|
|
87
87
|
const fs = yield* FSUtil.Service;
|
|
88
|
-
const bus = yield*
|
|
89
|
-
const credentials = yield*
|
|
90
|
-
const providers = yield*
|
|
88
|
+
const bus = yield* Service84;
|
|
89
|
+
const credentials = yield* Service82;
|
|
90
|
+
const providers = yield* Service77;
|
|
91
91
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
92
92
|
const tokens = new Map;
|
|
93
93
|
const resourceIDs = new Map;
|
|
@@ -114,11 +114,11 @@ function make6(endpoints = {
|
|
|
114
114
|
const listing = {};
|
|
115
115
|
yield* ctx.integration.transform((editor) => {
|
|
116
116
|
editor.method.update({
|
|
117
|
-
integrationID:
|
|
117
|
+
integrationID: ID13.azure,
|
|
118
118
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
119
119
|
});
|
|
120
120
|
editor.method.update({
|
|
121
|
-
integrationID:
|
|
121
|
+
integrationID: ID13.azure,
|
|
122
122
|
method: {
|
|
123
123
|
type: "key",
|
|
124
124
|
label: "API key",
|
|
@@ -136,7 +136,7 @@ function make6(endpoints = {
|
|
|
136
136
|
if (!available)
|
|
137
137
|
return;
|
|
138
138
|
editor.method.update({
|
|
139
|
-
integrationID:
|
|
139
|
+
integrationID: ID13.azure,
|
|
140
140
|
method: {
|
|
141
141
|
id: methodID,
|
|
142
142
|
type: "external",
|
|
@@ -164,8 +164,8 @@ function make6(endpoints = {
|
|
|
164
164
|
});
|
|
165
165
|
});
|
|
166
166
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
167
|
-
const connection = yield* ctx.integration.connection.active(
|
|
168
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
167
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
168
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
|
|
169
169
|
return { connection, resource: credentialResource(stored?.value) };
|
|
170
170
|
});
|
|
171
171
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -204,7 +204,7 @@ function make6(endpoints = {
|
|
|
204
204
|
}));
|
|
205
205
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
206
206
|
const connection = loaded.connection;
|
|
207
|
-
const settings = (yield* providers.get(
|
|
207
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
208
208
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
209
209
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
210
210
|
if (loaded.connection !== connection)
|
|
@@ -226,11 +226,11 @@ function make6(endpoints = {
|
|
|
226
226
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
227
227
|
if (!found)
|
|
228
228
|
return;
|
|
229
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
229
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
230
230
|
return;
|
|
231
231
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
232
232
|
return;
|
|
233
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
233
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
234
234
|
id.toLowerCase(),
|
|
235
235
|
id
|
|
236
236
|
]));
|
|
@@ -243,7 +243,7 @@ function make6(endpoints = {
|
|
|
243
243
|
yield* ctx.model.reload();
|
|
244
244
|
});
|
|
245
245
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
246
|
-
const resourceFor = (provider) => provider.id ===
|
|
246
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
247
247
|
Object.assign(loaded, yield* load());
|
|
248
248
|
const listResources = Effect.fn("AzurePlugin.listResources")(function* () {
|
|
249
249
|
const profile = yield* fs.readFileStringSafe(path.join(process.env.AZURE_CONFIG_DIR ?? path.join(Global.Path.home, ".azure"), "azureProfile.json"));
|
|
@@ -268,7 +268,7 @@ function make6(endpoints = {
|
|
|
268
268
|
yield* listResources().pipe(Effect.catch((cause) => Effect.logDebug("failed to list Azure resources", { cause })), Effect.forkScoped);
|
|
269
269
|
yield* ctx.provider.transform((evt) => {
|
|
270
270
|
for (const item of evt.list()) {
|
|
271
|
-
if (item.provider.id !==
|
|
271
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
272
272
|
continue;
|
|
273
273
|
const resourceName = resourceFor(item.provider);
|
|
274
274
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -283,7 +283,7 @@ function make6(endpoints = {
|
|
|
283
283
|
};
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
|
-
const item = evt.get(
|
|
286
|
+
const item = evt.get(ID13.azure);
|
|
287
287
|
if (!item)
|
|
288
288
|
return;
|
|
289
289
|
evt.add({
|
|
@@ -294,7 +294,7 @@ function make6(endpoints = {
|
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
296
|
for (const item of models.provider.list()) {
|
|
297
|
-
if (item.provider.id !==
|
|
297
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
298
298
|
continue;
|
|
299
299
|
const resourceName = resourceFor(item.provider);
|
|
300
300
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -306,20 +306,20 @@ function make6(endpoints = {
|
|
|
306
306
|
}
|
|
307
307
|
if (!loaded.deployments)
|
|
308
308
|
return;
|
|
309
|
-
const catalog = models.list(
|
|
309
|
+
const catalog = models.list(ID13.azure);
|
|
310
310
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
311
311
|
for (const model of catalog) {
|
|
312
312
|
if (!deployed.has(model.id))
|
|
313
|
-
models.remove(
|
|
313
|
+
models.remove(ID13.azure, model.id);
|
|
314
314
|
}
|
|
315
315
|
for (const [id, model] of deployed) {
|
|
316
|
-
models.update(
|
|
316
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
317
317
|
}
|
|
318
318
|
});
|
|
319
|
-
yield* bus.subscribe(
|
|
319
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
320
320
|
yield* refresh().pipe(Effect.forkScoped);
|
|
321
321
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
322
|
-
const connection = yield* ctx.integration.connection.active(
|
|
322
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
323
323
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
324
324
|
return;
|
|
325
325
|
})) : undefined;
|
|
@@ -331,7 +331,7 @@ function make6(endpoints = {
|
|
|
331
331
|
return `Bearer ${current.access}`;
|
|
332
332
|
});
|
|
333
333
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
334
|
-
if (evt.model.providerID !==
|
|
334
|
+
if (evt.model.providerID !== ID13.azure)
|
|
335
335
|
return;
|
|
336
336
|
const authorization = yield* bearer(evt.request.url);
|
|
337
337
|
if (!authorization)
|
|
@@ -340,9 +340,9 @@ function make6(endpoints = {
|
|
|
340
340
|
evt.request.headers.delete("x-api-key");
|
|
341
341
|
evt.request.headers.set("authorization", authorization);
|
|
342
342
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
343
|
-
}), { providerID:
|
|
343
|
+
}), { providerID: ID13.azure });
|
|
344
344
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
345
|
-
if (evt.model.providerID !==
|
|
345
|
+
if (evt.model.providerID !== ID13.azure)
|
|
346
346
|
return;
|
|
347
347
|
const authorization = yield* bearer(evt.url);
|
|
348
348
|
if (!authorization)
|
|
@@ -351,11 +351,11 @@ function make6(endpoints = {
|
|
|
351
351
|
delete evt.headers["x-api-key"];
|
|
352
352
|
evt.headers.authorization = authorization;
|
|
353
353
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
354
|
-
}), { providerID:
|
|
354
|
+
}), { providerID: ID13.azure });
|
|
355
355
|
})
|
|
356
356
|
});
|
|
357
357
|
}
|
|
358
|
-
var AzurePlugin2 =
|
|
358
|
+
var AzurePlugin2 = make7();
|
|
359
359
|
function resolveResourceName(settings, fallback) {
|
|
360
360
|
const configured = settings?.resourceName;
|
|
361
361
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -393,11 +393,11 @@ function deployedModels(deployments, catalog) {
|
|
|
393
393
|
const model = catalogModel(models, deployment);
|
|
394
394
|
if (!model)
|
|
395
395
|
return [];
|
|
396
|
-
const id =
|
|
396
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
397
397
|
const info = {
|
|
398
398
|
...structuredClone(model),
|
|
399
399
|
id,
|
|
400
|
-
modelID:
|
|
400
|
+
modelID: ID12.make(deployment.name),
|
|
401
401
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
402
402
|
};
|
|
403
403
|
return [[id, info]];
|
|
@@ -419,4 +419,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
419
419
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
-
export {
|
|
422
|
+
export { make7, AzurePlugin2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-h2b79v29.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-hrh521yf.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-bjx1sjef.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin2,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
|
-
import { HttpClient } from "effect/
|
|
21
|
-
var
|
|
20
|
+
import { HttpClient } from "effect/http";
|
|
21
|
+
var endpoint2 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin2 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin6 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin6 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint2, Plugin2, exports_parallel };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./file-retention-sf9ed94r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./file-retention-1f2vccss.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service20
|
|
9
|
+
} from "./file-retention-xhr4eg5m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make9
|
|
12
|
+
} from "./file-retention-r2z489rp.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin24
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin24 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service66;
|
|
36
|
+
const formatter = yield* Service20;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service78;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin44 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make9({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin24, exports_formatter };
|