@opencode/core 0.0.0-dev-20453 → 0.0.0-dev-20456
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 +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-activity-9gre9nx3.js → bus-07rpra15.js} +24 -24
- package/dist/chunks/{location-activity-3kztasyy.js → bus-09e67fyf.js} +16 -16
- package/dist/chunks/{location-activity-f9y9hmgf.js → bus-0b4q8xmz.js} +3 -3
- package/dist/chunks/{location-activity-qfd7hwsc.js → bus-0m6c78a6.js} +45 -45
- package/dist/chunks/{location-activity-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-2v8f1jrd.js → bus-0r6681ea.js} +6 -6
- package/dist/chunks/{location-activity-0vbcp93d.js → bus-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-activity-9by34d12.js → bus-0vcw7k74.js} +15 -15
- package/dist/chunks/{location-activity-9gy0mqav.js → bus-10836fm6.js} +6 -6
- package/dist/chunks/{location-activity-wcn4q3js.js → bus-126v7228.js} +7 -7
- package/dist/chunks/{location-activity-j21w7bgy.js → bus-18sdc99r.js} +23 -23
- package/dist/chunks/{location-activity-r8xr0va3.js → bus-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-activity-ea0j2401.js → bus-1azk1yny.js} +11 -11
- package/dist/chunks/{location-activity-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-1dvck2a7.js → bus-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-activity-x1b45qef.js → bus-1nkdvm6e.js} +19 -19
- package/dist/chunks/{location-activity-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{location-activity-2mrpqgz7.js → bus-25s4nf99.js} +1 -1
- package/dist/chunks/bus-28mzb8tx.js +252 -0
- package/dist/chunks/{location-activity-23dvhdvz.js → bus-29kqd4xe.js} +23 -19
- package/dist/chunks/{location-activity-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-0dnsf5nw.js → bus-2bq26m17.js} +18 -18
- package/dist/chunks/{location-activity-chpz43me.js → bus-2deks942.js} +12 -12
- package/dist/chunks/{location-activity-11f9m2x1.js → bus-2fe9qfkh.js} +8 -8
- package/dist/chunks/{location-activity-xxwwvfr7.js → bus-2fshbne4.js} +32 -32
- package/dist/chunks/{location-activity-7d2a7xbs.js → bus-2hg7qvzt.js} +5 -5
- package/dist/chunks/{location-activity-qgn6gcr1.js → bus-2k8khapm.js} +5 -5
- package/dist/chunks/{location-activity-gqmj0vw3.js → bus-2r52bkjg.js} +11 -11
- package/dist/chunks/{location-activity-1ygqh575.js → bus-33w4ejhs.js} +6 -6
- package/dist/chunks/{location-activity-c39pwkd5.js → bus-39jp39n2.js} +11 -11
- package/dist/chunks/{location-activity-gm7hwqga.js → bus-3es0vtpb.js} +36 -36
- package/dist/chunks/{location-activity-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-wfgvp1xr.js → bus-3gahd5e6.js} +11 -11
- package/dist/chunks/{location-activity-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-ygmbmy1n.js → bus-3samnn8y.js} +18 -18
- package/dist/chunks/{location-activity-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-g90eh6fn.js → bus-3v5tjer0.js} +9 -9
- package/dist/chunks/{location-activity-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-427t97hr.js → bus-427t97hr.js} +1 -1
- package/dist/chunks/{location-activity-wfhejpv4.js → bus-42wf80ys.js} +15 -15
- package/dist/chunks/{location-activity-478pnez3.js → bus-43dekb11.js} +8 -8
- package/dist/chunks/{location-activity-wfjr8454.js → bus-44350w6j.js} +15 -15
- package/dist/chunks/{location-activity-ng68s3nr.js → bus-46zgf583.js} +28 -28
- package/dist/chunks/{location-activity-p0wnrrn1.js → bus-493c09k7.js} +11 -11
- package/dist/chunks/{location-activity-c201mq4a.js → bus-4c5jgckt.js} +23 -23
- package/dist/chunks/{location-activity-85hv6rah.js → bus-4jzjfn5k.js} +1 -1
- package/dist/chunks/{location-activity-aj79anbj.js → bus-4qq7gjjt.js} +26 -26
- package/dist/chunks/{location-activity-4ts7tf6z.js → bus-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-activity-g1jsknwd.js → bus-50g72j5k.js} +9 -9
- package/dist/chunks/{location-activity-54ma36ye.js → bus-54ma36ye.js} +1 -1
- package/dist/chunks/{location-activity-ycftcbaa.js → bus-57e5fb70.js} +13 -13
- package/dist/chunks/{location-activity-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-9gc7vjkx.js → bus-5e23jtee.js} +4 -4
- package/dist/chunks/{location-activity-3mrs3035.js → bus-5m9d0v3h.js} +11 -11
- package/dist/chunks/{location-activity-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-tzm1209m.js → bus-5tfypkwc.js} +20 -20
- package/dist/chunks/{location-activity-5xtgfte3.js → bus-5xtgfte3.js} +1 -1
- package/dist/chunks/{location-activity-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-gteb19p1.js → bus-67zjm2ts.js} +12 -12
- package/dist/chunks/{location-activity-wwzz8ypg.js → bus-69z05ct2.js} +10 -10
- package/dist/chunks/{location-activity-zmtd63ck.js → bus-6dbcv2mg.js} +61 -61
- package/dist/chunks/{location-activity-003c7wt2.js → bus-6hm8ceqe.js} +9 -9
- package/dist/chunks/{location-activity-9rj43f5v.js → bus-6k7qrsge.js} +42 -42
- package/dist/chunks/{location-activity-tzkjb5m6.js → bus-6vjn8bs4.js} +2 -2
- package/dist/chunks/{location-activity-k1qrnqst.js → bus-6ysrkrkr.js} +8 -8
- package/dist/chunks/{location-activity-g6yfr6ja.js → bus-6yz0wx8n.js} +5 -5
- package/dist/chunks/{location-activity-6s622yr1.js → bus-6z9y85k1.js} +12 -12
- package/dist/chunks/{location-activity-71az546q.js → bus-71az546q.js} +2 -2
- package/dist/chunks/{location-activity-xp9rpgmk.js → bus-76byg99p.js} +13 -13
- package/dist/chunks/{location-activity-yze94sqn.js → bus-79wdy8w3.js} +15 -15
- package/dist/chunks/{location-activity-tg08ry1v.js → bus-7afztb1q.js} +10 -10
- package/dist/chunks/{location-activity-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-mf9m2v67.js → bus-7w99qc9d.js} +3 -3
- package/dist/chunks/{location-activity-fxsr6bej.js → bus-803ssjp6.js} +12 -12
- package/dist/chunks/{location-activity-sgf62tgk.js → bus-8233evh2.js} +5 -5
- package/dist/chunks/{location-activity-84txncab.js → bus-84txncab.js} +1 -1
- package/dist/chunks/{location-activity-7r0957wm.js → bus-880y6mes.js} +9 -9
- package/dist/chunks/{location-activity-gsc2mzyn.js → bus-8b1ss11z.js} +18 -18
- package/dist/chunks/{location-activity-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-j0qbryxe.js → bus-8f33cbgq.js} +33 -33
- package/dist/chunks/{location-activity-fg3fdfb5.js → bus-8mw75tqc.js} +18 -18
- package/dist/chunks/{location-activity-6c77ke86.js → bus-8ntpctcn.js} +3 -3
- package/dist/chunks/{location-activity-t7q3zwqd.js → bus-8sfk56rd.js} +20 -20
- package/dist/chunks/{location-activity-n2pws1p9.js → bus-920rzy2y.js} +29 -29
- package/dist/chunks/{location-activity-5e5xx9qx.js → bus-945xqbtq.js} +3 -3
- package/dist/chunks/{location-activity-qnb2tekq.js → bus-96s4xc3b.js} +12 -12
- package/dist/chunks/{location-activity-tjynpahe.js → bus-9845frmh.js} +28 -28
- package/dist/chunks/{location-activity-4v5extd4.js → bus-9cm5b9vh.js} +17 -17
- package/dist/chunks/{location-activity-9e5bzkjp.js → bus-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-activity-evgpkmar.js → bus-9evqnc37.js} +3 -3
- package/dist/chunks/{location-activity-t0hd02nr.js → bus-9kp07zbp.js} +43 -43
- package/dist/chunks/{location-activity-m8abcxkm.js → bus-9q1jjfyc.js} +13 -13
- package/dist/chunks/{location-activity-rhjbct0v.js → bus-9t7a50xb.js} +4 -4
- package/dist/chunks/{location-activity-vx4w2pwg.js → bus-9tzdqf8d.js} +26 -26
- package/dist/chunks/{location-activity-4cq9zry8.js → bus-a2tc9waf.js} +42 -42
- package/dist/chunks/{location-activity-pmwpe40e.js → bus-a89e0tac.js} +4 -4
- package/dist/chunks/{location-activity-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-n9g26b99.js → bus-at6aj564.js} +26 -26
- package/dist/chunks/{location-activity-b7zye6tz.js → bus-ayrkev2m.js} +36 -36
- package/dist/chunks/{location-activity-scgrse2b.js → bus-b3f8fkhc.js} +5 -5
- package/dist/chunks/{location-activity-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-2jnps8zt.js → bus-b79pyvrv.js} +25 -25
- package/dist/chunks/{location-activity-f73rjn58.js → bus-baaqp4zd.js} +4 -4
- package/dist/chunks/{location-activity-ct0pwpmt.js → bus-bbb8ehwv.js} +24 -24
- package/dist/chunks/{location-activity-9s7wab0j.js → bus-bfaxhgcr.js} +4 -4
- package/dist/chunks/{location-activity-6q817a52.js → bus-bmpgd31q.js} +13 -13
- package/dist/chunks/{location-activity-4t2v7hfp.js → bus-bnmj7y05.js} +43 -43
- package/dist/chunks/{location-activity-gcb0pgp4.js → bus-bq2zwxzx.js} +3 -3
- package/dist/chunks/{location-activity-86vx44n9.js → bus-brhcyk4f.js} +15 -15
- package/dist/chunks/{location-activity-vyqn3nqs.js → bus-bscb95cy.js} +4 -4
- package/dist/chunks/{location-activity-b3s6veaj.js → bus-bwnh4xhg.js} +8 -8
- package/dist/chunks/{location-activity-v0rc4nay.js → bus-bzcp46d5.js} +21 -21
- package/dist/chunks/{location-activity-mjkpcfa5.js → bus-c2nphmqg.js} +3 -3
- package/dist/chunks/{location-activity-1ykrta78.js → bus-c61jevcg.js} +27 -27
- package/dist/chunks/{location-activity-vfazva44.js → bus-c98vd2ze.js} +10 -10
- package/dist/chunks/{location-activity-e2phpga6.js → bus-cets64z2.js} +16 -16
- package/dist/chunks/{location-activity-ez263tce.js → bus-ct4hz3c4.js} +21 -21
- package/dist/chunks/{location-activity-xm62360v.js → bus-cv2dkb1m.js} +18 -18
- package/dist/chunks/{location-activity-cwa6csj7.js → bus-cwa6csj7.js} +2 -2
- package/dist/chunks/{location-activity-zgmzscnz.js → bus-czmrk80h.js} +13 -13
- package/dist/chunks/{location-activity-09cpv53b.js → bus-d0ftgx4g.js} +12 -12
- package/dist/chunks/{location-activity-kv219t4m.js → bus-dc0xs349.js} +8 -8
- package/dist/chunks/{location-activity-e7jccgjw.js → bus-dga05zz9.js} +9 -9
- package/dist/chunks/{location-activity-1fkbeq5x.js → bus-dj0r27g9.js} +8 -8
- package/dist/chunks/{location-activity-dnxkq42g.js → bus-dnxkq42g.js} +1 -1
- package/dist/chunks/{location-activity-dpkg50ah.js → bus-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-activity-9aw854z4.js → bus-dy540kzp.js} +30 -30
- package/dist/chunks/{location-activity-y15ydyq2.js → bus-e5nayjxg.js} +83 -83
- package/dist/chunks/{location-activity-ad3w1xpm.js → bus-e98pqgdb.js} +46 -46
- package/dist/chunks/{location-activity-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-bh9r25jx.js → bus-ehqwx2ep.js} +9 -9
- package/dist/chunks/{location-activity-tqm1q5yd.js → bus-eqyew6jq.js} +24 -24
- package/dist/chunks/{location-activity-bxefgszx.js → bus-er8tqrhh.js} +12 -12
- package/dist/chunks/{location-activity-5v56ye11.js → bus-erk7avb5.js} +22 -22
- package/dist/chunks/{location-activity-z6gg0gpm.js → bus-es3jms3y.js} +35 -35
- package/dist/chunks/{location-activity-rwmvkvsa.js → bus-ese5hwsd.js} +9 -9
- package/dist/chunks/{location-activity-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-bezvn84f.js → bus-f0a8cq3q.js} +1 -1
- package/dist/chunks/{location-activity-26d8bfbx.js → bus-f9ytknrz.js} +11 -11
- package/dist/chunks/{location-activity-sxz6gkc3.js → bus-fdv30zvt.js} +4 -4
- package/dist/chunks/{location-activity-21vwh8qv.js → bus-fhnfrw34.js} +4 -4
- package/dist/chunks/{location-activity-e32pbqs4.js → bus-fwfvrmc2.js} +4 -4
- package/dist/chunks/{location-activity-1wz38aky.js → bus-fwv856v3.js} +14 -14
- package/dist/chunks/{location-activity-2kg9s2n1.js → bus-fyzaqwp2.js} +35 -35
- package/dist/chunks/{location-activity-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-dthpx6s0.js → bus-ghdk5gn9.js} +142 -142
- package/dist/chunks/{location-activity-8ava1jc3.js → bus-grm2rgxh.js} +4 -4
- package/dist/chunks/{location-activity-fzwxsp19.js → bus-gxgtv2x7.js} +9 -9
- package/dist/chunks/{location-activity-k6kynbar.js → bus-gxqmhm25.js} +1 -1
- package/dist/chunks/{location-activity-h2b79v29.js → bus-h2b79v29.js} +2 -2
- package/dist/chunks/{location-activity-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-x6rhwzwp.js → bus-ha8r1360.js} +10 -10
- package/dist/chunks/{location-activity-1ghf9962.js → bus-hap8z185.js} +21 -21
- package/dist/chunks/{location-activity-0aepwwwc.js → bus-hc3p525n.js} +24 -24
- package/dist/chunks/{location-activity-0j3s9b35.js → bus-hdcmk0ga.js} +28 -28
- package/dist/chunks/{location-activity-dskjw3rd.js → bus-hmaf0fyb.js} +3 -3
- package/dist/chunks/{location-activity-x7z82xg2.js → bus-hn3gzw34.js} +15 -15
- package/dist/chunks/{location-activity-psvrq3fn.js → bus-j46w67sk.js} +89 -89
- package/dist/chunks/{location-activity-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-jervv9x6.js → bus-jervv9x6.js} +3 -3
- package/dist/chunks/{location-activity-kpewm0pp.js → bus-jh3gssky.js} +5 -5
- package/dist/chunks/{location-activity-8sze2n9a.js → bus-jktqzjpa.js} +4 -4
- package/dist/chunks/bus-jqh9b0xq.js +18 -0
- package/dist/chunks/{location-activity-0qc61qqe.js → bus-jsjgjcjq.js} +6 -6
- package/dist/chunks/{location-activity-he05b9av.js → bus-jyen6w4q.js} +5 -5
- package/dist/chunks/{location-activity-3e34z61w.js → bus-kb3wdknj.js} +6 -6
- package/dist/chunks/{location-activity-bwnp1zqp.js → bus-kbxnfsnk.js} +31 -31
- package/dist/chunks/{location-activity-ae76pkv8.js → bus-kh9rdg7q.js} +3 -3
- package/dist/chunks/{location-activity-6zyx7v1p.js → bus-kmkd8jvk.js} +3 -3
- package/dist/chunks/{location-activity-afjydgk3.js → bus-kmx0na6r.js} +4 -4
- package/dist/chunks/{location-activity-1epnkfvs.js → bus-kpq1jten.js} +12 -12
- package/dist/chunks/{location-activity-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-mazbtkaa.js → bus-mazbtkaa.js} +2 -2
- package/dist/chunks/{location-activity-akt9czht.js → bus-mf1sn02y.js} +16 -16
- package/dist/chunks/{location-activity-a1gpj94z.js → bus-mhkvc446.js} +3 -3
- package/dist/chunks/{location-activity-hrdf5g96.js → bus-mhs9m23g.js} +32 -32
- package/dist/chunks/{location-activity-h9qs4w9g.js → bus-mjqndqed.js} +12 -12
- package/dist/chunks/{location-activity-h9w1g1ew.js → bus-mn1b3nq6.js} +15 -15
- package/dist/chunks/{location-activity-43648r0s.js → bus-nb77m52d.js} +2 -2
- package/dist/chunks/{location-activity-zjpmjekb.js → bus-nm9wvz0s.js} +25 -25
- package/dist/chunks/{location-activity-nrdmrqsx.js → bus-nrdmrqsx.js} +1 -1
- package/dist/chunks/{location-activity-e7g2x7kq.js → bus-ns1s4enh.js} +9 -9
- package/dist/chunks/{location-activity-t8yzbmd5.js → bus-nskmte5y.js} +9 -9
- package/dist/chunks/{location-activity-nzks3jc8.js → bus-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-activity-y1b8mcja.js → bus-pe1sn9qj.js} +10 -10
- package/dist/chunks/{location-activity-13r7c2pb.js → bus-pfxb6m61.js} +3 -3
- package/dist/chunks/{location-activity-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-5q02cxx3.js → bus-pmr4s4kc.js} +4 -4
- package/dist/chunks/{location-activity-j5jfxbva.js → bus-ppjrrp6c.js} +21 -21
- package/dist/chunks/{location-activity-ky1qk6ee.js → bus-pqe9j0eb.js} +18 -18
- package/dist/chunks/{location-activity-kth5gqk5.js → bus-ptff0xr1.js} +6 -6
- package/dist/chunks/{location-activity-cs16aan0.js → bus-pxbp3hg5.js} +23 -23
- package/dist/chunks/{location-activity-jccbmjp4.js → bus-pyyctv1a.js} +4 -4
- package/dist/chunks/{location-activity-q0xm7vwc.js → bus-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-activity-ry98k22a.js → bus-qa5m5ay8.js} +15 -15
- package/dist/chunks/{location-activity-79y69w1c.js → bus-qbh6gwa2.js} +32 -32
- package/dist/chunks/{location-activity-mby7p5s1.js → bus-qcwtm8b5.js} +10 -10
- package/dist/chunks/{location-activity-pbmk2rfv.js → bus-qdhty9m9.js} +9 -9
- package/dist/chunks/{location-activity-xdqrtjf7.js → bus-qk7n823e.js} +16 -16
- package/dist/chunks/{location-activity-rwgdjt2r.js → bus-qn6jn490.js} +34 -34
- package/dist/chunks/{location-activity-qnc92qwc.js → bus-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-activity-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-ab9238g2.js → bus-r33ff4dw.js} +4 -4
- package/dist/chunks/{location-activity-cm3y4e4x.js → bus-r5rsksw4.js} +8 -8
- package/dist/chunks/{location-activity-ebrst17t.js → bus-r68kh203.js} +12 -12
- package/dist/chunks/{location-activity-hjew4n5y.js → bus-r73vjnn2.js} +26 -26
- package/dist/chunks/{location-activity-6zrb7z9d.js → bus-r8qhkypr.js} +13 -13
- package/dist/chunks/{location-activity-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-05y64m8b.js → bus-rfw1vs27.js} +16 -16
- package/dist/chunks/{location-activity-wej78wb4.js → bus-rh4z8zg3.js} +18 -18
- package/dist/chunks/{location-activity-qxyfne6k.js → bus-rq6eky06.js} +51 -51
- package/dist/chunks/bus-rwrvksde.js +26 -0
- package/dist/chunks/bus-s0e3hw33.js +507 -0
- package/dist/chunks/{location-activity-22sd1qqc.js → bus-s5met55r.js} +7 -7
- package/dist/chunks/{location-activity-yhjme9q9.js → bus-sb5amkqn.js} +5 -5
- package/dist/chunks/{location-activity-n1wm2736.js → bus-scsmvpyf.js} +13 -13
- package/dist/chunks/{location-activity-5x4hnb6q.js → bus-se8f37z2.js} +11 -11
- package/dist/chunks/{location-activity-z4wnxfez.js → bus-sm2gnzr3.js} +11 -11
- package/dist/chunks/{location-activity-1nk9x5wk.js → bus-smkn18hv.js} +2 -2
- package/dist/chunks/{location-activity-4egzqqmz.js → bus-snn5f3r6.js} +2 -2
- package/dist/chunks/{location-activity-8a6ws7jr.js → bus-srq8z0b0.js} +9 -9
- package/dist/chunks/{location-activity-0gah3zwh.js → bus-ssxxqz2z.js} +48 -48
- package/dist/chunks/{location-activity-nq02rrmw.js → bus-st0f03rm.js} +41 -41
- package/dist/chunks/{location-activity-pq15b5pn.js → bus-sv4k5hxf.js} +11 -11
- package/dist/chunks/{location-activity-syf57q56.js → bus-syf57q56.js} +1 -1
- package/dist/chunks/{location-activity-g8b9aepk.js → bus-t3rkg4m5.js} +20 -20
- package/dist/chunks/{location-activity-z3nay82g.js → bus-t6qketva.js} +9 -9
- package/dist/chunks/{location-activity-yj7cgdq3.js → bus-t8zrxrk6.js} +15 -15
- package/dist/chunks/{location-activity-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-activity-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-yea6w9a3.js → bus-ttt25gcr.js} +21 -21
- package/dist/chunks/{location-activity-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{location-activity-977s5dzg.js → bus-v60catct.js} +14 -14
- package/dist/chunks/{location-activity-96xm2qhz.js → bus-v8e9h1pp.js} +5 -5
- package/dist/chunks/{location-activity-ktvjfgdb.js → bus-v9cj5dav.js} +7 -7
- package/dist/chunks/{location-activity-3t1hthfp.js → bus-vag5y1p6.js} +16 -16
- package/dist/chunks/{location-activity-2vswbxe4.js → bus-vbz2qyg6.js} +32 -32
- package/dist/chunks/{location-activity-72g23vgp.js → bus-vceep1e0.js} +20 -20
- package/dist/chunks/{location-activity-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-as7cf5zz.js → bus-vn72gsba.js} +4 -4
- package/dist/chunks/{location-activity-607px8n0.js → bus-vrfdq27c.js} +12 -12
- package/dist/chunks/{location-activity-s0cc86b9.js → bus-vyv3vm00.js} +8 -8
- package/dist/chunks/{location-activity-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-vzs5sf6e.js → bus-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-activity-xfkkasph.js → bus-w19d8598.js} +5 -5
- package/dist/chunks/{location-activity-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-amzhydp5.js → bus-w4j00t45.js} +15 -15
- package/dist/chunks/{location-activity-875n2812.js → bus-w5ystqj3.js} +8 -8
- package/dist/chunks/{location-activity-n2m16bew.js → bus-wd7r0gfs.js} +1 -1
- package/dist/chunks/{location-activity-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-jekq2b4p.js → bus-wempqqpc.js} +17 -17
- package/dist/chunks/{location-activity-rav9e4bf.js → bus-wewgh3cc.js} +8 -8
- package/dist/chunks/{location-activity-n1sype8b.js → bus-wfksvvxk.js} +23 -23
- package/dist/chunks/{location-activity-a562rq6k.js → bus-wgj7wkrp.js} +3 -3
- package/dist/chunks/{location-activity-b2d5fhcy.js → bus-wy4vtvwd.js} +26 -26
- package/dist/chunks/{location-activity-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-fwd5g2tn.js → bus-x1kpejkf.js} +1 -1
- package/dist/chunks/{location-activity-z1x1gfhs.js → bus-x5yxy9ce.js} +22 -22
- package/dist/chunks/{location-activity-2px4r9gg.js → bus-xcd0eash.js} +6 -6
- package/dist/chunks/{location-activity-aada8dz0.js → bus-xfaez3kf.js} +9 -8
- package/dist/chunks/{location-activity-xkntkrq7.js → bus-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-activity-6m73br97.js → bus-xq4naf10.js} +21 -21
- package/dist/chunks/{location-activity-93qj10js.js → bus-xs04rdck.js} +29 -29
- package/dist/chunks/{location-activity-nkdhtkyx.js → bus-xvtnrf44.js} +23 -23
- package/dist/chunks/{location-activity-8nqj981h.js → bus-y01wet9d.js} +11 -11
- package/dist/chunks/{location-activity-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-tj1x3mnf.js → bus-y481rfw2.js} +8 -8
- package/dist/chunks/{location-activity-k79tzb9n.js → bus-y56ehv6b.js} +9 -9
- package/dist/chunks/{location-activity-sshcjzsr.js → bus-yfcv5djj.js} +9 -9
- package/dist/chunks/{location-activity-x2rw7g36.js → bus-yq14pbr7.js} +5 -5
- package/dist/chunks/{location-activity-36whyvt1.js → bus-yq1jvb7n.js} +6 -6
- package/dist/chunks/{location-activity-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-f2h38fn0.js → bus-ytwc0adb.js} +21 -21
- package/dist/chunks/{location-activity-ahd542yp.js → bus-yvvvp4gn.js} +8 -8
- package/dist/chunks/{location-activity-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-z6c3x22d.js → bus-z6c3x22d.js} +2 -2
- package/dist/chunks/{location-activity-hj5bkg0c.js → bus-zkp7t929.js} +8 -8
- package/dist/chunks/{location-activity-43fnt0q1.js → bus-zqmmq5eh.js} +35 -35
- package/dist/chunks/{location-activity-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-activity-tb1cafh6.js → bus-zy43x3f1.js} +4 -4
- package/dist/chunks/{location-activity-dxv2r731.js → bus-zyc08x7x.js} +9 -9
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +130 -130
- 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 +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- 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 +83 -83
- package/dist/database/database.js +66 -66
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +70 -70
- 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/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +363 -363
- 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 +81 -81
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +94 -94
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- 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 +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- 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 +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +163 -163
- 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 +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 +4 -4
- 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 +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +93 -93
- 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 +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- 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 +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +113 -113
- 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 +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- 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 +117 -117
- 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 +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- 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 +12 -12
- 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 +3 -3
- 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 +3 -3
- 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 +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- 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 +7 -7
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-activity-70py6hkh.js +0 -252
- package/dist/chunks/location-activity-djj49tqg.js +0 -507
- package/dist/chunks/location-activity-ht5y0zrb.js +0 -18
- package/dist/chunks/location-activity-jpt7750b.js +0 -26
- /package/dist/chunks/{location-activity-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-fhnfrw34.js";
|
|
8
|
+
import {
|
|
9
|
+
Event20,
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./bus-46zgf583.js";
|
|
8
13
|
import {
|
|
9
|
-
Event21,
|
|
10
14
|
Service80,
|
|
11
15
|
node84
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service77,
|
|
15
|
-
node81
|
|
16
|
-
} from "./location-activity-akt9czht.js";
|
|
16
|
+
} from "./bus-mf1sn02y.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service54,
|
|
19
|
+
node56
|
|
20
|
+
} from "./bus-hc3p525n.js";
|
|
21
21
|
import {
|
|
22
22
|
ID15,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./bus-57e5fb70.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./bus-cv2dkb1m.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service41,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured5,
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node44
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service41 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options5 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const environment = yield* Service54;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service78;
|
|
119
|
+
const integration = yield* Service77;
|
|
120
|
+
const credentials = yield* Service79;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -145,7 +145,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,14 +154,14 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError5({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
@@ -269,7 +269,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service54, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service41.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured5(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service41,
|
|
536
|
+
layer: layer15(options),
|
|
537
|
+
deps: [node84, node56, node87, node82, node81, node83]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node44 = configured5();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service41, Options5, layer15, configured5, node44, exports_mcp4 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-y01wet9d.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin19,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin19 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin4 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin4 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin19, exports_firecrawl };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-fhnfrw34.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make22,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-9t7a50xb.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event11,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options9,
|
|
30
|
+
Service: () => Service58,
|
|
31
|
+
configured: () => configured10,
|
|
32
|
+
layer: () => layer21,
|
|
33
|
+
node: () => node62
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event11 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options9 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service58 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer21 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event11.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make22({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service58.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured10(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service58,
|
|
110
|
+
layer: layer21(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node62 = configured10();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event11, Options9, Service58, layer21, configured10, node62, exports_instruction_discovery };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-fhnfrw34.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./bus-mf1sn02y.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service63,
|
|
14
|
+
node67
|
|
15
|
+
} from "./bus-96s4xc3b.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -37,8 +37,8 @@ class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
|
37
37
|
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service63;
|
|
41
|
+
const location = yield* Service80;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node8 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node,
|
|
101
|
+
deps: [node87, FSUtil.node, node84, node67]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service6, node8, exports_instructions };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node77
|
|
7
|
+
} from "./bus-c61jevcg.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service72,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer23,
|
|
20
|
+
node: () => node76
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service72 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer23 = Layer.effect(Service72, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service73;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer17 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer17 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service72.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node76 = makeLocationNode({
|
|
74
|
+
service: Service72,
|
|
75
|
+
layer: layer23,
|
|
76
|
+
deps: [node77, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service72, layer23, node76, exports_generate2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./bus-mf1sn02y.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./bus-hc3p525n.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service19
|
|
16
|
+
} from "./bus-fwv856v3.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-at6aj564.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service62
|
|
26
|
+
} from "./bus-3es0vtpb.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service27
|
|
29
|
+
} from "./bus-8b1ss11z.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./bus-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: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin3,
|
|
41
|
+
name: () => name2,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
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 name2 = "grep";
|
|
48
|
+
var Input2 = 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 Input11 = 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 Output2 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (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 toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin3 = {
|
|
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* Service54;
|
|
90
|
+
const ripgrep = yield* Service19;
|
|
91
|
+
const location = yield* Service80;
|
|
92
|
+
const access = yield* Service27;
|
|
93
|
+
const permission = yield* Service62;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name2,
|
|
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: Input2,
|
|
99
|
+
output: Output2,
|
|
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: name2,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin29 = {
|
|
|
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: toModelContent2(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 Plugin29 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin3, exports_grep };
|