@opencode/core 0.0.0-dev-20544 → 0.0.0-dev-20546
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 +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-lifecycle-b4q8b87x.js → tool-0b5fx6ax.js} +50 -50
- package/dist/chunks/{location-lifecycle-r2jqd7kh.js → tool-0bgxsef1.js} +4 -4
- package/dist/chunks/{location-lifecycle-wykvkkng.js → tool-0f5zvaaa.js} +27 -27
- package/dist/chunks/{location-lifecycle-n2amha0h.js → tool-0fewaqv1.js} +11 -11
- package/dist/chunks/{location-lifecycle-1hpkm8ay.js → tool-0gc3e589.js} +23 -23
- package/dist/chunks/{location-lifecycle-x1v8p9tg.js → tool-0kq1vnt2.js} +19 -19
- package/dist/chunks/{location-lifecycle-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-lifecycle-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-lifecycle-dwm69vz7.js → tool-0xn4eefx.js} +20 -20
- package/dist/chunks/{location-lifecycle-tvft88yj.js → tool-0xq2rqz7.js} +12 -12
- package/dist/chunks/{location-lifecycle-dc0c81ep.js → tool-105phwgw.js} +16 -16
- package/dist/chunks/{location-lifecycle-mthz10xn.js → tool-130d0t9b.js} +24 -24
- package/dist/chunks/{location-lifecycle-1y3ncvm9.js → tool-17qe7d48.js} +40 -40
- package/dist/chunks/{location-lifecycle-1acjjqhc.js → tool-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-lifecycle-910czmnb.js → tool-1aq3p2fw.js} +17 -17
- package/dist/chunks/{location-lifecycle-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-lifecycle-1dvck2a7.js → tool-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-lifecycle-744vtqj3.js → tool-1gpb38yh.js} +6 -6
- package/dist/chunks/{location-lifecycle-3grjawsb.js → tool-1j8zt5zt.js} +5 -5
- package/dist/chunks/{location-lifecycle-yh47nrta.js → tool-1sxecr9b.js} +9 -9
- package/dist/chunks/{location-lifecycle-rjskn9df.js → tool-21x7xb6a.js} +43 -43
- package/dist/chunks/{location-lifecycle-7cwqg3jv.js → tool-29vra2hc.js} +42 -42
- package/dist/chunks/{location-lifecycle-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-lifecycle-2k8khapm.js → tool-2k8khapm.js} +1 -1
- package/dist/chunks/{location-lifecycle-6gnb6hk1.js → tool-2mmss7gn.js} +18 -18
- package/dist/chunks/{location-lifecycle-f8asj3v0.js → tool-2ptc9fn1.js} +10 -10
- package/dist/chunks/{location-lifecycle-21hs5cwd.js → tool-2wh4yf7q.js} +16 -16
- package/dist/chunks/{location-lifecycle-k1crjkkb.js → tool-30ddhjt6.js} +10 -10
- package/dist/chunks/{location-lifecycle-vw7wvyac.js → tool-31aerb0s.js} +16 -16
- package/dist/chunks/{location-lifecycle-48qyzgv8.js → tool-34y0nsfd.js} +10 -10
- package/dist/chunks/{location-lifecycle-gsf4mfvw.js → tool-3aqn2ebh.js} +24 -24
- package/dist/chunks/{location-lifecycle-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-lifecycle-gsjpzxb5.js → tool-3ffx6953.js} +5 -5
- package/dist/chunks/{location-lifecycle-rernm79y.js → tool-3gv4e0z7.js} +15 -15
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-7hhqs9ev.js → tool-3maez1s4.js} +11 -11
- package/dist/chunks/{location-lifecycle-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-lifecycle-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-lifecycle-dtka71h2.js → tool-3yysf8sw.js} +22 -22
- package/dist/chunks/{location-lifecycle-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-lifecycle-kbqjp078.js → tool-49exe669.js} +5 -5
- package/dist/chunks/{location-lifecycle-h9qs4w9g.js → tool-4p0zdh5f.js} +12 -12
- package/dist/chunks/{location-lifecycle-4ts7tf6z.js → tool-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-lifecycle-gs88pkvr.js → tool-4vp46et4.js} +6 -6
- package/dist/chunks/{location-lifecycle-4ht2td90.js → tool-4x25yqhm.js} +44 -44
- package/dist/chunks/{location-lifecycle-k4a7v8bn.js → tool-50hs44sv.js} +8 -8
- package/dist/chunks/{location-lifecycle-e6avgvqk.js → tool-544bd9dc.js} +14 -14
- package/dist/chunks/{location-lifecycle-bddk7pqm.js → tool-54fnz2xn.js} +28 -28
- package/dist/chunks/{location-lifecycle-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{location-lifecycle-5tp5mc0z.js → tool-59nf0k73.js} +18 -18
- package/dist/chunks/{location-lifecycle-2296s1c0.js → tool-5b84avn1.js} +8 -8
- package/dist/chunks/{location-lifecycle-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{location-lifecycle-ewwc48x6.js → tool-5qgdse83.js} +5 -5
- package/dist/chunks/{location-lifecycle-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-lifecycle-x27mk1f7.js → tool-5v4tq1pr.js} +2 -2
- package/dist/chunks/{location-lifecycle-2h4bcnjm.js → tool-62qykytd.js} +26 -26
- package/dist/chunks/{location-lifecycle-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{location-lifecycle-gd9afk0s.js → tool-6ckhwffg.js} +18 -18
- package/dist/chunks/{location-lifecycle-5a1bwj15.js → tool-6g22x1cx.js} +17 -17
- package/dist/chunks/{location-lifecycle-ryr25ayn.js → tool-6hh8tjw2.js} +4 -4
- package/dist/chunks/{location-lifecycle-gwwnqsk8.js → tool-6j114ajh.js} +1 -1
- package/dist/chunks/{location-lifecycle-tx3jtc6f.js → tool-6kcqjz9a.js} +35 -35
- package/dist/chunks/{location-lifecycle-c1wfn033.js → tool-6kd4vhpq.js} +10 -10
- package/dist/chunks/{location-lifecycle-x3gqap9d.js → tool-6rm5yzkt.js} +4 -4
- package/dist/chunks/{location-lifecycle-71az546q.js → tool-71az546q.js} +2 -2
- package/dist/chunks/{location-lifecycle-x8dzr4wn.js → tool-7aqqc3we.js} +3 -3
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-rhygb5vz.js → tool-7frfzztj.js} +34 -34
- package/dist/chunks/{location-lifecycle-xn2taqs8.js → tool-7jm88nzg.js} +13 -13
- package/dist/chunks/{location-lifecycle-f348dfqp.js → tool-7nztcbt0.js} +15 -15
- package/dist/chunks/{location-lifecycle-xqq1v675.js → tool-7t6j2s4e.js} +71 -71
- package/dist/chunks/{location-lifecycle-p2svhgs8.js → tool-7w0c1qzs.js} +18 -18
- package/dist/chunks/{location-lifecycle-4gpqapdf.js → tool-7wyknn3n.js} +44 -44
- package/dist/chunks/{location-lifecycle-1p2zhkn0.js → tool-7xersvtf.js} +11 -11
- package/dist/chunks/{location-lifecycle-jr83h071.js → tool-81j4nbmx.js} +16 -16
- package/dist/chunks/{location-lifecycle-5mtaxy7e.js → tool-83xtr5qh.js} +36 -36
- package/dist/chunks/{location-lifecycle-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{location-lifecycle-1ksexcmn.js → tool-8563jwpe.js} +11 -11
- package/dist/chunks/{location-lifecycle-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-lifecycle-cn4rk5mp.js → tool-8fejdm01.js} +4 -4
- package/dist/chunks/{location-lifecycle-j3r1f5f2.js → tool-8n3m7eek.js} +17 -17
- package/dist/chunks/tool-8ty7ydja.js +253 -0
- package/dist/chunks/{location-lifecycle-3cv4wgvw.js → tool-8w6rjg68.js} +9 -9
- package/dist/chunks/{location-lifecycle-0m08kv58.js → tool-8y7m5rtw.js} +25 -25
- package/dist/chunks/{location-lifecycle-h4e8knmw.js → tool-95jzr6md.js} +8 -8
- package/dist/chunks/tool-9ahwsrv3.js +26 -0
- package/dist/chunks/{location-lifecycle-9e5bzkjp.js → tool-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-lifecycle-qd06wrk4.js → tool-9g3b7e36.js} +46 -46
- package/dist/chunks/{location-lifecycle-n0qpbrq0.js → tool-9qqkxast.js} +41 -41
- package/dist/chunks/{location-lifecycle-mf34zbxj.js → tool-9zkmnpa0.js} +8 -8
- package/dist/chunks/{location-lifecycle-s4f6agx1.js → tool-a1yrwfg3.js} +10 -10
- package/dist/chunks/{location-lifecycle-dwf6zmnn.js → tool-a2z3evab.js} +10 -10
- package/dist/chunks/{location-lifecycle-npxhwpaz.js → tool-a7r9jb6t.js} +23 -23
- package/dist/chunks/tool-a9tf878g.js +507 -0
- package/dist/chunks/{location-lifecycle-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{location-lifecycle-v1xty7y4.js → tool-abe982cs.js} +8 -8
- package/dist/chunks/{location-lifecycle-880gxvw7.js → tool-adzfz996.js} +3 -3
- package/dist/chunks/{location-lifecycle-yj4pw853.js → tool-ahe9zwyk.js} +8 -8
- package/dist/chunks/{location-lifecycle-2m8jawch.js → tool-as7cf5zz.js} +4 -4
- package/dist/chunks/{location-lifecycle-88dsh8x0.js → tool-axvnfcqc.js} +11 -11
- package/dist/chunks/{location-lifecycle-gwznxh9r.js → tool-aydwcdnc.js} +4 -4
- package/dist/chunks/{location-lifecycle-47jkzegy.js → tool-b674v2dg.js} +5 -5
- package/dist/chunks/{location-lifecycle-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-lifecycle-n0a89n4g.js → tool-bmhb8y01.js} +23 -23
- package/dist/chunks/{location-lifecycle-crahewxf.js → tool-bsdt1m9e.js} +7 -7
- package/dist/chunks/{location-lifecycle-f1kjpmaz.js → tool-bsjtdjkq.js} +3 -3
- package/dist/chunks/{location-lifecycle-4434d9q2.js → tool-btvs9fn2.js} +9 -9
- package/dist/chunks/{location-lifecycle-37r0976v.js → tool-bvx99qdh.js} +7 -7
- package/dist/chunks/{location-lifecycle-1mgv3v64.js → tool-bw6g5bvn.js} +26 -26
- package/dist/chunks/{location-lifecycle-prq7hedt.js → tool-bydnjh3t.js} +9 -9
- package/dist/chunks/{location-lifecycle-35k2916m.js → tool-bzjcg73h.js} +20 -20
- package/dist/chunks/{location-lifecycle-mpr4bnn1.js → tool-c93yrxa6.js} +17 -17
- package/dist/chunks/{location-lifecycle-d0apkz1x.js → tool-cbpj3q1n.js} +16 -16
- package/dist/chunks/{location-lifecycle-8sze2n9a.js → tool-cfsekr6v.js} +6 -6
- package/dist/chunks/{location-lifecycle-w5dhw84v.js → tool-cjhbag6k.js} +8 -8
- package/dist/chunks/{location-lifecycle-ram0ygt7.js → tool-cjp93f4e.js} +6 -6
- package/dist/chunks/{location-lifecycle-g0445xdp.js → tool-cmwkp3r5.js} +4 -4
- package/dist/chunks/{location-lifecycle-r2zbaadd.js → tool-cvskdek3.js} +10 -10
- package/dist/chunks/{location-lifecycle-w9c3fasb.js → tool-d6efkfyd.js} +9 -9
- package/dist/chunks/{location-lifecycle-cpneeje0.js → tool-djszqvmq.js} +9 -9
- package/dist/chunks/{location-lifecycle-dmqcgk4z.js → tool-dmqcgk4z.js} +2 -2
- package/dist/chunks/{location-lifecycle-dpkg50ah.js → tool-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-lifecycle-9y9sk2j9.js → tool-drnf6xwf.js} +2 -2
- package/dist/chunks/{location-lifecycle-qg1dxwny.js → tool-drtsxde7.js} +5 -5
- package/dist/chunks/{location-lifecycle-1pj67zbx.js → tool-dygb53dv.js} +8 -8
- package/dist/chunks/{location-lifecycle-aar7s3mw.js → tool-e91ztryz.js} +11 -11
- package/dist/chunks/{location-lifecycle-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-lifecycle-gwy9g9cp.js → tool-erezfsje.js} +15 -15
- package/dist/chunks/{location-lifecycle-ycnt8qav.js → tool-esqy5ctd.js} +11 -11
- package/dist/chunks/{location-lifecycle-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-lifecycle-061q4pce.js → tool-ew325twr.js} +89 -89
- package/dist/chunks/{location-lifecycle-6a4qhw64.js → tool-eymvbjgc.js} +32 -32
- package/dist/chunks/{location-lifecycle-z4vapwce.js → tool-f49rpt0h.js} +18 -18
- package/dist/chunks/tool-f81tjggh.js +18 -0
- package/dist/chunks/{location-lifecycle-911kytge.js → tool-f8yfhtys.js} +20 -20
- package/dist/chunks/{location-lifecycle-0tp00n3f.js → tool-fb0xn3fq.js} +13 -13
- package/dist/chunks/{location-lifecycle-5gb8v3q0.js → tool-fvz0khbb.js} +3 -3
- package/dist/chunks/{location-lifecycle-5sb37669.js → tool-g461mq4r.js} +20 -20
- package/dist/chunks/{location-lifecycle-wrqhzqe6.js → tool-g5gfjdv3.js} +18 -18
- package/dist/chunks/{location-lifecycle-xfkkasph.js → tool-g5w8qwbj.js} +4 -4
- package/dist/chunks/{location-lifecycle-kjdm35cs.js → tool-g6yfr6ja.js} +5 -5
- package/dist/chunks/{location-lifecycle-d5ywaays.js → tool-g78cewbc.js} +40 -40
- package/dist/chunks/{location-lifecycle-67j6pqag.js → tool-gc9bwprx.js} +15 -15
- package/dist/chunks/{location-lifecycle-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-lifecycle-34njhhe5.js → tool-gfdr60m0.js} +10 -10
- package/dist/chunks/{location-lifecycle-3zbwexce.js → tool-gmmdfr2g.js} +8 -8
- package/dist/chunks/{location-lifecycle-qd53sc6s.js → tool-gnmk0d0j.js} +21 -21
- package/dist/chunks/{location-lifecycle-c8cgfd79.js → tool-gwys9v9v.js} +4 -4
- package/dist/chunks/{location-lifecycle-59k0xwsj.js → tool-h19eb42x.js} +37 -37
- package/dist/chunks/{location-lifecycle-h2b79v29.js → tool-h2b79v29.js} +2 -2
- package/dist/chunks/{location-lifecycle-2tzrr9s8.js → tool-h67113sj.js} +24 -24
- package/dist/chunks/{location-lifecycle-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-lifecycle-3szpxf4e.js → tool-hbftnxjp.js} +5 -5
- package/dist/chunks/{location-lifecycle-9ae44cfy.js → tool-hdab2k61.js} +6 -6
- package/dist/chunks/{location-lifecycle-b3f8fkhc.js → tool-hdkng2sj.js} +5 -5
- package/dist/chunks/{location-lifecycle-4x76qkv8.js → tool-hfm4ryn4.js} +34 -34
- package/dist/chunks/{location-lifecycle-cv53qt83.js → tool-hnh533wc.js} +11 -11
- package/dist/chunks/{location-lifecycle-7zdfbm64.js → tool-hqn60twj.js} +3 -3
- package/dist/chunks/{location-lifecycle-58296w7g.js → tool-hr7m8caa.js} +8 -8
- package/dist/chunks/{location-lifecycle-g8nb572c.js → tool-j32e3heq.js} +182 -182
- package/dist/chunks/{location-lifecycle-rwzfmm4e.js → tool-j3s83qj1.js} +4 -4
- package/dist/chunks/{location-lifecycle-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{location-lifecycle-d29p5ncg.js → tool-jm32gaew.js} +16 -16
- package/dist/chunks/{location-lifecycle-nms2wt4g.js → tool-jmh888fr.js} +11 -11
- package/dist/chunks/{location-lifecycle-pn3cc07s.js → tool-k1gkpfdk.js} +8 -8
- package/dist/chunks/{location-lifecycle-nxeekfv0.js → tool-k2nxqkde.js} +23 -23
- package/dist/chunks/{location-lifecycle-p9cwmtnh.js → tool-k82aj4rb.js} +3 -3
- package/dist/chunks/{location-lifecycle-qzzs1xc5.js → tool-kearqegd.js} +12 -12
- package/dist/chunks/{location-lifecycle-xkqvhxkq.js → tool-kjw8fq0d.js} +37 -37
- package/dist/chunks/{location-lifecycle-ywxshz3p.js → tool-kmgma77j.js} +5 -5
- package/dist/chunks/{location-lifecycle-gbvvt2rd.js → tool-kn319mpc.js} +21 -21
- package/dist/chunks/{location-lifecycle-6hpcj5v3.js → tool-kq17zeba.js} +13 -13
- package/dist/chunks/{location-lifecycle-afkvkv10.js → tool-kq9ercpw.js} +11 -11
- package/dist/chunks/{location-lifecycle-axyv4psh.js → tool-m08rtf02.js} +13 -13
- package/dist/chunks/{location-lifecycle-cz5mp6zw.js → tool-m0nk61gg.js} +13 -13
- package/dist/chunks/{location-lifecycle-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-lifecycle-1fnjp5k2.js → tool-m406kgbt.js} +9 -9
- package/dist/chunks/{location-lifecycle-a9b67nrv.js → tool-m72e62eq.js} +26 -26
- package/dist/chunks/{location-lifecycle-fg14c903.js → tool-m7zns4k5.js} +10 -10
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-cavr175a.js → tool-magykp64.js} +4 -4
- package/dist/chunks/{location-lifecycle-56gdpj1q.js → tool-mfqp6xfm.js} +6 -6
- package/dist/chunks/{location-lifecycle-m164ajwd.js → tool-mhtvex29.js} +12 -12
- package/dist/chunks/{location-lifecycle-pnvzdt63.js → tool-mmds1kx3.js} +6 -6
- package/dist/chunks/{location-lifecycle-82017kgq.js → tool-mnhe0asj.js} +22 -22
- package/dist/chunks/{location-lifecycle-py94dew6.js → tool-msz05mbq.js} +55 -55
- package/dist/chunks/{location-lifecycle-z2qbjhyn.js → tool-mtrbqqrq.js} +5 -5
- package/dist/chunks/{location-lifecycle-5tgwtrb4.js → tool-mxp2wkr3.js} +25 -25
- package/dist/chunks/{location-lifecycle-axe3mf62.js → tool-my4zabxr.js} +3 -3
- package/dist/chunks/{location-lifecycle-9tkrmsrp.js → tool-n0pp1gq0.js} +26 -26
- package/dist/chunks/{location-lifecycle-zpva5yp6.js → tool-nbfyeqag.js} +12 -12
- package/dist/chunks/{location-lifecycle-ns3eape4.js → tool-ncnm8wen.js} +1 -1
- package/dist/chunks/{location-lifecycle-819n4xfa.js → tool-p7sh5qae.js} +32 -32
- package/dist/chunks/{location-lifecycle-z4knkhav.js → tool-p8fxgfb9.js} +3 -3
- package/dist/chunks/{location-lifecycle-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-lifecycle-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-5d9gfxm5.js → tool-ppkw63qq.js} +33 -33
- package/dist/chunks/{location-lifecycle-dkrtd87p.js → tool-pt3xaqgj.js} +8 -8
- package/dist/chunks/{location-lifecycle-9naf3h3b.js → tool-pyfenggm.js} +11 -11
- package/dist/chunks/{location-lifecycle-hmx5nkgf.js → tool-q0bsvjra.js} +48 -48
- package/dist/chunks/{location-lifecycle-xysr0336.js → tool-q0pz77ry.js} +29 -29
- package/dist/chunks/{location-lifecycle-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-lifecycle-96zzk72z.js → tool-q33hc3az.js} +6 -6
- package/dist/chunks/{location-lifecycle-hdcxjhkc.js → tool-qgj7yrzy.js} +21 -21
- package/dist/chunks/{location-lifecycle-xdggbtd6.js → tool-qkdffjrw.js} +17 -17
- package/dist/chunks/{location-lifecycle-sz9gegs6.js → tool-qkdpfp31.js} +22 -22
- package/dist/chunks/{location-lifecycle-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-lifecycle-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{location-lifecycle-xyafkbt0.js → tool-qxjc9qry.js} +3 -3
- package/dist/chunks/{location-lifecycle-be7qvw84.js → tool-qxmaq0sm.js} +8 -8
- package/dist/chunks/{location-lifecycle-n8vwsn6h.js → tool-qxz2f3rt.js} +14 -14
- package/dist/chunks/{location-lifecycle-v68g6wmz.js → tool-r1n3g566.js} +37 -37
- package/dist/chunks/{location-lifecycle-mvfsc1pv.js → tool-r5x6zcsm.js} +3 -3
- package/dist/chunks/{location-lifecycle-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-lifecycle-t550f9t1.js → tool-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-lifecycle-hw3b7921.js → tool-rj37jpce.js} +24 -24
- package/dist/chunks/{location-lifecycle-yb7hkqdw.js → tool-rszfxwsg.js} +8 -8
- package/dist/chunks/{location-lifecycle-sn3cptvh.js → tool-rztnjz0s.js} +9 -9
- package/dist/chunks/{location-lifecycle-6rfy7r9d.js → tool-s027k0rf.js} +33 -33
- package/dist/chunks/{location-lifecycle-zbdj16p8.js → tool-s0596caj.js} +9 -9
- package/dist/chunks/{location-lifecycle-cm3wj67j.js → tool-s4ebpbt7.js} +25 -25
- package/dist/chunks/{location-lifecycle-8e28aty2.js → tool-s9d5z7w1.js} +12 -12
- package/dist/chunks/{location-lifecycle-yfnz24wt.js → tool-sbtfeqxe.js} +34 -34
- package/dist/chunks/{location-lifecycle-2a4f6v5q.js → tool-sgwh5nyn.js} +8 -8
- package/dist/chunks/{location-lifecycle-c01nkytp.js → tool-srq8z0b0.js} +5 -5
- package/dist/chunks/{location-lifecycle-rtx7nsaa.js → tool-stdkdhj9.js} +10 -10
- package/dist/chunks/{location-lifecycle-0dbjc75y.js → tool-sxysp3dr.js} +12 -12
- package/dist/chunks/{location-lifecycle-qgdsxw13.js → tool-t6yz5g0a.js} +18 -18
- package/dist/chunks/{location-lifecycle-rxbw1nce.js → tool-t9t0jv1h.js} +33 -33
- package/dist/chunks/{location-lifecycle-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-lifecycle-89znhe33.js → tool-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-lifecycle-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{location-lifecycle-zjbv19xv.js → tool-thye16kd.js} +1 -1
- package/dist/chunks/{location-lifecycle-jdayrf5p.js → tool-tv3z232p.js} +25 -25
- package/dist/chunks/{location-lifecycle-nbe4w6xg.js → tool-ty1e6sjz.js} +18 -18
- package/dist/chunks/{location-lifecycle-b7p9mmcs.js → tool-v32h9fqj.js} +13 -13
- package/dist/chunks/{location-lifecycle-893rahry.js → tool-v50kha1c.js} +32 -32
- package/dist/chunks/{location-lifecycle-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{location-lifecycle-nt5yg2md.js → tool-vf6n3kbk.js} +30 -30
- package/dist/chunks/{location-lifecycle-38571c3c.js → tool-vjbhnzss.js} +4 -4
- package/dist/chunks/{location-lifecycle-g08z8dq8.js → tool-vk2pwt7v.js} +91 -91
- package/dist/chunks/{location-lifecycle-33r5dz8z.js → tool-vrwhxzcp.js} +11 -11
- package/dist/chunks/{location-lifecycle-te0t49k2.js → tool-vsja1s7z.js} +26 -26
- package/dist/chunks/{location-lifecycle-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-lifecycle-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-en9087x0.js → tool-w5h262jq.js} +12 -12
- package/dist/chunks/{location-lifecycle-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-525bad6w.js → tool-wy4z08by.js} +18 -18
- package/dist/chunks/{location-lifecycle-ae40vj86.js → tool-x05pqzzn.js} +13 -13
- package/dist/chunks/{location-lifecycle-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-lifecycle-z6kn09km.js → tool-x5cr8ne6.js} +11 -11
- package/dist/chunks/{location-lifecycle-3y377wv9.js → tool-x661k3y3.js} +4 -4
- package/dist/chunks/{location-lifecycle-s7jc9pwx.js → tool-x6xy5z7t.js} +3 -3
- package/dist/chunks/{location-lifecycle-6x0v3epy.js → tool-x9rf5mb3.js} +17 -17
- package/dist/chunks/{location-lifecycle-wdtanhag.js → tool-xdyxb27p.js} +29 -29
- package/dist/chunks/{location-lifecycle-2b4fjshv.js → tool-xph0hbvx.js} +5 -5
- package/dist/chunks/{location-lifecycle-xb50yt4b.js → tool-xxndcd6m.js} +4 -4
- package/dist/chunks/{location-lifecycle-84wsetqv.js → tool-xxrhtzpv.js} +21 -21
- package/dist/chunks/{location-lifecycle-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-lifecycle-3ewed21c.js → tool-y6mhz57t.js} +4 -4
- package/dist/chunks/{location-lifecycle-ea16cwsk.js → tool-ycmwc3zb.js} +20 -20
- package/dist/chunks/{location-lifecycle-11fe6sx3.js → tool-ycvgqbex.js} +5 -5
- package/dist/chunks/{location-lifecycle-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-lifecycle-gy00b4px.js → tool-ytj3j3zq.js} +31 -31
- package/dist/chunks/{location-lifecycle-qnxksr5a.js → tool-ywr1xztk.js} +29 -29
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-kwctbf7w.js → tool-z7yfvg9g.js} +9 -9
- package/dist/chunks/{location-lifecycle-w5rka97k.js → tool-zab19jja.js} +9 -9
- package/dist/chunks/{location-lifecycle-k2v0xxpy.js → tool-zah869sz.js} +32 -32
- package/dist/chunks/{location-lifecycle-t2az9yje.js → tool-zav06jzw.js} +4 -4
- package/dist/chunks/{location-lifecycle-rrd4qz5h.js → tool-zgc7nk2q.js} +17 -17
- package/dist/chunks/{location-lifecycle-1hwney77.js → tool-zm4ejasx.js} +10 -10
- package/dist/chunks/{location-lifecycle-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-lifecycle-n1n192bv.js → tool-zsr4wwhv.js} +4 -4
- package/dist/chunks/{location-lifecycle-8ff8zvrx.js → tool-zwekp0gr.js} +14 -14
- package/dist/chunks/{location-lifecycle-2nyffpph.js → tool-zxfp7yka.js} +6 -6
- package/dist/chunks/{location-lifecycle-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- 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 +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- 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 +364 -364
- 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 +93 -93
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- 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 +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +89 -89
- 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 +75 -75
- 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 +98 -98
- 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 +84 -84
- 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 +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +327 -327
- 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 +115 -115
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- 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 +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +114 -114
- 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 +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- 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/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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- 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 +129 -129
- 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 +224 -224
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- 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 +122 -122
- 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 +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +106 -106
- 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 +7 -7
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- 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 +79 -79
- 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-lifecycle-8fx7c703.js +0 -26
- package/dist/chunks/location-lifecycle-aw5p1bzv.js +0 -253
- package/dist/chunks/location-lifecycle-ht5y0zrb.js +0 -18
- package/dist/chunks/location-lifecycle-ytgd15hp.js +0 -507
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./tool-zab19jja.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./tool-hdab2k61.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-f81tjggh.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service68
|
|
15
|
+
} from "./tool-k1gkpfdk.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-1gpb38yh.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service62
|
|
23
|
+
} from "./tool-rj37jpce.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service51;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service68;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service62;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service67;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-g5w8qwbj.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-m7zns4k5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin24,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin24 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin35 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin35 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin24, exports_tavily };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service75
|
|
4
|
+
} from "./tool-54fnz2xn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./tool-9qqkxast.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service75;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service57);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
@@ -8,14 +8,14 @@ __export(exports_instance2, {
|
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
9
|
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
16
|
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
19
|
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
@@ -29,4 +29,4 @@ function bound2(plugins) {
|
|
|
29
29
|
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export { Service5,
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-vsja1s7z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./tool-9qqkxast.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-cjp93f4e.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service57;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID11.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make9();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make9, LMStudioPlugin2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-m7zns4k5.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin22,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
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 endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin22 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin34 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin34 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin22, exports_tinyfish };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service10,
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service10.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node12 = makeLocationNode({ service: Service10, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service10, node12, exports_location_watcher_policy };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-my4zabxr.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./tool-54fnz2xn.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./tool-xxrhtzpv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./tool-hdab2k61.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-f81tjggh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service51;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-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: () => Service39,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node43
|
|
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 Service39 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(Service39, 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(Service27, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service39.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = 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 node43 = makeGlobalNode({ service: Service39, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service39, makeLayer2, layer14, node43, exports_model_transport };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-k82aj4rb.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9e5bzkjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service36,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service36 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make20({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service36.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node40 = makeLocationNode({ service: Service36, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service36, node40, exports_instruction_entry };
|