@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node84
|
|
6
|
+
} from "./file-retention-81fjg4yx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./file-retention-sf9ed94r.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make12
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-eyhnzkb4.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service25,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node28
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service25 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service78;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service25.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node28 = makeLocationNode({
|
|
61
|
+
service: Service25,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node82, Global.node, node84, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service25, node28, exports_strategies };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./file-retention-m6y8pydv.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref3,
|
|
11
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./file-retention-sf9ed94r.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service53,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node55
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service53 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
42
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service84;
|
|
44
|
+
const location = yield* Service78;
|
|
45
|
+
const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
82
82
|
const event = registered.event;
|
|
83
83
|
const data = yield* encode(event.schema, args[1]);
|
|
84
84
|
return yield* bus.publish(registered.definition, data, {
|
|
85
|
-
location:
|
|
85
|
+
location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
86
86
|
}).pipe(Effect.asVoid);
|
|
87
87
|
})
|
|
88
88
|
}
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service53.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node55 = makeLocationNode({ service: Service53, layer, deps: [node88, node82] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref3)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
206
206
|
...payload,
|
|
207
207
|
type: eventType(definition, name),
|
|
208
208
|
data,
|
|
209
|
-
location:
|
|
209
|
+
location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service53, node55, exports_rpc, define2 };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./file-retention-gw2k9m0t.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./file-retention-jtmhc97q.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin37
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin37 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service39;
|
|
26
|
+
const permission = yield* Service54;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin24 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin37, exports_mcp_resource };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service31,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service31 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service31.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service31, awaitActivation2, exports_service };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load5() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load5 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./file-retention-m6y8pydv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service71,
|
|
6
|
+
Event15
|
|
7
|
+
} from "./file-retention-hn2ax6sd.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin18,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin18 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service84;
|
|
24
|
+
const wellknown = yield* Service71;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin48 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin18, exports_plugin };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./file-retention-ycd7fagt.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_stdio, {
|
|
|
13
13
|
});
|
|
14
14
|
import { ReadBuffer, serializeMessage } from "@modelcontextprotocol/client";
|
|
15
15
|
import { Cause, Duration, Effect, Fiber, Option, Queue, Scope, Stream } from "effect";
|
|
16
|
-
import { ChildProcess } from "effect/
|
|
16
|
+
import { ChildProcess } from "effect/process";
|
|
17
17
|
var CLOSE_GRACE = Duration.seconds(2);
|
|
18
18
|
var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service64;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./file-retention-m6y8pydv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service80,
|
|
11
|
-
node84
|
|
12
|
-
} from "./skill-v1msdc2e.js";
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./file-retention-t3kgvaqg.js";
|
|
13
9
|
import {
|
|
14
|
-
Ref4,
|
|
15
10
|
Service79,
|
|
16
11
|
node83
|
|
17
|
-
} from "./
|
|
12
|
+
} from "./file-retention-ryndta0d.js";
|
|
13
|
+
import {
|
|
14
|
+
Ref3,
|
|
15
|
+
Service78,
|
|
16
|
+
node82
|
|
17
|
+
} from "./file-retention-sf9ed94r.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-rr9cc36v.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service54,
|
|
26
|
+
node56
|
|
27
|
+
} from "./file-retention-jtmhc97q.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service53,
|
|
30
|
+
node55
|
|
31
|
+
} from "./file-retention-dwaxmk1s.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service19,
|
|
41
|
+
node: () => node21
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service19 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service84;
|
|
52
|
+
const location = yield* Service78;
|
|
53
|
+
const permission = yield* Service54;
|
|
54
|
+
const forms = yield* Service83;
|
|
55
|
+
const rpc = yield* Service53;
|
|
56
|
+
const project = yield* Service79;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -72,18 +72,18 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
72
72
|
yield* forms.close;
|
|
73
73
|
yield* rpc.close;
|
|
74
74
|
yield* bus.publish(LocationEvent.Shutdown, {}, {
|
|
75
|
-
location:
|
|
75
|
+
location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service19.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node21 = makeLocationNode({
|
|
84
|
+
service: Service19,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node88, node82, node56, node83, node87, node55]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service19, node21, exports_location_lifecycle };
|
|
@@ -1,37 +1,37 @@
|
|
|
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
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service82
|
|
11
|
+
} from "./file-retention-5526gnt0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID16,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service81
|
|
16
|
+
} from "./file-retention-nb1wrey8.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./file-retention-226karrg.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-75w0f5x3.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
|
-
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
32
|
+
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID16.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service82;
|
|
57
|
+
const integrations = yield* Service81;
|
|
58
|
+
const bus = yield* Service84;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./file-retention-m6y8pydv.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-r2ktrraj.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError9,
|
|
20
|
+
Options: () => Options5,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service62,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured6,
|
|
26
|
+
layer: () => layer20,
|
|
27
|
+
node: () => node65
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,8 +35,8 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
+
var Options5 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
@@ -46,15 +46,15 @@ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service62 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service62, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError9({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service62.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer20 = makeLayer();
|
|
263
|
+
var configured6 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service62,
|
|
265
|
+
layer: options === undefined ? layer20 : makeLayer(options),
|
|
266
|
+
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node65 = configured6();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options5, UnavailableError2, NotFoundError9, Service62, layer20, configured6, node65, exports_persistent_pty, Handoff2, available3 };
|