@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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./tool-bbertzxx.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info21
|
|
9
|
+
} from "./tool-f32czd11.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-11tc0n79.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./tool-a9rnddwt.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./tool-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin24
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info21);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin24 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service67;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin41 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID8.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID8.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin24, exports_agent };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service72
|
|
4
|
+
} from "./tool-0vx053wa.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./tool-a9rnddwt.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service72;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service67);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-f9v45azf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./tool-a9rnddwt.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-kf4n8cem.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service67;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID10.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./tool-sd321mms.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-391zmw43.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event10,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info10,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service55,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node58,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event10 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info10 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service55 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service55.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node58 = makeLocationNode({
|
|
112
|
+
service: Service55,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID5, Name2, available2, toModelOutput3, prepare3, Service55, node58, exports_skill5, Event10 };
|
|
@@ -1,33 +1,33 @@
|
|
|
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
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-5mtzsd3b.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service14
|
|
20
|
+
} from "./tool-f5gy8qwh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID11,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-0vx053wa.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
ID3,
|
|
28
|
+
Input13,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-t5eds39s.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var methodID = MethodID2.make("device");
|
|
|
43
43
|
var RemoteResponse = Schema.Struct({
|
|
44
44
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
45
45
|
websearch: Schema.Struct({
|
|
46
|
-
providerID:
|
|
46
|
+
providerID: ID3
|
|
47
47
|
}).pipe(Schema.optional),
|
|
48
48
|
mcp: Schema.Struct({
|
|
49
49
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -71,7 +71,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
71
71
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
72
72
|
function oauth(http) {
|
|
73
73
|
return {
|
|
74
|
-
integrationID:
|
|
74
|
+
integrationID: ID12.make("opencode"),
|
|
75
75
|
method: {
|
|
76
76
|
id: methodID,
|
|
77
77
|
type: "oauth",
|
|
@@ -125,10 +125,10 @@ function oauth(http) {
|
|
|
125
125
|
var OpencodePlugin2 = define({
|
|
126
126
|
id: "opencode.provider.opencode",
|
|
127
127
|
effect: Effect.fn(function* (ctx) {
|
|
128
|
-
const bus = yield*
|
|
128
|
+
const bus = yield* Service83;
|
|
129
129
|
const client = yield* HttpClient.HttpClient;
|
|
130
130
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
131
|
-
const managed = yield*
|
|
131
|
+
const managed = yield* Service14;
|
|
132
132
|
const loading = Semaphore.makeUnsafe(1);
|
|
133
133
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
134
134
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -162,7 +162,7 @@ var OpencodePlugin2 = define({
|
|
|
162
162
|
providers.update(providerID, (provider) => {
|
|
163
163
|
if (source && source.provider !== provider)
|
|
164
164
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
165
|
-
provider.integrationID =
|
|
165
|
+
provider.integrationID = ID12.make("opencode");
|
|
166
166
|
if (item.canonical !== undefined)
|
|
167
167
|
provider.canonical = item.canonical;
|
|
168
168
|
if (item.name !== undefined)
|
|
@@ -232,7 +232,7 @@ var OpencodePlugin2 = define({
|
|
|
232
232
|
sourceConnection: snapshot.connection
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
const item = providers.get(
|
|
235
|
+
const item = providers.get(ID11.opencode);
|
|
236
236
|
if (!item)
|
|
237
237
|
return;
|
|
238
238
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -244,7 +244,7 @@ var OpencodePlugin2 = define({
|
|
|
244
244
|
});
|
|
245
245
|
});
|
|
246
246
|
yield* ctx.model.transform((models) => {
|
|
247
|
-
const item = models.provider.get(
|
|
247
|
+
const item = models.provider.get(ID11.opencode);
|
|
248
248
|
if (!item)
|
|
249
249
|
return;
|
|
250
250
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -278,7 +278,7 @@ var OpencodePlugin2 = define({
|
|
|
278
278
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
279
279
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
280
280
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
281
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
281
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
282
282
|
query: input.query,
|
|
283
283
|
providerID: descriptor.providerID
|
|
284
284
|
}));
|
|
@@ -314,7 +314,7 @@ var OpencodePlugin2 = define({
|
|
|
314
314
|
});
|
|
315
315
|
});
|
|
316
316
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
317
|
-
yield* bus.subscribe(
|
|
317
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
318
318
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
319
319
|
})
|
|
320
320
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-424p9vrf.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service82;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make19 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-q3t37ft6.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-0v0g5gxd.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-bjtzbw4r.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-bk7jaeqh.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-h9wp8z5w.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make4(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make4 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./tool-sd321mms.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service74,
|
|
7
7
|
node77
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-hxxwhazt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./tool-zs59ffwg.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./tool-cxfezmj7.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-csc4d3td.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service56,
|
|
26
|
+
node59
|
|
27
|
+
} from "./tool-391zmw43.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service20,
|
|
30
|
+
node23
|
|
31
|
+
} from "./tool-eacc2dt9.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service17,
|
|
41
|
+
node: () => node19
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service17 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service83;
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service56;
|
|
54
|
+
const forms = yield* Service74;
|
|
55
|
+
const rpc = yield* Service20;
|
|
56
|
+
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service17.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node19 = makeLocationNode({
|
|
84
|
+
service: Service17,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node87, node84, node59, node85, node77, node23]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service17, node19, exports_location_lifecycle };
|