@opencode/core 0.0.0-dev-21044 → 0.0.0-dev-21045
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{worktree-fj921hw4.js → skill-01f7406t.js} +9 -9
- package/dist/chunks/{worktree-ptx3q924.js → skill-03e1xmcc.js} +13 -13
- package/dist/chunks/{worktree-0sjgtn60.js → skill-079e5tqh.js} +4 -4
- package/dist/chunks/{worktree-sh5ssvt8.js → skill-0b3sm4h0.js} +12 -12
- package/dist/chunks/{worktree-qx9v9416.js → skill-0d0mdbr0.js} +7 -7
- package/dist/chunks/{worktree-xjje6j52.js → skill-0g30ecvz.js} +30 -30
- package/dist/chunks/{worktree-2k8khapm.js → skill-0jwsre1p.js} +5 -5
- package/dist/chunks/{worktree-grz2r9kj.js → skill-0qtg9gyw.js} +34 -34
- package/dist/chunks/{worktree-7yr5d591.js → skill-0rphmjk3.js} +9 -9
- package/dist/chunks/{worktree-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{worktree-2enf78eb.js → skill-0wdx92we.js} +10 -10
- package/dist/chunks/{worktree-b9gd63k6.js → skill-15ye86aw.js} +13 -13
- package/dist/chunks/{worktree-y7vpfhcb.js → skill-17g0dp49.js} +146 -146
- package/dist/chunks/{worktree-zr47jkhm.js → skill-1ewrv06v.js} +4 -4
- package/dist/chunks/{worktree-bgtxx6qd.js → skill-1mnsj1b7.js} +24 -24
- package/dist/chunks/{worktree-sq3q4x2m.js → skill-1z6nfgf9.js} +4 -4
- package/dist/chunks/{worktree-56sxvxk2.js → skill-212xmf9a.js} +33 -33
- package/dist/chunks/{worktree-zfme70y8.js → skill-220zx06x.js} +2 -2
- package/dist/chunks/{worktree-1cnr1ze3.js → skill-266sb5q0.js} +23 -23
- package/dist/chunks/{worktree-xh7gbsvn.js → skill-2ezxh99f.js} +3 -3
- package/dist/chunks/{worktree-w8zenwda.js → skill-31zks5jy.js} +22 -22
- package/dist/chunks/{worktree-nrv3sj1v.js → skill-32v291k9.js} +27 -27
- package/dist/chunks/{worktree-dn07pamb.js → skill-3a4mtn8q.js} +8 -8
- package/dist/chunks/{worktree-x5wrmng7.js → skill-3cqwnyj9.js} +11 -11
- package/dist/chunks/{worktree-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3hwn7j4h.js → skill-3hwn7j4h.js} +2 -2
- package/dist/chunks/{worktree-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-sqj96g7w.js → skill-3wp61h0g.js} +13 -13
- package/dist/chunks/{worktree-39ed28yb.js → skill-3z212fca.js} +25 -25
- package/dist/chunks/{worktree-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-0jp2gd70.js → skill-4fjmcad7.js} +2 -2
- package/dist/chunks/{worktree-1bfvb0c5.js → skill-4q7f7q3n.js} +1 -1
- package/dist/chunks/{worktree-vp59edv1.js → skill-4qatf0tw.js} +13 -13
- package/dist/chunks/skill-4v7qdvcn.js +18 -0
- package/dist/chunks/{worktree-ybv9y61q.js → skill-52vk9yjk.js} +43 -43
- package/dist/chunks/{worktree-54ma36ye.js → skill-54ma36ye.js} +1 -1
- package/dist/chunks/{worktree-4sh0xj3w.js → skill-55x9snav.js} +28 -28
- package/dist/chunks/{worktree-ph20cxtq.js → skill-56bnbftg.js} +9 -9
- package/dist/chunks/{worktree-y7v3dsdp.js → skill-5890hqpb.js} +34 -34
- package/dist/chunks/{worktree-rm813vtq.js → skill-5br7x87x.js} +8 -8
- package/dist/chunks/{worktree-bk8ezkk0.js → skill-5gfp0ma2.js} +24 -24
- package/dist/chunks/{worktree-1cfb3ja4.js → skill-5hx7d1d6.js} +5 -5
- package/dist/chunks/{worktree-716nhc93.js → skill-5kktt8m2.js} +9 -9
- package/dist/chunks/{worktree-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-e3qxr5gk.js → skill-5qd3pb7m.js} +2 -2
- package/dist/chunks/{worktree-6n0c97dh.js → skill-5zvv963w.js} +4 -4
- package/dist/chunks/{worktree-j3eh7efd.js → skill-639h3xxe.js} +14 -14
- package/dist/chunks/{worktree-5qdw7c1w.js → skill-65yftmqw.js} +12 -12
- package/dist/chunks/{worktree-zev2zscf.js → skill-6a3zrf3v.js} +8 -8
- package/dist/chunks/{worktree-nkzytket.js → skill-6aa28tdc.js} +30 -30
- package/dist/chunks/{worktree-7ttgb0nd.js → skill-6fszpdwd.js} +50 -50
- package/dist/chunks/{worktree-smyxharx.js → skill-6j7g70nq.js} +22 -22
- package/dist/chunks/{worktree-vm0yw9fx.js → skill-6rsv0a9z.js} +10 -10
- package/dist/chunks/{worktree-y4jcqa2s.js → skill-6setxp5w.js} +10 -10
- package/dist/chunks/{worktree-431wf54f.js → skill-6wes48ct.js} +14 -14
- package/dist/chunks/{worktree-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{worktree-5pm97va6.js → skill-72agbcmm.js} +16 -16
- package/dist/chunks/{worktree-775gj3j1.js → skill-775gj3j1.js} +2 -2
- package/dist/chunks/{worktree-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-wkcmpner.js → skill-7hb0ye5y.js} +6 -6
- package/dist/chunks/{worktree-6ts6ce7s.js → skill-7rcj81xw.js} +20 -20
- package/dist/chunks/{worktree-m365tgky.js → skill-7z8tx2pn.js} +25 -25
- package/dist/chunks/{worktree-9py6qxwx.js → skill-81yd02vm.js} +10 -10
- package/dist/chunks/{worktree-84txncab.js → skill-84txncab.js} +1 -1
- package/dist/chunks/{worktree-k185drda.js → skill-86qxvgv6.js} +9 -9
- package/dist/chunks/{worktree-aeef67my.js → skill-886rcvra.js} +24 -24
- package/dist/chunks/{worktree-gs51cq9s.js → skill-8bvf1xpb.js} +9 -9
- package/dist/chunks/{worktree-kt3sjp1b.js → skill-8gc0p4kx.js} +7 -7
- package/dist/chunks/{worktree-59phwr7n.js → skill-8jj608qq.js} +23 -23
- package/dist/chunks/{worktree-xrz5dacv.js → skill-8krm1k23.js} +10 -10
- package/dist/chunks/{worktree-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/{worktree-zb83g9fx.js → skill-8nca6jp1.js} +11 -11
- package/dist/chunks/{worktree-0vrkd98v.js → skill-8vbzfnhm.js} +4 -4
- package/dist/chunks/{worktree-0296bd6c.js → skill-8xdk01f4.js} +7 -7
- package/dist/chunks/skill-90fncmj6.js +26 -0
- package/dist/chunks/{worktree-35c3zvez.js → skill-9bk4xf74.js} +27 -27
- package/dist/chunks/{worktree-bsszwgw7.js → skill-9sdgvgwq.js} +25 -25
- package/dist/chunks/{worktree-pq1r7b9t.js → skill-9vddtzvp.js} +10 -10
- package/dist/chunks/{worktree-m6pmp8dy.js → skill-a0dr3wh4.js} +1 -1
- package/dist/chunks/{worktree-c7a7nq54.js → skill-a0j2njhq.js} +28 -28
- package/dist/chunks/{worktree-ngts6ef0.js → skill-a2qe2ev9.js} +8 -8
- package/dist/chunks/{worktree-x661k3y3.js → skill-addxnjmp.js} +4 -4
- package/dist/chunks/{worktree-0hpfwc9a.js → skill-ah2wvv4g.js} +24 -24
- package/dist/chunks/{worktree-jt30ntq0.js → skill-ah777z7t.js} +20 -20
- package/dist/chunks/{worktree-a42z6xrr.js → skill-ajp68dxh.js} +11 -11
- package/dist/chunks/{worktree-14z0575r.js → skill-arxc0mkp.js} +15 -15
- package/dist/chunks/{worktree-95sqqx4e.js → skill-assg4cnx.js} +16 -16
- package/dist/chunks/{worktree-tpnh9f3m.js → skill-atavbgkz.js} +11 -11
- package/dist/chunks/{worktree-rsdk20j4.js → skill-axpm0scr.js} +43 -43
- package/dist/chunks/{worktree-6mvtkawg.js → skill-b8xqpn46.js} +11 -11
- package/dist/chunks/{worktree-kzc3h1h3.js → skill-bacyadyn.js} +4 -4
- package/dist/chunks/{worktree-gyf50hgr.js → skill-bckrrh3s.js} +15 -15
- package/dist/chunks/{worktree-c8dwdg4v.js → skill-bee4aq1j.js} +25 -25
- package/dist/chunks/{worktree-8v8p5ge9.js → skill-bgtr1mty.js} +12 -12
- package/dist/chunks/{worktree-vnshx00a.js → skill-bpva2wp7.js} +5 -5
- package/dist/chunks/{worktree-e9s73vyg.js → skill-bqpab8f7.js} +15 -15
- package/dist/chunks/{worktree-7gra0nqm.js → skill-bqxzme6r.js} +5 -5
- package/dist/chunks/{worktree-t215hqkg.js → skill-bsg0fcvd.js} +6 -6
- package/dist/chunks/{worktree-jkp0d30b.js → skill-bw9zjykr.js} +6 -6
- package/dist/chunks/{worktree-09kdszyw.js → skill-bxbwa0gm.js} +13 -13
- package/dist/chunks/{worktree-3gdnc4sn.js → skill-bya0fcmq.js} +15 -15
- package/dist/chunks/{worktree-c1fqxshp.js → skill-c1fqxshp.js} +3 -3
- package/dist/chunks/{worktree-fby0yz3e.js → skill-c1tsmb8r.js} +19 -19
- package/dist/chunks/{worktree-gt06s37z.js → skill-c2nmdtp2.js} +11 -11
- package/dist/chunks/{worktree-z3v3p3gc.js → skill-ccwyv0pa.js} +21 -21
- package/dist/chunks/{worktree-t01nhfnz.js → skill-ckp31v8k.js} +24 -24
- package/dist/chunks/{worktree-2t8wq7t2.js → skill-cm8m4w1m.js} +17 -17
- package/dist/chunks/{worktree-9hn6k4tm.js → skill-cmwkp3r5.js} +8 -8
- package/dist/chunks/{worktree-fzgjsfgc.js → skill-cqvw37w8.js} +23 -23
- package/dist/chunks/{worktree-ft3hqk2c.js → skill-cwa6csj7.js} +9 -9
- package/dist/chunks/{worktree-qyqa3c06.js → skill-d8tvwc74.js} +7 -7
- package/dist/chunks/{worktree-ksgsanrq.js → skill-dakrqskp.js} +11 -11
- package/dist/chunks/{worktree-qxnzw82z.js → skill-db6ka260.js} +40 -40
- package/dist/chunks/{worktree-ffy7j4h9.js → skill-djpc0zre.js} +19 -19
- package/dist/chunks/{worktree-y71avatq.js → skill-dpkg50ah.js} +4 -4
- package/dist/chunks/{worktree-dqxsqydv.js → skill-dqxsqydv.js} +1 -1
- package/dist/chunks/{worktree-ws86dct2.js → skill-dt2484d6.js} +71 -71
- package/dist/chunks/{worktree-r2z489rp.js → skill-e80seqcp.js} +3 -3
- package/dist/chunks/{worktree-eej6y6fw.js → skill-eej6y6fw.js} +2 -2
- package/dist/chunks/{worktree-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-g3gfrvz4.js → skill-ez6v8vv6.js} +27 -27
- package/dist/chunks/{worktree-vwsjj8ea.js → skill-fhy2x42b.js} +29 -29
- package/dist/chunks/{worktree-g6kap4fx.js → skill-fp40df3e.js} +6 -6
- package/dist/chunks/{worktree-xr554603.js → skill-ft50qagy.js} +4 -4
- package/dist/chunks/{worktree-y1z7wqjc.js → skill-fz0546zy.js} +18 -18
- package/dist/chunks/{worktree-neqgramr.js → skill-fzq0yswt.js} +18 -18
- package/dist/chunks/{worktree-g71v19aa.js → skill-g23ky713.js} +26 -26
- package/dist/chunks/{worktree-r70na3yp.js → skill-g686f6pq.js} +9 -9
- package/dist/chunks/{worktree-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-hf9tmbh5.js → skill-gfqyqxhr.js} +22 -22
- package/dist/chunks/{worktree-zmr78fwr.js → skill-gj71zhbs.js} +5 -5
- package/dist/chunks/{worktree-20kcyg4f.js → skill-h05kb0qd.js} +45 -45
- package/dist/chunks/{worktree-mpngx6ag.js → skill-h21k2909.js} +30 -30
- package/dist/chunks/{worktree-fkwcg6pt.js → skill-h2fjsrzd.js} +11 -11
- package/dist/chunks/{worktree-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-h7s7r6s9.js → skill-h7s7r6s9.js} +2 -2
- package/dist/chunks/{worktree-yqc6bamn.js → skill-he27pt63.js} +1 -1
- package/dist/chunks/{worktree-3b80bnbc.js → skill-hfbyhya8.js} +10 -10
- package/dist/chunks/{worktree-9q7v2qnn.js → skill-hftwykng.js} +13 -13
- package/dist/chunks/{worktree-p51f681n.js → skill-hfze897x.js} +2 -2
- package/dist/chunks/{worktree-hgz4x7wa.js → skill-hgz4x7wa.js} +1 -1
- package/dist/chunks/{worktree-kh8z24c7.js → skill-hh3t29v4.js} +20 -20
- package/dist/chunks/{worktree-kqx1b4hy.js → skill-hkffa77z.js} +4 -4
- package/dist/chunks/{worktree-h1vatst2.js → skill-hqam0wy0.js} +11 -11
- package/dist/chunks/{worktree-c0gtsr28.js → skill-ht13wr3j.js} +52 -52
- package/dist/chunks/{worktree-j09zfasm.js → skill-j09zfasm.js} +3 -3
- package/dist/chunks/{worktree-8f1339w9.js → skill-j0c1115t.js} +5 -5
- package/dist/chunks/{worktree-vfmvmnac.js → skill-j0nbkzx8.js} +31 -31
- package/dist/chunks/{worktree-2t5j91cv.js → skill-j0yywz23.js} +7 -7
- package/dist/chunks/{worktree-njhqdk9p.js → skill-j58c5xyq.js} +9 -9
- package/dist/chunks/{worktree-3z45eq7z.js → skill-jg8h6zt5.js} +12 -12
- package/dist/chunks/{worktree-6g107h22.js → skill-jk540des.js} +2 -2
- package/dist/chunks/{worktree-7fkffz83.js → skill-jws6fkes.js} +6 -6
- package/dist/chunks/{worktree-qsadzg18.js → skill-jxbvv0aw.js} +42 -42
- package/dist/chunks/{worktree-zjtrsxny.js → skill-k0w1apbg.js} +5 -5
- package/dist/chunks/{worktree-0nxfewx3.js → skill-k4ayx2j3.js} +18 -18
- package/dist/chunks/{worktree-8zg9y4xf.js → skill-k8cddrez.js} +49 -49
- package/dist/chunks/{worktree-khmqacep.js → skill-khmqacep.js} +1 -1
- package/dist/chunks/{worktree-b6k8njs9.js → skill-kthcw1cs.js} +11 -11
- package/dist/chunks/{worktree-6gp0zckj.js → skill-m21mnn4s.js} +12 -12
- package/dist/chunks/{worktree-rw3by220.js → skill-m5hddd6q.js} +6 -6
- package/dist/chunks/{worktree-jfxk8smp.js → skill-m6r6f8tv.js} +16 -16
- package/dist/chunks/{worktree-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-maspj1v3.js → skill-maspj1v3.js} +1 -1
- package/dist/chunks/{worktree-8qc83v7e.js → skill-mcby4hk6.js} +4 -4
- package/dist/chunks/{worktree-j8kg77fh.js → skill-mdkgq9hs.js} +23 -23
- package/dist/chunks/{worktree-b3c2e4qp.js → skill-meq2bhha.js} +3 -3
- package/dist/chunks/{worktree-pcb6a8b5.js → skill-mpfy6g4r.js} +16 -16
- package/dist/chunks/{worktree-849efwnp.js → skill-mrfc6abx.js} +17 -17
- package/dist/chunks/{worktree-7ab1jc12.js → skill-ms9hcft3.js} +17 -17
- package/dist/chunks/{worktree-5qzk5w75.js → skill-n0ytg6te.js} +7 -7
- package/dist/chunks/{worktree-dhmh7aw6.js → skill-n4r3xatb.js} +4 -4
- package/dist/chunks/{worktree-4mg6ayqp.js → skill-ndzx33k1.js} +17 -17
- package/dist/chunks/{worktree-h9yqbyhm.js → skill-nfhg0zh2.js} +3 -3
- package/dist/chunks/{worktree-9sgsjpgv.js → skill-nhpkjp8j.js} +11 -11
- package/dist/chunks/{worktree-dsxmv375.js → skill-njd1jvr3.js} +6 -6
- package/dist/chunks/{worktree-1qpfn3tg.js → skill-nn6nxwtb.js} +20 -20
- package/dist/chunks/{worktree-xjsyyfzz.js → skill-ns8rbw9m.js} +21 -21
- package/dist/chunks/{worktree-5t75nmpp.js → skill-p60bs9yg.js} +4 -4
- package/dist/chunks/{worktree-m5f219rb.js → skill-pfgazgn4.js} +16 -16
- package/dist/chunks/{worktree-x2dmkytt.js → skill-pjfhrx59.js} +20 -20
- package/dist/chunks/{worktree-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-deq11mm3.js → skill-pmf8s9dx.js} +13 -13
- package/dist/chunks/{worktree-52zw37wk.js → skill-pnh62jhm.js} +3 -3
- package/dist/chunks/{worktree-etsgmb9a.js → skill-pxkeepf8.js} +321 -321
- package/dist/chunks/{worktree-0j77ygfz.js → skill-q0xm7vwc.js} +6 -6
- package/dist/chunks/{worktree-x2cz5peg.js → skill-qa271a1s.js} +22 -22
- package/dist/chunks/{worktree-pd9fs73p.js → skill-qecpam0w.js} +2 -2
- package/dist/chunks/{worktree-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{worktree-y0qqvbvy.js → skill-qpktp63h.js} +36 -36
- package/dist/chunks/{worktree-qqeeq2t9.js → skill-qqeeq2t9.js} +1 -1
- package/dist/chunks/{worktree-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-yc95rny5.js → skill-qt4zyp3s.js} +8 -8
- package/dist/chunks/{worktree-mf27tnfq.js → skill-r00gcrkz.js} +17 -17
- package/dist/chunks/{worktree-k5qw4hft.js → skill-r155yqpy.js} +5 -5
- package/dist/chunks/{worktree-3nnccxaq.js → skill-r62ys938.js} +9 -9
- package/dist/chunks/{worktree-yp2x3t23.js → skill-r8xr0va3.js} +4 -4
- package/dist/chunks/{worktree-hgwtmp3d.js → skill-r9x3d11p.js} +14 -14
- package/dist/chunks/{worktree-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-rert0e01.js → skill-rert0e01.js} +2 -2
- package/dist/chunks/{worktree-p5vn9pc0.js → skill-resfzb18.js} +42 -42
- package/dist/chunks/{worktree-rj3eygr5.js → skill-rj3eygr5.js} +2 -2
- package/dist/chunks/{worktree-pgp1nwjn.js → skill-rk7s9xkn.js} +4 -4
- package/dist/chunks/{worktree-sdqwrm6h.js → skill-rndw19bh.js} +20 -20
- package/dist/chunks/{worktree-ratrq7cm.js → skill-ryr25ayn.js} +4 -4
- package/dist/chunks/{worktree-bevb4k0a.js → skill-rys9py6g.js} +8 -8
- package/dist/chunks/{worktree-eeaf82dq.js → skill-rzs3gq0x.js} +8 -8
- package/dist/chunks/{worktree-gv9ar1vg.js → skill-s0ghd5m4.js} +11 -11
- package/dist/chunks/{worktree-1j6m29mr.js → skill-s2z0d44b.js} +9 -9
- package/dist/chunks/{worktree-7jfpk3vs.js → skill-s5xzx6y2.js} +20 -20
- package/dist/chunks/{worktree-rhjbct0v.js → skill-s8d7rejh.js} +4 -4
- package/dist/chunks/{worktree-sa8ekw3f.js → skill-sa8ekw3f.js} +2 -2
- package/dist/chunks/{worktree-2fzw7nf3.js → skill-sfcyz7s3.js} +11 -11
- package/dist/chunks/{worktree-9jkjpzrk.js → skill-sncr1wb8.js} +31 -31
- package/dist/chunks/{worktree-hde47968.js → skill-snzp8s5d.js} +6 -6
- package/dist/chunks/{worktree-rgpeez64.js → skill-srr95ctr.js} +25 -25
- package/dist/chunks/{worktree-syv4x271.js → skill-syv4x271.js} +1 -1
- package/dist/chunks/{worktree-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-89znhe33.js → skill-tcezcvh9.js} +4 -4
- package/dist/chunks/{worktree-k61z228s.js → skill-td0n94qx.js} +22 -22
- package/dist/chunks/{worktree-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-tm0kqsz3.js → skill-tm0kqsz3.js} +1 -1
- package/dist/chunks/{worktree-bh2h312c.js → skill-tp1cmem0.js} +11 -11
- package/dist/chunks/{worktree-0mm9aq32.js → skill-trr50004.js} +9 -9
- package/dist/chunks/{worktree-08rawchj.js → skill-ts7mkfs9.js} +3 -3
- package/dist/chunks/{worktree-yr3ekt3k.js → skill-ty9fg3f8.js} +15 -15
- package/dist/chunks/{worktree-tyytaxap.js → skill-tyytaxap.js} +1 -1
- package/dist/chunks/{worktree-v0es1rhs.js → skill-v0es1rhs.js} +2 -2
- package/dist/chunks/{worktree-ttng27y8.js → skill-v1y2r70j.js} +1 -1
- package/dist/chunks/{worktree-0xezf9n7.js → skill-v419bmwe.js} +23 -23
- package/dist/chunks/{worktree-v7p4zvkq.js → skill-v7p4zvkq.js} +2 -2
- package/dist/chunks/{worktree-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-z341r0zt.js → skill-vf7v20ej.js} +17 -17
- package/dist/chunks/{worktree-qryth85y.js → skill-vj4shjr4.js} +2 -2
- package/dist/chunks/{worktree-tafr0n6k.js → skill-vt9q71gc.js} +17 -17
- package/dist/chunks/skill-vwygf5dp.js +253 -0
- package/dist/chunks/{worktree-3y3fsy4j.js → skill-vxdn14wh.js} +3 -3
- package/dist/chunks/{worktree-znkwv8d1.js → skill-vya7jr0b.js} +9 -9
- package/dist/chunks/{worktree-8jmcdnh7.js → skill-vyr6rcyk.js} +19 -19
- package/dist/chunks/{worktree-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-h83xjv7f.js → skill-w39jehkq.js} +5 -5
- package/dist/chunks/{worktree-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-wypjq10p.js → skill-w3x5hx1j.js} +24 -24
- package/dist/chunks/{worktree-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-b3f8fkhc.js → skill-wecqtg5s.js} +5 -5
- package/dist/chunks/{worktree-wmdkv8mg.js → skill-wp8fkx26.js} +3 -3
- package/dist/chunks/{worktree-667j1n9q.js → skill-wtn0n80d.js} +42 -42
- package/dist/chunks/{worktree-a8kyzpnb.js → skill-x580hmt1.js} +11 -11
- package/dist/chunks/{worktree-t6hfbk19.js → skill-x759227d.js} +20 -20
- package/dist/chunks/{worktree-95xk19wm.js → skill-xrvdqef0.js} +26 -26
- package/dist/chunks/{worktree-pg7j9xfd.js → skill-xwmjdzft.js} +3 -3
- package/dist/chunks/{worktree-vyxp6c24.js → skill-y00zfz1c.js} +35 -35
- package/dist/chunks/{worktree-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-k6nq8rg4.js → skill-y2g3h41r.js} +24 -24
- package/dist/chunks/{worktree-beed7hnt.js → skill-yeq3t8xt.js} +79 -79
- package/dist/chunks/{worktree-s2enf5ej.js → skill-yewrcksy.js} +18 -18
- package/dist/chunks/{worktree-ee7eyq7w.js → skill-yjakarkq.js} +6 -6
- package/dist/chunks/{worktree-g2f11mr5.js → skill-ys1eskbg.js} +12 -12
- package/dist/chunks/{worktree-1ffvrpkg.js → skill-ywt8jp22.js} +6 -6
- package/dist/chunks/{worktree-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-ke97j4hd.js → skill-z0zyd0ef.js} +8 -8
- package/dist/chunks/{worktree-vz11k4k8.js → skill-z1gwjxrn.js} +83 -83
- package/dist/chunks/{worktree-v08nt5ja.js → skill-z35pz71e.js} +29 -29
- package/dist/chunks/{worktree-d21xt1cm.js → skill-z3wrhw57.js} +13 -13
- package/dist/chunks/{worktree-y692y4sj.js → skill-z4cnyhgg.js} +9 -9
- package/dist/chunks/{worktree-0fr5sr31.js → skill-z91gs09r.js} +15 -15
- package/dist/chunks/{worktree-274sxbd4.js → skill-zag1eh5m.js} +11 -11
- package/dist/chunks/{worktree-69yp9mph.js → skill-zbs1jsd6.js} +3 -3
- package/dist/chunks/{worktree-3v09aqcm.js → skill-ze76j2m8.js} +5 -5
- package/dist/chunks/{worktree-867vdmc0.js → skill-zmfzsbe1.js} +8 -8
- package/dist/chunks/{worktree-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-had4kgfk.js → skill-zrezqavy.js} +8 -8
- package/dist/chunks/{worktree-h9wp8z5w.js → skill-zsr4wwhv.js} +4 -4
- package/dist/chunks/{worktree-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{worktree-ecb605w9.js → skill-zy0sdw1z.js} +11 -11
- 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 +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +93 -93
- 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 +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +94 -94
- package/dist/v1/config/permission.js +7 -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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/worktree-2jnbd3f3.js +0 -253
- package/dist/chunks/worktree-qjepztct.js +0 -26
- package/dist/chunks/worktree-v1faaxn9.js +0 -18
- /package/dist/chunks/{worktree-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2bv980vf.js → skill-2bv980vf.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hcxmzztb.js → skill-hcxmzztb.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-m18g726c.js → skill-m18g726c.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-pkyv6v7h.js → skill-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{worktree-pyv0edze.js → skill-pyv0edze.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wjj7prxr.js → skill-wjj7prxr.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-qecpam0w.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service44,
|
|
10
|
+
node48
|
|
11
|
+
} from "./skill-fzq0yswt.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./skill-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service17,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer10,
|
|
29
|
+
node: () => node19,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service17 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service81;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service44;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service17.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service81;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service17.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service17.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service81;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer27 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service17, layer: layer10(options), deps: [node85, node48] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node19 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service17, ripgrepLayer2, fffLayer2, layer10, configured2, node19, exports_search };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-bqxzme6r.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service85,
|
|
12
12
|
node89
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-wp8fkx26.js";
|
|
14
14
|
import {
|
|
15
15
|
Service84,
|
|
16
16
|
node88
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-8vbzfnhm.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-rj3eygr5.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-sa8ekw3f.js";
|
|
24
24
|
import {
|
|
25
25
|
ID17,
|
|
26
26
|
NotFoundError11
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-qt4zyp3s.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-qecpam0w.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service68,
|
|
33
|
+
node72
|
|
34
|
+
} from "./skill-5kktt8m2.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./skill-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service47
|
|
41
|
+
} from "./skill-pfgazgn4.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./skill-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -50,18 +50,18 @@ __export(exports_worktree2, {
|
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
52
|
Event: () => Event10,
|
|
53
|
-
Info: () =>
|
|
53
|
+
Info: () => Info12,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service46,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node50
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,7 +75,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info12 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
@@ -92,15 +92,15 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
92
92
|
}
|
|
93
93
|
var Event10 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service46 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service85;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service84;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service68;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service47).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service46.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node50 = Node.makeGlobalNode({
|
|
260
|
+
service: Service46,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node88, node89, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node88, node89, AppProcess.node, node72]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info12, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event10, Service46, node50, exports_worktree2, OperationError2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-d8tvwc74.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-v1y2r70j.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-td0n94qx.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-s2z0d44b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info7
|
|
9
|
+
} from "./skill-3cqwnyj9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info11
|
|
12
|
+
} from "./skill-ryr25ayn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info9
|
|
15
|
+
} from "./skill-w39jehkq.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-0jwsre1p.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info10
|
|
21
|
+
} from "./skill-gj71zhbs.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-mcby4hk6.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./skill-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info7, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info7, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info9, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -425,7 +425,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
425
425
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
426
426
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
427
427
|
return [];
|
|
428
|
-
const provider = decodeValue(
|
|
428
|
+
const provider = decodeValue(Info10, raw, path, diagnostics);
|
|
429
429
|
if (provider === undefined)
|
|
430
430
|
return [];
|
|
431
431
|
const destination = providerID2(name);
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service45,
|
|
8
|
+
node49
|
|
9
|
+
} from "./skill-ccwyv0pa.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service44,
|
|
24
|
+
node: () => node48
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service44 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service45;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service44.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node48 = makeLocationNode({ service: Service44, layer, deps: [node49, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service44, node48, exports_ripgrep };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service72
|
|
4
|
+
} from "./skill-ckp31v8k.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-qecpam0w.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service38
|
|
10
|
+
} from "./skill-h05kb0qd.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service57,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-td0n94qx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service20
|
|
17
|
+
} from "./skill-z1gwjxrn.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./skill-vyr6rcyk.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-8m6m0r52.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin18
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin18 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service38;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin47 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service81;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service57;
|
|
60
|
+
const sessions = yield* Service20;
|
|
61
|
+
const agents = yield* Service72;
|
|
62
|
+
const subagents = yield* Service8;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin47 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin18, exports_command };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service13,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service13 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service13.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node15 = makeGlobalNode({ service: Service13, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service13, node15, exports_discovery };
|