@opencode/core 0.0.0-dev-1011 → 0.0.0-dev-1013
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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +252 -252
- package/dist/bus.js +80 -80
- package/dist/chunks/{schema-aj7mw0zk.js → model-034tev2y.js} +2 -2
- package/dist/chunks/{schema-46ctycg0.js → model-05bt7bhb.js} +25 -25
- package/dist/chunks/{schema-zzzp2n6j.js → model-05ehc3gz.js} +19 -19
- package/dist/chunks/{schema-kp9hf7gh.js → model-08nq0gwq.js} +22 -22
- package/dist/chunks/{schema-ca3gkesr.js → model-08weax8k.js} +9 -9
- package/dist/chunks/{schema-x4rjv40f.js → model-09zcjbp5.js} +35 -35
- package/dist/chunks/{schema-j1sr36t7.js → model-0d15b3p2.js} +27 -27
- package/dist/chunks/{schema-2m9jz6vw.js → model-0hc5b915.js} +10 -10
- package/dist/chunks/{schema-9vgs7jrt.js → model-0hxcpwt2.js} +6 -6
- package/dist/chunks/{schema-0j7gp832.js → model-0j7gp832.js} +1 -1
- package/dist/chunks/{schema-0ma9gw4f.js → model-0ma9gw4f.js} +2 -2
- package/dist/chunks/{schema-rdnhrv98.js → model-0php2d2a.js} +6 -6
- package/dist/chunks/{schema-pph3afw8.js → model-0t89tmzm.js} +11 -11
- package/dist/chunks/{schema-h9xvjfqn.js → model-0y15sqga.js} +11 -11
- package/dist/chunks/{schema-5tq0jeka.js → model-0yn2q0fq.js} +8 -8
- package/dist/chunks/{schema-7cmb6eb6.js → model-10afd8zb.js} +26 -26
- package/dist/chunks/{schema-seqxwcng.js → model-10kej31a.js} +83 -83
- package/dist/chunks/{schema-7nb8tm12.js → model-10pn4eb5.js} +5 -5
- package/dist/chunks/{schema-93twee3r.js → model-148xq1kq.js} +6 -6
- package/dist/chunks/{schema-2ns5e8zk.js → model-1494zjeh.js} +23 -23
- package/dist/chunks/{schema-yey3vg0k.js → model-15vwk5m2.js} +21 -21
- package/dist/chunks/{schema-ydsespw1.js → model-160yv0cs.js} +4 -4
- package/dist/chunks/{schema-1aqsckx4.js → model-1aqsckx4.js} +1 -1
- package/dist/chunks/{schema-pnhy6vkz.js → model-1cev16q8.js} +8 -8
- package/dist/chunks/{schema-27w5k9zf.js → model-1ep2p91f.js} +2 -2
- package/dist/chunks/{schema-n450nt6a.js → model-1j041cfy.js} +189 -189
- package/dist/chunks/{schema-sbzezcpx.js → model-1nqk9g29.js} +8 -8
- package/dist/chunks/{schema-spysdwxw.js → model-1v62x7nb.js} +6 -6
- package/dist/chunks/{schema-1x2knyw4.js → model-1x2knyw4.js} +1 -1
- package/dist/chunks/{schema-40kv09wy.js → model-1xrqzjsv.js} +6 -6
- package/dist/chunks/{schema-1yq9hg58.js → model-1yq9hg58.js} +1 -1
- package/dist/chunks/{schema-addcsn96.js → model-1yzx0q78.js} +3 -3
- package/dist/chunks/{schema-cvddnmmh.js → model-200xyzfe.js} +15 -15
- package/dist/chunks/{schema-qfz6bxfd.js → model-20pht57w.js} +4 -4
- package/dist/chunks/{schema-108n43cx.js → model-28pxtz2s.js} +44 -44
- package/dist/chunks/{schema-78pqwty4.js → model-2b555hw6.js} +48 -48
- package/dist/chunks/{schema-y5dg5cq9.js → model-2bsw763r.js} +10 -10
- package/dist/chunks/{schema-f4krjp8e.js → model-2bswbpgz.js} +5 -5
- package/dist/chunks/{schema-2fc7eemy.js → model-2fc7eemy.js} +1 -1
- package/dist/chunks/{schema-p1acca2q.js → model-2jffmtyb.js} +36 -36
- package/dist/chunks/{schema-v0t96s7a.js → model-2kg89srt.js} +4 -4
- package/dist/chunks/{schema-xdcpcrtr.js → model-2mbjfaxd.js} +4 -4
- package/dist/chunks/{schema-nv2c5e9q.js → model-2n444ktb.js} +3 -3
- package/dist/chunks/{schema-2p60zmnr.js → model-2p60zmnr.js} +2 -2
- package/dist/chunks/{schema-wm0yff3r.js → model-2qm5at19.js} +12 -12
- package/dist/chunks/{schema-k5cvtdy7.js → model-2svm880h.js} +13 -13
- package/dist/chunks/{schema-cv4f5z77.js → model-33gwp74t.js} +34 -34
- package/dist/chunks/{schema-k44rfvex.js → model-33mjg06a.js} +5 -5
- package/dist/chunks/{schema-13mbk8n3.js → model-3936qknj.js} +6 -6
- package/dist/chunks/{schema-k7mvkdqc.js → model-3e73t2zc.js} +30 -30
- package/dist/chunks/{schema-pe9vq5ts.js → model-3h4bcgh0.js} +18 -18
- package/dist/chunks/{schema-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-20r3fdkm.js → model-3k9a42wj.js} +23 -23
- package/dist/chunks/{schema-3nnrz6f6.js → model-3nnrz6f6.js} +1 -1
- package/dist/chunks/{schema-j9n04yyf.js → model-3p08md3h.js} +13 -13
- package/dist/chunks/{schema-zgq5ynfz.js → model-3rapmj7b.js} +8 -8
- package/dist/chunks/{schema-dct3bmgw.js → model-3raqsjay.js} +4 -4
- package/dist/chunks/{schema-40y6dtc2.js → model-40y6dtc2.js} +1 -1
- package/dist/chunks/{schema-686fknyk.js → model-41p56tas.js} +34 -34
- package/dist/chunks/{schema-44pmzq9c.js → model-44pmzq9c.js} +2 -2
- package/dist/chunks/{schema-5cw6sz18.js → model-47pktn18.js} +12 -12
- package/dist/chunks/{schema-5kv53nmy.js → model-49rkndpa.js} +6 -6
- package/dist/chunks/{schema-k0hc0p3t.js → model-4av79kf0.js} +7 -7
- package/dist/chunks/{schema-09pq3b3z.js → model-4b72pw7k.js} +5 -5
- package/dist/chunks/{schema-4dx1dgte.js → model-4dx1dgte.js} +1 -1
- package/dist/chunks/{schema-r5cygv5r.js → model-4e2mfesz.js} +19 -19
- package/dist/chunks/{schema-xzmcv7yx.js → model-4fzwr2m0.js} +22 -22
- package/dist/chunks/{schema-vycsk1c7.js → model-4medx3yc.js} +8 -8
- package/dist/chunks/{schema-4pyp9zr9.js → model-4pyp9zr9.js} +1 -1
- package/dist/chunks/{schema-p7m378f9.js → model-4taass34.js} +6 -6
- package/dist/chunks/{schema-4v008n1t.js → model-4v008n1t.js} +1 -1
- package/dist/chunks/{schema-z6yjkx3d.js → model-5a0bptm8.js} +4 -4
- package/dist/chunks/{schema-w75qynz4.js → model-5asgddgx.js} +6 -6
- package/dist/chunks/{schema-3jzwv4qn.js → model-5hcj91nx.js} +24 -24
- package/dist/chunks/{schema-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-bhfd478d.js → model-5n0rnk8e.js} +4 -4
- package/dist/chunks/{schema-0jmzsf4m.js → model-5sfs57rd.js} +11 -11
- package/dist/chunks/{schema-5whx36p1.js → model-5whx36p1.js} +1 -1
- package/dist/chunks/{schema-r7r9xhwp.js → model-5zht1efa.js} +25 -25
- package/dist/chunks/{schema-26wfx3k0.js → model-62zd5tzk.js} +7 -7
- package/dist/chunks/{schema-s5r2vghp.js → model-64tp0ya5.js} +9 -9
- package/dist/chunks/{schema-r89d1c3z.js → model-650ycsqk.js} +5 -5
- package/dist/chunks/{schema-neary136.js → model-65n9jqtg.js} +8 -8
- package/dist/chunks/{schema-x5w1zr3w.js → model-690kw40d.js} +23 -23
- package/dist/chunks/{schema-85vqx18w.js → model-6apf8frj.js} +4 -4
- package/dist/chunks/{schema-1z5vznfb.js → model-6d447hqy.js} +9 -9
- package/dist/chunks/{schema-4xjdjntw.js → model-6es1dp4c.js} +8 -8
- package/dist/chunks/{schema-q9w50hwc.js → model-6qappkbv.js} +17 -17
- package/dist/chunks/{schema-6y2b864j.js → model-6y2b864j.js} +1 -1
- package/dist/chunks/{schema-z4h0d849.js → model-6yyddktx.js} +43 -43
- package/dist/chunks/{schema-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-apg8hqv6.js → model-7r3nrrdh.js} +22 -22
- package/dist/chunks/{schema-g4428mab.js → model-7trqavmj.js} +31 -31
- package/dist/chunks/{schema-7w2ypzdf.js → model-7w2ypzdf.js} +1 -1
- package/dist/chunks/{schema-7weczvnd.js → model-7weczvnd.js} +1 -1
- package/dist/chunks/{schema-fcv63w14.js → model-7y3c392v.js} +38 -38
- package/dist/chunks/{schema-775hqbnd.js → model-80mg3ag8.js} +3 -3
- package/dist/chunks/{schema-80pdk984.js → model-80pdk984.js} +1 -1
- package/dist/chunks/{schema-85jq8dht.js → model-85jq8dht.js} +1 -1
- package/dist/chunks/{schema-t2j0e88x.js → model-8624fsr4.js} +11 -11
- package/dist/chunks/{schema-8b3vzgkx.js → model-8b3vzgkx.js} +1 -1
- package/dist/chunks/{schema-3bgf9gas.js → model-8bjrjs1n.js} +4 -4
- package/dist/chunks/{schema-g5d82n9d.js → model-8d047cw6.js} +3 -3
- package/dist/chunks/{schema-jtfxvpqx.js → model-8fm8128g.js} +16 -16
- package/dist/chunks/{schema-xmzr9vx2.js → model-8j11fyne.js} +30 -30
- package/dist/chunks/{schema-bb3mmwvh.js → model-8sxe6kv8.js} +2 -2
- package/dist/chunks/{schema-8wtp7s3z.js → model-8wtp7s3z.js} +1 -1
- package/dist/chunks/{schema-8zv0xmg5.js → model-8zv0xmg5.js} +1 -1
- package/dist/chunks/{schema-963hk181.js → model-963hk181.js} +2 -2
- package/dist/chunks/{schema-j470za27.js → model-9cjk3842.js} +9 -9
- package/dist/chunks/{schema-qzv2q1wc.js → model-9k9q9h2y.js} +11 -11
- package/dist/chunks/{schema-4krz84m7.js → model-9khz0wq9.js} +7 -7
- package/dist/chunks/{schema-hmankmc5.js → model-9sgn6a71.js} +26 -26
- package/dist/chunks/{schema-1aqqzjqd.js → model-9t5vtgd8.js} +17 -17
- package/dist/chunks/{schema-9zwexsxs.js → model-9zwexsxs.js} +2 -2
- package/dist/chunks/{schema-hretfjjx.js → model-a3fn0gmm.js} +2 -2
- package/dist/chunks/{schema-gm3gbk7j.js → model-a3tm4wjw.js} +34 -34
- package/dist/chunks/{schema-nh4zw8dy.js → model-a5d8v0q4.js} +32 -32
- package/dist/chunks/{schema-ekp8nq7b.js → model-a5rej8c4.js} +28 -28
- package/dist/chunks/{schema-jm1f39t7.js → model-aagm5cbn.js} +36 -36
- package/dist/chunks/{schema-vz5bqa0f.js → model-ahenw0f4.js} +5 -5
- package/dist/chunks/{schema-xdgew5ya.js → model-am5a7svf.js} +4 -4
- package/dist/chunks/{schema-jahxfc61.js → model-ay6wrfq3.js} +9 -9
- package/dist/chunks/{schema-3cbjf1nt.js → model-ayjs7tqn.js} +2 -2
- package/dist/chunks/{schema-b26ddj6h.js → model-b26ddj6h.js} +4 -4
- package/dist/chunks/{schema-b4k47k2s.js → model-b4k47k2s.js} +2 -2
- package/dist/chunks/{schema-eempz8bw.js → model-b6b58phx.js} +27 -27
- package/dist/chunks/{schema-zbng777a.js → model-bffykna6.js} +5 -5
- package/dist/chunks/{schema-3bsk4n41.js → model-bj9jxw1d.js} +19 -19
- package/dist/chunks/{schema-qpvrrhfg.js → model-br010nc4.js} +23 -23
- package/dist/chunks/{schema-bstexjd6.js → model-bstexjd6.js} +1 -1
- package/dist/chunks/{schema-7mpf854e.js → model-by3zbw0c.js} +20 -20
- package/dist/chunks/{schema-zpdbqgja.js → model-by8ty0bx.js} +4 -4
- package/dist/chunks/{schema-26fy3zdr.js → model-c8j7dnn2.js} +21 -21
- package/dist/chunks/{schema-j45pbb2b.js → model-cagdk6e6.js} +4 -4
- package/dist/chunks/{schema-qen42n7m.js → model-cbssh99t.js} +6 -6
- package/dist/chunks/{schema-kg1jhe5b.js → model-cbts0apv.js} +16 -16
- package/dist/chunks/{schema-px1jwg4z.js → model-ccq6qsk8.js} +33 -33
- package/dist/chunks/{schema-x08hk12p.js → model-ce7s1pbp.js} +25 -25
- package/dist/chunks/{schema-c6x7d2ts.js → model-cpvd08na.js} +4 -4
- package/dist/chunks/{schema-2bhf5fzs.js → model-cwj7f37j.js} +4 -4
- package/dist/chunks/{schema-cwrgdav8.js → model-cwrgdav8.js} +2 -2
- package/dist/chunks/{schema-3zdj44x7.js → model-d3308ckt.js} +35 -35
- package/dist/chunks/{schema-d4v9tmah.js → model-d4v9tmah.js} +2 -2
- package/dist/chunks/{schema-my9bcdye.js → model-dhpx0ztf.js} +44 -44
- package/dist/chunks/{schema-dt77769w.js → model-dt77769w.js} +1 -1
- package/dist/chunks/{schema-5bvdtq3a.js → model-e0y7zfw7.js} +17 -17
- package/dist/chunks/{schema-r7s4amkf.js → model-e7qryzfw.js} +21 -21
- package/dist/chunks/{schema-d4ya8xdt.js → model-eft32nj2.js} +22 -22
- package/dist/chunks/{schema-26qpn291.js → model-ekj2k84j.js} +3 -3
- package/dist/chunks/{schema-eqw4pqj1.js → model-eqw4pqj1.js} +2 -2
- package/dist/chunks/{schema-p5f5wvc6.js → model-etbj7259.js} +9 -9
- package/dist/chunks/{schema-cps4cmre.js → model-ewn6818x.js} +12 -12
- package/dist/chunks/{schema-5d8m3jk5.js → model-f0t59cqk.js} +16 -16
- package/dist/chunks/{schema-sjtm08sb.js → model-f1kpf9tg.js} +6 -6
- package/dist/chunks/{schema-75pfzghc.js → model-f2t3k20r.js} +10 -10
- package/dist/chunks/{schema-5vp7djrs.js → model-f7qbn273.js} +26 -26
- package/dist/chunks/{schema-z244sk7m.js → model-f7r7m9p6.js} +9 -9
- package/dist/chunks/{schema-hzyabs26.js → model-f8n5d6m9.js} +83 -83
- package/dist/chunks/{schema-zzz646na.js → model-fa9zh0hf.js} +8 -8
- package/dist/chunks/{schema-1n2wt30b.js → model-fdtp6zbm.js} +11 -11
- package/dist/chunks/{schema-fg9p65nk.js → model-fg9p65nk.js} +2 -2
- package/dist/chunks/{schema-5jjne4g5.js → model-fvgj1da1.js} +7 -7
- package/dist/chunks/{schema-7h5yv299.js → model-fvsmnwd4.js} +9 -9
- package/dist/chunks/{schema-vpa2j03j.js → model-g2njb55f.js} +8 -8
- package/dist/chunks/{schema-gbjdnr5j.js → model-gbjdnr5j.js} +2 -2
- package/dist/chunks/{schema-vqz1w45k.js → model-gc6rk9wr.js} +6 -6
- package/dist/chunks/{schema-r9r1hv6r.js → model-gfjve02f.js} +4 -4
- package/dist/chunks/{schema-ghrv1g9c.js → model-ghrv1g9c.js} +1 -1
- package/dist/chunks/{schema-zvs0kzc5.js → model-gj7y0tfs.js} +5 -5
- package/dist/chunks/{schema-r6wb84tj.js → model-gr0bm0f7.js} +29 -29
- package/dist/chunks/{schema-wqff1vx6.js → model-h0bhactx.js} +7 -7
- package/dist/chunks/{schema-y83y93hb.js → model-h91tf95k.js} +12 -12
- package/dist/chunks/{schema-a1y0gagk.js → model-h940dy85.js} +3 -3
- package/dist/chunks/{schema-zgtdwdax.js → model-hfdaj0h9.js} +17 -17
- package/dist/chunks/{schema-v6v5n2yq.js → model-hfjxjgrv.js} +13 -13
- package/dist/chunks/{schema-hgzwgvze.js → model-hgzwgvze.js} +2 -2
- package/dist/chunks/{schema-k314sxn6.js → model-hhwtx70h.js} +10 -10
- package/dist/chunks/model-hjs1bv3x.js +273 -0
- package/dist/chunks/{schema-w6af1eav.js → model-hqw6s7vg.js} +41 -41
- package/dist/chunks/{schema-rxjp9ywm.js → model-hvfme911.js} +6 -6
- package/dist/chunks/{schema-xacrkbdt.js → model-j1zpf99x.js} +7 -7
- package/dist/chunks/{schema-7qjyv4b5.js → model-j7cndtze.js} +9 -9
- package/dist/chunks/{schema-jm70asfg.js → model-jm70asfg.js} +1 -1
- package/dist/chunks/{schema-mjh13j51.js → model-k25vwq5p.js} +59 -59
- package/dist/chunks/{schema-n1871bnv.js → model-k413tq6h.js} +40 -40
- package/dist/chunks/{schema-wk2hhfay.js → model-k7rtwba0.js} +22 -22
- package/dist/chunks/{schema-67wwskyb.js → model-kbgs7tyr.js} +4 -4
- package/dist/chunks/{schema-8y7m8t19.js → model-kcxeskpv.js} +32 -32
- package/dist/chunks/{schema-cz64vtt7.js → model-kf9pbwfw.js} +41 -41
- package/dist/chunks/{schema-c3x56fbb.js → model-krmt0h2w.js} +18 -18
- package/dist/chunks/{schema-kt3bjfbg.js → model-kt3bjfbg.js} +1 -1
- package/dist/chunks/{schema-6jeqf2ta.js → model-ktkyce3z.js} +5 -5
- package/dist/chunks/{schema-djfnttkh.js → model-kve8t19d.js} +9 -9
- package/dist/chunks/{schema-kzczzf4v.js → model-kzczzf4v.js} +1 -1
- package/dist/chunks/{schema-m1714858.js → model-m1714858.js} +1 -1
- package/dist/chunks/{schema-8rewpzhr.js → model-m3axgt35.js} +19 -19
- package/dist/chunks/{schema-ysf45hfb.js → model-m3bkjmxb.js} +33 -33
- package/dist/chunks/{schema-wvdkrrmq.js → model-m5nv7m71.js} +30 -30
- package/dist/chunks/{schema-6c7sgph9.js → model-m88ft9j9.js} +4 -4
- package/dist/chunks/{schema-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-8z6m94af.js → model-mb7mbhnz.js} +3 -3
- package/dist/chunks/{schema-1r0h7dcd.js → model-mbd12qs5.js} +11 -11
- package/dist/chunks/{schema-bdv8sqrq.js → model-me215f18.js} +1 -1
- package/dist/chunks/{schema-rtx9dw6y.js → model-metcvwkm.js} +2 -2
- package/dist/chunks/{schema-6jr0bk4e.js → model-mn8tqb4h.js} +9 -9
- package/dist/chunks/{schema-yen64j8h.js → model-mpjxpg35.js} +23 -23
- package/dist/chunks/{schema-msd2a3qm.js → model-msd2a3qm.js} +4 -4
- package/dist/chunks/{schema-c32tazex.js → model-my936y1m.js} +12 -12
- package/dist/chunks/{schema-hc0t8k9e.js → model-myt9fkc7.js} +6 -6
- package/dist/chunks/{schema-9ntyjr0x.js → model-mzn2a4s9.js} +52 -52
- package/dist/chunks/{schema-3spf441s.js → model-n3j33rb6.js} +4 -4
- package/dist/chunks/{schema-ykt7cx5b.js → model-n92r3whm.js} +11 -11
- package/dist/chunks/{schema-43ckntww.js → model-nbqqe8xw.js} +26 -26
- package/dist/chunks/{schema-98t65f00.js → model-nfaz60sz.js} +6 -6
- package/dist/chunks/{schema-vmffp9hq.js → model-nk9akxx5.js} +2 -2
- package/dist/chunks/{schema-n95h3yp2.js → model-np0jxeq5.js} +11 -11
- package/dist/chunks/{schema-dbatw319.js → model-nq1mg43n.js} +3 -3
- package/dist/chunks/{schema-stsmee1w.js → model-nr1zwmm0.js} +4 -4
- package/dist/chunks/{schema-gzmsa05z.js → model-nsbjhe4d.js} +18 -18
- package/dist/chunks/{schema-8drqbk3r.js → model-p3d2bavg.js} +16 -16
- package/dist/chunks/{schema-42g0h6cf.js → model-p3mc3rwb.js} +3 -3
- package/dist/chunks/{schema-t1pejg4m.js → model-pgeamhre.js} +17 -17
- package/dist/chunks/{schema-88kypjvy.js → model-pgqxr0th.js} +4 -4
- package/dist/chunks/{schema-xaqfm906.js → model-pkg4x22g.js} +2 -2
- package/dist/chunks/{schema-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{schema-a9kkqc7j.js → model-ppp1a1w1.js} +16 -16
- package/dist/chunks/{schema-068p4esx.js → model-pt2f0jk2.js} +352 -352
- package/dist/chunks/{schema-sqrx5aq3.js → model-q2dmbysw.js} +7 -7
- package/dist/chunks/{schema-q42tzrxa.js → model-q42tzrxa.js} +1 -1
- package/dist/chunks/{schema-5xdgvpxd.js → model-q7srkfd6.js} +3 -3
- package/dist/chunks/{schema-9f3jsh1d.js → model-qh5g3qaw.js} +5 -5
- package/dist/chunks/model-qmh7vbk2.js +18 -0
- package/dist/chunks/{schema-qp7r0hxv.js → model-qp7r0hxv.js} +1 -1
- package/dist/chunks/{schema-hwh4ncss.js → model-qqsn6hfp.js} +5 -5
- package/dist/chunks/{schema-4bxhh7h8.js → model-qxr7hnvj.js} +13 -13
- package/dist/chunks/{schema-j9jvns0x.js → model-qy0mvb3m.js} +27 -27
- package/dist/chunks/{schema-zs5ctna9.js → model-qzwa5pge.js} +8 -8
- package/dist/chunks/{schema-ae1yse5b.js → model-r14wyr3w.js} +8 -8
- package/dist/chunks/model-r3p2wjdh.js +26 -0
- package/dist/chunks/{schema-4f25tdd0.js → model-r542h3bh.js} +5 -5
- package/dist/chunks/{schema-wea2fgd6.js → model-r5a4enwn.js} +8 -8
- package/dist/chunks/{schema-v68s1kbg.js → model-r70fc8q7.js} +16 -16
- package/dist/chunks/{schema-9zg392cc.js → model-r7p2nbf1.js} +18 -18
- package/dist/chunks/{schema-20x9eck3.js → model-r90z6zhq.js} +40 -40
- package/dist/chunks/{schema-yx7jjv83.js → model-ra34yqmw.js} +6 -6
- package/dist/chunks/{schema-t570dzwf.js → model-raamw8fs.js} +18 -18
- package/dist/chunks/{schema-rb9dy4dg.js → model-rb9dy4dg.js} +1 -1
- package/dist/chunks/{schema-6wghq4dw.js → model-rcsbmygy.js} +25 -25
- package/dist/chunks/{schema-2tw700xj.js → model-remxw044.js} +1 -1
- package/dist/chunks/{schema-rgc9cx3e.js → model-rgc9cx3e.js} +2 -2
- package/dist/chunks/{schema-px7qpgcn.js → model-rj7j5fvs.js} +4 -4
- package/dist/chunks/{schema-11v4pf0y.js → model-rjc0e4t0.js} +20 -20
- package/dist/chunks/{schema-rt5dr6hb.js → model-rt5dr6hb.js} +1 -1
- package/dist/chunks/{schema-q69ep0st.js → model-rt912mbg.js} +25 -25
- package/dist/chunks/{schema-4a6v035m.js → model-rtkfrg4c.js} +17 -17
- package/dist/chunks/{schema-7s71rvzj.js → model-rvmghfg9.js} +12 -12
- package/dist/chunks/{schema-sg6pcgfg.js → model-ryr33a7c.js} +17 -17
- package/dist/chunks/{schema-2a9gbc7r.js → model-s5va80fv.js} +17 -17
- package/dist/chunks/{schema-02hqzv7v.js → model-s65cmm33.js} +45 -45
- package/dist/chunks/{schema-5bevz5wx.js → model-s8fvhn4h.js} +4 -4
- package/dist/chunks/{schema-sbya78hr.js → model-sbya78hr.js} +1 -1
- package/dist/chunks/{schema-anvcme1c.js → model-sf9y72b7.js} +4 -4
- package/dist/chunks/{schema-hd6esjpp.js → model-sphvsfsr.js} +10 -10
- package/dist/chunks/{schema-4f0zf85j.js → model-ss0ndc15.js} +10 -10
- package/dist/chunks/{schema-4vzr2b15.js → model-stbett4v.js} +3 -3
- package/dist/chunks/{schema-hetg91zk.js → model-stmzw2v7.js} +5 -5
- package/dist/chunks/{schema-svcy3p9a.js → model-svcy3p9a.js} +1 -1
- package/dist/chunks/{schema-tbpn7jtk.js → model-tbpn7jtk.js} +1 -1
- package/dist/chunks/{schema-tczq8hjw.js → model-tczq8hjw.js} +1 -1
- package/dist/chunks/{schema-cwzxgq4r.js → model-tevveh3n.js} +35 -35
- package/dist/chunks/{schema-tg7s7b5t.js → model-tg7s7b5t.js} +1 -1
- package/dist/chunks/{schema-7d7ft0wg.js → model-tjk7q11w.js} +13 -13
- package/dist/chunks/{schema-s2m8shgg.js → model-tktfk7r3.js} +10 -10
- package/dist/chunks/{schema-tr8x705m.js → model-tr8x705m.js} +1 -1
- package/dist/chunks/{schema-nkjg7sax.js → model-ttmm5gr6.js} +10 -10
- package/dist/chunks/{schema-4p8b0s43.js → model-tvbp6ax4.js} +15 -15
- package/dist/chunks/{schema-tvtps2q9.js → model-tvtps2q9.js} +1 -1
- package/dist/chunks/{schema-twssxy5n.js → model-twssxy5n.js} +2 -2
- package/dist/chunks/{schema-2zcmn93b.js → model-tyycnx8n.js} +50 -50
- package/dist/chunks/{schema-v2r1d0zg.js → model-v2r1d0zg.js} +1 -1
- package/dist/chunks/{schema-4t0fvyck.js → model-v3d8wtdt.js} +10 -10
- package/dist/chunks/{schema-ttyacz3n.js → model-v6zdqbgs.js} +18 -18
- package/dist/chunks/{schema-xrxq5n47.js → model-v727gcv0.js} +9 -9
- package/dist/chunks/{schema-smy7v48d.js → model-v82zsv82.js} +8 -8
- package/dist/chunks/{schema-gc7y5amy.js → model-vcsx8vbf.js} +7 -7
- package/dist/chunks/{schema-vjf35v1f.js → model-vjf35v1f.js} +1 -1
- package/dist/chunks/{schema-4ya4zdjh.js → model-vkq56ka5.js} +21 -21
- package/dist/chunks/{schema-vvppee7m.js → model-vqq0nw69.js} +16 -16
- package/dist/chunks/{schema-vpq88xaq.js → model-vsa1az0w.js} +16 -16
- package/dist/chunks/{schema-22pyhvsf.js → model-vwm6fdyp.js} +30 -30
- package/dist/chunks/{schema-ywshbe5e.js → model-vzmn4kft.js} +28 -28
- package/dist/chunks/{schema-w2eysc6j.js → model-w2eysc6j.js} +2 -2
- package/dist/chunks/{schema-fq7vbn4s.js → model-w2vzp9j5.js} +9 -9
- package/dist/chunks/{schema-f1b6qn1g.js → model-w392gvqw.js} +8 -8
- package/dist/chunks/{schema-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-k9xamp5p.js → model-w5pqf8b7.js} +31 -31
- package/dist/chunks/{schema-bybfhncg.js → model-w6vg8qxy.js} +5 -5
- package/dist/chunks/{schema-wakvkjy4.js → model-wakvkjy4.js} +1 -1
- package/dist/chunks/{schema-h78vwvm2.js → model-wcxqhytp.js} +7 -7
- package/dist/chunks/{schema-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{schema-nx4vzyjd.js → model-wegkxhrn.js} +2 -2
- package/dist/chunks/{schema-kr0h39da.js → model-wezrjeyh.js} +15 -15
- package/dist/chunks/{schema-jg11hrrc.js → model-wfdx5ztx.js} +4 -4
- package/dist/chunks/{schema-fdx8q17g.js → model-wprv5e0c.js} +9 -9
- package/dist/chunks/{schema-w687dnns.js → model-wr3re1en.js} +4 -4
- package/dist/chunks/{schema-bmzbb9x5.js → model-wr7bjqf6.js} +10 -10
- package/dist/chunks/{schema-c7cw818c.js → model-wt99tj4q.js} +5 -5
- package/dist/chunks/{schema-6x982fjf.js → model-wznk9vg6.js} +19 -19
- package/dist/chunks/{schema-cqexwvrh.js → model-x0afmz69.js} +5 -5
- package/dist/chunks/{schema-n3nmssvp.js → model-x41w2g5z.js} +19 -19
- package/dist/chunks/{schema-40gwjjsw.js → model-x70req0v.js} +42 -42
- package/dist/chunks/{schema-2b40rs3n.js → model-x9sa2vw4.js} +22 -22
- package/dist/chunks/{schema-xezdzwfx.js → model-xc08sm7v.js} +12 -12
- package/dist/chunks/{schema-859w1rtj.js → model-xjbsd7zy.js} +9 -9
- package/dist/chunks/{schema-e1tser6y.js → model-xmd1xbsv.js} +10 -10
- package/dist/chunks/{schema-1a3fcb7v.js → model-xsgzmtt3.js} +21 -21
- package/dist/chunks/{schema-n320gsn2.js → model-xvn8mnch.js} +4 -4
- package/dist/chunks/{schema-n1jbxack.js → model-xxrnkfxa.js} +3 -3
- package/dist/chunks/{schema-xxschbft.js → model-xxschbft.js} +1 -1
- package/dist/chunks/{schema-y45hqcp7.js → model-xy5k248r.js} +13 -13
- package/dist/chunks/{schema-xz07m27x.js → model-xz07m27x.js} +2 -2
- package/dist/chunks/model-y32xxt00.js +16 -0
- package/dist/chunks/{schema-yb20nhc3.js → model-yb20nhc3.js} +1 -1
- package/dist/chunks/{schema-wwrejvzt.js → model-yb81b84g.js} +17 -17
- package/dist/chunks/{schema-r67xp73y.js → model-yd6kjv4n.js} +26 -26
- package/dist/chunks/{schema-c5q2xc2q.js → model-ymkf5gg0.js} +11 -11
- package/dist/chunks/{schema-yr705xyq.js → model-yr705xyq.js} +1 -1
- package/dist/chunks/{schema-1araq4vk.js → model-yv7gfeb1.js} +22 -22
- package/dist/chunks/{schema-yvtc2x31.js → model-yvtc2x31.js} +1 -1
- package/dist/chunks/{schema-nkpjx6f9.js → model-yy1xpgfn.js} +6 -6
- package/dist/chunks/{schema-rqmqphdk.js → model-z2hjnym5.js} +79 -79
- package/dist/chunks/{schema-vre17ymf.js → model-z3nw929v.js} +9 -9
- package/dist/chunks/{schema-2y59be07.js → model-z5td0z29.js} +20 -20
- package/dist/chunks/{schema-49h8eg1d.js → model-z9prk17z.js} +18 -18
- package/dist/chunks/{schema-7vcgbxq3.js → model-z9y0h9gf.js} +9 -9
- package/dist/chunks/{schema-2pnarb80.js → model-zdtdjee6.js} +13 -13
- package/dist/chunks/{schema-j9nxzz3g.js → model-ze75qvmd.js} +3 -3
- package/dist/chunks/{schema-r0ftmkk6.js → model-zp38z90p.js} +5 -5
- package/dist/chunks/{schema-2dw474gn.js → model-zqv6p0j7.js} +22 -22
- package/dist/chunks/{schema-rjtcs3g0.js → model-zvp1emq8.js} +22 -22
- package/dist/chunks/{schema-a2t722ra.js → model-zy7n64tq.js} +4 -4
- package/dist/chunks/{schema-mh84av5k.js → model-zz2c832q.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +441 -441
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +160 -160
- 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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +135 -135
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- 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 +112 -112
- 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/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- package/dist/location-activity.js +180 -180
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +410 -410
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +131 -131
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +247 -247
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +152 -152
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +142 -142
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +169 -169
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +244 -244
- package/dist/session/usage.js +3 -3
- package/dist/session.js +239 -239
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +106 -106
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +245 -245
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +169 -169
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +239 -239
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/schema-365eavge.js +0 -16
- package/dist/chunks/schema-7yv5xa0k.js +0 -18
- package/dist/chunks/schema-eqvg8de0.js +0 -26
- package/dist/chunks/schema-v18tez6e.js +0 -273
- /package/dist/chunks/{schema-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-108x4f4w.js → model-108x4f4w.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kah00gy.js → model-1kah00gy.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3af0jn4w.js → model-3af0jn4w.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4qk9sjk2.js → model-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5w3e23ze.js → model-5w3e23ze.js} +0 -0
- /package/dist/chunks/{schema-6agm2x70.js → model-6agm2x70.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-beh6qq61.js → model-beh6qq61.js} +0 -0
- /package/dist/chunks/{schema-bhmrqjy3.js → model-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cqv5kn06.js → model-cqv5kn06.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-ean2d8b5.js → model-ean2d8b5.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fkpq3x5p.js → model-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jwr30sdr.js → model-jwr30sdr.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-nh4v3znn.js → model-nh4v3znn.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-p71gwv9c.js → model-p71gwv9c.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-syrav9an.js → model-syrav9an.js} +0 -0
- /package/dist/chunks/{schema-t03h4f5z.js → model-t03h4f5z.js} +0 -0
- /package/dist/chunks/{schema-ty7weeps.js → model-ty7weeps.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-vtarvj67.js → model-vtarvj67.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x4th4bpe.js → model-x4th4bpe.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-z0h12gs8.js → model-z0h12gs8.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → model-z9919s4g.js} +0 -0
- /package/dist/chunks/{schema-zxpyjp51.js → model-zxpyjp51.js} +0 -0
- /package/dist/chunks/{schema-zz5vv3aq.js → model-zz5vv3aq.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service94,
|
|
6
6
|
node96
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-s8fvhn4h.js";
|
|
8
8
|
import {
|
|
9
9
|
Service93,
|
|
10
10
|
node95
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-6apf8frj.js";
|
|
12
12
|
import {
|
|
13
13
|
Service92,
|
|
14
14
|
node94
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-ahenw0f4.js";
|
|
16
16
|
import {
|
|
17
17
|
ID22,
|
|
18
18
|
Current3,
|
|
@@ -20,20 +20,20 @@ import {
|
|
|
20
20
|
UpdateInput5,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/shared-cache.ts
|
|
6
6
|
var exports_shared_cache = {};
|
|
7
7
|
__export(exports_shared_cache, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service48,
|
|
9
9
|
SharedCache: () => exports_shared_cache,
|
|
10
10
|
fingerprint: () => fingerprint2,
|
|
11
11
|
interval: () => interval2,
|
|
12
|
-
node: () =>
|
|
12
|
+
node: () => node50,
|
|
13
13
|
transient: () => transient2
|
|
14
14
|
});
|
|
15
15
|
import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
|
|
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
|
|
|
18
18
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
var interval2 = Duration.minutes(10);
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class Service48 extends Context.Service()("@opencode/SharedCache") {
|
|
22
22
|
}
|
|
23
23
|
var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
|
|
24
24
|
var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
|
|
25
25
|
var unread = Duration.toMillis(Duration.hours(24));
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
27
27
|
const run = yield* FiberSet.makeRuntime();
|
|
28
28
|
const entries = new Map;
|
|
29
29
|
const start = Effect.fnUntraced(function* (key, entry, load) {
|
|
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
59
59
|
}))));
|
|
60
60
|
return yield* Fiber.join(entry.loading);
|
|
61
61
|
});
|
|
62
|
-
return
|
|
62
|
+
return Service48.of({ get });
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node50 = makeGlobalNode({ service: Service48, layer, deps: [] });
|
|
65
65
|
|
|
66
|
-
export { interval2,
|
|
66
|
+
export { interval2, Service48, fingerprint2, transient2, node50, exports_shared_cache };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-s8fvhn4h.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID12,
|
|
17
|
+
Info: () => Info15,
|
|
18
18
|
NotFoundError: () => NotFoundError11,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service74,
|
|
21
|
+
node: () => node75
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID12 = PermissionSaved.ID;
|
|
29
|
+
var Info15 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
31
|
class NotFoundError11 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
-
id:
|
|
32
|
+
id: ID12
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID12,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service74 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service94).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID12.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service74.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node75 = makeGlobalNode({ service: Service74, layer, deps: [node96] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID12, Info15, NotFoundError11, ConflictError2, Service74, node75, exports_saved };
|
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-0hc5b915.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID18,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-a5rej8c4.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-xvn8mnch.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID17,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-qy0mvb3m.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
ID16
|
|
21
|
+
} from "./model-3k9a42wj.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make33
|
|
26
|
+
} from "./model-j1zpf99x.js";
|
|
27
27
|
import {
|
|
28
28
|
Service79
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-33gwp74t.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-tjk7q11w.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service54
|
|
36
|
+
} from "./model-vkq56ka5.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-hvfme911.js";
|
|
40
40
|
import {
|
|
41
41
|
defaultServer2,
|
|
42
42
|
server2,
|
|
43
43
|
headers2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./model-kt3bjfbg.js";
|
|
45
45
|
import {
|
|
46
46
|
File2,
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
47
|
+
Service66
|
|
48
|
+
} from "./model-4e2mfesz.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
Service48
|
|
51
|
+
} from "./model-6es1dp4c.js";
|
|
52
52
|
import {
|
|
53
53
|
isSafeSegment2,
|
|
54
54
|
isSafeRelativePath2
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./model-xjbsd7zy.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
ID6,
|
|
58
|
+
Input15,
|
|
59
59
|
Response2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./model-w5pqf8b7.js";
|
|
61
61
|
import {
|
|
62
62
|
header2,
|
|
63
|
-
|
|
64
|
-
} from "./
|
|
63
|
+
make19
|
|
64
|
+
} from "./model-bffykna6.js";
|
|
65
65
|
import {
|
|
66
66
|
onSwitch2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./model-q2dmbysw.js";
|
|
68
68
|
|
|
69
69
|
// src/plugin/provider/opencode.ts
|
|
70
70
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -132,7 +132,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
132
132
|
}
|
|
133
133
|
function oauth(http) {
|
|
134
134
|
return {
|
|
135
|
-
integrationID:
|
|
135
|
+
integrationID: ID17.make("opencode"),
|
|
136
136
|
method: {
|
|
137
137
|
id: methodID,
|
|
138
138
|
type: "oauth",
|
|
@@ -200,9 +200,9 @@ var OpencodePlugin2 = define({
|
|
|
200
200
|
const client = yield* HttpClient.HttpClient;
|
|
201
201
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
202
202
|
const config = yield* Service79;
|
|
203
|
-
const discovery = yield*
|
|
204
|
-
const skills = yield*
|
|
205
|
-
const cache = yield*
|
|
203
|
+
const discovery = yield* Service66;
|
|
204
|
+
const skills = yield* Service54;
|
|
205
|
+
const cache = yield* Service48;
|
|
206
206
|
const scope = yield* Scope.Scope;
|
|
207
207
|
const loading = Semaphore.makeUnsafe(1);
|
|
208
208
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -212,7 +212,7 @@ var OpencodePlugin2 = define({
|
|
|
212
212
|
const skillDownload = yield* FiberHandle.make();
|
|
213
213
|
let reported;
|
|
214
214
|
let explainers = [];
|
|
215
|
-
const watches = yield*
|
|
215
|
+
const watches = yield* make19(ctx, http);
|
|
216
216
|
const load = Effect.fn("OpencodePlugin.load")(function* (maxAge = Duration.minutes(1)) {
|
|
217
217
|
const connection = yield* ctx.integration.connection.active("opencode");
|
|
218
218
|
if (!connection) {
|
|
@@ -250,13 +250,13 @@ var OpencodePlugin2 = define({
|
|
|
250
250
|
});
|
|
251
251
|
let integrated;
|
|
252
252
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
253
|
-
yield* config.integration?.(
|
|
254
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
253
|
+
yield* config.integration?.(ID17.make("opencode"), document) ?? Effect.void;
|
|
254
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID17.make("opencode"));
|
|
255
255
|
});
|
|
256
256
|
const publish = Effect.fnUntraced(function* (next) {
|
|
257
|
-
const document = next.remote && next.connection &&
|
|
258
|
-
integrationID:
|
|
259
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
257
|
+
const document = next.remote && next.connection && make33({
|
|
258
|
+
integrationID: ID17.make("opencode"),
|
|
259
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID18.make(next.connection.id) } : next.connection,
|
|
260
260
|
organization: next.organization,
|
|
261
261
|
info: next.remote
|
|
262
262
|
});
|
|
@@ -319,7 +319,7 @@ var OpencodePlugin2 = define({
|
|
|
319
319
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
320
320
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
321
321
|
const server = yield* normalizeServer(server2(credential));
|
|
322
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
322
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
323
323
|
query: input.query,
|
|
324
324
|
providerID
|
|
325
325
|
}));
|
|
@@ -347,7 +347,7 @@ var OpencodePlugin2 = define({
|
|
|
347
347
|
integrate2(providers, integrated);
|
|
348
348
|
});
|
|
349
349
|
yield* ctx.provider.transform((providers) => {
|
|
350
|
-
const item = providers.get(
|
|
350
|
+
const item = providers.get(ID16.opencode);
|
|
351
351
|
if (!item)
|
|
352
352
|
return;
|
|
353
353
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -359,7 +359,7 @@ var OpencodePlugin2 = define({
|
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
361
|
yield* ctx.model.transform((models) => {
|
|
362
|
-
const item = models.provider.get(
|
|
362
|
+
const item = models.provider.get(ID16.opencode);
|
|
363
363
|
if (!item)
|
|
364
364
|
return;
|
|
365
365
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -374,7 +374,7 @@ var OpencodePlugin2 = define({
|
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
376
|
yield* ctx.websearch.transform((editor) => {
|
|
377
|
-
const provider =
|
|
377
|
+
const provider = ID6.make("opencode");
|
|
378
378
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
379
379
|
editor.add(search(provider, snapshot.connection));
|
|
380
380
|
});
|
|
@@ -413,7 +413,7 @@ var OpencodePlugin2 = define({
|
|
|
413
413
|
});
|
|
414
414
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
415
415
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
416
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
416
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID16.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
417
417
|
});
|
|
418
418
|
yield* guard(snapshot);
|
|
419
419
|
const polling = yield* FiberHandle.make();
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-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,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service73
|
|
7
|
+
} from "./model-09zcjbp5.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/webfetch.ts
|
|
20
20
|
var exports_webfetch = {};
|
|
21
21
|
__export(exports_webfetch, {
|
|
22
22
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input14,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
25
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin35,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description6,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name14
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
38
|
+
var name14 = "webfetch";
|
|
39
39
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
42
|
-
var
|
|
42
|
+
var description6 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
43
43
|
|
|
44
44
|
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.`;
|
|
45
45
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
46
|
-
var
|
|
46
|
+
var Input14 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input2 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input14.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
|
|
|
119
119
|
return extractTextFromHTML2(content);
|
|
120
120
|
return content;
|
|
121
121
|
};
|
|
122
|
-
var
|
|
122
|
+
var Plugin35 = {
|
|
123
123
|
id: "opencode.tool.webfetch",
|
|
124
124
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
125
125
|
const http = yield* HttpClient.HttpClient;
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service73;
|
|
127
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
128
|
-
name:
|
|
128
|
+
name: name14,
|
|
129
129
|
options: { codemode: false },
|
|
130
|
-
description:
|
|
131
|
-
input:
|
|
130
|
+
description: description6,
|
|
131
|
+
input: Input14,
|
|
132
132
|
output: Output,
|
|
133
133
|
execute: (input, context) => Effect.gen(function* () {
|
|
134
134
|
const url = input.url.split("#")[0];
|
|
@@ -137,7 +137,7 @@ var Plugin3 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name14,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin3 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name14,
|
|
149
149
|
resources: [next],
|
|
150
150
|
metadata: { ...input, url: next },
|
|
151
151
|
...invocation2(context)
|
|
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
|
|
|
199
199
|
parser.end();
|
|
200
200
|
return text.trim();
|
|
201
201
|
}
|
|
202
|
-
export {
|
|
202
|
+
export { name14, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description6, Input14, MAX_REDIRECTS2, Plugin35, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-6apf8frj.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
Service90,
|
|
10
10
|
node92
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-pkg4x22g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service65,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node66
|
|
16
|
+
} from "./model-zqv6p0j7.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput4,
|
|
25
|
+
Event: () => Event5,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID7,
|
|
28
|
+
Info: () => Info8,
|
|
29
|
+
NotFoundError: () => NotFoundError4,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service27,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node30
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event5 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID7 = Pty.ID;
|
|
43
|
+
var Info8 = Pty.Info;
|
|
44
|
+
var CreateInput4 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID7
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID7
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service27 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service93;
|
|
61
61
|
const location = yield* Service90;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service65;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID7.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -255,12 +255,12 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
257
|
});
|
|
258
|
-
return
|
|
258
|
+
return Service27.of({ list, get, create, update, remove, write, attach });
|
|
259
259
|
}));
|
|
260
|
-
var
|
|
261
|
-
service:
|
|
260
|
+
var node30 = makeLocationNode({
|
|
261
|
+
service: Service27,
|
|
262
262
|
layer,
|
|
263
|
-
deps: [node95, node92,
|
|
263
|
+
deps: [node95, node92, node66]
|
|
264
264
|
});
|
|
265
265
|
|
|
266
|
-
export {
|
|
266
|
+
export { ID7, Info8, CreateInput4, UpdateInput2, NotFoundError4, ExitedError2, Service27, node30, exports_pty, Event5 };
|