@opencode-ai/core 0.0.0-dev-19174 → 0.0.0-dev-19181
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{shell-76scvvk8.js → app-04nymyew.js} +29 -29
- package/dist/chunks/{shell-0e0xafbb.js → app-0e0xafbb.js} +2 -2
- package/dist/chunks/{shell-1tq060df.js → app-0ft9cg2j.js} +6 -6
- package/dist/chunks/{shell-jqrqy21d.js → app-0n46b46t.js} +11 -11
- package/dist/chunks/{shell-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0s9ayhjt.js → app-0s9ayhjt.js} +1 -1
- package/dist/chunks/{shell-axh9mnjf.js → app-0taz3mjc.js} +14 -14
- package/dist/chunks/{shell-hn4sjpb5.js → app-10gpzbj0.js} +2 -2
- package/dist/chunks/{shell-hpbyysca.js → app-11zfvzac.js} +27 -27
- package/dist/chunks/{shell-ygrnprnw.js → app-13c094ja.js} +15 -15
- package/dist/chunks/{shell-7bfdkh1t.js → app-17fx0k0q.js} +18 -18
- package/dist/chunks/{shell-1ct4r87x.js → app-1ct4r87x.js} +1 -1
- package/dist/chunks/{shell-vdxzp0s5.js → app-1cweq60h.js} +23 -23
- package/dist/chunks/{shell-mvhtz5js.js → app-1k4ws4ty.js} +5 -5
- package/dist/chunks/{shell-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{shell-344230wv.js → app-22ytshyy.js} +6 -6
- package/dist/chunks/{shell-nghta7n5.js → app-241twxbq.js} +38 -38
- package/dist/chunks/{shell-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-nzfzr9h0.js → app-2amsxbr2.js} +43 -43
- package/dist/chunks/{shell-2ht70gj7.js → app-2ht70gj7.js} +1 -1
- package/dist/chunks/{shell-w0nm8ced.js → app-2vremtg6.js} +24 -24
- package/dist/chunks/{shell-pjedbq3k.js → app-3e147rt9.js} +9 -9
- package/dist/chunks/{shell-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3qzbfqsy.js → app-3qzbfqsy.js} +2 -2
- package/dist/chunks/{shell-9yq0qydf.js → app-3sd9qt72.js} +7 -7
- package/dist/chunks/{shell-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-n3m9wsvh.js → app-3vpahets.js} +26 -26
- package/dist/chunks/{shell-hm2ca2ns.js → app-40scemma.js} +22 -22
- package/dist/chunks/{shell-xnf7zpzd.js → app-40tvfwh5.js} +11 -11
- package/dist/chunks/{shell-rd7fx9p1.js → app-41f161pb.js} +14 -14
- package/dist/chunks/{shell-famd3pv6.js → app-41mncz27.js} +5 -5
- package/dist/chunks/{shell-454k5vzh.js → app-454k5vzh.js} +1 -1
- package/dist/chunks/{shell-2nz939r2.js → app-456303rs.js} +11 -11
- package/dist/chunks/{shell-02q19v1x.js → app-456nf4bc.js} +8 -8
- package/dist/chunks/{shell-g7csxrs7.js → app-4b1mthq9.js} +4 -4
- package/dist/chunks/{shell-7w2wm759.js → app-4f62ejdk.js} +20 -20
- package/dist/chunks/{shell-ygtbksd3.js → app-4prqn7xv.js} +32 -32
- package/dist/chunks/{shell-4r2nyarf.js → app-4r2nyarf.js} +1 -1
- package/dist/chunks/{shell-vh6gf742.js → app-4seer4n3.js} +7 -7
- package/dist/chunks/{shell-9t99dw5q.js → app-4x1g6k97.js} +1 -1
- package/dist/chunks/{shell-ddcwh8jf.js → app-53nd5drw.js} +6 -6
- package/dist/chunks/{shell-gfz2zenh.js → app-5904gm87.js} +22 -22
- package/dist/chunks/{shell-ef5f9nen.js → app-59cz6q6x.js} +6 -6
- package/dist/chunks/{shell-46e97tr7.js → app-5d4cs7v3.js} +10 -10
- package/dist/chunks/{shell-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-5fmxt4p5.js → app-5fmxt4p5.js} +1 -1
- package/dist/chunks/{shell-5jvc5tg2.js → app-5jvc5tg2.js} +1 -1
- package/dist/chunks/{shell-tmq14ezd.js → app-5wvgbp96.js} +36 -36
- package/dist/chunks/{shell-00aww1yf.js → app-5x14x66m.js} +2 -2
- package/dist/chunks/{shell-2qrq5jg3.js → app-61a3vjda.js} +3 -3
- package/dist/chunks/{shell-gvphy7jk.js → app-67dbm4zp.js} +6 -6
- package/dist/chunks/{shell-et79eehw.js → app-68pyy3e5.js} +7 -7
- package/dist/chunks/{shell-6kgc56n8.js → app-6cd6tdvt.js} +6 -6
- package/dist/chunks/{shell-a61ajdq9.js → app-6g1q2hdd.js} +14 -14
- package/dist/chunks/{shell-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{shell-ytpzjm8d.js → app-6n7vs3qv.js} +31 -31
- package/dist/chunks/{shell-r56wj6jx.js → app-6rgwnj84.js} +13 -13
- package/dist/chunks/{shell-711hfp6y.js → app-711hfp6y.js} +2 -2
- package/dist/chunks/{shell-72nftnjy.js → app-72nftnjy.js} +2 -2
- package/dist/chunks/{shell-3zzgc37f.js → app-72xb1avz.js} +15 -15
- package/dist/chunks/{shell-73tb2d7t.js → app-73tb2d7t.js} +1 -1
- package/dist/chunks/{shell-mtcjf44p.js → app-75yf2d83.js} +8 -8
- package/dist/chunks/{shell-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-9kksqv7m.js → app-7cnkxtbd.js} +9 -9
- package/dist/chunks/{shell-2pqs5rb6.js → app-7mjejgxa.js} +28 -28
- package/dist/chunks/{shell-22jc9t4j.js → app-7myzn9fy.js} +10 -10
- package/dist/chunks/app-7zk4hah4.js +4 -0
- package/dist/chunks/{shell-5mm0tfy6.js → app-828he9z6.js} +52 -36
- package/dist/chunks/app-839ymwzf.js +22 -0
- package/dist/chunks/{shell-s9fwkeje.js → app-83rp9aqa.js} +10 -10
- package/dist/chunks/{shell-mpcfbaan.js → app-84t6g51t.js} +16 -16
- package/dist/chunks/{shell-6g84bqmx.js → app-88rt85wd.js} +22 -22
- package/dist/chunks/{shell-998dat6d.js → app-8bk2zzjm.js} +9 -9
- package/dist/chunks/{shell-8b1vkr5h.js → app-8e6swdk9.js} +297 -297
- package/dist/chunks/{shell-pxednv00.js → app-8ker6n7f.js} +5 -5
- package/dist/chunks/{shell-7haxhjsc.js → app-8spbxhn4.js} +1 -1
- package/dist/chunks/{shell-1h4a14by.js → app-90x1n3bd.js} +70 -70
- package/dist/chunks/{shell-y2cqme3r.js → app-93a8yfjt.js} +5 -5
- package/dist/chunks/{shell-18e1e1p1.js → app-93yhyjwm.js} +51 -51
- package/dist/chunks/{shell-qy387ach.js → app-9bqaxr83.js} +11 -11
- package/dist/chunks/{shell-xgbmxshw.js → app-9brvgznv.js} +14 -14
- package/dist/chunks/{shell-v623p3vn.js → app-9cn7kp7k.js} +8 -8
- package/dist/chunks/{shell-jv6tbxxe.js → app-9f52v7jd.js} +8 -8
- package/dist/chunks/{shell-ec2yajhv.js → app-9hhn40xk.js} +4 -4
- package/dist/chunks/{shell-sq68wjyr.js → app-9nv1rt96.js} +9 -9
- package/dist/chunks/{shell-9qm9egsn.js → app-9qm9egsn.js} +2 -2
- package/dist/chunks/{shell-ff1h9ct4.js → app-9x4j1p49.js} +24 -24
- package/dist/chunks/{shell-3jj6bjb6.js → app-a07sqv0b.js} +5 -5
- package/dist/chunks/{shell-za9jakaj.js → app-a52x4gjk.js} +9 -9
- package/dist/chunks/{shell-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-kthrd1n2.js → app-acr0vn06.js} +24 -24
- package/dist/chunks/{shell-74jy76yg.js → app-ajgsgqyb.js} +1 -1
- package/dist/chunks/{shell-ajtjthsy.js → app-ajtjthsy.js} +2 -2
- package/dist/chunks/{shell-12t3v3je.js → app-aqz4tv27.js} +23 -23
- package/dist/chunks/{shell-dpc689ym.js → app-arbehxbm.js} +16 -16
- package/dist/chunks/{shell-nxz3kcv2.js → app-b2a82tgj.js} +30 -30
- package/dist/chunks/{shell-wdhc4zn8.js → app-b3hfsjpn.js} +5 -5
- package/dist/chunks/{shell-j0h9s30t.js → app-b4b7p3j5.js} +13 -13
- package/dist/chunks/{shell-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-kyb951k0.js → app-b8gzedky.js} +3 -3
- package/dist/chunks/{shell-b9wsbatv.js → app-b9wsbatv.js} +1 -1
- package/dist/chunks/{shell-h2sw8ea3.js → app-bca4xk29.js} +15 -15
- package/dist/chunks/{shell-cb182ger.js → app-bmj3d0ka.js} +7 -7
- package/dist/chunks/{shell-ng39vjdn.js → app-bqarnab4.js} +2 -2
- package/dist/chunks/{shell-74hfp9tv.js → app-bssf13fr.js} +31 -31
- package/dist/chunks/app-bwt7bpgq.js +18 -0
- package/dist/chunks/{shell-9nb3r9db.js → app-c2v1zyg3.js} +6 -6
- package/dist/chunks/{shell-c6trbygj.js → app-cc55107n.js} +4 -4
- package/dist/chunks/{shell-ftabj2dg.js → app-cz8be0q1.js} +28 -28
- package/dist/chunks/{shell-806j49yq.js → app-d216944b.js} +7 -7
- package/dist/chunks/{shell-d72308c8.js → app-d72308c8.js} +2 -2
- package/dist/chunks/{shell-s440spbv.js → app-de8cp1fg.js} +22 -22
- package/dist/chunks/{shell-rzq71d0k.js → app-dfcf8dsh.js} +20 -20
- package/dist/chunks/{shell-vnj6vh9c.js → app-dfns4ckt.js} +32 -32
- package/dist/chunks/{shell-2qzq6ga3.js → app-dhzp65aq.js} +11 -11
- package/dist/chunks/{shell-z3xgatyd.js → app-djtdz80w.js} +4 -4
- package/dist/chunks/{shell-y71avatq.js → app-dpkg50ah.js} +4 -4
- package/dist/chunks/{shell-vqe9fq18.js → app-dpqq4n8f.js} +1 -1
- package/dist/chunks/{shell-7p203cgq.js → app-emtwgvxj.js} +24 -24
- package/dist/chunks/{shell-k6p8g4fk.js → app-er5cndkw.js} +57 -57
- package/dist/chunks/{shell-jx283wc3.js → app-f1m8ygb3.js} +11 -11
- package/dist/chunks/app-f3cn892e.js +247 -0
- package/dist/chunks/{shell-zj4p2a1k.js → app-fazyzkd8.js} +5 -5
- package/dist/chunks/{shell-h9ygsckj.js → app-fg4eb5cw.js} +46 -46
- package/dist/chunks/{shell-6hq5c2qk.js → app-fj1ykrdy.js} +24 -24
- package/dist/chunks/{shell-fg3wn8a9.js → app-fks45ynx.js} +87 -87
- package/dist/chunks/{shell-75p0zbr9.js → app-fqz8c7f9.js} +29 -29
- package/dist/chunks/{shell-hjp2pbpf.js → app-ftcadk3w.js} +1 -1
- package/dist/chunks/{shell-w794bvtj.js → app-fvh8qddj.js} +35 -35
- package/dist/chunks/{shell-292hg6qz.js → app-fvn82d8v.js} +7 -7
- package/dist/chunks/{shell-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-fxypknc8.js → app-fxypknc8.js} +1 -1
- package/dist/chunks/{shell-kjrs54vr.js → app-g0h3g2y6.js} +19 -19
- package/dist/chunks/{shell-0sdspkc1.js → app-g11w9hv4.js} +36 -36
- package/dist/chunks/{shell-ycn3x014.js → app-g4fah38e.js} +13 -13
- package/dist/chunks/{shell-2yzeteq7.js → app-g7ekdnc2.js} +15 -15
- package/dist/chunks/{shell-6w7g5p5h.js → app-gb1rc5sc.js} +18 -18
- package/dist/chunks/{shell-s09ja0ad.js → app-gbanwdp8.js} +32 -32
- package/dist/chunks/{shell-5fc6d9pe.js → app-gbqbc70j.js} +23 -23
- package/dist/chunks/{shell-gp4zh27s.js → app-gcqp0jtf.js} +9 -9
- package/dist/chunks/{shell-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-gdvy8fx6.js → app-gdvy8fx6.js} +1 -1
- package/dist/chunks/{shell-rzyn4jtv.js → app-h4cwhs5v.js} +1 -1
- package/dist/chunks/{shell-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-n87qk14a.js → app-h7tdc4p8.js} +29 -29
- package/dist/chunks/{shell-p563rwwf.js → app-hajgtq0x.js} +35 -35
- package/dist/chunks/{shell-220n1ymv.js → app-hayfv2b5.js} +170 -170
- package/dist/chunks/{shell-heyhwy2w.js → app-heyhwy2w.js} +1 -1
- package/dist/chunks/{shell-58srr6fv.js → app-hjzzbmk8.js} +29 -29
- package/dist/chunks/{shell-1dh290mh.js → app-hpr60q3x.js} +14 -14
- package/dist/chunks/{shell-hrvm11jt.js → app-hrvm11jt.js} +3 -3
- package/dist/chunks/{shell-kvsjn1dr.js → app-hw4pv20g.js} +2 -2
- package/dist/chunks/{shell-31nvjq2v.js → app-hwemkwe8.js} +11 -11
- package/dist/chunks/{shell-78h3c2ja.js → app-hyzy990m.js} +6 -6
- package/dist/chunks/{shell-rpqdjjqf.js → app-jbkh0tb7.js} +12 -12
- package/dist/chunks/{shell-yw9364ag.js → app-jcyemy94.js} +4 -4
- package/dist/chunks/{shell-bcezcar3.js → app-je9hks3h.js} +5 -5
- package/dist/chunks/{shell-ewakhq0j.js → app-jg19dd05.js} +18 -18
- package/dist/chunks/{shell-pjjtcy2p.js → app-jp8chewc.js} +12 -12
- package/dist/chunks/{shell-k4bwy1x5.js → app-k4bwy1x5.js} +1 -1
- package/dist/chunks/{shell-0h07sdbh.js → app-k4zvwy7w.js} +23 -23
- package/dist/chunks/{shell-wsnh7t8r.js → app-kbjam7h1.js} +20 -20
- package/dist/chunks/{shell-nxrz604p.js → app-kbznjata.js} +9 -9
- package/dist/chunks/{shell-kg06axw8.js → app-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-4za3avwx.js → app-kpn3khss.js} +7 -7
- package/dist/chunks/{shell-m05jjnz9.js → app-kzcd834w.js} +12 -12
- package/dist/chunks/{shell-a12tcaaf.js → app-m08rz2n6.js} +6 -6
- package/dist/chunks/{shell-bh35m6yh.js → app-m21fe36q.js} +7 -7
- package/dist/chunks/{shell-e83y27r5.js → app-m5w7j81k.js} +7 -7
- package/dist/chunks/{shell-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-bzsb4ygm.js → app-me149q6c.js} +31 -31
- package/dist/chunks/{shell-gfz9gwkx.js → app-mekcq3pn.js} +18 -18
- package/dist/chunks/{shell-ggysapes.js → app-mjfhjmk5.js} +26 -26
- package/dist/chunks/{shell-95z3gcrg.js → app-msw86qcf.js} +4 -4
- package/dist/chunks/{shell-zg1tfnff.js → app-mya6twgv.js} +35 -35
- package/dist/chunks/{shell-g2fgb7sn.js → app-n3jkd22a.js} +4 -4
- package/dist/chunks/{shell-301db2e0.js → app-n48a5sdv.js} +28 -28
- package/dist/chunks/{shell-rzejcw32.js → app-n95nq84g.js} +5 -5
- package/dist/chunks/{shell-wkqpxhsk.js → app-ndjv4j8j.js} +10 -10
- package/dist/chunks/{shell-h8p6xf2n.js → app-nh0kgycx.js} +27 -27
- package/dist/chunks/{shell-0b65z5fp.js → app-nje80wxz.js} +5 -5
- package/dist/chunks/{shell-rh6wbg4w.js → app-npapp81d.js} +15 -15
- package/dist/chunks/{shell-xe4jdaw3.js → app-nqk9406z.js} +5 -5
- package/dist/chunks/{shell-8309kjat.js → app-nygk0pkd.js} +10 -10
- package/dist/chunks/{shell-a9detkdy.js → app-p5cx4qq5.js} +32 -32
- package/dist/chunks/{shell-2xs5s17b.js → app-p9r5yxxa.js} +4 -4
- package/dist/chunks/{shell-j935v87r.js → app-paphc93g.js} +2 -2
- package/dist/chunks/{shell-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{shell-pbhkjpds.js → app-pt34y05q.js} +8 -8
- package/dist/chunks/{shell-t0z8h93t.js → app-pvsq6e0y.js} +44 -44
- package/dist/chunks/{shell-bf0ztrs3.js → app-q2b1ymqp.js} +4 -4
- package/dist/chunks/{shell-863jw130.js → app-qev88vwh.js} +11 -11
- package/dist/chunks/{shell-qgn6gcr1.js → app-qgn6gcr1.js} +1 -1
- package/dist/chunks/{shell-5nzbd5n0.js → app-qnfdxy2e.js} +5 -5
- package/dist/chunks/{shell-dsfx0j74.js → app-qq0s42pd.js} +9 -9
- package/dist/chunks/{shell-1nqpxsj1.js → app-qrgjqevf.js} +13 -13
- package/dist/chunks/{shell-xay8nyhx.js → app-qrzxywk7.js} +9 -9
- package/dist/chunks/{shell-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-rh6rd7ag.js → app-r0msr716.js} +4 -4
- package/dist/chunks/{shell-r8dhm0tv.js → app-r8dhm0tv.js} +1 -1
- package/dist/chunks/{shell-eg1n48gj.js → app-raf8wtnx.js} +20 -20
- package/dist/chunks/{shell-759pz1a2.js → app-rjqxra3c.js} +8 -8
- package/dist/chunks/{shell-b94fcmr9.js → app-rpvck33q.js} +34 -34
- package/dist/chunks/{shell-gd25jggd.js → app-rw4nkp5j.js} +45 -45
- package/dist/chunks/{shell-wkjngxy5.js → app-rxbdfnq0.js} +3 -3
- package/dist/chunks/{shell-tabs974f.js → app-rykst88f.js} +12 -12
- package/dist/chunks/{shell-avja4xez.js → app-ryv3tfwp.js} +18 -18
- package/dist/chunks/{shell-76wr4mq2.js → app-rz31k017.js} +9 -9
- package/dist/chunks/{shell-dsf572e0.js → app-rzwcgm09.js} +4 -4
- package/dist/chunks/{shell-41k9cz4z.js → app-s8w5cjx7.js} +30 -30
- package/dist/chunks/{shell-sba4qhjf.js → app-sba4qhjf.js} +1 -1
- package/dist/chunks/{shell-45t9anda.js → app-sc524drs.js} +1 -1
- package/dist/chunks/{shell-xxtg5rsy.js → app-sj5n3trc.js} +34 -34
- package/dist/chunks/{shell-ttr1bger.js → app-smkpzyj7.js} +20 -20
- package/dist/chunks/{shell-ztjnpbp4.js → app-sr1rc1g2.js} +9 -9
- package/dist/chunks/{shell-t2cat712.js → app-ssg9qmrn.js} +11 -11
- package/dist/chunks/{shell-rdq9thdd.js → app-sv1sbqd5.js} +24 -24
- package/dist/chunks/{shell-2cnxy6r2.js → app-syegws57.js} +10 -10
- package/dist/chunks/{shell-w6h9pbxs.js → app-sygprj6n.js} +11 -11
- package/dist/chunks/{shell-m4bpwynw.js → app-szt7smwk.js} +8 -8
- package/dist/chunks/{shell-wn5mwez2.js → app-t5mvv7b6.js} +86 -86
- package/dist/chunks/{shell-83dvd1w2.js → app-t8jjz1g4.js} +53 -53
- package/dist/chunks/{shell-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-mn410wgw.js → app-teq0593w.js} +64 -64
- package/dist/chunks/{shell-tjykrgmx.js → app-tjykrgmx.js} +1 -1
- package/dist/chunks/{shell-6smwwksd.js → app-tnjwh1aj.js} +17 -17
- package/dist/chunks/{shell-nag7dxjf.js → app-tppvcy65.js} +5 -5
- package/dist/chunks/{shell-az9b9mm6.js → app-tpqecd3t.js} +4 -4
- package/dist/chunks/{shell-fqt4fs5w.js → app-trnhxq5y.js} +11 -11
- package/dist/chunks/{shell-c50658qd.js → app-tx9pkam9.js} +36 -36
- package/dist/chunks/{shell-6rbe69zm.js → app-txct46nv.js} +13 -13
- package/dist/chunks/{shell-bdrwax0s.js → app-v0mw94ex.js} +23 -23
- package/dist/chunks/{shell-dvf4z69w.js → app-vhzvdfbz.js} +27 -27
- package/dist/chunks/{shell-bpcc17t3.js → app-vs3g981p.js} +11 -11
- package/dist/chunks/{shell-esp3dmb3.js → app-vwg31drc.js} +3 -3
- package/dist/chunks/{shell-2xx188mn.js → app-vzcgnjed.js} +35 -35
- package/dist/chunks/{shell-zvpejf85.js → app-w2gndftq.js} +46 -46
- package/dist/chunks/{shell-6abnk40k.js → app-w3jym6ha.js} +6 -6
- package/dist/chunks/{shell-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-5ctdmadx.js → app-w6s4nrrc.js} +8 -8
- package/dist/chunks/{shell-drz01ptw.js → app-w7z32673.js} +23 -23
- package/dist/chunks/{shell-vnwmzs4a.js → app-w8xr7nv8.js} +5 -5
- package/dist/chunks/{shell-yew4gc92.js → app-w9gyfm2s.js} +22 -22
- package/dist/chunks/{shell-ex76qa1h.js → app-wcwcztxs.js} +17 -17
- package/dist/chunks/{shell-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{shell-4pb24dhv.js → app-wdgvf9wf.js} +15 -15
- package/dist/chunks/{shell-kja6ea6z.js → app-wf0xzsvt.js} +11 -11
- package/dist/chunks/{shell-ep81hxt4.js → app-wgyqb6cs.js} +7 -7
- package/dist/chunks/{shell-vkh6dqf1.js → app-wsa4fayw.js} +5 -5
- package/dist/chunks/{shell-htbxhgrz.js → app-wthvqgek.js} +14 -14
- package/dist/chunks/{shell-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-4n9v30zw.js → app-x28zqaf0.js} +26 -26
- package/dist/chunks/{shell-ca4j1r4e.js → app-x44q8c7y.js} +18 -18
- package/dist/chunks/{shell-zzv1x10w.js → app-xq4mkaf1.js} +25 -25
- package/dist/chunks/{shell-r7cz99r0.js → app-xspqbexe.js} +19 -19
- package/dist/chunks/{shell-f77xc9wm.js → app-xvksmx2v.js} +22 -22
- package/dist/chunks/{shell-35r8yfzd.js → app-xvx5ymr3.js} +20 -20
- package/dist/chunks/{shell-mjs0kabc.js → app-y18mx0w9.js} +30 -30
- package/dist/chunks/{shell-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-hd4bzg4a.js → app-y667m2fe.js} +23 -23
- package/dist/chunks/{shell-6wf5mw7w.js → app-y7xtxfz5.js} +29 -29
- package/dist/chunks/{shell-yfbd16n1.js → app-yfbd16n1.js} +2 -2
- package/dist/chunks/{shell-5qea4ewy.js → app-yq9z8ydh.js} +37 -37
- package/dist/chunks/{shell-m9q8vvrp.js → app-yxqhfdf1.js} +11 -11
- package/dist/chunks/{shell-cmwx9h7j.js → app-yz9reb46.js} +4 -4
- package/dist/chunks/{shell-z1k01bn4.js → app-z1k01bn4.js} +2 -2
- package/dist/chunks/{shell-20k6nhm9.js → app-z4yv9kjz.js} +24 -24
- package/dist/chunks/{shell-29x78va6.js → app-z63w68vq.js} +6 -6
- package/dist/chunks/{shell-5pdbny0n.js → app-z8ha6r0g.js} +10 -10
- package/dist/chunks/{shell-a9c7wcwq.js → app-zk1c1bcq.js} +12 -12
- package/dist/chunks/{shell-d8bdgt1m.js → app-zm0v3se3.js} +13 -13
- package/dist/chunks/{shell-8g67dwbc.js → app-zx51ac1r.js} +11 -11
- package/dist/chunks/{shell-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{shell-pxz8xz7s.js → app-zy9sz0a1.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +354 -354
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +3 -3
- 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/id/id.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 +347 -347
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +21 -0
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- 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 +215 -215
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- 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 +87 -87
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +81 -81
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +216 -216
- 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 +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +84 -84
- 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 +119 -119
- package/dist/tool/plugin/edit.js +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/plugin/{system-prompt.d.ts → optimize.d.ts} +4 -2
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- 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 +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/shell-3724gxzf.js +0 -247
- package/dist/chunks/shell-4v7qdvcn.js +0 -18
- package/dist/chunks/shell-mb6dchx6.js +0 -22
- package/dist/chunks/shell-mf5kcrna.js +0 -4
- package/dist/plugin/system-prompt.js +0 -17
- /package/dist/chunks/{shell-0fabt78z.js → app-0fabt78z.js} +0 -0
- /package/dist/chunks/{shell-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t738kvx.js → app-3t738kvx.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-41nvscxy.js → app-41nvscxy.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-982e01ww.js → app-982e01ww.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mntxs535.js → app-mntxs535.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p8qxwesx.js → app-p8qxwesx.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-se0s1eqw.js → app-se0s1eqw.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x1b8g1yb.js → app-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → app-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zbjnn3ac.js → app-zbjnn3ac.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./app-arbehxbm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-teq0593w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event11,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info18,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service49,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node52,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event11 } from "@opencode-ai/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info18 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service49 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service75;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service49.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node52 = makeLocationNode({
|
|
112
|
+
service: Service49,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node80]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info18, ID5, Name2, available2, toModelOutput3, prepare3, Service49, node52, exports_skill5, Event11 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info11
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info11 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info21 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info11, exports_command4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9qm9egsn.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-3t738kvx.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-72nftnjy.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service80,
|
|
17
|
+
node85
|
|
18
|
+
} from "./app-7cnkxtbd.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service72,
|
|
21
|
+
node77
|
|
22
|
+
} from "./app-w6s4nrrc.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./app-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service53,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node56
|
|
42
42
|
});
|
|
43
43
|
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode-ai/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode-ai/ai";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service53 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(Service53, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service72;
|
|
58
|
+
const image = yield* Service80;
|
|
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/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service53.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -262,10 +262,10 @@ function namespaceError(name) {
|
|
|
262
262
|
return;
|
|
263
263
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
265
|
+
var node56 = makeLocationNode({
|
|
266
|
+
service: Service53,
|
|
267
267
|
layer,
|
|
268
|
-
deps: [
|
|
268
|
+
deps: [node77, node85]
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export { RegistrationError2,
|
|
271
|
+
export { RegistrationError2, Service53, node56, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./app-arbehxbm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./app-sv1sbqd5.js";
|
|
7
7
|
import {
|
|
8
8
|
Error3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-de8cp1fg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service42
|
|
12
|
+
} from "./app-zk1c1bcq.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-qq0s42pd.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-mntxs535.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-9hhn40xk.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-tjykrgmx.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-3qzbfqsy.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-je9hks3h.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service75;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service39;
|
|
58
|
+
const toolOutput = yield* Service42;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./app-emtwgvxj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service15,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-txct46nv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service63
|
|
11
|
+
} from "./app-17fx0k0q.js";
|
|
12
12
|
import {
|
|
13
13
|
externalDirectoryPermission2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service58
|
|
15
|
+
} from "./app-84t6g51t.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service68
|
|
18
|
+
} from "./app-teq0593w.js";
|
|
19
19
|
import {
|
|
20
20
|
fileDiff2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-6prwharc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/write.ts
|
|
27
27
|
var exports_write = {};
|
|
28
28
|
__export(exports_write, {
|
|
29
|
-
Input: () =>
|
|
30
|
-
Output: () =>
|
|
31
|
-
Plugin: () =>
|
|
29
|
+
Input: () => Input2,
|
|
30
|
+
Output: () => Output2,
|
|
31
|
+
Plugin: () => Plugin32,
|
|
32
32
|
WriteTool: () => exports_write,
|
|
33
|
-
name: () =>
|
|
34
|
-
toModelContent: () =>
|
|
33
|
+
name: () => name2,
|
|
34
|
+
toModelContent: () => toModelContent2
|
|
35
35
|
});
|
|
36
36
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
37
37
|
import { Effect, Schema } from "effect";
|
|
38
38
|
import { Bom } from "@opencode-ai/util/bom";
|
|
39
|
-
var
|
|
40
|
-
var
|
|
39
|
+
var name2 = "write";
|
|
40
|
+
var Input2 = Schema.Struct({
|
|
41
41
|
path: Schema.String.annotate({
|
|
42
42
|
description: "Path to the file to write to"
|
|
43
43
|
}),
|
|
44
44
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
45
45
|
});
|
|
46
|
-
var
|
|
46
|
+
var Output2 = Schema.Struct({
|
|
47
47
|
operation: Schema.Literal("write"),
|
|
48
48
|
target: Schema.String,
|
|
49
49
|
resource: Schema.String,
|
|
50
50
|
existed: Schema.Boolean
|
|
51
51
|
});
|
|
52
|
-
var
|
|
53
|
-
var
|
|
52
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
53
|
+
var Plugin32 = {
|
|
54
54
|
id: "opencode.tool.write",
|
|
55
55
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
56
|
-
const mutation = yield*
|
|
57
|
-
const fileMutation = yield*
|
|
58
|
-
const environment = yield*
|
|
59
|
-
const formatter = yield*
|
|
60
|
-
const permission = yield*
|
|
56
|
+
const mutation = yield* Service58;
|
|
57
|
+
const fileMutation = yield* Service15;
|
|
58
|
+
const environment = yield* Service65;
|
|
59
|
+
const formatter = yield* Service63;
|
|
60
|
+
const permission = yield* Service68;
|
|
61
61
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
62
|
-
name:
|
|
62
|
+
name: name2,
|
|
63
63
|
options: { codemode: false, permission: "edit" },
|
|
64
64
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
65
65
|
|
|
66
66
|
Missing parent directories are created automatically.
|
|
67
67
|
|
|
68
68
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
69
|
-
input:
|
|
70
|
-
output:
|
|
69
|
+
input: Input2,
|
|
70
|
+
output: Output2,
|
|
71
71
|
execute: (input, context) => Effect.gen(function* () {
|
|
72
72
|
const source = {
|
|
73
73
|
type: "tool",
|
|
@@ -101,9 +101,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
101
101
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
102
102
|
}
|
|
103
103
|
return result;
|
|
104
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
104
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
105
105
|
})).pipe(Effect.orDie);
|
|
106
106
|
})
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { name2, Input2, Output2, toModelContent2, Plugin32, exports_write };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./app-5d4cs7v3.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
canonical2
|
|
7
|
+
} from "./app-93a8yfjt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode-ai/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service78;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -28,7 +28,7 @@ var make20 = Effect.gen(function* () {
|
|
|
28
28
|
if (!repository)
|
|
29
29
|
return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
|
|
30
30
|
yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
|
|
31
|
-
return { directory: yield*
|
|
31
|
+
return { directory: yield* canonical2(fs, input.directory) };
|
|
32
32
|
}),
|
|
33
33
|
remove: Effect.fn("Worktree.Git.remove")(function* (input) {
|
|
34
34
|
const repository = yield* git.repo.discover(input.directory);
|
|
@@ -41,9 +41,9 @@ var make20 = Effect.gen(function* () {
|
|
|
41
41
|
if (!repository)
|
|
42
42
|
return yield* new DirectoryUnavailableError2({ directory });
|
|
43
43
|
const entries = yield* git.worktree.list(repository);
|
|
44
|
-
return yield* Effect.forEach(entries, (entry) =>
|
|
44
|
+
return yield* Effect.forEach(entries, (entry) => canonical2(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make14 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -79,4 +79,4 @@ var make13 = (options) => Effect.gen(function* () {
|
|
|
79
79
|
return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { make14, exports_run_coordinator };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-z1k01bn4.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service73,
|
|
18
|
+
node78
|
|
19
|
+
} from "./app-6g1q2hdd.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service66,
|
|
22
|
+
node70
|
|
23
|
+
} from "./app-h7tdc4p8.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service65,
|
|
33
|
+
node: () => node69
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service65,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node69,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service65 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service73;
|
|
66
|
+
const workspace = yield* Service66;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service65.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node69 = makeLocationNode({
|
|
71
|
+
service: Service65,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node78, node70]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service65, node69, exports_environment2, makeFiles2, exports_environment3 };
|