@opencode/core 0.0.0-dev-20256 → 0.0.0-dev-20257
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{aisdk-ncnrdk5t.js → tool-01mtfcwf.js} +42 -42
- package/dist/chunks/{aisdk-qd6w2snt.js → tool-034466pj.js} +42 -42
- package/dist/chunks/{aisdk-7cjd7khd.js → tool-0egx9fcg.js} +12 -12
- package/dist/chunks/{aisdk-db5a8hv2.js → tool-0n945rvh.js} +9 -9
- package/dist/chunks/{aisdk-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-gcb0pgp4.js → tool-0v0g5gxd.js} +7 -7
- package/dist/chunks/{aisdk-dfdarkbv.js → tool-0vx053wa.js} +31 -31
- package/dist/chunks/{aisdk-182dr9rt.js → tool-0x54nnzp.js} +14 -14
- package/dist/chunks/{aisdk-5v50a7xx.js → tool-11tc0n79.js} +4 -4
- package/dist/chunks/{aisdk-z312547k.js → tool-175m3jx7.js} +25 -25
- package/dist/chunks/{aisdk-pyyn0bp8.js → tool-18eb7gxs.js} +11 -11
- package/dist/chunks/{aisdk-wgd50f01.js → tool-194bm8bb.js} +32 -32
- package/dist/chunks/{aisdk-6dpq57k2.js → tool-1976gz4t.js} +33 -33
- package/dist/chunks/{aisdk-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-7yxfz471.js → tool-1dmvbadb.js} +20 -20
- package/dist/chunks/{aisdk-1w9ezc4a.js → tool-1msf33w2.js} +10 -10
- package/dist/chunks/{aisdk-yr1wc87s.js → tool-1r5rhfpg.js} +13 -13
- package/dist/chunks/{aisdk-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-tw4w1vk3.js → tool-296y6fm3.js} +23 -23
- package/dist/chunks/{aisdk-z63w68vq.js → tool-29x78va6.js} +6 -6
- package/dist/chunks/{aisdk-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-qfap2v99.js → tool-2c73s09s.js} +13 -13
- package/dist/chunks/{aisdk-g808avxm.js → tool-2dw8d83v.js} +32 -32
- package/dist/chunks/{aisdk-esafk7q3.js → tool-2k8khapm.js} +5 -5
- package/dist/chunks/{aisdk-zvyw4fnc.js → tool-2m1k0ztt.js} +32 -32
- package/dist/chunks/{aisdk-3w0fmcng.js → tool-2qp6y8xf.js} +5 -5
- package/dist/chunks/{aisdk-gpk600j1.js → tool-2tba787a.js} +10 -10
- package/dist/chunks/{aisdk-as4rg0ma.js → tool-2wby3dfy.js} +32 -32
- package/dist/chunks/{aisdk-kvcyjew8.js → tool-35zcj8ny.js} +13 -13
- package/dist/chunks/{aisdk-btvey9wz.js → tool-36sqq72v.js} +19 -19
- package/dist/chunks/{aisdk-3m4atzyv.js → tool-391zmw43.js} +53 -53
- package/dist/chunks/{aisdk-394617td.js → tool-3dtz6yx2.js} +3 -3
- package/dist/chunks/{aisdk-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-0qze0aqz.js → tool-3r7whzgv.js} +7 -7
- package/dist/chunks/{aisdk-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-rb3azzxf.js → tool-3wgsv8e5.js} +3 -3
- package/dist/chunks/{aisdk-daex0s89.js → tool-3y576xey.js} +43 -43
- package/dist/chunks/{aisdk-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{aisdk-jskknkd1.js → tool-40grcexz.js} +25 -25
- package/dist/chunks/{aisdk-ma7v7n5g.js → tool-41ykdtjg.js} +77 -77
- package/dist/chunks/{aisdk-dq0v80fr.js → tool-424p9vrf.js} +5 -5
- package/dist/chunks/{aisdk-tydak3jd.js → tool-4718644a.js} +18 -18
- package/dist/chunks/{aisdk-szzp65n1.js → tool-4acqjqp7.js} +24 -24
- package/dist/chunks/{aisdk-7f83tr8w.js → tool-4b636nqp.js} +12 -12
- package/dist/chunks/{aisdk-xaewbne5.js → tool-4bbjkqbv.js} +18 -18
- package/dist/chunks/{aisdk-hz3pjvd6.js → tool-4bee6ad1.js} +11 -11
- package/dist/chunks/{aisdk-r3s520w4.js → tool-4eajfyk1.js} +11 -11
- package/dist/chunks/{aisdk-r6htjnjy.js → tool-4khtewc0.js} +43 -43
- package/dist/chunks/{aisdk-ckecvw8r.js → tool-54tcyq79.js} +2 -2
- package/dist/chunks/{aisdk-1ygqh575.js → tool-56gdpj1q.js} +9 -9
- package/dist/chunks/{aisdk-57ez7d0k.js → tool-57ez7d0k.js} +2 -2
- package/dist/chunks/{aisdk-7kcvsn3b.js → tool-5avn8fxx.js} +18 -18
- package/dist/chunks/{aisdk-yfj4tzgq.js → tool-5ck8tfnb.js} +8 -8
- package/dist/chunks/{aisdk-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-676mk4pm.js → tool-5dhv185w.js} +37 -37
- package/dist/chunks/{aisdk-h6r3nrb9.js → tool-5mtzsd3b.js} +4 -4
- package/dist/chunks/{aisdk-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-ppv1xyee.js → tool-5xnnt85z.js} +21 -21
- package/dist/chunks/{aisdk-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-w9ah4h24.js → tool-67582959.js} +6 -6
- package/dist/chunks/{aisdk-7ccy6710.js → tool-67kbkrjb.js} +15 -15
- package/dist/chunks/{aisdk-4wexvyjy.js → tool-6ab7jrdn.js} +13 -13
- package/dist/chunks/{aisdk-yvam1hap.js → tool-6ha1y7f7.js} +10 -10
- package/dist/chunks/{aisdk-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-z73vq4bz.js → tool-6t6ktgh6.js} +22 -22
- package/dist/chunks/{aisdk-663rft7j.js → tool-6tb4xv4d.js} +11 -11
- package/dist/chunks/{aisdk-qjkv87ee.js → tool-6yf2w8yd.js} +13 -13
- package/dist/chunks/{aisdk-ns0x2tka.js → tool-72cm32h1.js} +3 -3
- package/dist/chunks/{aisdk-zgf4bnax.js → tool-75hmra9r.js} +12 -12
- package/dist/chunks/{aisdk-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-w7g7j2er.js → tool-7k1k30bt.js} +1 -1
- package/dist/chunks/{aisdk-0tzy42a9.js → tool-7rwqf82v.js} +8 -8
- package/dist/chunks/{aisdk-63153s7y.js → tool-7v1rs999.js} +20 -20
- package/dist/chunks/{aisdk-57y3gjg2.js → tool-809ngxdw.js} +18 -18
- package/dist/chunks/{aisdk-4qabh746.js → tool-80cfmxjf.js} +25 -25
- package/dist/chunks/{aisdk-2gzj9kj5.js → tool-8265666q.js} +9 -9
- package/dist/chunks/{aisdk-w1eejvng.js → tool-84txncab.js} +5 -5
- package/dist/chunks/{aisdk-zfbzdcys.js → tool-8az6wgtc.js} +24 -24
- package/dist/chunks/{aisdk-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-hn0pq7g1.js → tool-8qx87br5.js} +28 -28
- package/dist/chunks/{aisdk-8xvfz31x.js → tool-8rn5fqsk.js} +91 -91
- package/dist/chunks/{aisdk-6pc27hjz.js → tool-8sze2n9a.js} +2 -2
- package/dist/chunks/{aisdk-6fwq4dqz.js → tool-946c90tq.js} +8 -8
- package/dist/chunks/{aisdk-dm7jexpd.js → tool-95yxn8sy.js} +3 -3
- package/dist/chunks/{aisdk-99mr7wdx.js → tool-9a22gx4j.js} +24 -24
- package/dist/chunks/{aisdk-7nd1169e.js → tool-9a55rck2.js} +22 -22
- package/dist/chunks/{aisdk-8svjx7h2.js → tool-9aqmr64f.js} +3 -3
- package/dist/chunks/{aisdk-fcd91b3z.js → tool-9dvrwmbd.js} +14 -14
- package/dist/chunks/{aisdk-4her2v12.js → tool-9jcc4y49.js} +11 -11
- package/dist/chunks/{aisdk-0m4243s0.js → tool-9jk221y9.js} +9 -9
- package/dist/chunks/{aisdk-1fmq3znq.js → tool-9y90g72n.js} +25 -25
- package/dist/chunks/{aisdk-6hh8tjw2.js → tool-a2ew8a62.js} +4 -4
- package/dist/chunks/{aisdk-6bmgfwc8.js → tool-a3j192et.js} +16 -16
- package/dist/chunks/{aisdk-8s0e1fjd.js → tool-a7ntt1km.js} +51 -51
- package/dist/chunks/{aisdk-1vmmb2v8.js → tool-a9rnddwt.js} +48 -48
- package/dist/chunks/{aisdk-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-0pavs2p4.js → tool-aasthdk7.js} +22 -22
- package/dist/chunks/{aisdk-n8dq3ec0.js → tool-afmxnawc.js} +43 -43
- package/dist/chunks/{aisdk-349f6n3h.js → tool-amxsn76y.js} +9 -9
- package/dist/chunks/{aisdk-zagye02c.js → tool-asmesk1c.js} +51 -51
- package/dist/chunks/{aisdk-a3x8dc07.js → tool-aw0zj34j.js} +22 -22
- package/dist/chunks/{aisdk-g190xswt.js → tool-axmvebxj.js} +21 -21
- package/dist/chunks/{aisdk-ytsgtawk.js → tool-b4awgack.js} +327 -327
- package/dist/chunks/{aisdk-52zk98qq.js → tool-b4k87etx.js} +32 -32
- package/dist/chunks/{aisdk-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-76z31epj.js → tool-bbertzxx.js} +27 -27
- package/dist/chunks/{aisdk-j83byb14.js → tool-bct739vz.js} +4 -4
- package/dist/chunks/{aisdk-axa5krkd.js → tool-bdqrk2vk.js} +7 -7
- package/dist/chunks/{aisdk-my9p806h.js → tool-bhz5rt2a.js} +10 -10
- package/dist/chunks/{aisdk-z07pqspn.js → tool-bjtzbw4r.js} +3 -3
- package/dist/chunks/{aisdk-mvksx64m.js → tool-bk7jaeqh.js} +4 -4
- package/dist/chunks/{aisdk-bk8zh60f.js → tool-bne83k22.js} +19 -19
- package/dist/chunks/{aisdk-f05xsng2.js → tool-brbv3dp1.js} +33 -33
- package/dist/chunks/{aisdk-ys8gg27d.js → tool-c8c0e7p2.js} +4 -4
- package/dist/chunks/tool-cmck6x1v.js +26 -0
- package/dist/chunks/{aisdk-t6msp11s.js → tool-cnvcdvk7.js} +6 -6
- package/dist/chunks/{aisdk-4j3f3fxy.js → tool-csc4d3td.js} +9 -9
- package/dist/chunks/{aisdk-s3mttwrw.js → tool-cxfezmj7.js} +14 -14
- package/dist/chunks/{aisdk-hv5re2jg.js → tool-cycpek8a.js} +8 -8
- package/dist/chunks/{aisdk-kkzkpgbp.js → tool-d45ca2b9.js} +15 -15
- package/dist/chunks/{aisdk-cwa6csj7.js → tool-d4he2qe1.js} +9 -9
- package/dist/chunks/{aisdk-pak9h2dr.js → tool-d7hv7zmm.js} +12 -12
- package/dist/chunks/{aisdk-yfbzmvpx.js → tool-dbnvakxz.js} +2 -2
- package/dist/chunks/{aisdk-crdp3k4d.js → tool-df918xjf.js} +13 -13
- package/dist/chunks/{aisdk-xkntkrq7.js → tool-dmqcgk4z.js} +5 -5
- package/dist/chunks/{aisdk-ccrnt3wf.js → tool-dsr5k85q.js} +32 -32
- package/dist/chunks/{aisdk-02y2a9xg.js → tool-dss8prcv.js} +5 -5
- package/dist/chunks/{aisdk-8xgx7xvf.js → tool-dth0kp2g.js} +10 -10
- package/dist/chunks/{aisdk-5qd3pb7m.js → tool-e3qxr5gk.js} +2 -2
- package/dist/chunks/{aisdk-dgnk288q.js → tool-eacc2dt9.js} +18 -18
- package/dist/chunks/{aisdk-ecfe7b91.js → tool-ecfe7b91.js} +2 -2
- package/dist/chunks/{aisdk-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-x0sz19sa.js → tool-eg546c9f.js} +29 -29
- package/dist/chunks/{aisdk-hvmyt62c.js → tool-eg73nz8j.js} +16 -16
- package/dist/chunks/{aisdk-4qwdvbmq.js → tool-ehjy287r.js} +3 -3
- package/dist/chunks/{aisdk-49dt11pw.js → tool-ek9e68b4.js} +31 -31
- package/dist/chunks/{aisdk-7cdat2nm.js → tool-em3h5ktn.js} +4 -4
- package/dist/chunks/{aisdk-0br3sbwn.js → tool-espax8zg.js} +4 -4
- package/dist/chunks/{aisdk-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-czdg5ncj.js → tool-ev6cj1t6.js} +4 -4
- package/dist/chunks/{aisdk-7v9mzd9j.js → tool-ewrs59eb.js} +35 -35
- package/dist/chunks/{aisdk-kqat4kfa.js → tool-ezfsjjcb.js} +25 -25
- package/dist/chunks/{aisdk-nfcr1yw4.js → tool-f32czd11.js} +11 -11
- package/dist/chunks/{aisdk-ptb645zh.js → tool-f4stfc8j.js} +18 -18
- package/dist/chunks/{aisdk-txc1zf78.js → tool-f5gy8qwh.js} +8 -8
- package/dist/chunks/{aisdk-55g7bsvt.js → tool-f5j4h519.js} +31 -31
- package/dist/chunks/{aisdk-vsnq8yew.js → tool-f9v45azf.js} +34 -34
- package/dist/chunks/{aisdk-hr8by5jr.js → tool-faz569s1.js} +4 -4
- package/dist/chunks/{aisdk-ae5xckma.js → tool-fbk6jmjr.js} +8 -8
- package/dist/chunks/{aisdk-jqf6twm8.js → tool-fk1tprft.js} +11 -11
- package/dist/chunks/{aisdk-xvp1j2dc.js → tool-g5agzp2h.js} +5 -5
- package/dist/chunks/{aisdk-2qdztw1g.js → tool-g5mnhhzf.js} +5 -5
- package/dist/chunks/{aisdk-fc1g3vk8.js → tool-g6af17tj.js} +15 -15
- package/dist/chunks/{aisdk-p1751c20.js → tool-gbny3ebw.js} +5 -5
- package/dist/chunks/{aisdk-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-94ek1h2f.js → tool-gfvb90ym.js} +2 -2
- package/dist/chunks/{aisdk-mfxxky5h.js → tool-gjz1jd2j.js} +15 -15
- package/dist/chunks/{aisdk-bfq87az1.js → tool-grfjx99d.js} +37 -37
- package/dist/chunks/{aisdk-gv6a8nnw.js → tool-gv6a8nnw.js} +2 -2
- package/dist/chunks/{aisdk-q4nr5ctg.js → tool-gy1z56yw.js} +11 -11
- package/dist/chunks/{aisdk-x2rw7g36.js → tool-h4z1mxff.js} +5 -5
- package/dist/chunks/{aisdk-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-4j4tgtq5.js → tool-h9wp8z5w.js} +4 -4
- package/dist/chunks/{aisdk-0cv45488.js → tool-hxxwhazt.js} +22 -22
- package/dist/chunks/{aisdk-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-9kmbd9mt.js → tool-jca4demv.js} +2 -2
- package/dist/chunks/{aisdk-1r5wma42.js → tool-jj4f2m0r.js} +10 -10
- package/dist/chunks/{aisdk-hksdfjn2.js → tool-jjhdrc4d.js} +32 -32
- package/dist/chunks/{aisdk-bkxyw0dr.js → tool-jvvc3tfq.js} +9 -9
- package/dist/chunks/{aisdk-yfedktg3.js → tool-jyzvwcc3.js} +94 -94
- package/dist/chunks/{aisdk-k3c624dm.js → tool-k3c624dm.js} +3 -3
- package/dist/chunks/{aisdk-jbm4dns3.js → tool-ka42hk6n.js} +20 -20
- package/dist/chunks/{aisdk-55g93apm.js → tool-kf4n8cem.js} +6 -6
- package/dist/chunks/{aisdk-n9pha4qt.js → tool-kftnayyw.js} +7 -7
- package/dist/chunks/{aisdk-c61j08ve.js → tool-ksz6c1e3.js} +26 -26
- package/dist/chunks/{aisdk-800mfp3c.js → tool-ktwybt29.js} +24 -24
- package/dist/chunks/{aisdk-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-ybaxr0a6.js → tool-m5gtchbr.js} +6 -6
- package/dist/chunks/{aisdk-ctcghnt9.js → tool-m82n3tcb.js} +11 -11
- package/dist/chunks/{aisdk-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-73tb2d7t.js → tool-mvfsc1pv.js} +3 -3
- package/dist/chunks/{aisdk-5a8h8ctf.js → tool-mxck01x7.js} +35 -35
- package/dist/chunks/{aisdk-c27esgm9.js → tool-n0tq777j.js} +8 -8
- package/dist/chunks/{aisdk-8fqgctrg.js → tool-n2bwe27v.js} +17 -17
- package/dist/chunks/{aisdk-b4h37xk4.js → tool-na3vr06v.js} +12 -12
- package/dist/chunks/{aisdk-xpgqa4c9.js → tool-nd981500.js} +31 -31
- package/dist/chunks/{aisdk-a8ze81rj.js → tool-ngr3dbwj.js} +9 -9
- package/dist/chunks/{aisdk-0996nyz8.js → tool-njhqdk9p.js} +8 -8
- package/dist/chunks/{aisdk-n33bf5vn.js → tool-nqhs97wk.js} +11 -11
- package/dist/chunks/{aisdk-cmwkp3r5.js → tool-p37cw4rj.js} +8 -8
- package/dist/chunks/{aisdk-bs9yp185.js → tool-p7emx7qr.js} +11 -11
- package/dist/chunks/{aisdk-ajq3aykw.js → tool-p9njq13k.js} +12 -12
- package/dist/chunks/{aisdk-xpc0fge1.js → tool-pa719ayw.js} +6 -6
- package/dist/chunks/{aisdk-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-270qpgxf.js → tool-pmjcgjf6.js} +5 -5
- package/dist/chunks/{aisdk-qg0jgkcp.js → tool-pnv527nz.js} +9 -9
- package/dist/chunks/{aisdk-wd3x2cqz.js → tool-psazpmmj.js} +2 -2
- package/dist/chunks/{aisdk-akhznfh4.js → tool-psxwg2jt.js} +58 -58
- package/dist/chunks/{aisdk-49svar8j.js → tool-pwk60xzd.js} +26 -26
- package/dist/chunks/{aisdk-n3se9ktf.js → tool-pzmgz1kt.js} +22 -22
- package/dist/chunks/{aisdk-mf9m2v67.js → tool-q3t37ft6.js} +3 -3
- package/dist/chunks/{aisdk-qnp9kb3g.js → tool-q5dgj24k.js} +17 -17
- package/dist/chunks/{aisdk-e4vfrr4m.js → tool-q73ax3e3.js} +6 -6
- package/dist/chunks/{aisdk-v4vtjwr4.js → tool-q9m41f22.js} +17 -17
- package/dist/chunks/{aisdk-eahhehpg.js → tool-qbqbaz6q.js} +4 -4
- package/dist/chunks/tool-qjxeh2jn.js +252 -0
- package/dist/chunks/{aisdk-5wm7c1zs.js → tool-qnshbhpz.js} +8 -8
- package/dist/chunks/{aisdk-56m60q16.js → tool-qpbc7zwf.js} +5 -5
- package/dist/chunks/{aisdk-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-9fe766st.js → tool-qsgng9yw.js} +11 -11
- package/dist/chunks/{aisdk-yjptyezs.js → tool-qte5z7bc.js} +5 -5
- package/dist/chunks/{aisdk-0mvrhkyt.js → tool-qthggnn3.js} +27 -27
- package/dist/chunks/{aisdk-rbrsya93.js → tool-qvyqyy4a.js} +37 -37
- package/dist/chunks/{aisdk-3k6sfp50.js → tool-qz49fwgp.js} +6 -6
- package/dist/chunks/{aisdk-majyh6z0.js → tool-qzzwmwsb.js} +24 -24
- package/dist/chunks/{aisdk-2nq500x2.js → tool-rbedxwk0.js} +10 -10
- package/dist/chunks/{aisdk-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-rhjbct0v.js → tool-rhjbct0v.js} +1 -1
- package/dist/chunks/{aisdk-tdpndm1c.js → tool-rmm45jmv.js} +5 -5
- package/dist/chunks/{aisdk-az7dzcjk.js → tool-rsmztf11.js} +21 -21
- package/dist/chunks/{aisdk-tnw8k1e5.js → tool-rwt25hr0.js} +11 -11
- package/dist/chunks/{aisdk-yrznvahk.js → tool-s4enseaf.js} +2 -2
- package/dist/chunks/{aisdk-m2td0v2g.js → tool-s7va8ds3.js} +16 -16
- package/dist/chunks/{aisdk-xtk3nah1.js → tool-s81k1a76.js} +25 -25
- package/dist/chunks/{aisdk-4z54v0t9.js → tool-sd321mms.js} +16 -16
- package/dist/chunks/{aisdk-r6r0fhk9.js → tool-sg7et9cp.js} +16 -16
- package/dist/chunks/{aisdk-2dxzzdm9.js → tool-ss1fsgxr.js} +18 -18
- package/dist/chunks/{aisdk-hz8vg8zp.js → tool-syg1g1yq.js} +36 -36
- package/dist/chunks/{aisdk-wjvtgdma.js → tool-t5eds39s.js} +28 -28
- package/dist/chunks/{aisdk-ddt2bs9e.js → tool-t7n9q6bq.js} +4 -4
- package/dist/chunks/{aisdk-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-d1mtykxg.js → tool-tcay1cqt.js} +6 -6
- package/dist/chunks/{aisdk-89znhe33.js → tool-tcezcvh9.js} +4 -4
- package/dist/chunks/{aisdk-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-0byhtdew.js → tool-tg11ymz8.js} +5 -5
- package/dist/chunks/{aisdk-8fm8ppq3.js → tool-tnwevgky.js} +175 -175
- package/dist/chunks/{aisdk-exx9rc7s.js → tool-tpgzbb02.js} +22 -22
- package/dist/chunks/{aisdk-x88ttkg4.js → tool-ttk3mwgy.js} +11 -11
- package/dist/chunks/{aisdk-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-499m5pkh.js → tool-txmctbw7.js} +5 -5
- package/dist/chunks/{aisdk-0w33wecb.js → tool-tz4t78ya.js} +13 -13
- package/dist/chunks/{aisdk-046kce9e.js → tool-vbv8dfnm.js} +22 -22
- package/dist/chunks/{aisdk-zyn999ja.js → tool-vdtperbh.js} +5 -5
- package/dist/chunks/{aisdk-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/tool-vsdyktar.js +18 -0
- package/dist/chunks/{aisdk-dsynjm4b.js → tool-vvaq8bb8.js} +7 -7
- package/dist/chunks/{aisdk-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{aisdk-v4s5p1py.js → tool-w1p328vv.js} +11 -11
- package/dist/chunks/{aisdk-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-pjj09n0e.js → tool-w5tjdcqf.js} +23 -23
- package/dist/chunks/{aisdk-pna5398n.js → tool-w7jh0eam.js} +1 -1
- package/dist/chunks/{aisdk-cyp1whvh.js → tool-w8n0e5aw.js} +20 -20
- package/dist/chunks/{aisdk-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-r8p2vqew.js → tool-wk7hydj3.js} +11 -11
- package/dist/chunks/{aisdk-5smv69nk.js → tool-wkt2y4hc.js} +25 -25
- package/dist/chunks/{aisdk-fy36m1d4.js → tool-wyr36rym.js} +29 -29
- package/dist/chunks/{aisdk-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-bencpdpj.js → tool-x749c8ap.js} +24 -24
- package/dist/chunks/{aisdk-68nwcgwh.js → tool-xever9ax.js} +39 -39
- package/dist/chunks/{aisdk-drwq78ky.js → tool-xfkkasph.js} +4 -4
- package/dist/chunks/{aisdk-ms69wjh7.js → tool-xh089592.js} +5 -5
- package/dist/chunks/{aisdk-g0a0731h.js → tool-xhs54hgc.js} +33 -33
- package/dist/chunks/{aisdk-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-we7wvggr.js → tool-y4rjczph.js} +35 -35
- package/dist/chunks/{aisdk-y71avatq.js → tool-y71avatq.js} +1 -1
- package/dist/chunks/{aisdk-8qh6anns.js → tool-ydgy0jv4.js} +4 -4
- package/dist/chunks/{aisdk-045msxws.js → tool-yj0c5cmr.js} +27 -27
- package/dist/chunks/{aisdk-yp2x3t23.js → tool-yp2x3t23.js} +1 -1
- package/dist/chunks/{aisdk-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-p44d8wdy.js → tool-yt0fqk68.js} +5 -5
- package/dist/chunks/{aisdk-f1mb3w2p.js → tool-yt55jd1w.js} +20 -20
- package/dist/chunks/{aisdk-3sye6dmk.js → tool-yv16hj29.js} +19 -19
- package/dist/chunks/{aisdk-d9bxpwh9.js → tool-yw7byxdn.js} +14 -14
- package/dist/chunks/{aisdk-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-j4r9v230.js → tool-zkx6mb6f.js} +8 -8
- package/dist/chunks/{aisdk-hd8vw2pw.js → tool-znsx74x0.js} +1 -1
- package/dist/chunks/{aisdk-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-wm58vmky.js → tool-zs59ffwg.js} +22 -22
- package/dist/chunks/{aisdk-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{aisdk-fhnmn8wf.js → tool-zztd99f7.js} +48 -48
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/aisdk-ad2cdf3a.js +0 -252
- package/dist/chunks/aisdk-nmamyr0m.js +0 -26
- package/dist/chunks/aisdk-vnkjks7b.js +0 -18
- /package/dist/chunks/{aisdk-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
- /package/dist/chunks/{aisdk-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./tool-sd321mms.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./tool-cxfezmj7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID8,
|
|
11
|
+
Service59,
|
|
12
|
+
node62
|
|
13
|
+
} from "./tool-bbertzxx.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError8
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-0v0g5gxd.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service58,
|
|
19
|
+
node61
|
|
20
|
+
} from "./tool-bne83k22.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service57,
|
|
26
|
+
node60
|
|
27
|
+
} from "./tool-1dmvbadb.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service76,
|
|
30
|
+
node79
|
|
31
|
+
} from "./tool-n0tq777j.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event11,
|
|
46
|
+
ID: () => ID6,
|
|
47
47
|
NotFoundError: () => NotFoundError7,
|
|
48
|
-
Permission: () =>
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service56,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node59
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event11 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID6 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID6.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID8.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID6,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID6,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID6
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service56 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service83;
|
|
132
|
+
const location = yield* Service80;
|
|
133
|
+
const agents = yield* Service59;
|
|
134
|
+
const sessions = yield* Service58;
|
|
135
|
+
const saved = yield* Service57;
|
|
136
|
+
const hooks = yield* Service76;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID6.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID6.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service56.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node59 = makeLocationNode({
|
|
303
|
+
service: Service56,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node87, node84, node62, node61, node60, node79]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service56, node59, exports_permission, Rule2, Ruleset2, Event11 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./tool-0vx053wa.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID11.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-zztd99f7.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./tool-a9rnddwt.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./tool-9a22gx4j.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service49
|
|
16
|
+
} from "./tool-n2bwe27v.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service56
|
|
19
|
+
} from "./tool-391zmw43.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service16,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-5avn8fxx.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service77,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-36sqq72v.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service64
|
|
37
|
+
} from "./tool-asmesk1c.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service30
|
|
40
|
+
} from "./tool-jyzvwcc3.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./tool-c8c0e7p2.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./tool-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input10,
|
|
53
|
+
Plugin: () => Plugin12,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name10
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name10 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input10 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin12 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service30;
|
|
123
|
+
const jobs = yield* Service49;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service78;
|
|
126
|
+
const access = yield* Service16;
|
|
127
|
+
const shell = yield* Service64;
|
|
128
|
+
const shellSelect = yield* Service77;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service56;
|
|
131
|
+
const config = yield* Service67;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin20 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name10,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin20 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name10,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input10,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -206,7 +206,7 @@ var Plugin20 = {
|
|
|
206
206
|
const run = Effect.gen(function* () {
|
|
207
207
|
const result = yield* shell.result(info);
|
|
208
208
|
if (!result.capture)
|
|
209
|
-
return yield* new
|
|
209
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
210
210
|
const output = output2(result);
|
|
211
211
|
return {
|
|
212
212
|
...output,
|
|
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
220
220
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
221
221
|
const job = yield* jobs.start({
|
|
222
222
|
id: info.id,
|
|
223
|
-
type:
|
|
223
|
+
type: name10,
|
|
224
224
|
title: info.command,
|
|
225
225
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
226
226
|
recovery: {
|
|
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
250
250
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
const hook = (event) => Effect.gen(function* () {
|
|
253
|
-
const tool = event.tools[
|
|
253
|
+
const tool = event.tools[name10];
|
|
254
254
|
if (!tool)
|
|
255
255
|
return;
|
|
256
256
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
261
261
|
})
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin12, exports_shell };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-1msf33w2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./tool-sd321mms.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./tool-194bm8bb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-wkt2y4hc.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID11
|
|
20
|
+
} from "./tool-0vx053wa.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-kf4n8cem.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID11.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service83;
|
|
49
49
|
const tokens = new Map;
|
|
50
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
51
51
|
const loaded = {};
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID11.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID11.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID11.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID11.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID11.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID11.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|