@opencode/core 0.0.0-dev-20538 → 0.0.0-dev-20541
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{git-xyvjgbjk.js → command-01jzyxk2.js} +5 -5
- package/dist/chunks/{git-tr58f7gx.js → command-0axee2zp.js} +11 -11
- package/dist/chunks/{git-6epn3xv5.js → command-0djpsv8h.js} +14 -14
- package/dist/chunks/{git-q0xm7vwc.js → command-0j77ygfz.js} +6 -6
- package/dist/chunks/{git-ytxjpgh7.js → command-0jf2y13k.js} +24 -24
- package/dist/chunks/{git-6twx9xr3.js → command-0n4qmygn.js} +6 -6
- package/dist/chunks/{git-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-cew1wkrw.js → command-0qs5s41g.js} +11 -11
- package/dist/chunks/{git-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{git-x8f5ayf7.js → command-0wv8zgxx.js} +5 -5
- package/dist/chunks/{git-97w5rk9e.js → command-15nepkqg.js} +8 -8
- package/dist/chunks/{git-9b00c1fb.js → command-1cfb3ja4.js} +5 -5
- package/dist/chunks/{git-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-h3b3f6s3.js → command-1dfrqcjm.js} +8 -8
- package/dist/chunks/{git-1dvck2a7.js → command-1dvck2a7.js} +2 -2
- package/dist/chunks/{git-jy1wdjtb.js → command-1g7wkek7.js} +6 -6
- package/dist/chunks/{git-7pa1ctbt.js → command-1k3q76yn.js} +11 -11
- package/dist/chunks/{git-pdsp1jvw.js → command-1q3t7fvn.js} +40 -40
- package/dist/chunks/{git-m1aepqe8.js → command-1v328y5z.js} +309 -309
- package/dist/chunks/{git-56gdpj1q.js → command-1ygqh575.js} +9 -9
- package/dist/chunks/{git-9bqe0gpf.js → command-213p2swk.js} +17 -17
- package/dist/chunks/{git-hx87qmaz.js → command-21xha1jy.js} +33 -33
- package/dist/chunks/{git-0grad2ye.js → command-22t0k3cz.js} +45 -45
- package/dist/chunks/{git-gv66gg0x.js → command-2336b01z.js} +8 -8
- package/dist/chunks/{git-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-4ts7tf6z.js → command-2ccvkpx1.js} +2 -2
- package/dist/chunks/{git-v5eb4ppj.js → command-2gef892y.js} +6 -6
- package/dist/chunks/{git-b44nc6js.js → command-2pxx49tn.js} +18 -18
- package/dist/chunks/{git-e0vtkr8g.js → command-2qx5ewc2.js} +6 -6
- package/dist/chunks/{git-wxyynt4w.js → command-3556dn8t.js} +1 -1
- package/dist/chunks/{git-e6gk6vkp.js → command-392tpz92.js} +5 -5
- package/dist/chunks/{git-1ty6ajzg.js → command-3b9mfnb1.js} +45 -45
- package/dist/chunks/{git-v0es1rhs.js → command-3byrw2k0.js} +9 -9
- package/dist/chunks/{git-y2ngvk0e.js → command-3cve9wcq.js} +16 -16
- package/dist/chunks/{git-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-cfgx7myt.js → command-3ndhv5ev.js} +46 -46
- package/dist/chunks/{git-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-20gpyykp.js → command-3sqh8pm2.js} +12 -12
- package/dist/chunks/{git-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-b5hrghh5.js → command-3vn5r7fz.js} +4 -4
- package/dist/chunks/{git-db2wf4at.js → command-3y377wv9.js} +4 -4
- package/dist/chunks/{git-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-d3x0g1ge.js → command-401cxz9d.js} +9 -9
- package/dist/chunks/{git-brrvqv00.js → command-45vb5exr.js} +20 -20
- package/dist/chunks/{git-d1mtykxg.js → command-4mwpykj0.js} +6 -6
- package/dist/chunks/{git-yqxy1077.js → command-4n47a3cw.js} +14 -14
- package/dist/chunks/{git-9njgvhef.js → command-4xqwpdwt.js} +22 -22
- package/dist/chunks/{git-gw7cjrad.js → command-4z58m4b4.js} +4 -4
- package/dist/chunks/{git-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{git-j7bxsyf2.js → command-578mczcx.js} +7 -7
- package/dist/chunks/{git-4169ywwa.js → command-5crddx1s.js} +32 -32
- package/dist/chunks/{git-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{git-t4epz8me.js → command-5n7vjdk6.js} +5 -5
- package/dist/chunks/{git-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-63db42yp.js → command-5t5wrhde.js} +2 -2
- package/dist/chunks/{git-3cd9n481.js → command-5tcm9639.js} +5 -5
- package/dist/chunks/{git-vdeatv7n.js → command-5vyb2hja.js} +3 -3
- package/dist/chunks/{git-sv2t3cbt.js → command-5zqqr9b4.js} +10 -10
- package/dist/chunks/{git-7dbvm11f.js → command-61d0nta3.js} +88 -88
- package/dist/chunks/{git-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{git-wphct09r.js → command-6f8r1xek.js} +14 -14
- package/dist/chunks/{git-bqy9wzrr.js → command-6fd4dcha.js} +32 -32
- package/dist/chunks/{git-vvqdzh1p.js → command-6nx5bmak.js} +11 -11
- package/dist/chunks/{git-yw1cvm16.js → command-6rwesznr.js} +15 -15
- package/dist/chunks/{git-cavr175a.js → command-6sr3ve8g.js} +21 -21
- package/dist/chunks/{git-gttbyh04.js → command-6v2t73g4.js} +25 -25
- package/dist/chunks/{git-y49r18cm.js → command-6v33vpya.js} +5 -5
- package/dist/chunks/{git-88g8wgjb.js → command-6w9me9g4.js} +25 -25
- package/dist/chunks/{git-dw9armfg.js → command-6y03q21h.js} +2 -2
- package/dist/chunks/{git-b22ja64b.js → command-6y94d6d5.js} +5 -5
- package/dist/chunks/{git-kjdm35cs.js → command-6yz0wx8n.js} +5 -5
- package/dist/chunks/{git-t01ewf6t.js → command-6z2jg7m4.js} +11 -11
- package/dist/chunks/{git-71az546q.js → command-71az546q.js} +2 -2
- package/dist/chunks/{git-xpepwwf9.js → command-722cwwxx.js} +25 -25
- package/dist/chunks/{git-7d711qf4.js → command-74wsvbja.js} +6 -6
- package/dist/chunks/{git-3ww825z4.js → command-75rpacef.js} +23 -23
- package/dist/chunks/{git-h3d536gm.js → command-77acw9m0.js} +3 -3
- package/dist/chunks/{git-d4he2qe1.js → command-79qaa2kf.js} +9 -9
- package/dist/chunks/{git-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-78nqbeyk.js → command-7q5hsd78.js} +26 -26
- package/dist/chunks/{git-210vnmq1.js → command-7qdef5aj.js} +20 -20
- package/dist/chunks/{git-3zbwexce.js → command-7skj7b3t.js} +11 -11
- package/dist/chunks/{git-ddqzt9ar.js → command-7yetp8jc.js} +22 -22
- package/dist/chunks/{git-8fn11dnv.js → command-7yfar2g1.js} +8 -8
- package/dist/chunks/{git-sq9d127s.js → command-7zk0wn2x.js} +25 -25
- package/dist/chunks/{git-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{git-f390vyfh.js → command-8b107kjv.js} +18 -18
- package/dist/chunks/{git-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-2fyaf7dq.js → command-8gdnnedh.js} +11 -11
- package/dist/chunks/{git-3pxcpp1y.js → command-8gt91z3r.js} +44 -44
- package/dist/chunks/{git-yc1swxyv.js → command-8sqk77t7.js} +3 -3
- package/dist/chunks/{git-hfjgv5mq.js → command-8t624zf9.js} +9 -9
- package/dist/chunks/{git-x3gqap9d.js → command-8wbxkt1z.js} +4 -4
- package/dist/chunks/{git-2bawy6dk.js → command-8wwws4s2.js} +30 -30
- package/dist/chunks/{git-a4e8tx48.js → command-9aqw140n.js} +30 -30
- package/dist/chunks/{git-vq6rpskq.js → command-9basgg3g.js} +3 -3
- package/dist/chunks/{git-9e5bzkjp.js → command-9e5bzkjp.js} +3 -3
- package/dist/chunks/{git-cmwkp3r5.js → command-9hn6k4tm.js} +8 -8
- package/dist/chunks/{git-snc8g6rh.js → command-9qbdnxkb.js} +20 -20
- package/dist/chunks/{git-wv396vej.js → command-9t7a50xb.js} +6 -6
- package/dist/chunks/{git-dzw83ac5.js → command-a881zpfh.js} +9 -9
- package/dist/chunks/{git-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{git-r4f11j1b.js → command-achynwnm.js} +21 -21
- package/dist/chunks/{git-85p13xjx.js → command-ag82fysq.js} +9 -9
- package/dist/chunks/{git-zs3esqyg.js → command-as8e1r60.js} +20 -20
- package/dist/chunks/{git-9sgmbgh8.js → command-awttz7et.js} +30 -30
- package/dist/chunks/{git-vf8se440.js → command-axm04d2k.js} +13 -13
- package/dist/chunks/{git-hdkng2sj.js → command-b3f8fkhc.js} +5 -5
- package/dist/chunks/{git-01j90eaj.js → command-b4gp33hv.js} +11 -11
- package/dist/chunks/{git-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-2znbyf30.js → command-b7mjc4a6.js} +3 -3
- package/dist/chunks/{git-seb74ce9.js → command-bnymekt2.js} +15 -15
- package/dist/chunks/{git-3vd7z3ap.js → command-bpfb0a3w.js} +13 -13
- package/dist/chunks/{git-rwp39ykb.js → command-bq7b46md.js} +11 -11
- package/dist/chunks/command-by5v678g.js +18 -0
- package/dist/chunks/{git-refgdna9.js → command-c33q63qa.js} +15 -15
- package/dist/chunks/{git-v4m0f3qj.js → command-c55dey07.js} +22 -22
- package/dist/chunks/{git-3jr3e4dz.js → command-c61jsrw6.js} +11 -11
- package/dist/chunks/{git-s9e4qx1q.js → command-c67sz4xq.js} +46 -46
- package/dist/chunks/{git-h5b4kcx3.js → command-c9k10dz7.js} +4 -4
- package/dist/chunks/{git-b4twkq7r.js → command-cfsekr6v.js} +6 -6
- package/dist/chunks/{git-cqvdfskm.js → command-cfy01m6q.js} +4 -4
- package/dist/chunks/{git-dkcp985t.js → command-cs216amt.js} +9 -9
- package/dist/chunks/{git-pe6r5a00.js → command-cstxe3ar.js} +20 -20
- package/dist/chunks/{git-47zznw5q.js → command-ct4faptp.js} +10 -10
- package/dist/chunks/{git-pn72jkdj.js → command-cwbq0mfh.js} +32 -32
- package/dist/chunks/{git-2tmscd36.js → command-d0cgwrbg.js} +13 -13
- package/dist/chunks/{git-3mmqt9t6.js → command-d392bjy5.js} +13 -13
- package/dist/chunks/{git-n2da8v4r.js → command-d46e2cta.js} +11 -11
- package/dist/chunks/{git-dmqcgk4z.js → command-dmqcgk4z.js} +2 -2
- package/dist/chunks/{git-j2t1dfhz.js → command-dympa6h6.js} +1 -1
- package/dist/chunks/{git-q1299vf9.js → command-dywq9pkt.js} +32 -32
- package/dist/chunks/{git-gzq6x9xy.js → command-dzty4xcq.js} +67 -67
- package/dist/chunks/{git-p25ycqbr.js → command-dzv118g2.js} +10 -10
- package/dist/chunks/{git-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
- package/dist/chunks/{git-e957davs.js → command-ea26v2e4.js} +16 -16
- package/dist/chunks/{git-jq1shjfk.js → command-eaf5gakt.js} +11 -11
- package/dist/chunks/{git-dpq9k9e5.js → command-eda73v46.js} +7 -7
- package/dist/chunks/{git-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-210w33g8.js → command-emvq8ywb.js} +3 -3
- package/dist/chunks/command-epwxyjh7.js +253 -0
- package/dist/chunks/{git-r5x6zcsm.js → command-eq1pz5kg.js} +3 -3
- package/dist/chunks/{git-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-22a0r9hw.js → command-ezyde299.js} +22 -22
- package/dist/chunks/{git-pvxwxdrj.js → command-f3k65vz0.js} +27 -27
- package/dist/chunks/{git-6ysrkrkr.js → command-f5gy8qwh.js} +8 -8
- package/dist/chunks/{git-smw6fj03.js → command-f7p9evzq.js} +32 -32
- package/dist/chunks/{git-febwp2sd.js → command-f9hcp00g.js} +10 -10
- package/dist/chunks/{git-7dqw4kz8.js → command-fcrkznn8.js} +5 -5
- package/dist/chunks/{git-tx9w5tca.js → command-fgktf29t.js} +8 -8
- package/dist/chunks/{git-08170sc1.js → command-fgvgk3nc.js} +30 -30
- package/dist/chunks/{git-qa3qhgw8.js → command-fm2qvscf.js} +4 -4
- package/dist/chunks/{git-3t71cqd0.js → command-g3xnrmzn.js} +28 -28
- package/dist/chunks/{git-g5w8qwbj.js → command-g5w8qwbj.js} +1 -1
- package/dist/chunks/{git-g150e6dx.js → command-g7xb4ge4.js} +3 -3
- package/dist/chunks/{git-16w0rwvz.js → command-g8n6k2e8.js} +10 -10
- package/dist/chunks/{git-dgx763c4.js → command-g90rxwkd.js} +15 -15
- package/dist/chunks/{git-911p1247.js → command-g9v33ymf.js} +4 -4
- package/dist/chunks/{git-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-yedjap2b.js → command-gqepmfk7.js} +29 -29
- package/dist/chunks/{git-m4vns8b1.js → command-h1ff3r7d.js} +13 -13
- package/dist/chunks/{git-h2b79v29.js → command-h2b79v29.js} +2 -2
- package/dist/chunks/{git-e8vwfchq.js → command-h6m8mpqk.js} +9 -9
- package/dist/chunks/{git-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-acx86tm7.js → command-h9431wzg.js} +48 -48
- package/dist/chunks/{git-nz569jqt.js → command-hbyhqfhs.js} +5 -5
- package/dist/chunks/{git-ae77pzvn.js → command-hhdeq4zt.js} +16 -16
- package/dist/chunks/{git-jy6g3cvf.js → command-hvaebh52.js} +21 -21
- package/dist/chunks/{git-cygp66gj.js → command-hyssag4y.js} +11 -11
- package/dist/chunks/{git-p3hj61df.js → command-j1a331kd.js} +17 -17
- package/dist/chunks/{git-9nz5wsp3.js → command-j1tnjqr2.js} +11 -11
- package/dist/chunks/{git-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{git-15mcze8b.js → command-jhk6nqbr.js} +30 -30
- package/dist/chunks/{git-ae9f6qbf.js → command-jpesrvwe.js} +22 -22
- package/dist/chunks/{git-txfefrdm.js → command-jpzv3ykh.js} +13 -13
- package/dist/chunks/{git-twrrw8k0.js → command-js7ztaqx.js} +19 -19
- package/dist/chunks/{git-cs8c5722.js → command-k6yxz2kp.js} +26 -26
- package/dist/chunks/{git-xyh59nvn.js → command-kdtk6ytk.js} +13 -13
- package/dist/chunks/{git-0ef06a4x.js → command-kgf2vxaw.js} +4 -4
- package/dist/chunks/{git-w61tzg5h.js → command-kgffmydg.js} +47 -47
- package/dist/chunks/command-kgw2tax4.js +26 -0
- package/dist/chunks/{git-rh1t848z.js → command-ksk3n4cg.js} +5 -5
- package/dist/chunks/{git-pgt7xm7w.js → command-kykbznp4.js} +15 -15
- package/dist/chunks/{git-0kas960g.js → command-kzrjs8je.js} +13 -13
- package/dist/chunks/{git-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-e81kfs0g.js → command-m6eqcf37.js} +56 -56
- package/dist/chunks/{git-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-md9k8f9h.js → command-mdcbxeg1.js} +4 -4
- package/dist/chunks/{git-jgrh7b0f.js → command-mmq4tvzh.js} +18 -18
- package/dist/chunks/{git-ryy9z3kr.js → command-mv87szkv.js} +7 -7
- package/dist/chunks/{git-2qnzzqpz.js → command-mxmsd58h.js} +20 -20
- package/dist/chunks/{git-3ebxps4s.js → command-n2rmdmjc.js} +24 -24
- package/dist/chunks/{git-90drn4jp.js → command-n2zgnq50.js} +36 -36
- package/dist/chunks/{git-1j155mbj.js → command-nj45zehw.js} +8 -8
- package/dist/chunks/{git-stt0t63v.js → command-nmdr856g.js} +5 -5
- package/dist/chunks/{git-h2zqm4z5.js → command-nqzan4bx.js} +9 -9
- package/dist/chunks/{git-jbah23ew.js → command-ntxrry2n.js} +19 -19
- package/dist/chunks/{git-nxm207yx.js → command-nxm207yx.js} +1 -1
- package/dist/chunks/{git-7bywvmr6.js → command-p1et7349.js} +36 -36
- package/dist/chunks/{git-9r05nzm2.js → command-pacph0q8.js} +11 -11
- package/dist/chunks/{git-ss358qx3.js → command-pds74t41.js} +3 -3
- package/dist/chunks/{git-vbcyc6ey.js → command-pee00n06.js} +27 -27
- package/dist/chunks/{git-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{git-m9jxvmh1.js → command-q7s4p2ws.js} +11 -11
- package/dist/chunks/{git-qnc92qwc.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{git-qxjc9qry.js → command-qxjc9qry.js} +3 -3
- package/dist/chunks/{git-e6b9ksp3.js → command-qy9s2ye0.js} +5 -5
- package/dist/chunks/{git-x5vrdyjm.js → command-qygccx2c.js} +27 -27
- package/dist/chunks/{git-v03f7qed.js → command-r897vr76.js} +5 -5
- package/dist/chunks/{git-r8xr0va3.js → command-r8xr0va3.js} +1 -1
- package/dist/chunks/{git-t81ffg6r.js → command-r9ggpxfb.js} +60 -60
- package/dist/chunks/{git-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-xhs1vb56.js → command-re5v1f1h.js} +9 -9
- package/dist/chunks/{git-x6wfrhet.js → command-rpms11rw.js} +17 -17
- package/dist/chunks/{git-txjb7dab.js → command-rrkmkyg6.js} +6 -6
- package/dist/chunks/{git-11rnz3bb.js → command-rvn3tqg0.js} +32 -32
- package/dist/chunks/{git-108frcsk.js → command-s2q9yd17.js} +22 -22
- package/dist/chunks/{git-kx004b36.js → command-s4jagjf8.js} +9 -9
- package/dist/chunks/{git-84dd9hjg.js → command-sfzn7zth.js} +13 -13
- package/dist/chunks/{git-x7tg71sf.js → command-sqdwm1my.js} +33 -33
- package/dist/chunks/{git-bjm3qyqr.js → command-sr0pxs2g.js} +23 -23
- package/dist/chunks/{git-8mntwk3z.js → command-stff7yw3.js} +38 -38
- package/dist/chunks/{git-cya9m9ka.js → command-t1ams5g6.js} +19 -19
- package/dist/chunks/{git-y7rc46sv.js → command-t1s0jw3q.js} +24 -24
- package/dist/chunks/{git-kjmv31m7.js → command-t2c2p23z.js} +20 -20
- package/dist/chunks/{git-rwhx2wjr.js → command-t38tm3cf.js} +36 -36
- package/dist/chunks/{git-e8n3k0rs.js → command-tag3ynyp.js} +14 -14
- package/dist/chunks/{git-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-sjd902kt.js → command-tc2wd370.js} +10 -10
- package/dist/chunks/{git-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{git-9w4wk5c7.js → command-thnqqb5h.js} +17 -17
- package/dist/chunks/{git-s5x0zaxv.js → command-tj682e1p.js} +8 -8
- package/dist/chunks/{git-89ta7775.js → command-trazswah.js} +17 -17
- package/dist/chunks/{git-4x93wmvz.js → command-tvpc0ybq.js} +34 -34
- package/dist/chunks/{git-t3k16jnr.js → command-v66k9e3r.js} +29 -29
- package/dist/chunks/{git-4bm5ja14.js → command-vbfgae2j.js} +4 -4
- package/dist/chunks/{git-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{git-yjx32v1s.js → command-vn72gsba.js} +4 -4
- package/dist/chunks/{git-mdj7bahr.js → command-vv95jtq1.js} +11 -11
- package/dist/chunks/{git-tx92n959.js → command-vxzh5eqq.js} +4 -4
- package/dist/chunks/{git-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-wjxjzxnj.js → command-w243dze7.js} +15 -15
- package/dist/chunks/{git-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-5f34ja4g.js → command-w67z85jj.js} +8 -8
- package/dist/chunks/{git-a91jd8rx.js → command-way54g3t.js} +33 -33
- package/dist/chunks/{git-n8vdnqrc.js → command-wbgabvvj.js} +5 -5
- package/dist/chunks/{git-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{git-t5dvqmgx.js → command-wgkw1say.js} +3 -3
- package/dist/chunks/{git-vjpv4151.js → command-x1bgc40t.js} +15 -15
- package/dist/chunks/{git-nd0efaxq.js → command-x1cxff1x.js} +14 -14
- package/dist/chunks/{git-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-p63yn2ba.js → command-x691ctxc.js} +1 -1
- package/dist/chunks/{git-01pnphy2.js → command-xqjr5z5q.js} +34 -34
- package/dist/chunks/{git-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-zpymr5yc.js → command-y5hk5168.js} +17 -17
- package/dist/chunks/{git-d6htshpr.js → command-y9bry2a2.js} +11 -11
- package/dist/chunks/{git-s6wsy4b1.js → command-yb7z5tge.js} +175 -175
- package/dist/chunks/{git-6djkznxj.js → command-yke0wfjf.js} +32 -32
- package/dist/chunks/{git-sy4k6c8e.js → command-ypkf29hv.js} +42 -42
- package/dist/chunks/{git-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-4t19cdft.js → command-ytfp8a9c.js} +12 -12
- package/dist/chunks/{git-ep44p4pe.js → command-ywpe0k31.js} +12 -12
- package/dist/chunks/{git-yss3t4pw.js → command-yyc39645.js} +16 -16
- package/dist/chunks/{git-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-bczdhfev.js → command-z5anw93z.js} +83 -83
- package/dist/chunks/{git-hqbydggd.js → command-z7s65jz9.js} +4 -4
- package/dist/chunks/{git-ptdsxnqe.js → command-z96ftasq.js} +14 -14
- package/dist/chunks/{git-g6nq8pzr.js → command-zckshxme.js} +16 -16
- package/dist/chunks/{git-gst7axd9.js → command-zcrspsvn.js} +4 -4
- package/dist/chunks/{git-42vq69am.js → command-zeb7mf4e.js} +9 -9
- package/dist/chunks/{git-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-2ag1df4y.js → command-ztxh1f3e.js} +18 -18
- package/dist/chunks/{git-n5tgpa49.js → command-zwas51cn.js} +10 -10
- package/dist/chunks/{git-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- 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 +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- 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 +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +216 -216
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +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 +92 -92
- 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 +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/git-619r8v3y.js +0 -18
- package/dist/chunks/git-q9bz2q6x.js +0 -26
- package/dist/chunks/git-xtvh7eda.js +0 -253
- /package/dist/chunks/{git-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-34c7v6d4.js → command-34c7v6d4.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info16,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info16 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info16, exports_mcp5 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service35,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service35.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node38 = makeGlobalNode({ service: Service35, layer: layer12, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service35, makeLayer2, layer12, node38, exports_model_transport };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-h2b79v29.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-qxjc9qry.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service50,
|
|
17
|
+
node52
|
|
18
|
+
} from "./command-a881zpfh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service55,
|
|
21
|
+
node57
|
|
22
|
+
} from "./command-fgktf29t.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service49,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node51
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service49 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service55;
|
|
58
|
+
const image = yield* Service50;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service49.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node51 = makeLocationNode({
|
|
277
|
+
service: Service49,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node57, node52]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service49, node51, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-jpesrvwe.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID5.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./command-r9ggpxfb.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input11,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin47,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name11 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input11 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input11.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin47 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service52;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name11,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input11,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin14 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name11,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input11, Plugin47, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./command-dywq9pkt.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID13.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service6 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service6.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node7 = makeLocationNode({ service: Service6, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service6, node7, exports_location_watcher_policy };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-8sqk77t7.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-nxm207yx.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node67
|
|
12
|
+
} from "./command-c9k10dz7.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info13,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service63,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured8,
|
|
30
|
+
node: () => node66
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info13 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID10,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info11 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID10,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service63 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured8 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service63,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node67]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info13({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service63.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID10.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node66 = configured8();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID10, Info13, NotFound3, CreateConflict2, Service63, configured8, node66, exports_workspace };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./command-n2rmdmjc.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info18
|
|
9
|
+
} from "./command-7skj7b3t.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-kgf2vxaw.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./command-p1et7349.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin35
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info18);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin35 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service69;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin21 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID11.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID11.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin35, exports_agent2 };
|