@opencode/core 0.0.0-dev-465 → 0.0.0-dev-468
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 +7 -7
- package/dist/artifact.js +246 -246
- package/dist/bus.js +80 -80
- package/dist/chunks/{shell-ejaf3aea.js → tool-output-003nb3x9.js} +6 -6
- package/dist/chunks/{shell-034tev2y.js → tool-output-034tev2y.js} +2 -2
- package/dist/chunks/{shell-manxzwyw.js → tool-output-0f7cqh9y.js} +24 -24
- package/dist/chunks/{shell-v502p7z6.js → tool-output-0g084y6g.js} +9 -9
- package/dist/chunks/{shell-0ma9gw4f.js → tool-output-0ma9gw4f.js} +2 -2
- package/dist/chunks/{shell-k0harkkt.js → tool-output-0mncc170.js} +7 -7
- package/dist/chunks/{shell-ga0hwpmj.js → tool-output-0qn973hg.js} +47 -47
- package/dist/chunks/{shell-0rfpy0ry.js → tool-output-0w5jtxws.js} +4 -4
- package/dist/chunks/{shell-kb2zgvc1.js → tool-output-10xvpzbz.js} +11 -11
- package/dist/chunks/{shell-94sdk5nw.js → tool-output-15x6q7ay.js} +28 -28
- package/dist/chunks/{shell-1aqsckx4.js → tool-output-1aqsckx4.js} +1 -1
- package/dist/chunks/{shell-bkvw770v.js → tool-output-1dzaet6x.js} +32 -32
- package/dist/chunks/{shell-1ep2p91f.js → tool-output-1ep2p91f.js} +2 -2
- package/dist/chunks/{shell-ts4hehzs.js → tool-output-1k3fpg92.js} +13 -13
- package/dist/chunks/{shell-jjvvtnfs.js → tool-output-1q07fp1w.js} +4 -4
- package/dist/chunks/{shell-msd2a3qm.js → tool-output-1v2g13eq.js} +4 -4
- package/dist/chunks/{shell-f341sazs.js → tool-output-1vbrkdbs.js} +3 -3
- package/dist/chunks/{shell-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-p7vhpwh8.js → tool-output-1yq9hg58.js} +5 -5
- package/dist/chunks/{shell-4p3w35h1.js → tool-output-1zyreaf5.js} +5 -5
- package/dist/chunks/{shell-jrza9z9p.js → tool-output-20f8tgrs.js} +77 -77
- package/dist/chunks/{shell-pnwsrq7c.js → tool-output-233argac.js} +8 -8
- package/dist/chunks/{shell-040p24pd.js → tool-output-24e6ax7n.js} +28 -28
- package/dist/chunks/{shell-8b3vzgkx.js → tool-output-25h84942.js} +4 -4
- package/dist/chunks/{shell-htwf7p98.js → tool-output-26b1y7rt.js} +18 -18
- package/dist/chunks/{shell-tqe31r73.js → tool-output-2mekcvss.js} +24 -33
- package/dist/chunks/{shell-6d36eb51.js → tool-output-2mjf8t6w.js} +15 -15
- package/dist/chunks/{shell-5jm7ma5d.js → tool-output-2mn1j6hz.js} +8 -8
- package/dist/chunks/{shell-vawa39yd.js → tool-output-2p0swzms.js} +6 -6
- package/dist/chunks/{shell-2p60zmnr.js → tool-output-2p60zmnr.js} +2 -2
- package/dist/chunks/{shell-2vvqd5b2.js → tool-output-2wxwzjqh.js} +19 -19
- package/dist/chunks/{shell-jtbhy41n.js → tool-output-34mdyaah.js} +20 -20
- package/dist/chunks/{shell-sf9y72b7.js → tool-output-38aws4xb.js} +4 -4
- package/dist/chunks/{shell-3syq9mvg.js → tool-output-3d7bg7jv.js} +21 -21
- package/dist/chunks/{shell-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-g44xe0cc.js → tool-output-3hgz1z2m.js} +10 -10
- package/dist/chunks/{shell-aqc52x8j.js → tool-output-3jc4acfe.js} +21 -21
- package/dist/chunks/{shell-ke6gn2q4.js → tool-output-3n7vn1tw.js} +21 -21
- package/dist/chunks/{shell-3nnrz6f6.js → tool-output-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shell-98d2pk7v.js → tool-output-3vgty9hw.js} +29 -29
- package/dist/chunks/{shell-dcz55bfx.js → tool-output-3wyhrqfb.js} +8 -8
- package/dist/chunks/{shell-40y6dtc2.js → tool-output-40y6dtc2.js} +1 -1
- package/dist/chunks/{shell-r41sfy63.js → tool-output-40za9wsf.js} +6 -6
- package/dist/chunks/{shell-44pmzq9c.js → tool-output-44pmzq9c.js} +2 -2
- package/dist/chunks/{shell-4d2dtj2f.js → tool-output-4d2dtj2f.js} +1 -1
- package/dist/chunks/{shell-4dx1dgte.js → tool-output-4dx1dgte.js} +1 -1
- package/dist/chunks/{shell-4f25tdd0.js → tool-output-4f25tdd0.js} +1 -1
- package/dist/chunks/{shell-4pyp9zr9.js → tool-output-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shell-65f73r4q.js → tool-output-4q33662b.js} +17 -17
- package/dist/chunks/{shell-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-k06jk51w.js → tool-output-4ze21y5e.js} +20 -20
- package/dist/chunks/{shell-b1vrvztg.js → tool-output-56pf6jzp.js} +8 -8
- package/dist/chunks/{shell-d4jcffkv.js → tool-output-58ep7nm1.js} +30 -30
- package/dist/chunks/{shell-h8sr682c.js → tool-output-5bkchar3.js} +36 -36
- package/dist/chunks/{shell-pahpqhen.js → tool-output-5cne3tjk.js} +32 -32
- package/dist/chunks/{shell-4rp3htw6.js → tool-output-5cvxvtjb.js} +15 -15
- package/dist/chunks/{shell-q6yya7b3.js → tool-output-5ebw3s4g.js} +5 -5
- package/dist/chunks/{shell-2474mxpw.js → tool-output-5ftq3225.js} +5 -5
- package/dist/chunks/{shell-p567ah5p.js → tool-output-5gvc3re6.js} +32 -32
- package/dist/chunks/{shell-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-nah5rrgf.js → tool-output-5mhm4vfj.js} +25 -25
- package/dist/chunks/{shell-545zmj2x.js → tool-output-5n09j8yg.js} +7 -7
- package/dist/chunks/{shell-nxgpjp9m.js → tool-output-5t6r72gb.js} +12 -12
- package/dist/chunks/{shell-dy2c8wap.js → tool-output-60869ztc.js} +3 -3
- package/dist/chunks/{shell-yts2a8qm.js → tool-output-67wwskyb.js} +4 -4
- package/dist/chunks/{shell-mmztn61e.js → tool-output-694pnq3x.js} +3 -27
- package/dist/chunks/{shell-82k3xms4.js → tool-output-69mqj339.js} +16 -16
- package/dist/chunks/{shell-6d0d1q6g.js → tool-output-6d0d1q6g.js} +4 -4
- package/dist/chunks/{shell-raekntxf.js → tool-output-6v0patxj.js} +26 -26
- package/dist/chunks/{shell-7xbhdkrc.js → tool-output-6x3ndttp.js} +4 -4
- package/dist/chunks/{shell-7421h3wj.js → tool-output-6xskjdg4.js} +7 -7
- package/dist/chunks/{shell-m4htaz91.js → tool-output-6y88akds.js} +9 -9
- package/dist/chunks/{shell-5g4wyt45.js → tool-output-76293m8w.js} +40 -40
- package/dist/chunks/{shell-76cb1hcw.js → tool-output-76cb1hcw.js} +1 -1
- package/dist/chunks/{shell-eja4146r.js → tool-output-784aez8k.js} +8 -8
- package/dist/chunks/{shell-pbd184me.js → tool-output-78hmycys.js} +6 -6
- package/dist/chunks/{shell-79k544d0.js → tool-output-79k544d0.js} +1 -1
- package/dist/chunks/{shell-qad793ts.js → tool-output-7bdqzxt9.js} +6 -6
- package/dist/chunks/{shell-r6p171n0.js → tool-output-7bf7hj9s.js} +13 -13
- package/dist/chunks/{shell-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-a2tfhpat.js → tool-output-7fc9d4g7.js} +12 -12
- package/dist/chunks/{shell-dpzrt5dr.js → tool-output-7fv8psxd.js} +9 -9
- package/dist/chunks/{shell-vw6qznfc.js → tool-output-7jewgrz3.js} +3 -3
- package/dist/chunks/{shell-n7ydet6g.js → tool-output-7jm9ds1n.js} +18 -18
- package/dist/chunks/{shell-7kr66rt3.js → tool-output-7kr66rt3.js} +1 -1
- package/dist/chunks/{shell-ryrymzcp.js → tool-output-7m6c0hj2.js} +11 -11
- package/dist/chunks/{shell-cvjvzdz5.js → tool-output-7qk9epd7.js} +44 -53
- package/dist/chunks/{shell-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-7weczvnd.js → tool-output-7weczvnd.js} +1 -1
- package/dist/chunks/{shell-gr5zcj6j.js → tool-output-7whn3c9q.js} +14 -14
- package/dist/chunks/{shell-80mg3ag8.js → tool-output-80mg3ag8.js} +3 -3
- package/dist/chunks/{shell-89287pr7.js → tool-output-89287pr7.js} +1 -1
- package/dist/chunks/{shell-hepdz7ts.js → tool-output-8gjkw0js.js} +10 -10
- package/dist/chunks/{shell-yxf516kp.js → tool-output-8r9v0q4w.js} +15 -15
- package/dist/chunks/{shell-8sxe6kv8.js → tool-output-8sxe6kv8.js} +2 -2
- package/dist/chunks/{shell-8wjgamp7.js → tool-output-8wjgamp7.js} +3 -3
- package/dist/chunks/{shell-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shell-90zstvax.js → tool-output-90zstvax.js} +1 -1
- package/dist/chunks/{shell-w49gkjv3.js → tool-output-93fxe9zc.js} +35 -35
- package/dist/chunks/{shell-9ntfe833.js → tool-output-963hk181.js} +9 -9
- package/dist/chunks/{shell-2jke7tr0.js → tool-output-98sn12ya.js} +11 -11
- package/dist/chunks/{shell-y5gqt1e1.js → tool-output-9cb2b2x0.js} +21 -21
- package/dist/chunks/{shell-xmhf9056.js → tool-output-9g038b7v.js} +4 -4
- package/dist/chunks/{shell-0kp0wh9k.js → tool-output-9hyv3ajx.js} +17 -17
- package/dist/chunks/{shell-b169bypd.js → tool-output-9q24xs2v.js} +11 -11
- package/dist/chunks/{shell-kdsq4e7s.js → tool-output-a9d80qez.js} +5 -5
- package/dist/chunks/{shell-jx0hjy4h.js → tool-output-a9zrx39y.js} +14 -14
- package/dist/chunks/{shell-zka969pz.js → tool-output-ac2zwpmx.js} +6 -6
- package/dist/chunks/{shell-zkkcbbg7.js → tool-output-adnc1c99.js} +3 -3
- package/dist/chunks/{shell-nv9tsjma.js → tool-output-ag4egyv9.js} +6 -6
- package/dist/chunks/{shell-zrf5e5ze.js → tool-output-aj83cngs.js} +6 -6
- package/dist/chunks/{shell-xewng6rg.js → tool-output-atz91cs9.js} +77 -77
- package/dist/chunks/{shell-ayjs7tqn.js → tool-output-ayjs7tqn.js} +2 -2
- package/dist/chunks/{shell-pkvd7azb.js → tool-output-b00xhfda.js} +7 -7
- package/dist/chunks/{shell-2bsm227b.js → tool-output-b1w7ct0q.js} +9 -9
- package/dist/chunks/{shell-b6vsg801.js → tool-output-b6vsg801.js} +2 -2
- package/dist/chunks/{shell-dpgr420w.js → tool-output-ba7dfhfp.js} +8 -8
- package/dist/chunks/{shell-5v64kr5e.js → tool-output-bh8w17xh.js} +16 -16
- package/dist/chunks/{shell-5n0rnk8e.js → tool-output-bhfd478d.js} +4 -4
- package/dist/chunks/{shell-bstexjd6.js → tool-output-bstexjd6.js} +1 -1
- package/dist/chunks/{shell-nxad7th9.js → tool-output-bterja0n.js} +5 -5
- package/dist/chunks/{shell-35csqt1p.js → tool-output-c9zhd1c6.js} +2 -2
- package/dist/chunks/{shell-1zjhez7w.js → tool-output-cat0vb1y.js} +17 -17
- package/dist/chunks/{shell-nynymykp.js → tool-output-cbt2qz57.js} +11 -11
- package/dist/chunks/{shell-qrc4x7ag.js → tool-output-cncmn02m.js} +5 -5
- package/dist/chunks/{shell-xmx7xj34.js → tool-output-cpvd08na.js} +4 -4
- package/dist/chunks/{shell-cwrgdav8.js → tool-output-cwrgdav8.js} +2 -2
- package/dist/chunks/{shell-2kedh6bd.js → tool-output-d34c0f98.js} +8 -8
- package/dist/chunks/{shell-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-vt2d6wap.js → tool-output-dg5naf6e.js} +4 -4
- package/dist/chunks/tool-output-dj32dvym.js +261 -0
- package/dist/chunks/{shell-8h2gen7d.js → tool-output-drgga8bz.js} +1 -1
- package/dist/chunks/{shell-dt77769w.js → tool-output-dt77769w.js} +1 -1
- package/dist/chunks/{shell-dm4dg66e.js → tool-output-dvxnt4qw.js} +35 -35
- package/dist/chunks/{shell-dxsywhez.js → tool-output-dxsywhez.js} +1 -1
- package/dist/chunks/{shell-arpffjcf.js → tool-output-e0vqfz96.js} +7 -7
- package/dist/chunks/{shell-yc8a8z71.js → tool-output-e2cspmt5.js} +12 -12
- package/dist/chunks/{shell-j2ad8zaa.js → tool-output-e3d9wnyc.js} +11 -11
- package/dist/chunks/{shell-417c9c9v.js → tool-output-e44hy6kp.js} +8 -8
- package/dist/chunks/{shell-hdccpxfa.js → tool-output-e4befdmj.js} +9 -9
- package/dist/chunks/{shell-e834z07m.js → tool-output-e834z07m.js} +1 -1
- package/dist/chunks/{shell-71qggcd8.js → tool-output-e8sv3ecx.js} +15 -15
- package/dist/chunks/{shell-k5hr4jsm.js → tool-output-eck7g38n.js} +10 -10
- package/dist/chunks/{shell-dzq8zq93.js → tool-output-efk301g8.js} +29 -29
- package/dist/chunks/{shell-we3rxj18.js → tool-output-ej9jn8mj.js} +30 -30
- package/dist/chunks/{shell-f1zqazwd.js → tool-output-ekqb8f4k.js} +12 -12
- package/dist/chunks/{shell-3cxqzb3v.js → tool-output-eqad68fz.js} +19 -19
- package/dist/chunks/{shell-eqw4pqj1.js → tool-output-eqw4pqj1.js} +2 -2
- package/dist/chunks/{shell-4fe1n7tb.js → tool-output-er9xytph.js} +3 -3
- package/dist/chunks/{shell-4mjnw62p.js → tool-output-es1eqkr0.js} +4 -4
- package/dist/chunks/{shell-kj0qyd2n.js → tool-output-ev3m9bcx.js} +11 -11
- package/dist/chunks/{shell-cp5bx62d.js → tool-output-ewdy5g4h.js} +5 -5
- package/dist/chunks/{shell-f529qshs.js → tool-output-ewr5gkwb.js} +10 -10
- package/dist/chunks/tool-output-ezna1kdx.js +18 -0
- package/dist/chunks/{shell-asn5bbr7.js → tool-output-f4317sb4.js} +11 -11
- package/dist/chunks/{shell-et5sv7w6.js → tool-output-fcqh8bpp.js} +30 -30
- package/dist/chunks/{shell-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
- package/dist/chunks/{shell-bpcpdsyz.js → tool-output-ffqz4qa7.js} +12 -12
- package/dist/chunks/{shell-fg9p65nk.js → tool-output-fg9p65nk.js} +2 -2
- package/dist/chunks/{shell-j692gbqm.js → tool-output-fjxgnb22.js} +16 -16
- package/dist/chunks/{shell-8whcgxh6.js → tool-output-fvhkzny2.js} +25 -25
- package/dist/chunks/{shell-w687dnns.js → tool-output-fznmdakp.js} +4 -4
- package/dist/chunks/{shell-kde8bh48.js → tool-output-gb8v6gwe.js} +3 -3
- package/dist/chunks/{shell-gbjdnr5j.js → tool-output-gbjdnr5j.js} +2 -2
- package/dist/chunks/{shell-tcr6nryh.js → tool-output-gdzky9ye.js} +20 -20
- package/dist/chunks/{shell-0k4enc1e.js → tool-output-ggsyfnd7.js} +8 -8
- package/dist/chunks/{shell-tg7s7b5t.js → tool-output-gxs71cxp.js} +4 -4
- package/dist/chunks/{shell-gw8w2ecv.js → tool-output-h4cqsg37.js} +21 -21
- package/dist/chunks/{shell-k4c59awx.js → tool-output-h5bwdsb5.js} +35 -35
- package/dist/chunks/{shell-vcfmjhsk.js → tool-output-h5x6jdbe.js} +21 -21
- package/dist/chunks/{shell-r0c1dw80.js → tool-output-h6qp7cak.js} +7 -7
- package/dist/chunks/{shell-nemnqzpn.js → tool-output-h9hc66h4.js} +4 -4
- package/dist/chunks/{shell-4shxa28k.js → tool-output-he0d9e52.js} +10 -10
- package/dist/chunks/{shell-hpg1pkwy.js → tool-output-hpg1pkwy.js} +1 -1
- package/dist/chunks/{shell-3z256ehv.js → tool-output-hr4kpn3s.js} +12 -12
- package/dist/chunks/{shell-7h7tvtg0.js → tool-output-hretfjjx.js} +2 -2
- package/dist/chunks/{shell-rtq6f36v.js → tool-output-ht9cd5a6.js} +20 -20
- package/dist/chunks/{shell-qz03pvet.js → tool-output-j1fsn7bn.js} +26 -28
- package/dist/chunks/{shell-ywsh2end.js → tool-output-j3rhnfwy.js} +27 -27
- package/dist/chunks/{shell-5qygesq2.js → tool-output-jkrj3e3r.js} +14 -14
- package/dist/chunks/{shell-3xzdqkgk.js → tool-output-jkw133re.js} +8 -8
- package/dist/chunks/{shell-00emjtgf.js → tool-output-jsb54h12.js} +11 -11
- package/dist/chunks/{shell-jtnps1zs.js → tool-output-jtnps1zs.js} +2 -2
- package/dist/chunks/{shell-8d8bpxw1.js → tool-output-jy9vhdfa.js} +13 -13
- package/dist/chunks/{shell-mspp9r7z.js → tool-output-jyzwnaxr.js} +25 -25
- package/dist/chunks/{shell-xmrtptd7.js → tool-output-k0nmr3d0.js} +11 -11
- package/dist/chunks/{shell-xzkyvxr5.js → tool-output-k12c5f6w.js} +19 -19
- package/dist/chunks/{shell-1kabyqnj.js → tool-output-k3gnvwmc.js} +10 -10
- package/dist/chunks/{shell-mh9vmay3.js → tool-output-kfnngk0d.js} +35 -35
- package/dist/chunks/{shell-bf90mjba.js → tool-output-kg500zpr.js} +33 -33
- package/dist/chunks/{shell-tkxh0sy1.js → tool-output-kmysz3kf.js} +59 -59
- package/dist/chunks/{shell-hks1njp6.js → tool-output-krmwacza.js} +23 -23
- package/dist/chunks/{shell-rxrex22c.js → tool-output-krxsh9ks.js} +27 -27
- package/dist/chunks/{shell-kt3bjfbg.js → tool-output-kt3bjfbg.js} +1 -1
- package/dist/chunks/{shell-cjxzecd3.js → tool-output-kv2t3cyj.js} +11 -11
- package/dist/chunks/{shell-kzczzf4v.js → tool-output-kzczzf4v.js} +1 -1
- package/dist/chunks/{shell-m1714858.js → tool-output-m1714858.js} +1 -1
- package/dist/chunks/{shell-3swyf5ws.js → tool-output-m17rt52q.js} +9 -9
- package/dist/chunks/{shell-23gzzjhj.js → tool-output-m2vvefb9.js} +23 -23
- package/dist/chunks/tool-output-m6cfdtf3.js +16 -0
- package/dist/chunks/{shell-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-mb7mbhnz.js → tool-output-mb7mbhnz.js} +3 -3
- package/dist/chunks/{shell-5ddrpwk6.js → tool-output-mbqn2nbf.js} +16 -16
- package/dist/chunks/{shell-1e0m81t0.js → tool-output-mc2p1ws7.js} +25 -25
- package/dist/chunks/{shell-j530dmk3.js → tool-output-mk99ka2e.js} +27 -16
- package/dist/chunks/{shell-tsn86mx2.js → tool-output-mn5s68kz.js} +13 -13
- package/dist/chunks/{shell-0qk5pe9a.js → tool-output-mq4pmep5.js} +17 -17
- package/dist/chunks/{shell-kg11qpg0.js → tool-output-mxnpz060.js} +3 -3
- package/dist/chunks/tool-output-n5wmf7e7.js +26 -0
- package/dist/chunks/{shell-5m3xrn1j.js → tool-output-nd2qx06s.js} +9 -9
- package/dist/chunks/{shell-s2r2pnt0.js → tool-output-nf1q0ebc.js} +49 -49
- package/dist/chunks/{shell-fbrgsmtf.js → tool-output-ngbqbpny.js} +14 -14
- package/dist/chunks/{shell-2bswbpgz.js → tool-output-nn2nd58t.js} +7 -7
- package/dist/chunks/{shell-1ksh4fnr.js → tool-output-nq646sks.js} +27 -27
- package/dist/chunks/{shell-wr41p3w8.js → tool-output-nq8r7s52.js} +5 -5
- package/dist/chunks/{shell-20pht57w.js → tool-output-nr915jn7.js} +4 -4
- package/dist/chunks/{shell-y1havdw8.js → tool-output-nv2c5e9q.js} +2 -2
- package/dist/chunks/{shell-bsvd1v20.js → tool-output-nw1saj90.js} +43 -43
- package/dist/chunks/{shell-9py6bjjz.js → tool-output-nz9pn5jw.js} +15 -15
- package/dist/chunks/{shell-pzaq70q9.js → tool-output-nzaxwfce.js} +30 -30
- package/dist/chunks/{shell-59bwar9d.js → tool-output-nzm9kpg0.js} +51 -51
- package/dist/chunks/{shell-ca63tz3e.js → tool-output-p2sff4ab.js} +17 -17
- package/dist/chunks/{shell-hsnq1va6.js → tool-output-p55ejza0.js} +5 -5
- package/dist/chunks/{shell-00mm7sz0.js → tool-output-pf3vmkke.js} +62 -62
- package/dist/chunks/{shell-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{shell-aemypr0w.js → tool-output-ppbjty95.js} +36 -36
- package/dist/chunks/{shell-1d0ke3en.js → tool-output-pr168ar6.js} +17 -17
- package/dist/chunks/{shell-tt238xjp.js → tool-output-pxv0r0tk.js} +21 -21
- package/dist/chunks/{shell-v79xqr7f.js → tool-output-q3z02may.js} +6 -6
- package/dist/chunks/{shell-mhfmyj0b.js → tool-output-q3z0vr5a.js} +9 -9
- package/dist/chunks/{shell-pag4xfhb.js → tool-output-qa8vg83d.js} +15 -15
- package/dist/chunks/{shell-27am0nxs.js → tool-output-qg6qvrnm.js} +2 -2
- package/dist/chunks/{shell-aa6xdz07.js → tool-output-qgmkp9j8.js} +27 -27
- package/dist/chunks/{shell-1b374rvg.js → tool-output-qhwrm2rz.js} +1 -1
- package/dist/chunks/{shell-hw6pphkn.js → tool-output-qnk9w869.js} +23 -23
- package/dist/chunks/{shell-qp7r0hxv.js → tool-output-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shell-130fytvk.js → tool-output-qpmemebt.js} +2 -2
- package/dist/chunks/{shell-qqvy8y24.js → tool-output-qqvy8y24.js} +1 -1
- package/dist/chunks/{shell-9nfnb3g4.js → tool-output-qrwmr4mb.js} +39 -39
- package/dist/chunks/{shell-4ez7xsyp.js → tool-output-qs0v2njn.js} +4 -4
- package/dist/chunks/{shell-k3cx6fhe.js → tool-output-qsdghx1p.js} +4 -4
- package/dist/chunks/{shell-77t0c3mg.js → tool-output-qyb0apjn.js} +18 -18
- package/dist/chunks/{shell-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shell-ma7ga16t.js → tool-output-rcv43n97.js} +26 -26
- package/dist/chunks/{shell-n7e7s5bj.js → tool-output-rfwkesfc.js} +38 -38
- package/dist/chunks/{shell-1p9ch0x1.js → tool-output-rhte1d85.js} +7 -7
- package/dist/chunks/{shell-rpswk8jh.js → tool-output-rj5f6m6g.js} +20 -20
- package/dist/chunks/{shell-zrhyvfx1.js → tool-output-rk2h67k3.js} +83 -83
- package/dist/chunks/{shell-r1ta80gs.js → tool-output-rk6pkc68.js} +16 -16
- package/dist/chunks/{shell-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shell-8aaze06e.js → tool-output-rv8zvzdc.js} +9 -9
- package/dist/chunks/{shell-h7n1gjdj.js → tool-output-rxmrkyph.js} +21 -21
- package/dist/chunks/{shell-319wad08.js → tool-output-s4kyhetj.js} +3 -3
- package/dist/chunks/{shell-48ehpby2.js → tool-output-s6h1tbfj.js} +15 -15
- package/dist/chunks/{shell-sa3fpqfw.js → tool-output-sa3fpqfw.js} +2 -2
- package/dist/chunks/{shell-sbya78hr.js → tool-output-sbya78hr.js} +1 -1
- package/dist/chunks/{shell-sbz71ybr.js → tool-output-sbz71ybr.js} +1 -1
- package/dist/chunks/{shell-vvmxstq0.js → tool-output-sqj1fmw3.js} +8 -8
- package/dist/chunks/{shell-0j7gp832.js → tool-output-sqjzf8x2.js} +4 -4
- package/dist/chunks/{shell-svcy3p9a.js → tool-output-svcy3p9a.js} +1 -1
- package/dist/chunks/{shell-p76me67c.js → tool-output-syncbfr5.js} +4 -4
- package/dist/chunks/{shell-szwm4crx.js → tool-output-szwm4crx.js} +4 -4
- package/dist/chunks/{shell-h80pa431.js → tool-output-t1c5djej.js} +31 -31
- package/dist/chunks/{shell-6h12g5bh.js → tool-output-t5pccnhe.js} +15 -15
- package/dist/chunks/{shell-9zwexsxs.js → tool-output-t8erkws8.js} +5 -5
- package/dist/chunks/{shell-01cqz7aj.js → tool-output-tcbneg83.js} +54 -54
- package/dist/chunks/{shell-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-v5hpj9dd.js → tool-output-tg1vr1qt.js} +8 -8
- package/dist/chunks/{shell-tbbm7qd5.js → tool-output-th2hp9ev.js} +12 -12
- package/dist/chunks/{shell-am7ta0nf.js → tool-output-tj4hnhpr.js} +31 -31
- package/dist/chunks/{shell-4dvkb29z.js → tool-output-tjm2sr5g.js} +27 -27
- package/dist/chunks/{shell-9q5gq7ze.js → tool-output-tkmbybpd.js} +9 -9
- package/dist/chunks/{shell-v0cx50ys.js → tool-output-tn27k7n2.js} +17 -17
- package/dist/chunks/{shell-27ss26ee.js → tool-output-tpc5s4y5.js} +50 -50
- package/dist/chunks/{shell-tr8x705m.js → tool-output-tr8x705m.js} +1 -1
- package/dist/chunks/{shell-twssxy5n.js → tool-output-twssxy5n.js} +2 -2
- package/dist/chunks/{shell-v2r1d0zg.js → tool-output-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-ebd6f33r.js → tool-output-v74x3na4.js} +7 -7
- package/dist/chunks/{shell-nvj41790.js → tool-output-v77zgkhm.js} +5 -5
- package/dist/chunks/{shell-ybsabavr.js → tool-output-vakqs29q.js} +2 -2
- package/dist/chunks/{shell-23es92k5.js → tool-output-vbthxz0p.js} +15 -15
- package/dist/chunks/{shell-cj70cypp.js → tool-output-vc37r1zq.js} +13 -13
- package/dist/chunks/{shell-c3cdf05z.js → tool-output-veq5jnq3.js} +18 -18
- package/dist/chunks/{shell-vjf35v1f.js → tool-output-vjf35v1f.js} +1 -1
- package/dist/chunks/{shell-gcjdgkn2.js → tool-output-vrcsa8qx.js} +9 -9
- package/dist/chunks/{shell-vq0qa3sh.js → tool-output-vt4r9rmy.js} +9 -9
- package/dist/chunks/{shell-857vb2tx.js → tool-output-vtkgm0rk.js} +4 -4
- package/dist/chunks/{shell-n24xn8vw.js → tool-output-vx0rqq3s.js} +35 -35
- package/dist/chunks/{shell-kdegksg6.js → tool-output-vx8z5gpr.js} +9 -9
- package/dist/chunks/tool-output-vzyjvy19.js +555 -0
- package/dist/chunks/{shell-5w0meyw9.js → tool-output-w2wjze7r.js} +11 -11
- package/dist/chunks/{shell-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-ttpy3t1j.js → tool-output-w5zv77p4.js} +4 -4
- package/dist/chunks/{shell-9q8g9sv8.js → tool-output-w79nt68w.js} +4 -4
- package/dist/chunks/{shell-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{shell-wegkxhrn.js → tool-output-wegkxhrn.js} +2 -2
- package/dist/chunks/{shell-7jry1hfe.js → tool-output-wfmpece2.js} +26 -26
- package/dist/chunks/{shell-8t99kr38.js → tool-output-wfs84ra6.js} +4 -4
- package/dist/chunks/{shell-sfb3jftk.js → tool-output-wk8jtf2z.js} +28 -28
- package/dist/chunks/{shell-effmgbqf.js → tool-output-wmv27f9c.js} +5 -5
- package/dist/chunks/{shell-wnhgecwx.js → tool-output-wnhgecwx.js} +1 -1
- package/dist/chunks/{shell-3b69gpgy.js → tool-output-wshxcgwp.js} +34 -34
- package/dist/chunks/{shell-tan6b1vs.js → tool-output-wt3svnfa.js} +36 -36
- package/dist/chunks/{shell-k8wjfbpq.js → tool-output-wvwgxcbr.js} +43 -43
- package/dist/chunks/{shell-347g12m8.js → tool-output-wwax6h97.js} +21 -21
- package/dist/chunks/{shell-mzm8bzzq.js → tool-output-wws03c5r.js} +4 -4
- package/dist/chunks/{shell-jhvxamvb.js → tool-output-wy9q57d6.js} +10 -10
- package/dist/chunks/{shell-7y2j04q1.js → tool-output-x0tb4wca.js} +7 -7
- package/dist/chunks/{shell-x4mcewfn.js → tool-output-x4mcewfn.js} +2 -2
- package/dist/chunks/{shell-7m9mfsct.js → tool-output-x6613ah8.js} +13 -13
- package/dist/chunks/{shell-wappvfwj.js → tool-output-xd3zm682.js} +18 -18
- package/dist/chunks/{shell-r1meka4m.js → tool-output-xe8ck1p9.js} +21 -21
- package/dist/chunks/{shell-9mn5nav0.js → tool-output-xft6dn0a.js} +13 -13
- package/dist/chunks/{shell-f66ptma4.js → tool-output-xtfjfdah.js} +48 -48
- package/dist/chunks/{shell-qf4qmx1w.js → tool-output-xw4jh0fq.js} +11 -11
- package/dist/chunks/{shell-ej9bat5k.js → tool-output-y0dmyt4t.js} +11 -11
- package/dist/chunks/{shell-pd36x1w1.js → tool-output-y4ahsw2v.js} +8 -8
- package/dist/chunks/{shell-bwz1yd0d.js → tool-output-y9wqzmeb.js} +10 -10
- package/dist/chunks/{shell-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-g5hyrw0d.js → tool-output-ybr9qycb.js} +26 -26
- package/dist/chunks/{shell-2veb62my.js → tool-output-yk1y9yyc.js} +11 -11
- package/dist/chunks/{shell-v6j3p2g6.js → tool-output-ykqp9ed4.js} +30 -30
- package/dist/chunks/{shell-ppjqz50g.js → tool-output-ynqstxnz.js} +182 -182
- package/dist/chunks/{shell-yr705xyq.js → tool-output-yr705xyq.js} +1 -1
- package/dist/chunks/{shell-y0z2gqqa.js → tool-output-yrevsbh2.js} +9 -9
- package/dist/chunks/{shell-yvtc2x31.js → tool-output-yvtc2x31.js} +1 -1
- package/dist/chunks/{shell-h8dz3ery.js → tool-output-z0fjqy87.js} +4 -4
- package/dist/chunks/{shell-ze75qvmd.js → tool-output-ze75qvmd.js} +3 -3
- package/dist/chunks/{shell-tmd1r8tg.js → tool-output-zfyb5tr4.js} +4 -4
- package/dist/chunks/{shell-w4raeb9k.js → tool-output-zrc3e38m.js} +4 -4
- package/dist/chunks/{shell-zjx1mcwr.js → tool-output-zx10qtpe.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- 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 +130 -130
- package/dist/config/plugin/command.js +229 -229
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- 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 +130 -130
- package/dist/config/plugin/mcp.js +137 -137
- 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 +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- 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 +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- 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 +62 -62
- 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 +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +156 -156
- package/dist/file-mutation.js +103 -103
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +243 -243
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +117 -117
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- 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 +3 -3
- 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 +421 -421
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +96 -96
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- 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 +109 -109
- 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 +151 -151
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +113 -113
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- 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 +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- 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 +145 -145
- 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 +3 -3
- 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 +3 -3
- 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 +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- 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 +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- 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 +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +409 -409
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +241 -241
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +247 -247
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +198 -198
- 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 +243 -243
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- 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 +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -166
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- 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 +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +235 -235
- package/dist/session/usage.js +1 -1
- package/dist/session.js +229 -229
- 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 +13 -13
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +147 -147
- package/dist/skill.js +152 -152
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/agent.d.ts +14 -0
- package/dist/types/model.d.ts +28 -0
- package/dist/types/plugin/provider/credential-settings.d.ts +4 -0
- package/dist/types/provider.d.ts +63 -0
- package/dist/types/session/model-request.d.ts +2 -2
- package/dist/usage-limits.js +98 -98
- 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 +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +97 -97
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/shell-1jwmcgkd.js +0 -555
- package/dist/chunks/shell-5k2qf3dt.js +0 -261
- package/dist/chunks/shell-7yv5xa0k.js +0 -18
- package/dist/chunks/shell-b7xx3v4y.js +0 -26
- package/dist/chunks/shell-y32xxt00.js +0 -16
- /package/dist/chunks/{shell-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kah00gy.js → tool-output-1kah00gy.js} +0 -0
- /package/dist/chunks/{shell-1pevy3nx.js → tool-output-1pevy3nx.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4qk9sjk2.js → tool-output-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5w3e23ze.js → tool-output-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shell-6agm2x70.js → tool-output-6agm2x70.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-beh6qq61.js → tool-output-beh6qq61.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cqv5kn06.js → tool-output-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-dbht28n9.js → tool-output-dbht28n9.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ean2d8b5.js → tool-output-ean2d8b5.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fkpq3x5p.js → tool-output-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jwr30sdr.js → tool-output-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-nh4v3znn.js → tool-output-nh4v3znn.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p71gwv9c.js → tool-output-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-syrav9an.js → tool-output-syrav9an.js} +0 -0
- /package/dist/chunks/{shell-t03h4f5z.js → tool-output-t03h4f5z.js} +0 -0
- /package/dist/chunks/{shell-ty7weeps.js → tool-output-ty7weeps.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-vtarvj67.js → tool-output-vtarvj67.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-7jewgrz3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-4d2dtj2f.js";
|
|
8
8
|
import {
|
|
9
9
|
Service89,
|
|
10
10
|
node92
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-qs0v2njn.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-mb7mbhnz.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-output-7bdqzxt9.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./tool-output-vx8z5gpr.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_inbox, {
|
|
|
43
43
|
Compaction: () => Compaction2,
|
|
44
44
|
CompactionPayload: () => CompactionPayload2,
|
|
45
45
|
Delivery: () => Delivery2,
|
|
46
|
-
Info: () =>
|
|
46
|
+
Info: () => Info15,
|
|
47
47
|
Item: () => Item2,
|
|
48
48
|
LifecycleConflict: () => LifecycleConflict2,
|
|
49
49
|
MediaInfo: () => MediaInfo2,
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service63,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -59,13 +59,13 @@ __export(exports_inbox, {
|
|
|
59
59
|
UserPayload: () => UserPayload2,
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
|
-
layer: () =>
|
|
63
|
-
list: () =>
|
|
62
|
+
layer: () => layer22,
|
|
63
|
+
list: () => list4,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
|
-
make: () =>
|
|
65
|
+
make: () => make28,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node65,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
Compaction as Compaction2,
|
|
81
81
|
CompactionPayload as CompactionPayload2,
|
|
82
82
|
Delivery as Delivery2,
|
|
83
|
-
Info as
|
|
83
|
+
Info as Info15,
|
|
84
84
|
Item as Item2,
|
|
85
85
|
MediaInfo as MediaInfo2,
|
|
86
86
|
MediaUser as MediaUser2,
|
|
@@ -184,9 +184,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service63 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
|
-
var
|
|
189
|
+
var make28 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
190
|
const database = yield* Service90;
|
|
191
191
|
const db = database.db;
|
|
192
192
|
const bus = yield* Service89;
|
|
@@ -206,7 +206,7 @@ var make27 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
206
206
|
inboxID: request.id,
|
|
207
207
|
sessionID: request.sessionID,
|
|
208
208
|
item: request.item
|
|
209
|
-
}).pipe(Effect.map((event) =>
|
|
209
|
+
}).pipe(Effect.map((event) => Info15.make({
|
|
210
210
|
id: request.id,
|
|
211
211
|
sessionID: request.sessionID,
|
|
212
212
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -226,7 +226,7 @@ var make27 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
226
226
|
}
|
|
227
227
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
228
228
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
229
|
-
const pending = (yield*
|
|
229
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
230
230
|
if (pending)
|
|
231
231
|
return pending;
|
|
232
232
|
return yield* admit({
|
|
@@ -251,7 +251,7 @@ var make27 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
251
251
|
delivery: "queue"
|
|
252
252
|
})));
|
|
253
253
|
return {
|
|
254
|
-
list: (sessionID) =>
|
|
254
|
+
list: (sessionID) => list4(db, sessionID),
|
|
255
255
|
reconcile,
|
|
256
256
|
admit,
|
|
257
257
|
admitCompaction,
|
|
@@ -260,8 +260,8 @@ var make27 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var layer22 = Layer.effect(Service63, make28());
|
|
264
|
+
var node65 = makeGlobalNode({ service: Service63, layer: layer22, deps: [node93, node92] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -310,7 +310,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
310
310
|
to: input.delivery
|
|
311
311
|
}));
|
|
312
312
|
var listRows = (db, sessionID) => db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
313
|
-
var
|
|
313
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
314
314
|
return (yield* hydrateInbox2(db, yield* listRows(db, sessionID))).map(fromRow);
|
|
315
315
|
});
|
|
316
316
|
var listWithRefs2 = Effect.fn("SessionInbox.listWithRefs")(function* (db, sessionID) {
|
|
@@ -385,4 +385,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
385
385
|
return rows;
|
|
386
386
|
}));
|
|
387
387
|
|
|
388
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
388
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info15, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service63, make28, layer22, node65, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/integration.ts
|
|
6
6
|
var exports_integration2 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_integration2, {
|
|
|
10
10
|
Policies: () => Policies2,
|
|
11
11
|
Remote: () => Remote3,
|
|
12
12
|
WellKnownDocument: () => WellKnownDocument2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make30,
|
|
14
14
|
suppliers: () => suppliers2
|
|
15
15
|
});
|
|
16
16
|
import { Option, Schema, SchemaGetter } from "effect";
|
|
@@ -51,7 +51,7 @@ class WellKnownDocument2 extends Config.Document.extend("Config.WellKnownDocumen
|
|
|
51
51
|
function suppliers2(entries) {
|
|
52
52
|
return new Map(entries.filter((entry) => entry instanceof WellKnownDocument2).flatMap((document) => Object.keys(document.info.providers ?? {}).map((id) => [id, document.integrationID])));
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function make30(input) {
|
|
55
55
|
const servers = input.info.mcp?.servers;
|
|
56
56
|
return new Document3({
|
|
57
57
|
type: "document",
|
|
@@ -90,4 +90,4 @@ function withoutCredentials(settings) {
|
|
|
90
90
|
return settings && Object.fromEntries(Object.entries(settings).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
export { Policies2, Remote3, Document3, WellKnownDocument2, suppliers2,
|
|
93
|
+
export { Policies2, Remote3, Document3, WellKnownDocument2, suppliers2, make30, exports_integration2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-jtnps1zs.js";
|
|
7
7
|
import {
|
|
8
8
|
Service90,
|
|
9
9
|
node93
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-7jewgrz3.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-4d2dtj2f.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node62
|
|
18
|
+
} from "./tool-output-2mn1j6hz.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID10,
|
|
31
|
+
Info: () => Info13,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service59,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured8,
|
|
36
|
+
node: () => node61
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID10 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info13 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID10,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info16 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID10,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service59 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured8 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service59,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node93,
|
|
70
|
+
deps: [node93, node62]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service90).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info13({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service59.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID10.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node61 = configured8();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID10, Info13, NotFound2, CreateConflict2, Service59, configured8, node61, exports_workspace };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service88
|
|
3
|
+
} from "./tool-output-th2hp9ev.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make22 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service88;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service85
|
|
8
|
+
} from "./tool-output-4q33662b.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service58
|
|
11
|
+
} from "./tool-output-0f7cqh9y.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./tool-output-t5pccnhe.js";
|
|
15
15
|
import {
|
|
16
16
|
Service14,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-rhte1d85.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service68
|
|
22
|
+
} from "./tool-output-rfwkesfc.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service17,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-mc2p1ws7.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-output-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin49,
|
|
42
|
+
name: () => name10,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name10 = "patch";
|
|
89
|
+
var Input10 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output8 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin49 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
111
|
+
const environment = yield* Service58;
|
|
112
|
+
const access = yield* Service17;
|
|
113
113
|
const fileMutation = yield* Service14;
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service85;
|
|
116
|
+
const permission = yield* Service68;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -285,7 +285,7 @@ var Plugin2 = {
|
|
|
285
285
|
return { applied, files };
|
|
286
286
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
287
287
|
output,
|
|
288
|
-
content:
|
|
288
|
+
content: toModelContent6(output),
|
|
289
289
|
metadata: { files: output.files }
|
|
290
290
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
291
291
|
}
|
|
@@ -345,4 +345,4 @@ function trimDiff(diff) {
|
|
|
345
345
|
`);
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
export {
|
|
348
|
+
export { name10, Input10, Applied2, Output8, toModelContent6, Plugin49, exports_patch };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node84
|
|
8
|
+
} from "./tool-output-h5x6jdbe.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service66,
|
|
11
|
+
node68
|
|
12
|
+
} from "./tool-output-58ep7nm1.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
24
|
-
InvalidRequestError: () =>
|
|
21
|
+
var exports_generate = {};
|
|
22
|
+
__export(exports_generate, {
|
|
23
|
+
Generate: () => exports_generate,
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError2,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service24,
|
|
29
|
+
UnavailableError: () => UnavailableError3,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer11,
|
|
32
|
+
node: () => node27
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError2 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service24 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service66;
|
|
89
|
+
const models = yield* Service81;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer24 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(ai.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer24 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service24.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError2({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError2({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node27 = makeLocationNode({
|
|
219
|
+
service: Service24,
|
|
220
|
+
layer: layer11,
|
|
221
|
+
deps: [node68, node84, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service24, layer11, node27, exports_generate };
|