@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make15(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./tool-0vx053wa.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID11.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./tool-fk1tprft.js";
|
|
1
5
|
import {
|
|
2
6
|
Service83,
|
|
3
7
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service79,
|
|
7
|
-
node83
|
|
8
|
-
} from "./aisdk-4z54v0t9.js";
|
|
8
|
+
} from "./tool-sd321mms.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
16
|
estimate2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-h6vf3j39.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionEvent2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-ec1grn59.js";
|
|
21
21
|
import {
|
|
22
22
|
provenance2,
|
|
23
23
|
compatible2,
|
|
24
24
|
isCheckpoint2,
|
|
25
25
|
encode2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-h9wp8z5w.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
load4
|
|
29
|
+
} from "./tool-m82n3tcb.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-znsx74x0.js";
|
|
33
33
|
import {
|
|
34
34
|
baseTranscript2,
|
|
35
35
|
unsupportedParts2,
|
|
36
36
|
boundImages2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service39,
|
|
38
|
+
node42
|
|
39
|
+
} from "./tool-f5j4h519.js";
|
|
40
40
|
import {
|
|
41
41
|
isRetryable2,
|
|
42
42
|
policy2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./tool-g5agzp2h.js";
|
|
44
44
|
import {
|
|
45
45
|
toSessionError2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./tool-txmctbw7.js";
|
|
47
47
|
import {
|
|
48
48
|
calculateCost2,
|
|
49
49
|
record2,
|
|
50
50
|
add2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./tool-tdstcens.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./tool-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/compaction.ts
|
|
57
57
|
var exports_compaction2 = {};
|
|
58
58
|
__export(exports_compaction2, {
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service11,
|
|
60
60
|
SessionCompaction: () => exports_compaction2,
|
|
61
61
|
buildPrompt: () => buildPrompt2,
|
|
62
62
|
estimateContext: () => estimateContext2,
|
|
63
63
|
estimatePrompt: () => estimatePrompt2,
|
|
64
64
|
layer: () => layer7,
|
|
65
|
-
node: () =>
|
|
65
|
+
node: () => node13,
|
|
66
66
|
recentUserMessages: () => recentUserMessages2
|
|
67
67
|
});
|
|
68
68
|
import {
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
} from "@opencode/ai";
|
|
79
79
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
80
80
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
81
|
-
class
|
|
81
|
+
class Service11 extends Context.Service()("@opencode/SessionCompaction") {
|
|
82
82
|
}
|
|
83
83
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
84
84
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -157,11 +157,11 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
157
157
|
};
|
|
158
158
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
159
159
|
var LEGACY_HEADING = "## Additional Context";
|
|
160
|
-
var layer7 = Layer.effect(
|
|
161
|
-
const bus = yield*
|
|
160
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
161
|
+
const bus = yield* Service83;
|
|
162
162
|
const llm = yield* LLMClient.Service;
|
|
163
|
-
const db = (yield*
|
|
164
|
-
const requests = yield*
|
|
163
|
+
const db = (yield* Service84).db;
|
|
164
|
+
const requests = yield* Service39;
|
|
165
165
|
const state = create3({
|
|
166
166
|
name: "session-compaction",
|
|
167
167
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -249,7 +249,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
249
249
|
const send = (request) => {
|
|
250
250
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
251
251
|
return Effect.gen(function* () {
|
|
252
|
-
const history = yield*
|
|
252
|
+
const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
|
|
253
253
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
254
254
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
255
255
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -452,16 +452,16 @@ ${text}`;
|
|
|
452
452
|
}, { metadata: outcome.metadata });
|
|
453
453
|
return { status: "completed" };
|
|
454
454
|
});
|
|
455
|
-
return
|
|
455
|
+
return Service11.of({
|
|
456
456
|
transform: state.transform,
|
|
457
457
|
reload: state.reload,
|
|
458
458
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
459
459
|
});
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
462
|
-
service:
|
|
461
|
+
var node13 = makeLocationNode({
|
|
462
|
+
service: Service11,
|
|
463
463
|
layer: layer7,
|
|
464
|
-
deps: [
|
|
464
|
+
deps: [node87, node88, llmClient2, node42]
|
|
465
465
|
});
|
|
466
466
|
var previousCompaction = (messages) => {
|
|
467
467
|
const [first] = messages;
|
|
@@ -666,4 +666,4 @@ var estimateMedia = (mime) => {
|
|
|
666
666
|
return 0;
|
|
667
667
|
};
|
|
668
668
|
|
|
669
|
-
export {
|
|
669
|
+
export { Service11, buildPrompt2, layer7, node13, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./tool-fk1tprft.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./tool-sd321mms.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./tool-tcay1cqt.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,55 +20,55 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-0v0g5gxd.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service58
|
|
29
|
+
} from "./tool-bne83k22.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service46
|
|
34
|
+
} from "./tool-ezfsjjcb.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service44
|
|
37
|
+
} from "./tool-qvyqyy4a.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./tool-eg73nz8j.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./tool-80cfmxjf.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./tool-amxsn76y.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./tool-0n945rvh.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./tool-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make14
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
65
|
+
var make14 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service83;
|
|
67
|
+
const database = yield* Service84;
|
|
68
|
+
const store = yield* Service58;
|
|
69
|
+
const instances = yield* Service48;
|
|
70
|
+
const execution = yield* Service44;
|
|
71
|
+
const admission = yield* Service46;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -135,7 +135,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service48, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service48, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service48, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make14, exports_session2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_driver, {
|
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make21,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node83,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node83 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node83, exports_driver };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./tool-fk1tprft.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node83
|
|
12
|
+
} from "./tool-ydgy0jv4.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service79,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured11,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node82
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID16 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info31 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID16,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,25 +46,25 @@ class Info25 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID16,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service79 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service79,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node88, node83]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
67
|
-
const db = (yield*
|
|
66
|
+
var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
67
|
+
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
70
70
|
const connections = new Map;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info31({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service79.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID16.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node82 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID16, Info31, NotFound3, CreateConflict2, Service79, configured11, node82, exports_workspace };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info17 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info17, exports_mcp5 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
node86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-424p9vrf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./tool-cxfezmj7.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make12
|
|
16
|
+
} from "./tool-m5gtchbr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service27,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node30
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service27 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service80;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service27.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node30 = makeLocationNode({
|
|
61
|
+
service: Service27,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node84, Global.node, node86, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service27, node30, exports_strategies };
|