@opencode/core 0.0.0-dev-20251 → 0.0.0-dev-20256
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{repository-cache-nhwg6c1p.js → aisdk-02y2a9xg.js} +2 -2
- package/dist/chunks/{repository-cache-5heeksrv.js → aisdk-045msxws.js} +29 -29
- package/dist/chunks/{repository-cache-de5yg9f9.js → aisdk-046kce9e.js} +19 -19
- package/dist/chunks/{repository-cache-j58c5xyq.js → aisdk-0996nyz8.js} +9 -9
- package/dist/chunks/{repository-cache-rk7s9xkn.js → aisdk-0br3sbwn.js} +4 -4
- package/dist/chunks/{repository-cache-42qtvhfk.js → aisdk-0byhtdew.js} +3 -3
- package/dist/chunks/{repository-cache-mp442rew.js → aisdk-0cv45488.js} +23 -23
- package/dist/chunks/{repository-cache-8tkd114c.js → aisdk-0m4243s0.js} +9 -9
- package/dist/chunks/{repository-cache-1zdwmq57.js → aisdk-0mvrhkyt.js} +27 -27
- package/dist/chunks/{repository-cache-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-cache-h4kyasgq.js → aisdk-0pavs2p4.js} +27 -27
- package/dist/chunks/{repository-cache-4bw5k2yb.js → aisdk-0qze0aqz.js} +7 -7
- package/dist/chunks/{repository-cache-2hr5nhwa.js → aisdk-0tzy42a9.js} +8 -8
- package/dist/chunks/{repository-cache-gfj9m061.js → aisdk-0w33wecb.js} +13 -13
- package/dist/chunks/{repository-cache-676jamrs.js → aisdk-182dr9rt.js} +14 -14
- package/dist/chunks/{repository-cache-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-cache-7gqwc1b4.js → aisdk-1fmq3znq.js} +25 -25
- package/dist/chunks/{repository-cache-8w20q39n.js → aisdk-1r5wma42.js} +10 -10
- package/dist/chunks/{repository-cache-74he466x.js → aisdk-1vmmb2v8.js} +47 -47
- package/dist/chunks/{repository-cache-3kjs2g8p.js → aisdk-1w9ezc4a.js} +7 -7
- package/dist/chunks/{repository-cache-56gdpj1q.js → aisdk-1ygqh575.js} +9 -9
- package/dist/chunks/{repository-cache-21r38tys.js → aisdk-21r38tys.js} +1 -1
- package/dist/chunks/{repository-cache-xgacp4m0.js → aisdk-270qpgxf.js} +5 -5
- package/dist/chunks/{repository-cache-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-cache-hv03xkvj.js → aisdk-2dxzzdm9.js} +18 -18
- package/dist/chunks/{repository-cache-53nswxx3.js → aisdk-2gzj9kj5.js} +9 -9
- package/dist/chunks/{repository-cache-9q2zkxzw.js → aisdk-2nq500x2.js} +10 -10
- package/dist/chunks/{repository-cache-7sw46hvh.js → aisdk-2qdztw1g.js} +3 -3
- package/dist/chunks/{repository-cache-zvxrxhcq.js → aisdk-349f6n3h.js} +9 -9
- package/dist/chunks/{repository-cache-qy8njgtj.js → aisdk-394617td.js} +1 -1
- package/dist/chunks/{repository-cache-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-nqnxh7mc.js → aisdk-3k6sfp50.js} +6 -6
- package/dist/chunks/{repository-cache-q5862mkf.js → aisdk-3m4atzyv.js} +53 -53
- package/dist/chunks/{repository-cache-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-5y5fcek4.js → aisdk-3sye6dmk.js} +13 -13
- package/dist/chunks/{repository-cache-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-tn0aqsam.js → aisdk-3w0fmcng.js} +5 -5
- package/dist/chunks/{repository-cache-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-h4txc3jc.js → aisdk-499m5pkh.js} +5 -5
- package/dist/chunks/{repository-cache-8fscv17v.js → aisdk-49dt11pw.js} +31 -31
- package/dist/chunks/{repository-cache-ger7gmny.js → aisdk-49svar8j.js} +24 -24
- package/dist/chunks/{repository-cache-95rsh2yr.js → aisdk-4her2v12.js} +8 -8
- package/dist/chunks/{repository-cache-33189bft.js → aisdk-4j3f3fxy.js} +9 -9
- package/dist/chunks/{repository-cache-f29mbr7f.js → aisdk-4j4tgtq5.js} +4 -4
- package/dist/chunks/{repository-cache-a2rma4s4.js → aisdk-4qabh746.js} +21 -21
- package/dist/chunks/{repository-cache-d5h09cnz.js → aisdk-4qwdvbmq.js} +3 -3
- package/dist/chunks/{repository-cache-1sjktwpq.js → aisdk-4wexvyjy.js} +13 -13
- package/dist/chunks/{repository-cache-3nxcgc5r.js → aisdk-4z54v0t9.js} +16 -16
- package/dist/chunks/{repository-cache-daxk1szt.js → aisdk-52zk98qq.js} +28 -28
- package/dist/chunks/{repository-cache-cssfr7rf.js → aisdk-55g7bsvt.js} +31 -31
- package/dist/chunks/{repository-cache-ex6p1v7c.js → aisdk-55g93apm.js} +6 -6
- package/dist/chunks/{repository-cache-ednp5hmx.js → aisdk-56m60q16.js} +8 -8
- package/dist/chunks/{repository-cache-57ez7d0k.js → aisdk-57ez7d0k.js} +2 -2
- package/dist/chunks/{repository-cache-2dfz3822.js → aisdk-57y3gjg2.js} +10 -10
- package/dist/chunks/{repository-cache-0mwb83qr.js → aisdk-5a8h8ctf.js} +35 -35
- package/dist/chunks/{repository-cache-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-cache-xyq4pa26.js → aisdk-5smv69nk.js} +22 -22
- package/dist/chunks/{repository-cache-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cache-zx6r7hdw.js → aisdk-5v50a7xx.js} +4 -4
- package/dist/chunks/{repository-cache-204cfetq.js → aisdk-5wm7c1zs.js} +8 -8
- package/dist/chunks/{repository-cache-zprs8td4.js → aisdk-63153s7y.js} +17 -17
- package/dist/chunks/{repository-cache-m0vw8bcc.js → aisdk-663rft7j.js} +11 -11
- package/dist/chunks/{repository-cache-669tq793.js → aisdk-669tq793.js} +1 -1
- package/dist/chunks/{repository-cache-5jkg60m6.js → aisdk-676mk4pm.js} +37 -37
- package/dist/chunks/{repository-cache-whb4syhh.js → aisdk-68nwcgwh.js} +36 -36
- package/dist/chunks/{repository-cache-eh2mspr1.js → aisdk-6bmgfwc8.js} +16 -16
- package/dist/chunks/{repository-cache-38mz08fy.js → aisdk-6dpq57k2.js} +33 -33
- package/dist/chunks/{repository-cache-z7nxtzsb.js → aisdk-6fwq4dqz.js} +8 -8
- package/dist/chunks/{repository-cache-v5dkyp31.js → aisdk-6hh8tjw2.js} +4 -4
- package/dist/chunks/{repository-cache-6msgmcgs.js → aisdk-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-cache-py3kkmfq.js → aisdk-6pc27hjz.js} +6 -6
- package/dist/chunks/{repository-cache-73tb2d7t.js → aisdk-73tb2d7t.js} +1 -1
- package/dist/chunks/{repository-cache-wqr5pdt5.js → aisdk-76z31epj.js} +24 -24
- package/dist/chunks/{repository-cache-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-711hbc5w.js → aisdk-7ccy6710.js} +15 -15
- package/dist/chunks/{repository-cache-dbv05mm3.js → aisdk-7cdat2nm.js} +4 -4
- package/dist/chunks/{repository-cache-m76ak856.js → aisdk-7cjd7khd.js} +12 -12
- package/dist/chunks/{repository-cache-ydybzatt.js → aisdk-7f83tr8w.js} +12 -12
- package/dist/chunks/{repository-cache-jjjjkqdk.js → aisdk-7kcvsn3b.js} +18 -18
- package/dist/chunks/{repository-cache-3s2gfese.js → aisdk-7nd1169e.js} +22 -22
- package/dist/chunks/{repository-cache-m6t25yxw.js → aisdk-7v9mzd9j.js} +42 -42
- package/dist/chunks/{repository-cache-783mvqzv.js → aisdk-7yxfz471.js} +20 -20
- package/dist/chunks/{repository-cache-jzy4k8ae.js → aisdk-800mfp3c.js} +14 -14
- package/dist/chunks/{repository-cache-tcezcvh9.js → aisdk-89znhe33.js} +4 -4
- package/dist/chunks/{repository-cache-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-cache-q8a22tjh.js → aisdk-8fm8ppq3.js} +147 -147
- package/dist/chunks/{repository-cache-eypvmx01.js → aisdk-8fqgctrg.js} +17 -17
- package/dist/chunks/{repository-cache-mqzwkyay.js → aisdk-8qh6anns.js} +6 -6
- package/dist/chunks/{repository-cache-a2w1s5qp.js → aisdk-8s0e1fjd.js} +49 -49
- package/dist/chunks/{repository-cache-tmvara0k.js → aisdk-8svjx7h2.js} +5 -5
- package/dist/chunks/{repository-cache-ann71p2r.js → aisdk-8xgx7xvf.js} +10 -10
- package/dist/chunks/{repository-cache-3b681mbx.js → aisdk-8xvfz31x.js} +92 -92
- package/dist/chunks/{repository-cache-94ek1h2f.js → aisdk-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-cache-frqnjdcx.js → aisdk-99mr7wdx.js} +24 -24
- package/dist/chunks/{repository-cache-cdf7n074.js → aisdk-9fe766st.js} +20 -20
- package/dist/chunks/{repository-cache-a3r4dcrj.js → aisdk-9kmbd9mt.js} +2 -2
- package/dist/chunks/{repository-cache-dvzrxbsj.js → aisdk-a3x8dc07.js} +22 -22
- package/dist/chunks/{repository-cache-mecya7nw.js → aisdk-a8ze81rj.js} +9 -9
- package/dist/chunks/{repository-cache-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
- package/dist/chunks/aisdk-ad2cdf3a.js +252 -0
- package/dist/chunks/{repository-cache-2wq7vqp7.js → aisdk-ae5xckma.js} +11 -11
- package/dist/chunks/{repository-cache-5k7m0c6w.js → aisdk-ajq3aykw.js} +21 -21
- package/dist/chunks/{repository-cache-7wf5zjhs.js → aisdk-akhznfh4.js} +60 -60
- package/dist/chunks/{repository-cache-q8ha9487.js → aisdk-as4rg0ma.js} +37 -37
- package/dist/chunks/{repository-cache-5qkxfyep.js → aisdk-axa5krkd.js} +5 -5
- package/dist/chunks/{repository-cache-kyabrh60.js → aisdk-az7dzcjk.js} +21 -21
- package/dist/chunks/{repository-cache-54k930pp.js → aisdk-b4h37xk4.js} +13 -13
- package/dist/chunks/{repository-cache-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-cache-4vqxrrhv.js → aisdk-bencpdpj.js} +28 -28
- package/dist/chunks/{repository-cache-wzkj2gsv.js → aisdk-bfq87az1.js} +28 -28
- package/dist/chunks/{repository-cache-2dxkyvt9.js → aisdk-bk8zh60f.js} +15 -15
- package/dist/chunks/{repository-cache-scv7p57g.js → aisdk-bkxyw0dr.js} +9 -9
- package/dist/chunks/{repository-cache-nb9cp8r9.js → aisdk-bs9yp185.js} +14 -14
- package/dist/chunks/{repository-cache-56pvw0gc.js → aisdk-btvey9wz.js} +19 -19
- package/dist/chunks/{repository-cache-4e8vs6eh.js → aisdk-c27esgm9.js} +8 -8
- package/dist/chunks/{repository-cache-vsk39x9d.js → aisdk-c61j08ve.js} +26 -26
- package/dist/chunks/{repository-cache-tpp3t0gy.js → aisdk-ccrnt3wf.js} +30 -30
- package/dist/chunks/{repository-cache-ckecvw8r.js → aisdk-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-cache-br0tr5aq.js → aisdk-cmwkp3r5.js} +8 -8
- package/dist/chunks/{repository-cache-8rvetdvw.js → aisdk-crdp3k4d.js} +13 -13
- package/dist/chunks/{repository-cache-naa9ps5d.js → aisdk-ctcghnt9.js} +8 -8
- package/dist/chunks/{repository-cache-g6q9qykm.js → aisdk-cwa6csj7.js} +9 -9
- package/dist/chunks/{repository-cache-0hpw93d1.js → aisdk-cyp1whvh.js} +18 -18
- package/dist/chunks/{repository-cache-p9r301nf.js → aisdk-czdg5ncj.js} +4 -4
- package/dist/chunks/{repository-cache-mx9vqzsb.js → aisdk-d1mtykxg.js} +6 -6
- package/dist/chunks/{repository-cache-r6ryweq5.js → aisdk-d9bxpwh9.js} +11 -11
- package/dist/chunks/{repository-cache-k8rhextm.js → aisdk-daex0s89.js} +35 -35
- package/dist/chunks/{repository-cache-hre11n8q.js → aisdk-db5a8hv2.js} +9 -9
- package/dist/chunks/{repository-cache-jvf3yq6v.js → aisdk-ddt2bs9e.js} +4 -4
- package/dist/chunks/{repository-cache-mcyyrr5k.js → aisdk-dfdarkbv.js} +26 -26
- package/dist/chunks/{repository-cache-82m37mnf.js → aisdk-dgnk288q.js} +18 -18
- package/dist/chunks/{repository-cache-wd844a8w.js → aisdk-dm7jexpd.js} +1 -1
- package/dist/chunks/{repository-cache-607q5haz.js → aisdk-dq0v80fr.js} +5 -5
- package/dist/chunks/{repository-cache-xfkkasph.js → aisdk-drwq78ky.js} +4 -4
- package/dist/chunks/{repository-cache-6d5yn9z3.js → aisdk-dsynjm4b.js} +7 -7
- package/dist/chunks/{repository-cache-00gdp0v0.js → aisdk-e4vfrr4m.js} +6 -6
- package/dist/chunks/{repository-cache-8tsdq50x.js → aisdk-eahhehpg.js} +4 -4
- package/dist/chunks/{repository-cache-ecfe7b91.js → aisdk-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-cache-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-7dqw4kz8.js → aisdk-esafk7q3.js} +5 -5
- package/dist/chunks/{repository-cache-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-cache-fqnfbc6e.js → aisdk-exx9rc7s.js} +15 -15
- package/dist/chunks/{repository-cache-cd6bmxb7.js → aisdk-f05xsng2.js} +22 -22
- package/dist/chunks/{repository-cache-avz58b7a.js → aisdk-f1mb3w2p.js} +20 -20
- package/dist/chunks/{repository-cache-pp9kfcev.js → aisdk-fc1g3vk8.js} +15 -15
- package/dist/chunks/{repository-cache-gqbzbbqn.js → aisdk-fcd91b3z.js} +14 -14
- package/dist/chunks/{repository-cache-08fsgfkc.js → aisdk-fhnmn8wf.js} +48 -48
- package/dist/chunks/{repository-cache-94js9ang.js → aisdk-fy36m1d4.js} +27 -27
- package/dist/chunks/{repository-cache-0s740jay.js → aisdk-g0a0731h.js} +33 -33
- package/dist/chunks/{repository-cache-g190xswt.js → aisdk-g190xswt.js} +1 -1
- package/dist/chunks/{repository-cache-6446sh3b.js → aisdk-g808avxm.js} +32 -32
- package/dist/chunks/{repository-cache-vjjxy6yb.js → aisdk-gcb0pgp4.js} +6 -6
- package/dist/chunks/{repository-cache-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-wsb67xeh.js → aisdk-gpk600j1.js} +11 -11
- package/dist/chunks/{repository-cache-gv6a8nnw.js → aisdk-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-cache-h6r3nrb9.js → aisdk-h6r3nrb9.js} +1 -1
- package/dist/chunks/{repository-cache-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-rk1r2hx8.js → aisdk-hd8vw2pw.js} +1 -1
- package/dist/chunks/{repository-cache-v2907cfy.js → aisdk-hksdfjn2.js} +32 -32
- package/dist/chunks/{repository-cache-ms63ke08.js → aisdk-hn0pq7g1.js} +28 -28
- package/dist/chunks/{repository-cache-xs7kd0ff.js → aisdk-hr8by5jr.js} +4 -4
- package/dist/chunks/{repository-cache-04ck8k4k.js → aisdk-hv5re2jg.js} +8 -8
- package/dist/chunks/{repository-cache-qj04qr5m.js → aisdk-hvmyt62c.js} +16 -16
- package/dist/chunks/{repository-cache-0afkxwjn.js → aisdk-hz3pjvd6.js} +6 -6
- package/dist/chunks/{repository-cache-qbf4b4ne.js → aisdk-hz8vg8zp.js} +36 -36
- package/dist/chunks/{repository-cache-h62cd3wx.js → aisdk-j4r9v230.js} +8 -8
- package/dist/chunks/{repository-cache-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cache-pmr4s4kc.js → aisdk-j83byb14.js} +4 -4
- package/dist/chunks/{repository-cache-dsd739fb.js → aisdk-jbm4dns3.js} +20 -20
- package/dist/chunks/{repository-cache-4v283kbg.js → aisdk-jqf6twm8.js} +11 -11
- package/dist/chunks/{repository-cache-de0jw3qm.js → aisdk-jskknkd1.js} +10 -10
- package/dist/chunks/{repository-cache-k3c624dm.js → aisdk-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-cache-kzeadhdf.js → aisdk-kkzkpgbp.js} +15 -15
- package/dist/chunks/{repository-cache-vtvqn5z4.js → aisdk-kqat4kfa.js} +25 -25
- package/dist/chunks/{repository-cache-810dpybx.js → aisdk-kvcyjew8.js} +13 -13
- package/dist/chunks/{repository-cache-4hecv8b8.js → aisdk-m2td0v2g.js} +18 -18
- package/dist/chunks/{repository-cache-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cache-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-ypx6w206.js → aisdk-ma7v7n5g.js} +72 -72
- package/dist/chunks/{repository-cache-b7evj62n.js → aisdk-majyh6z0.js} +24 -24
- package/dist/chunks/{repository-cache-jexxy024.js → aisdk-mf9m2v67.js} +3 -3
- package/dist/chunks/{repository-cache-y98nvmkd.js → aisdk-mfxxky5h.js} +14 -14
- package/dist/chunks/{repository-cache-7esjthxw.js → aisdk-ms69wjh7.js} +1 -1
- package/dist/chunks/{repository-cache-5xpznt2d.js → aisdk-mvksx64m.js} +4 -4
- package/dist/chunks/{repository-cache-c80bcpkz.js → aisdk-my9p806h.js} +10 -10
- package/dist/chunks/{repository-cache-d6tzdhy2.js → aisdk-n33bf5vn.js} +11 -11
- package/dist/chunks/{repository-cache-21v4w11m.js → aisdk-n3se9ktf.js} +20 -20
- package/dist/chunks/{repository-cache-vbdvtmb9.js → aisdk-n8dq3ec0.js} +41 -41
- package/dist/chunks/{repository-cache-h4ps4sj8.js → aisdk-n9pha4qt.js} +10 -10
- package/dist/chunks/{repository-cache-g56bqvsh.js → aisdk-ncnrdk5t.js} +33 -33
- package/dist/chunks/{repository-cache-818pfwc9.js → aisdk-nfcr1yw4.js} +6 -6
- package/dist/chunks/aisdk-nmamyr0m.js +26 -0
- package/dist/chunks/{repository-cache-ytvanp1b.js → aisdk-ns0x2tka.js} +6 -6
- package/dist/chunks/{repository-cache-vkbpj0nk.js → aisdk-p1751c20.js} +3 -3
- package/dist/chunks/{repository-cache-cr07tj7n.js → aisdk-p44d8wdy.js} +5 -5
- package/dist/chunks/{repository-cache-qc3t3aka.js → aisdk-pak9h2dr.js} +12 -12
- package/dist/chunks/{repository-cache-xsm8rsnb.js → aisdk-pjj09n0e.js} +21 -21
- package/dist/chunks/{repository-cache-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-wyy8ccsm.js → aisdk-pna5398n.js} +1 -1
- package/dist/chunks/{repository-cache-4jrabxkn.js → aisdk-ppv1xyee.js} +18 -18
- package/dist/chunks/{repository-cache-ccd57ky6.js → aisdk-ptb645zh.js} +18 -18
- package/dist/chunks/{repository-cache-7969rh3q.js → aisdk-pyyn0bp8.js} +11 -11
- package/dist/chunks/{repository-cache-q68kj198.js → aisdk-q4nr5ctg.js} +17 -17
- package/dist/chunks/{repository-cache-t984fh1y.js → aisdk-qd6w2snt.js} +40 -40
- package/dist/chunks/{repository-cache-rt54a6x5.js → aisdk-qfap2v99.js} +13 -13
- package/dist/chunks/{repository-cache-pnv527nz.js → aisdk-qg0jgkcp.js} +9 -9
- package/dist/chunks/{repository-cache-2j284yp4.js → aisdk-qjkv87ee.js} +13 -13
- package/dist/chunks/{repository-cache-624wfwgz.js → aisdk-qnp9kb3g.js} +15 -15
- package/dist/chunks/{repository-cache-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-9dxvb26p.js → aisdk-r3s520w4.js} +11 -11
- package/dist/chunks/{repository-cache-8btz10n0.js → aisdk-r6htjnjy.js} +39 -39
- package/dist/chunks/{repository-cache-341masja.js → aisdk-r6r0fhk9.js} +16 -16
- package/dist/chunks/{repository-cache-3gz738r3.js → aisdk-r8p2vqew.js} +9 -9
- package/dist/chunks/{repository-cache-5k1wcgjw.js → aisdk-rb3azzxf.js} +3 -3
- package/dist/chunks/{repository-cache-0zjqpmkz.js → aisdk-rbrsya93.js} +37 -37
- package/dist/chunks/{repository-cache-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-s8d7rejh.js → aisdk-rhjbct0v.js} +4 -4
- package/dist/chunks/{repository-cache-vbq8pb5b.js → aisdk-s3mttwrw.js} +14 -14
- package/dist/chunks/{repository-cache-fd1wgf4c.js → aisdk-szzp65n1.js} +22 -22
- package/dist/chunks/{repository-cache-fdjyeynq.js → aisdk-t6msp11s.js} +6 -6
- package/dist/chunks/{repository-cache-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-92azg307.js → aisdk-tdpndm1c.js} +5 -5
- package/dist/chunks/{repository-cache-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-wvjcvcce.js → aisdk-tnw8k1e5.js} +11 -11
- package/dist/chunks/{repository-cache-tvtrv512.js → aisdk-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-cache-mmm9tkaz.js → aisdk-tw4w1vk3.js} +23 -23
- package/dist/chunks/{repository-cache-k1qrnqst.js → aisdk-txc1zf78.js} +8 -8
- package/dist/chunks/{repository-cache-8dbf0tjh.js → aisdk-tydak3jd.js} +20 -20
- package/dist/chunks/{repository-cache-zz56t2w7.js → aisdk-v4s5p1py.js} +11 -11
- package/dist/chunks/{repository-cache-9z3rd8yt.js → aisdk-v4vtjwr4.js} +11 -11
- package/dist/chunks/{repository-cache-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/aisdk-vnkjks7b.js +18 -0
- package/dist/chunks/{repository-cache-m90fhazv.js → aisdk-vsnq8yew.js} +31 -31
- package/dist/chunks/{repository-cache-vzcthcp8.js → aisdk-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-cache-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-w1eejvng.js → aisdk-w1eejvng.js} +1 -1
- package/dist/chunks/{repository-cache-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-pbn1wd6z.js → aisdk-w7g7j2er.js} +1 -1
- package/dist/chunks/{repository-cache-4nzedb29.js → aisdk-w9ah4h24.js} +9 -9
- package/dist/chunks/{repository-cache-wd3x2cqz.js → aisdk-wd3x2cqz.js} +2 -2
- package/dist/chunks/{repository-cache-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-095hcjf8.js → aisdk-we7wvggr.js} +37 -37
- package/dist/chunks/{repository-cache-qmys0th1.js → aisdk-wgd50f01.js} +25 -25
- package/dist/chunks/{repository-cache-fbhw4wv7.js → aisdk-wjvtgdma.js} +21 -21
- package/dist/chunks/{repository-cache-vj03c95h.js → aisdk-wm58vmky.js} +22 -22
- package/dist/chunks/{repository-cache-cenxd33d.js → aisdk-x0sz19sa.js} +32 -32
- package/dist/chunks/{repository-cache-x1ezjp6w.js → aisdk-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-cache-b7b4ctej.js → aisdk-x2rw7g36.js} +5 -5
- package/dist/chunks/{repository-cache-16612zrn.js → aisdk-x88ttkg4.js} +11 -11
- package/dist/chunks/{repository-cache-mae0jmk3.js → aisdk-xaewbne5.js} +18 -18
- package/dist/chunks/{repository-cache-xkntkrq7.js → aisdk-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-cache-engkf0xy.js → aisdk-xpc0fge1.js} +6 -6
- package/dist/chunks/{repository-cache-mzppa8ta.js → aisdk-xpgqa4c9.js} +33 -33
- package/dist/chunks/{repository-cache-hpm09z4s.js → aisdk-xtk3nah1.js} +22 -22
- package/dist/chunks/{repository-cache-7pr2hkwv.js → aisdk-xvp1j2dc.js} +5 -5
- package/dist/chunks/{repository-cache-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-dpkg50ah.js → aisdk-y71avatq.js} +4 -4
- package/dist/chunks/{repository-cache-mksgfzgs.js → aisdk-ybaxr0a6.js} +6 -6
- package/dist/chunks/{repository-cache-qfr8erz8.js → aisdk-yfbzmvpx.js} +2 -2
- package/dist/chunks/{repository-cache-njd2epf3.js → aisdk-yfedktg3.js} +96 -96
- package/dist/chunks/{repository-cache-gp490jqz.js → aisdk-yfj4tzgq.js} +8 -8
- package/dist/chunks/{repository-cache-0r7yqxbf.js → aisdk-yjptyezs.js} +5 -5
- package/dist/chunks/{repository-cache-yp2x3t23.js → aisdk-yp2x3t23.js} +1 -1
- package/dist/chunks/{repository-cache-fzytvzc7.js → aisdk-yr1wc87s.js} +16 -16
- package/dist/chunks/{repository-cache-yrhqyw5v.js → aisdk-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-cache-yrznvahk.js → aisdk-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-cache-j4mm37g8.js → aisdk-ys8gg27d.js} +4 -4
- package/dist/chunks/aisdk-ytsgtawk.js +507 -0
- package/dist/chunks/{repository-cache-mmvzmsg4.js → aisdk-yvam1hap.js} +10 -10
- package/dist/chunks/{repository-cache-z07pqspn.js → aisdk-z07pqspn.js} +3 -3
- package/dist/chunks/{repository-cache-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-bc1drp7w.js → aisdk-z312547k.js} +25 -25
- package/dist/chunks/{repository-cache-z63w68vq.js → aisdk-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-cache-mb5ynwt8.js → aisdk-z73vq4bz.js} +22 -22
- package/dist/chunks/{repository-cache-j4jqcffg.js → aisdk-zagye02c.js} +50 -50
- package/dist/chunks/{repository-cache-zeh9ct20.js → aisdk-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-cache-9zy2j2cw.js → aisdk-zfbzdcys.js} +22 -22
- package/dist/chunks/{repository-cache-0thq5hk7.js → aisdk-zgf4bnax.js} +12 -12
- package/dist/chunks/{repository-cache-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-t2ctsxfp.js → aisdk-zvyw4fnc.js} +32 -32
- package/dist/chunks/{repository-cache-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-cache-t1ap8zfg.js → aisdk-zyn999ja.js} +3 -3
- 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 +125 -125
- 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 +124 -124
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- 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 +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- 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 +99 -99
- 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 +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- 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 +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- 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 +109 -109
- 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 +4 -4
- 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 +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- 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 +76 -76
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +7 -7
- 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 +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 +134 -134
- 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 +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- 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 +229 -229
- 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 +124 -124
- 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 +85 -85
- 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 +154 -154
- 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 +220 -220
- 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 +87 -87
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- 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 +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +1 -1
- 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 +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-cache-4jx8qdh8.js +0 -252
- package/dist/chunks/repository-cache-f2zhp4xq.js +0 -26
- package/dist/chunks/repository-cache-qc068m1q.js +0 -18
- package/dist/chunks/repository-cache-te7y3fhr.js +0 -507
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-922hggd3.js → aisdk-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hjbc5kem.js → aisdk-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-sk3qaz4a.js → aisdk-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-1w9ezc4a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./aisdk-4z54v0t9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-wgd50f01.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-5smv69nk.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-dfdarkbv.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -159,10 +159,10 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service79;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -323,4 +323,4 @@ function claim(token) {
|
|
|
323
323
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./aisdk-4z54v0t9.js";
|
|
5
|
+
import {
|
|
6
|
+
Service73,
|
|
7
|
+
node77
|
|
8
|
+
} from "./aisdk-0cv45488.js";
|
|
5
9
|
import {
|
|
6
10
|
Service78,
|
|
7
11
|
node82
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service81,
|
|
11
|
-
node85
|
|
12
|
-
} from "./repository-cache-vj03c95h.js";
|
|
12
|
+
} from "./aisdk-wm58vmky.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service77,
|
|
16
|
+
node81
|
|
17
|
+
} from "./aisdk-s3mttwrw.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-4j3f3fxy.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service58,
|
|
26
|
+
node61
|
|
27
|
+
} from "./aisdk-3m4atzyv.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service69,
|
|
30
|
+
node73
|
|
31
|
+
} from "./aisdk-dgnk288q.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./aisdk-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: () => Service13,
|
|
41
|
+
node: () => node15
|
|
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 Service13 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(Service13, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service79;
|
|
52
|
+
const location = yield* Service77;
|
|
53
|
+
const permission = yield* Service58;
|
|
54
|
+
const forms = yield* Service73;
|
|
55
|
+
const rpc = yield* Service69;
|
|
56
|
+
const project = yield* Service78;
|
|
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(Service27, 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 Service13.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node15 = makeLocationNode({
|
|
84
|
+
service: Service13,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node83, node81, node61, node82, node77, node73]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service13, node15, exports_location_lifecycle };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./aisdk-4z54v0t9.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./aisdk-wgd50f01.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-0cv45488.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,7 +31,7 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
34
|
+
Event: () => Event17,
|
|
35
35
|
ID: () => ID14,
|
|
36
36
|
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
@@ -40,8 +40,8 @@ __export(exports_integration, {
|
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service72,
|
|
44
|
+
node: () => node76
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
65
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
66
66
|
var ID14 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -100,14 +100,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service72 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
110
|
-
const bus = yield*
|
|
108
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service74;
|
|
110
|
+
const bus = yield* Service79;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
113
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service72.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node76 = makeLocationNode({
|
|
584
|
+
service: Service72,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node78, node83, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3,
|
|
589
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service72, node76, exports_integration, Event17 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-dfdarkbv.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-vsnq8yew.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./aisdk-szzp65n1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service34;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make4, LoadError2, exports_module };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-dq0v80fr.js";
|
|
8
8
|
import {
|
|
9
9
|
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service81,
|
|
16
|
+
node85
|
|
17
|
+
} from "./aisdk-kvcyjew8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service80,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node84,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service80 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service81;
|
|
110
|
+
return Service80.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node84 = makeGlobalNode({
|
|
171
|
+
service: Service80,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node85]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service80, isError2, validateBranch2, node84, exports_repository_cache };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service25,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer10,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node28
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service25.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node28 = makeGlobalNode({ service: Service25, layer: layer10, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service25, makeLayer2, layer10, node28, exports_model_transport };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./aisdk-s3mttwrw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./aisdk-99mr7wdx.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service65
|
|
16
|
+
} from "./aisdk-2dxzzdm9.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry4,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-zvyw4fnc.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service58
|
|
26
|
+
} from "./aisdk-3m4atzyv.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service42
|
|
29
|
+
} from "./aisdk-7kcvsn3b.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin29,
|
|
41
|
+
name: () => name10,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name10 = "grep";
|
|
48
|
+
var Input10 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input4 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin29 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service66;
|
|
90
|
+
const ripgrep = yield* Service65;
|
|
91
|
+
const location = yield* Service77;
|
|
92
|
+
const access = yield* Service42;
|
|
93
|
+
const permission = yield* Service58;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name10,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input10,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name10,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin22 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry4.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin22 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin22 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name10, Input10, Output7, toModelContent4, Plugin29, exports_grep };
|