@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,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-wy9q57d6.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-15x6q7ay.js";
|
|
7
7
|
import {
|
|
8
8
|
key2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-wws03c5r.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID18,
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-24e6ax7n.js";
|
|
14
14
|
import {
|
|
15
15
|
ID17
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-ybr9qycb.js";
|
|
17
17
|
import {
|
|
18
18
|
ID16,
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-h5x6jdbe.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-yb20nhc3.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service18
|
|
26
|
+
} from "./tool-output-e44hy6kp.js";
|
|
27
27
|
import {
|
|
28
28
|
start3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-output-6xskjdg4.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/digitalocean.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
33
33
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
34
34
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
35
35
|
var providerID = ID17.make("digitalocean");
|
|
36
|
-
var integrationID =
|
|
36
|
+
var integrationID = ID18.make("digitalocean");
|
|
37
37
|
var methodID = MethodID2.make("browser");
|
|
38
38
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
39
39
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -121,7 +121,7 @@ var oauth = {
|
|
|
121
121
|
var DigitalOceanPlugin2 = define({
|
|
122
122
|
id: "opencode.provider.digitalocean",
|
|
123
123
|
effect: Effect.fn(function* (ctx) {
|
|
124
|
-
const cache = yield*
|
|
124
|
+
const cache = yield* Service18;
|
|
125
125
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
126
126
|
const discovered = yield* start3({
|
|
127
127
|
integrationID,
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service90,
|
|
6
6
|
node93
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-7jewgrz3.js";
|
|
8
8
|
import {
|
|
9
9
|
Service89,
|
|
10
10
|
node92
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-qs0v2njn.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service88,
|
|
14
|
+
node91
|
|
15
|
+
} from "./tool-output-th2hp9ev.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID22,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-output-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-output-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-output-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
45
|
-
NotFoundError: () =>
|
|
43
|
+
ID: () => ID21,
|
|
44
|
+
Info: () => Info31,
|
|
45
|
+
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service87,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
50
|
configured: () => configured12,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node90,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info31 = Info32;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service87 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,10 +111,10 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service88;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service89;
|
|
120
120
|
const db = (yield* Service90).db;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID21.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError14({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event21.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID21.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID21.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID21.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID21.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service87.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
350
|
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service87,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [node92, node93, FSUtil.node,
|
|
354
|
+
deps: [node92, node93, FSUtil.node, node91, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node90 = configured12();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service87;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node90]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service87, configured12, node90, sweepNode2, exports_project };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-qs0v2njn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./tool-output-4q33662b.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service44
|
|
10
|
+
} from "./tool-output-nf1q0ebc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
17
17
|
__export(exports_command, {
|
|
18
18
|
CommandPlugin: () => exports_command,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin17
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin17 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service85;
|
|
200
|
+
const mcp = yield* Service44;
|
|
201
201
|
const bus = yield* Service89;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin17, exports_command };
|
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make29,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-dxsywhez.js";
|
|
7
7
|
import {
|
|
8
8
|
ID9,
|
|
9
9
|
Name2,
|
|
10
10
|
available4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service50,
|
|
12
|
+
node52
|
|
13
|
+
} from "./tool-output-fjxgnb22.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
19
|
+
var exports_instructions4 = {};
|
|
20
|
+
__export(exports_instructions4, {
|
|
21
21
|
Service: () => Service40,
|
|
22
|
-
SkillInstructions: () =>
|
|
22
|
+
SkillInstructions: () => exports_instructions4,
|
|
23
23
|
node: () => node43
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ var update = (previous, current) => {
|
|
|
67
67
|
class Service40 extends Context.Service()("@opencode/SkillInstructions") {
|
|
68
68
|
}
|
|
69
69
|
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
70
|
-
const skills = yield*
|
|
70
|
+
const skills = yield* Service50;
|
|
71
71
|
return Service40.of({
|
|
72
72
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
73
73
|
const available = available4(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
84
84
|
})
|
|
85
85
|
});
|
|
86
86
|
}));
|
|
87
|
-
var node43 = makeLocationNode({ service: Service40, layer, deps: [
|
|
87
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [node52] });
|
|
88
88
|
|
|
89
|
-
export { Service40, node43,
|
|
89
|
+
export { Service40, node43, exports_instructions4 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-qs0v2njn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Event19
|
|
6
|
+
} from "./tool-output-15x6q7ay.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID18
|
|
9
|
+
} from "./tool-output-24e6ax7n.js";
|
|
10
10
|
import {
|
|
11
11
|
ID17
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-ybr9qycb.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/openai-context-caps.ts
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Stream } from "effect";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID18.make("openai");
|
|
18
18
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
19
19
|
var legacyInput = 272000;
|
|
20
20
|
var currentInput = 500000;
|
|
@@ -45,7 +45,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
|
-
yield* bus.subscribe(
|
|
48
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void))), Effect.forkScoped({ startImmediately: true }));
|
|
49
49
|
})
|
|
50
50
|
});
|
|
51
51
|
function cap(apiID) {
|
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
nativeSettings2,
|
|
6
6
|
timeouts2,
|
|
7
7
|
mergeOverlay2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-ybr9qycb.js";
|
|
9
9
|
import {
|
|
10
10
|
stringify2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-dbht28n9.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/aisdk.ts
|
|
17
17
|
var exports_aisdk2 = {};
|
|
18
18
|
__export(exports_aisdk2, {
|
|
19
19
|
AISDK: () => exports_aisdk2,
|
|
20
20
|
InitError: () => InitError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service67,
|
|
22
22
|
locationLayer: () => locationLayer2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node69
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -161,9 +161,9 @@ function initError(providerID) {
|
|
|
161
161
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class Service67 extends Context.Service()("@opencode/AISDK") {
|
|
165
165
|
}
|
|
166
|
-
var locationLayer2 = Layer.effect(
|
|
166
|
+
var locationLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
167
167
|
let sdkHooks = [];
|
|
168
168
|
let languageHooks = [];
|
|
169
169
|
const languages = new Map;
|
|
@@ -201,7 +201,7 @@ var locationLayer2 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
201
201
|
}
|
|
202
202
|
return event;
|
|
203
203
|
});
|
|
204
|
-
const service =
|
|
204
|
+
const service = Service67.of({
|
|
205
205
|
hook: {
|
|
206
206
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
207
207
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -863,6 +863,6 @@ function providerErrorMessage(error) {
|
|
|
863
863
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
864
864
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
865
865
|
}
|
|
866
|
-
var
|
|
866
|
+
var node69 = makeLocationNode({ service: Service67, layer: locationLayer2, deps: [] });
|
|
867
867
|
|
|
868
|
-
export { InitError2,
|
|
868
|
+
export { InitError2, Service67, locationLayer2, node69, exports_aisdk2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-qs0v2njn.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-wws03c5r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID18,
|
|
14
|
+
Service83,
|
|
15
|
+
node86,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./tool-output-24e6ax7n.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service85,
|
|
20
|
+
node88
|
|
21
|
+
} from "./tool-output-4q33662b.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider4 = {};
|
|
@@ -33,11 +33,11 @@ __export(exports_provider4, {
|
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
34
|
Event: () => Event17,
|
|
35
35
|
ID: () => ID17,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider4,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service82,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider4, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node85,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -578,9 +578,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
578
578
|
var Cache2 = Provider.Cache;
|
|
579
579
|
var Transport2 = Provider.Transport;
|
|
580
580
|
var Settings2 = Provider.Settings;
|
|
581
|
-
var
|
|
581
|
+
var Info25 = Provider.Info;
|
|
582
582
|
|
|
583
|
-
class
|
|
583
|
+
class Service82 extends Context.Service()("@opencode/Provider") {
|
|
584
584
|
}
|
|
585
585
|
var definitions = new WeakMap;
|
|
586
586
|
function index(providerID, models) {
|
|
@@ -593,10 +593,10 @@ function index(providerID, models) {
|
|
|
593
593
|
definitions.set(models, indexes);
|
|
594
594
|
return result;
|
|
595
595
|
}
|
|
596
|
-
var layer = Layer.effect(
|
|
596
|
+
var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
597
597
|
const bus = yield* Service89;
|
|
598
|
-
const integrations = yield*
|
|
599
|
-
const location = yield*
|
|
598
|
+
const integrations = yield* Service83;
|
|
599
|
+
const location = yield* Service85;
|
|
600
600
|
const state = create4({
|
|
601
601
|
name: "provider",
|
|
602
602
|
initial: () => new Map,
|
|
@@ -607,7 +607,7 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
607
607
|
const current = records.get(id);
|
|
608
608
|
if (current)
|
|
609
609
|
return current;
|
|
610
|
-
const added = { provider:
|
|
610
|
+
const added = { provider: Info25.empty(id), models: new Map };
|
|
611
611
|
records.set(id, added);
|
|
612
612
|
maps.add(added.models);
|
|
613
613
|
return added;
|
|
@@ -688,7 +688,7 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
688
688
|
const available = Array.from(records.values()).filter((record) => {
|
|
689
689
|
if (record.provider.activation === "disabled")
|
|
690
690
|
return false;
|
|
691
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
691
|
+
const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
|
|
692
692
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
693
693
|
return false;
|
|
694
694
|
if (record.provider.activation === "enabled")
|
|
@@ -714,8 +714,8 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
714
714
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
715
715
|
});
|
|
716
716
|
});
|
|
717
|
-
yield* bus.subscribe([
|
|
718
|
-
return
|
|
717
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
718
|
+
return Service82.of({
|
|
719
719
|
transform: state.transform,
|
|
720
720
|
reload: state.reload,
|
|
721
721
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -724,7 +724,7 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
724
724
|
snapshot
|
|
725
725
|
});
|
|
726
726
|
}));
|
|
727
|
-
var
|
|
727
|
+
var node85 = makeLocationNode({ service: Service82, layer, deps: [node92, node86, node88] });
|
|
728
728
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
729
729
|
const module = yield* Effect2.tryPromise({
|
|
730
730
|
try: () => {
|
|
@@ -746,4 +746,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
746
746
|
return module;
|
|
747
747
|
});
|
|
748
748
|
|
|
749
|
-
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2,
|
|
749
|
+
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service82, node85, exports_provider4, Event17 };
|