@opencode/core 0.0.0-dev-224 → 0.0.0-dev-228
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 +88 -87
- package/dist/aisdk-native.js +100 -99
- package/dist/aisdk.js +106 -105
- package/dist/app.js +9 -9
- package/dist/bus.js +78 -77
- package/dist/chunks/{filesystem-s7wv3tb2.js → form-00qhjgh5.js} +14 -14
- package/dist/chunks/{filesystem-fdje41h6.js → form-05c1xqfa.js} +32 -32
- package/dist/chunks/{filesystem-9pt42hrs.js → form-0a6594q4.js} +18 -18
- package/dist/chunks/{filesystem-vx54jen0.js → form-0ce6qdts.js} +45 -45
- package/dist/chunks/{filesystem-d3ckdkwn.js → form-0rvjqh0v.js} +22 -22
- package/dist/chunks/{filesystem-kcbmbrq1.js → form-0tqaar2n.js} +15 -15
- package/dist/chunks/{filesystem-9js77jy1.js → form-0tt1jdqx.js} +3 -3
- package/dist/chunks/{filesystem-5hsr0zt7.js → form-0we704hm.js} +25 -25
- package/dist/chunks/{filesystem-vsmzqk2y.js → form-0y84vv13.js} +61 -57
- package/dist/chunks/{filesystem-2gdytpx5.js → form-11p2wct5.js} +35 -35
- package/dist/chunks/{filesystem-jphwvgs8.js → form-12a87htm.js} +8 -8
- package/dist/chunks/{filesystem-mstrsafp.js → form-1apr90yy.js} +1 -1
- package/dist/chunks/{filesystem-tg6k312r.js → form-1de26m2d.js} +13 -13
- package/dist/chunks/form-1kah00gy.js +13 -0
- package/dist/chunks/{filesystem-ce6qzbvg.js → form-1psxqbrq.js} +17 -17
- package/dist/chunks/{filesystem-pakndkhn.js → form-1r7af8ee.js} +3 -3
- package/dist/chunks/{filesystem-fs6ar2fx.js → form-1vgxrmdj.js} +34 -34
- package/dist/chunks/{filesystem-1x2knyw4.js → form-1x2knyw4.js} +1 -1
- package/dist/chunks/{filesystem-7xx3q0hc.js → form-1xfzm2bk.js} +9 -9
- package/dist/chunks/{filesystem-p7vhpwh8.js → form-1yq9hg58.js} +5 -5
- package/dist/chunks/{filesystem-204s3925.js → form-204s3925.js} +1 -1
- package/dist/chunks/{filesystem-8b3vzgkx.js → form-25h84942.js} +4 -4
- package/dist/chunks/{filesystem-27w5k9zf.js → form-27w5k9zf.js} +2 -2
- package/dist/chunks/{filesystem-684rr1fc.js → form-2m0d1k40.js} +5 -5
- package/dist/chunks/{filesystem-yjjyz0e3.js → form-2zp5a6yg.js} +3 -3
- package/dist/chunks/{filesystem-e9fqtmvn.js → form-362tp65q.js} +6 -6
- package/dist/chunks/{filesystem-zyc5d1d0.js → form-37zkny6h.js} +24 -24
- package/dist/chunks/{filesystem-zytxfbbq.js → form-3c96x8ty.js} +15 -15
- package/dist/chunks/{filesystem-3cbjf1nt.js → form-3cbjf1nt.js} +2 -2
- package/dist/chunks/{filesystem-9yk2b1f9.js → form-3ecf3tng.js} +7 -7
- package/dist/chunks/{filesystem-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3nnrz6f6.js → form-3nnrz6f6.js} +1 -1
- package/dist/chunks/{filesystem-gfv476g8.js → form-3vn6803g.js} +12 -12
- package/dist/chunks/{filesystem-vd8rwa0c.js → form-42s34a0z.js} +18 -18
- package/dist/chunks/{filesystem-e4zn5652.js → form-432wqttw.js} +3 -3
- package/dist/chunks/{filesystem-jydyt1jv.js → form-477xfj3c.js} +19 -19
- package/dist/chunks/{filesystem-y73qp9rw.js → form-4asfahx2.js} +23 -23
- package/dist/chunks/{filesystem-yh0hfha7.js → form-4cejxtdq.js} +21 -21
- package/dist/chunks/{filesystem-c951tkze.js → form-4ggvzfz0.js} +7 -7
- package/dist/chunks/{filesystem-b4a5nyx5.js → form-4hmxtsmg.js} +183 -183
- package/dist/chunks/{filesystem-amvexxv0.js → form-4j43s0xr.js} +48 -48
- package/dist/chunks/{filesystem-e8mz2xb5.js → form-4n77906h.js} +40 -40
- package/dist/chunks/{filesystem-4pyp9zr9.js → form-4pyp9zr9.js} +1 -1
- package/dist/chunks/{filesystem-k93vvdep.js → form-4th82h6j.js} +11 -11
- package/dist/chunks/{filesystem-4v008n1t.js → form-4v008n1t.js} +1 -1
- package/dist/chunks/{filesystem-9a0z0sm4.js → form-53rsp81d.js} +19 -19
- package/dist/chunks/{filesystem-qcgrm8q2.js → form-54qbttzm.js} +36 -36
- package/dist/chunks/{filesystem-2am13szv.js → form-56hw1ah1.js} +8 -8
- package/dist/chunks/{filesystem-5enarcya.js → form-5enarcya.js} +2 -2
- package/dist/chunks/{filesystem-s336ghke.js → form-5ew4vg0t.js} +8 -8
- package/dist/chunks/{filesystem-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-g2d7pwec.js → form-5xm8fbgh.js} +6 -6
- package/dist/chunks/{filesystem-ew8c46dw.js → form-6848bbxa.js} +11 -11
- package/dist/chunks/{filesystem-mkryjhx5.js → form-6d7rzhz6.js} +28 -28
- package/dist/chunks/{filesystem-fzbtpn6v.js → form-6dwjznsx.js} +4 -4
- package/dist/chunks/{filesystem-6esdw8yj.js → form-6esdw8yj.js} +1 -1
- package/dist/chunks/{filesystem-cx9pac8b.js → form-6kwb0ym8.js} +4 -4
- package/dist/chunks/{filesystem-zwftgptp.js → form-6m6e0fq6.js} +3 -3
- package/dist/chunks/{filesystem-qwzahezh.js → form-6wv6k331.js} +3 -3
- package/dist/chunks/{filesystem-v7t6jh72.js → form-749j9bem.js} +19 -19
- package/dist/chunks/{filesystem-53f1f277.js → form-780gjtmn.js} +8 -8
- package/dist/chunks/{filesystem-r66kyd6j.js → form-796fpssb.js} +24 -24
- package/dist/chunks/{filesystem-z2wtb6wa.js → form-7a96kwdb.js} +41 -41
- package/dist/chunks/{filesystem-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-qh51c2hm.js → form-7c2qna5p.js} +14 -14
- package/dist/chunks/{filesystem-gq549b3b.js → form-7jncsexd.js} +4 -4
- package/dist/chunks/{filesystem-nshrevkn.js → form-7ktxa382.js} +9 -9
- package/dist/chunks/{filesystem-7w2ypzdf.js → form-7w2ypzdf.js} +1 -1
- package/dist/chunks/{filesystem-rrjvevf9.js → form-7wstq74c.js} +14 -14
- package/dist/chunks/{filesystem-9jzp3j8d.js → form-8cz13j6a.js} +27 -27
- package/dist/chunks/{filesystem-zryjy72y.js → form-8e5p19qn.js} +27 -27
- package/dist/chunks/{filesystem-4r140ydd.js → form-8hcvae60.js} +10 -10
- package/dist/chunks/{filesystem-8jztxfpf.js → form-8jztxfpf.js} +1 -1
- package/dist/chunks/{filesystem-ywhza86r.js → form-8m5e40h7.js} +15 -15
- package/dist/chunks/{filesystem-bd6gbyhv.js → form-8r9ywtx6.js} +8 -8
- package/dist/chunks/{filesystem-8wtp7s3z.js → form-8wtp7s3z.js} +1 -1
- package/dist/chunks/{filesystem-waj9pdqz.js → form-8x57f01e.js} +23 -23
- package/dist/chunks/{filesystem-8x6dz44a.js → form-8x6dz44a.js} +2 -2
- package/dist/chunks/{filesystem-rawze43q.js → form-8y0bcag5.js} +39 -39
- package/dist/chunks/{filesystem-rxg1n2es.js → form-8z6m94af.js} +4 -3
- package/dist/chunks/{filesystem-90zstvax.js → form-90zstvax.js} +1 -1
- package/dist/chunks/{filesystem-ht92kc8y.js → form-9c4f3png.js} +18 -18
- package/dist/chunks/{filesystem-9t393xpw.js → form-9q4bej68.js} +40 -40
- package/dist/chunks/{filesystem-yc4xwjk4.js → form-9r0x1bva.js} +9 -9
- package/dist/chunks/{filesystem-pjg812bt.js → form-9se3w9ew.js} +21 -21
- package/dist/chunks/{filesystem-40j8v2af.js → form-9spex28b.js} +329 -329
- package/dist/chunks/{filesystem-z2m3me10.js → form-9w8yvhv2.js} +17 -17
- package/dist/chunks/{filesystem-bt2f0stj.js → form-9x19j16c.js} +37 -37
- package/dist/chunks/{filesystem-bv0cpx15.js → form-9yj11fn9.js} +14 -14
- package/dist/chunks/{filesystem-tz83c6yk.js → form-a5y5z42n.js} +35 -35
- package/dist/chunks/{filesystem-n561m3b7.js → form-a73hjx22.js} +19 -19
- package/dist/chunks/{filesystem-pkayehgb.js → form-a7y0hmbq.js} +15 -15
- package/dist/chunks/{filesystem-vc2a1z4h.js → form-aakxnvea.js} +9 -9
- package/dist/chunks/{filesystem-cn3hegtz.js → form-acn20bfg.js} +9 -9
- package/dist/chunks/{filesystem-04kfhdy6.js → form-adepxgxt.js} +1 -1
- package/dist/chunks/form-aeq1g8b0.js +257 -0
- package/dist/chunks/{filesystem-j3gxxqsz.js → form-afhpfagb.js} +23 -23
- package/dist/chunks/{filesystem-aj7mw0zk.js → form-aj7mw0zk.js} +2 -2
- package/dist/chunks/{filesystem-5d1r9gpy.js → form-asvv9q89.js} +13 -13
- package/dist/chunks/{filesystem-630xfjjk.js → form-av5v11km.js} +3 -3
- package/dist/chunks/{filesystem-xfqm8zp4.js → form-b2mp8qdf.js} +23 -23
- package/dist/chunks/{filesystem-b6vsg801.js → form-b6vsg801.js} +2 -2
- package/dist/chunks/{filesystem-tge6e9e7.js → form-bb58r61a.js} +12 -12
- package/dist/chunks/{filesystem-2rhrbycz.js → form-bd3ag47v.js} +5 -5
- package/dist/chunks/{filesystem-h68jz125.js → form-bdked8mr.js} +43 -43
- package/dist/chunks/{filesystem-ffg810n4.js → form-bs9ntfbp.js} +21 -21
- package/dist/chunks/{filesystem-bstexjd6.js → form-bstexjd6.js} +1 -1
- package/dist/chunks/{filesystem-gr5tmgzz.js → form-bwcgh3pa.js} +7 -7
- package/dist/chunks/{filesystem-31s64znz.js → form-c0q18wbz.js} +15 -15
- package/dist/chunks/{filesystem-cpvd08na.js → form-c6x7d2ts.js} +4 -4
- package/dist/chunks/{filesystem-ghs82689.js → form-c7a65p05.js} +14 -14
- package/dist/chunks/{filesystem-62brbbaq.js → form-c7h4rvjw.js} +13 -13
- package/dist/chunks/{filesystem-43h1mxk5.js → form-c8t4rycs.js} +86 -86
- package/dist/chunks/{filesystem-x6rjmcaj.js → form-caez4nff.js} +17 -17
- package/dist/chunks/{filesystem-kg14195c.js → form-cdwpjm32.js} +8 -8
- package/dist/chunks/{filesystem-am4a9j2m.js → form-ch3dpehw.js} +3 -3
- package/dist/chunks/{filesystem-zqvff56k.js → form-cmr431hx.js} +15 -15
- package/dist/chunks/{filesystem-nrefv84q.js → form-cvgy9b2f.js} +48 -48
- package/dist/chunks/{filesystem-cwrgdav8.js → form-cwrgdav8.js} +2 -2
- package/dist/chunks/{filesystem-c9t2ty9q.js → form-d2887f8n.js} +4 -4
- package/dist/chunks/form-d77dj7jw.js +18 -0
- package/dist/chunks/{filesystem-8fgfvr5b.js → form-dnf86brd.js} +10 -10
- package/dist/chunks/{filesystem-dt77769w.js → form-dt77769w.js} +1 -1
- package/dist/chunks/{filesystem-mbca2wch.js → form-dx8q40th.js} +10 -10
- package/dist/chunks/{filesystem-2k2r9cp7.js → form-dyd2a8eg.js} +17 -17
- package/dist/chunks/{filesystem-snb901t2.js → form-e07q2w5p.js} +4 -4
- package/dist/chunks/{filesystem-36qx82yz.js → form-e2ne77ac.js} +4 -4
- package/dist/chunks/{filesystem-gyqryh5y.js → form-e2zffr00.js} +8 -8
- package/dist/chunks/{filesystem-h0ppebc3.js → form-e471twwt.js} +8 -8
- package/dist/chunks/{filesystem-pnr9n7z9.js → form-e5m5ahke.js} +16 -16
- package/dist/chunks/{filesystem-kkkxjsrn.js → form-e6k079pp.js} +12 -12
- package/dist/chunks/{filesystem-e834z07m.js → form-e834z07m.js} +1 -1
- package/dist/chunks/{filesystem-fghs85vj.js → form-em6z47bx.js} +16 -16
- package/dist/chunks/{filesystem-1e6my1g7.js → form-ey5xajk0.js} +13 -13
- package/dist/chunks/{filesystem-0p5w6zwq.js → form-f1s2vndp.js} +22 -22
- package/dist/chunks/{filesystem-f76bnh21.js → form-f8p7x3za.js} +34 -34
- package/dist/chunks/{filesystem-z8rc56ez.js → form-fddmw01z.js} +26 -26
- package/dist/chunks/{filesystem-8txy58cb.js → form-fdgtx545.js} +15 -15
- package/dist/chunks/{filesystem-fffv3p7h.js → form-fffv3p7h.js} +1 -1
- package/dist/chunks/{filesystem-fg9p65nk.js → form-fg9p65nk.js} +2 -2
- package/dist/chunks/{filesystem-3gytc1y7.js → form-fha4hq43.js} +45 -45
- package/dist/chunks/{filesystem-fznmdakp.js → form-fznmdakp.js} +1 -1
- package/dist/chunks/{filesystem-mv5c0h3x.js → form-g4y5gz37.js} +6 -6
- package/dist/chunks/{filesystem-vmfhgzt5.js → form-g7esga4v.js} +5 -5
- package/dist/chunks/{filesystem-c28jsxxt.js → form-ggwxx8z6.js} +26 -26
- package/dist/chunks/{filesystem-gn8tkhbf.js → form-gn8tkhbf.js} +2 -2
- package/dist/chunks/{filesystem-t5ntgcha.js → form-gp6fvya6.js} +28 -28
- package/dist/chunks/{filesystem-6s4bs33q.js → form-h4p3pyf8.js} +6 -6
- package/dist/chunks/{filesystem-enmtzxqx.js → form-h4rvxyzb.js} +13 -13
- package/dist/chunks/{filesystem-f7b4jqep.js → form-h50dg4rv.js} +22 -22
- package/dist/chunks/{filesystem-snc187et.js → form-h725q1tb.js} +18 -18
- package/dist/chunks/{filesystem-5khgwaht.js → form-h921yzda.js} +32 -32
- package/dist/chunks/{filesystem-8dfptpqb.js → form-hced1q2j.js} +4 -4
- package/dist/chunks/{filesystem-jv7sy112.js → form-hdh1880y.js} +20 -19
- package/dist/chunks/{filesystem-tfzwejs7.js → form-hep9bk35.js} +11 -11
- package/dist/chunks/{filesystem-ehrt3y5n.js → form-hjb7zt8b.js} +12 -12
- package/dist/chunks/{filesystem-hpg1pkwy.js → form-hpg1pkwy.js} +1 -1
- package/dist/chunks/{filesystem-4papv57p.js → form-hx5er68a.js} +30 -30
- package/dist/chunks/{filesystem-kbh9re52.js → form-j0cfz84q.js} +39 -39
- package/dist/chunks/{filesystem-c6zarp28.js → form-j2wws855.js} +5 -5
- package/dist/chunks/{filesystem-4m1azjz9.js → form-j7trztcj.js} +21 -21
- package/dist/chunks/{filesystem-ydjecrt5.js → form-jf0vywae.js} +6 -6
- package/dist/chunks/{filesystem-jfaecv01.js → form-jfaecv01.js} +1 -1
- package/dist/chunks/{filesystem-5erf8ecf.js → form-jqchfgzz.js} +20 -20
- package/dist/chunks/{filesystem-xm3a73ht.js → form-jr332ax1.js} +9 -9
- package/dist/chunks/{filesystem-jtnps1zs.js → form-jtnps1zs.js} +2 -2
- package/dist/chunks/{filesystem-rx9fgwcp.js → form-jv2xnyk0.js} +9 -9
- package/dist/chunks/{filesystem-3j4skgfc.js → form-jxhxxqgb.js} +9 -9
- package/dist/chunks/{filesystem-5w1mdqt7.js → form-jy2czfqv.js} +4 -4
- package/dist/chunks/{filesystem-vh2h6g1h.js → form-k0fqk4b8.js} +18 -18
- package/dist/chunks/{filesystem-tgpcajrp.js → form-k2btearr.js} +27 -27
- package/dist/chunks/{filesystem-k814nvkf.js → form-k814nvkf.js} +1 -1
- package/dist/chunks/{filesystem-vykrxgmq.js → form-kkbdeg4e.js} +4 -4
- package/dist/chunks/{filesystem-wav8c0w2.js → form-kmfe92z1.js} +25 -25
- package/dist/chunks/{filesystem-q09rr5xd.js → form-knkdmrq8.js} +25 -25
- package/dist/chunks/{filesystem-kt3bjfbg.js → form-kt3bjfbg.js} +1 -1
- package/dist/chunks/{filesystem-79dcp6vm.js → form-kv3vzdmy.js} +11 -11
- package/dist/chunks/{filesystem-wr75p8wj.js → form-kvvghrks.js} +20 -20
- package/dist/chunks/{filesystem-qvmjkfdq.js → form-kw7y9j0p.js} +11 -11
- package/dist/chunks/{filesystem-pdbtcapx.js → form-kwdd41eq.js} +23 -23
- package/dist/chunks/{filesystem-m1714858.js → form-m1714858.js} +1 -1
- package/dist/chunks/{filesystem-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-qm7hy0s1.js → form-mk9n97wy.js} +30 -30
- package/dist/chunks/{filesystem-smjmfamq.js → form-mktg3r47.js} +86 -86
- package/dist/chunks/{filesystem-v0t96s7a.js → form-mmx1mfjr.js} +4 -4
- package/dist/chunks/{filesystem-8x0pab5n.js → form-mspzpz50.js} +10 -10
- package/dist/chunks/{filesystem-57ye470h.js → form-n2fn6n16.js} +5 -5
- package/dist/chunks/{filesystem-dkqbcpdf.js → form-n72e3dxd.js} +5 -5
- package/dist/chunks/{filesystem-kavymhq0.js → form-n8wrw86q.js} +2 -2
- package/dist/chunks/{filesystem-nah043kf.js → form-nah043kf.js} +1 -1
- package/dist/chunks/{filesystem-vys2hz9a.js → form-nb176vr9.js} +2 -2
- package/dist/chunks/{filesystem-m337p9dc.js → form-nbm1wd8w.js} +9 -9
- package/dist/chunks/{filesystem-vsr0eqbt.js → form-np3f7rt0.js} +2 -2
- package/dist/chunks/{filesystem-js15026g.js → form-nzqym5fn.js} +13 -13
- package/dist/chunks/{filesystem-p015t6z3.js → form-p015t6z3.js} +2 -2
- package/dist/chunks/{filesystem-yr0nyka5.js → form-p0m7jsqr.js} +7 -7
- package/dist/chunks/{filesystem-9bnd18qk.js → form-p570ajbq.js} +17 -17
- package/dist/chunks/{filesystem-79vckntf.js → form-p5e49205.js} +38 -38
- package/dist/chunks/{filesystem-yvpg4w4a.js → form-p965jgwx.js} +29 -29
- package/dist/chunks/{filesystem-daeazrnz.js → form-pbcq83b8.js} +12 -12
- package/dist/chunks/{filesystem-0j7sp27n.js → form-pe0xbfng.js} +5 -5
- package/dist/chunks/{filesystem-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-tvp0dzzs.js → form-pxdh3f58.js} +2 -2
- package/dist/chunks/{filesystem-pxtfkpje.js → form-pxtfkpje.js} +2 -2
- package/dist/chunks/{filesystem-crx66x63.js → form-py7k5n7n.js} +26 -26
- package/dist/chunks/{filesystem-g8ffzbm5.js → form-pz1n0gq8.js} +3 -3
- package/dist/chunks/{filesystem-p5j5bg0f.js → form-qgfkghh1.js} +1 -0
- package/dist/chunks/{filesystem-nsve5tx4.js → form-qh4ws9d6.js} +8 -8
- package/dist/chunks/{filesystem-k4a4wn9h.js → form-qnz6w04z.js} +9 -9
- package/dist/chunks/{filesystem-qp7r0hxv.js → form-qp7r0hxv.js} +1 -1
- package/dist/chunks/{filesystem-qqvy8y24.js → form-qqvy8y24.js} +1 -1
- package/dist/chunks/{filesystem-q9n7yxac.js → form-r0b5cv65.js} +16 -16
- package/dist/chunks/{filesystem-r0yr0wbs.js → form-r0yr0wbs.js} +1 -1
- package/dist/chunks/{filesystem-x85yhxtw.js → form-r1n5a4qe.js} +22 -22
- package/dist/chunks/{filesystem-7g2g3969.js → form-r21czkj7.js} +21 -21
- package/dist/chunks/{filesystem-r542h3bh.js → form-r542h3bh.js} +1 -1
- package/dist/chunks/{filesystem-8k393grp.js → form-rafkt0z2.js} +9 -9
- package/dist/chunks/{filesystem-rb9dy4dg.js → form-rb9dy4dg.js} +1 -1
- package/dist/chunks/{filesystem-195h2ce0.js → form-rkbnve9v.js} +36 -36
- package/dist/chunks/{filesystem-90kfhhe6.js → form-rr09v45e.js} +32 -32
- package/dist/chunks/{filesystem-mw6cyxws.js → form-rsdjsbxj.js} +33 -33
- package/dist/chunks/{filesystem-rt5dr6hb.js → form-rt5dr6hb.js} +1 -1
- package/dist/chunks/{filesystem-1gyrxqmm.js → form-rx6qpc9d.js} +5 -5
- package/dist/chunks/{filesystem-zcrmr4y4.js → form-ryfpe5sz.js} +47 -47
- package/dist/chunks/{filesystem-8sv07mwj.js → form-rzrq5kss.js} +11 -11
- package/dist/chunks/{filesystem-vpe8h0t6.js → form-s1efnn68.js} +56 -56
- package/dist/chunks/{filesystem-9exsw83t.js → form-s3gj3rj3.js} +8 -8
- package/dist/chunks/{filesystem-s7gmm2q3.js → form-s7gmm2q3.js} +3 -3
- package/dist/chunks/{filesystem-sa3fpqfw.js → form-sa3fpqfw.js} +2 -2
- package/dist/chunks/{filesystem-195qsevx.js → form-spfg18b2.js} +78 -78
- package/dist/chunks/{filesystem-bsrm4kv0.js → form-sq4s6wq1.js} +6 -6
- package/dist/chunks/{filesystem-0j7gp832.js → form-sqjzf8x2.js} +4 -4
- package/dist/chunks/{filesystem-svcy3p9a.js → form-svcy3p9a.js} +1 -1
- package/dist/chunks/{filesystem-bafv7pw0.js → form-t16hmx8j.js} +4 -4
- package/dist/chunks/{filesystem-hk9d81vf.js → form-t6cg7awe.js} +21 -21
- package/dist/chunks/{filesystem-1fyseb9g.js → form-tcrj48nm.js} +30 -30
- package/dist/chunks/{filesystem-tczq8hjw.js → form-tczq8hjw.js} +1 -1
- package/dist/chunks/{filesystem-ykvsfm8k.js → form-tg1vr1qt.js} +8 -8
- package/dist/chunks/{filesystem-gerrpf33.js → form-tptvq6v6.js} +4 -4
- package/dist/chunks/{filesystem-7m14jn42.js → form-tr0vf8pp.js} +12 -12
- package/dist/chunks/{filesystem-hb2vdfk5.js → form-ts85mjsk.js} +10 -10
- package/dist/chunks/{filesystem-k004b52r.js → form-tt1vkc1g.js} +20 -20
- package/dist/chunks/{filesystem-bpqrf6t1.js → form-tv1hegq9.js} +12 -12
- package/dist/chunks/{filesystem-twssxy5n.js → form-twssxy5n.js} +2 -2
- package/dist/chunks/{filesystem-bt9jv65t.js → form-ty3g7dye.js} +26 -26
- package/dist/chunks/{filesystem-mjyzbzxc.js → form-tzhe5vps.js} +5 -5
- package/dist/chunks/{filesystem-v2r1d0zg.js → form-v2r1d0zg.js} +1 -1
- package/dist/chunks/{filesystem-h5137fsx.js → form-v8gahvqg.js} +5 -5
- package/dist/chunks/{filesystem-5f4zfvgc.js → form-va23bk0p.js} +4 -4
- package/dist/chunks/{filesystem-26x8chrq.js → form-vaq1yek0.js} +6 -6
- package/dist/chunks/{filesystem-98tqkwke.js → form-vbggds6s.js} +11 -11
- package/dist/chunks/{filesystem-m8pt14ww.js → form-vr11s0jh.js} +6 -6
- package/dist/chunks/{filesystem-nazdnmrt.js → form-vr5v59hp.js} +15 -15
- package/dist/chunks/{filesystem-zb5gs1ba.js → form-vx3jgdek.js} +2 -2
- package/dist/chunks/{filesystem-0w2jttgf.js → form-w0sctsdt.js} +3 -2
- package/dist/chunks/{filesystem-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-xkkam4tz.js → form-w7bcyz89.js} +11 -11
- package/dist/chunks/{filesystem-76cb1hcw.js → form-w8qtt4th.js} +4 -4
- package/dist/chunks/{filesystem-wz5tj16h.js → form-w8xr7nv8.js} +5 -5
- package/dist/chunks/{filesystem-wakvkjy4.js → form-wakvkjy4.js} +1 -1
- package/dist/chunks/{filesystem-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-3n9wrer5.js → form-wjs5qw55.js} +19 -19
- package/dist/chunks/{filesystem-wnhgecwx.js → form-wnhgecwx.js} +1 -1
- package/dist/chunks/{filesystem-167dk08f.js → form-wpnjmb41.js} +35 -35
- package/dist/chunks/{filesystem-bm0v3ha5.js → form-wvr8z8p1.js} +28 -28
- package/dist/chunks/{filesystem-g14zw2sb.js → form-wzhs16ph.js} +44 -44
- package/dist/chunks/{filesystem-9azm90ns.js → form-x07e5g67.js} +20 -20
- package/dist/chunks/{filesystem-204nxwvy.js → form-x46kzptm.js} +47 -47
- package/dist/chunks/{filesystem-1q8aebw4.js → form-xeygv81t.js} +5 -5
- package/dist/chunks/{filesystem-11khfpwy.js → form-xg4acpkm.js} +10 -10
- package/dist/chunks/{filesystem-gcbtwra8.js → form-xhfzgzgf.js} +8 -8
- package/dist/chunks/{filesystem-3xfh9pkc.js → form-xp63w1t0.js} +16 -16
- package/dist/chunks/{filesystem-xt0z8zst.js → form-xt0z8zst.js} +1 -1
- package/dist/chunks/{filesystem-3gse1gra.js → form-xyj2z7t9.js} +13 -13
- package/dist/chunks/{filesystem-xk2zn0cv.js → form-xymnhqkr.js} +4 -4
- package/dist/chunks/{filesystem-4xgq8f2s.js → form-y28d2ctz.js} +11 -11
- package/dist/chunks/{filesystem-jzcwvdq8.js → form-y2gpst6y.js} +13 -13
- package/dist/chunks/{filesystem-qy5vca9h.js → form-y2wa3a8s.js} +5 -5
- package/dist/chunks/{filesystem-jz8jyxed.js → form-y7t1ke69.js} +34 -34
- package/dist/chunks/{filesystem-yyx7mbnb.js → form-y7w06ryq.js} +17 -17
- package/dist/chunks/{filesystem-yb20nhc3.js → form-yb20nhc3.js} +1 -1
- package/dist/chunks/{filesystem-0ef2mh1p.js → form-yb37bm60.js} +11 -11
- package/dist/chunks/{filesystem-ym1e38ts.js → form-ybdj6tkq.js} +4 -4
- package/dist/chunks/{filesystem-twh1nspr.js → form-yfcr1se9.js} +9 -9
- package/dist/chunks/{filesystem-aktfspq0.js → form-yfj8kv93.js} +11 -11
- package/dist/chunks/{filesystem-7gf675tv.js → form-yjkwyrer.js} +32 -32
- package/dist/chunks/{filesystem-srb5905y.js → form-yk574f7x.js} +17 -17
- package/dist/chunks/{filesystem-gfwwbhdd.js → form-z1yb6k18.js} +22 -22
- package/dist/chunks/{filesystem-z38nccrw.js → form-z38nccrw.js} +1 -1
- package/dist/chunks/{filesystem-ny1sy5a3.js → form-ze5pwfxf.js} +1 -1
- package/dist/chunks/{filesystem-r4j0x99n.js → form-zgd8t41s.js} +9 -9
- package/dist/chunks/{filesystem-5k0ygmt7.js → form-zht7fzxj.js} +30 -30
- package/dist/chunks/{filesystem-zk53j53a.js → form-zk53j53a.js} +2 -2
- package/dist/chunks/{filesystem-19gd0q7m.js → form-zm2ek9rr.js} +14 -14
- package/dist/chunks/{filesystem-hd3k4wz8.js → form-ztf6n3de.js} +4 -4
- 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 +92 -91
- package/dist/config/discovery.js +95 -94
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +110 -109
- package/dist/config/plugin/agent.js +124 -123
- package/dist/config/plugin/command.js +222 -221
- package/dist/config/plugin/compaction.js +165 -164
- package/dist/config/plugin/compatibility.js +145 -144
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +125 -124
- package/dist/config/plugin/image.js +124 -123
- package/dist/config/plugin/instruction.js +124 -123
- package/dist/config/plugin/location-watcher.js +126 -125
- package/dist/config/plugin/mcp.js +131 -130
- package/dist/config/plugin/policy.js +126 -125
- package/dist/config/plugin/provider.js +125 -124
- package/dist/config/plugin/reference.js +126 -125
- package/dist/config/plugin/shell.js +124 -123
- package/dist/config/plugin/skill-file.js +141 -140
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +146 -145
- package/dist/config/plugin/snapshot.js +124 -123
- package/dist/config/plugin/source.js +125 -124
- package/dist/config/plugin/tool-output.js +125 -124
- package/dist/config/plugin/websearch.js +123 -122
- package/dist/config/plugin/worktree.js +126 -125
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -91
- package/dist/database/database.js +75 -74
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +6 -0
- package/dist/database/migration.gen.js +58 -57
- package/dist/database/migration.js +60 -59
- 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 +103 -102
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +388 -387
- 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 +104 -103
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -105
- 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 +79 -78
- package/dist/file-access.js +151 -150
- package/dist/file-mutation.js +105 -104
- 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/file-watch.js +86 -85
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +237 -236
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +110 -109
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +113 -112
- package/dist/form.js +91 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -95
- package/dist/generate.js +120 -119
- package/dist/git.js +11 -11
- 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 +110 -109
- 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/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +379 -378
- package/dist/instruction-discovery.js +91 -90
- package/dist/instructions/builtins.js +98 -97
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -97
- package/dist/job.js +85 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -81
- package/dist/location-activity.js +164 -163
- package/dist/location-lifecycle.js +145 -144
- package/dist/location-service-map.js +97 -96
- package/dist/location-services.js +376 -375
- package/dist/location.js +100 -99
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +102 -101
- package/dist/mcp/index.js +116 -115
- package/dist/mcp/instructions.js +169 -168
- package/dist/mcp/oauth.js +87 -86
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +101 -100
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +110 -109
- package/dist/model-resolver.js +110 -109
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +119 -118
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +146 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -98
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +84 -83
- package/dist/plugin/agent.js +83 -82
- package/dist/plugin/command.js +109 -108
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +228 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +349 -348
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +108 -107
- package/dist/plugin/module.js +126 -125
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +141 -140
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +102 -101
- package/dist/plugin/provider/azure.js +124 -123
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +124 -123
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -121
- package/dist/plugin/provider/configured.js +120 -119
- package/dist/plugin/provider/credential-settings.js +83 -82
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +104 -103
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +106 -105
- package/dist/plugin/provider/gitlab.js +105 -104
- package/dist/plugin/provider/google-vertex.js +121 -120
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +87 -86
- package/dist/plugin/provider/lmstudio.js +131 -130
- package/dist/plugin/provider/local.js +130 -129
- package/dist/plugin/provider/modal.js +103 -102
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +133 -132
- package/dist/plugin/provider/openai-context-caps.js +101 -100
- package/dist/plugin/provider/openai.js +124 -123
- package/dist/plugin/provider/opencode.js +127 -126
- package/dist/plugin/provider/openrouter.js +102 -101
- package/dist/plugin/provider/poe.js +88 -87
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +102 -101
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +123 -122
- package/dist/plugin/provider/vllm.js +131 -130
- package/dist/plugin/provider/xai.js +102 -101
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -174
- package/dist/plugin/sdk.js +83 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +142 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +365 -364
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +95 -94
- package/dist/plugin/vcs/hg.js +97 -96
- package/dist/plugin/verbosity.js +104 -103
- package/dist/plugin/warming.js +122 -121
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +239 -238
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -100
- package/dist/provider.js +110 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -108
- package/dist/reference/instructions.js +97 -96
- package/dist/reference.js +99 -98
- package/dist/repository-cache.js +91 -90
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +106 -105
- package/dist/rpc.js +97 -96
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +232 -231
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +123 -122
- package/dist/session/command.js +83 -82
- package/dist/session/compaction.js +167 -166
- package/dist/session/context.js +191 -190
- package/dist/session/diff.js +99 -98
- 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 +234 -233
- package/dist/session/execution.js +157 -156
- package/dist/session/generate.js +193 -192
- package/dist/session/history.js +130 -129
- package/dist/session/inbox.js +141 -140
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +135 -134
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +156 -155
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +159 -158
- package/dist/session/projector.js +137 -136
- package/dist/session/prompt.js +143 -142
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +133 -132
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +242 -241
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -110
- package/dist/session/runner/publish-llm-event.js +144 -143
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +157 -156
- package/dist/session/runner/to-llm-message.js +131 -130
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +175 -174
- package/dist/session/shell.js +138 -137
- package/dist/session/skill.js +142 -141
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +82 -81
- package/dist/session/store.js +136 -135
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +222 -221
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +195 -194
- package/dist/session/to-session-error.js +143 -142
- package/dist/session/transfer.js +229 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +224 -223
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +144 -143
- package/dist/skill.js +149 -148
- package/dist/snapshot.js +100 -99
- 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 +170 -169
- package/dist/tool/plugin/edit.js +155 -154
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -160
- package/dist/tool/plugin/grep.js +163 -162
- package/dist/tool/plugin/image-generate.js +232 -231
- package/dist/tool/plugin/mcp-resource.js +157 -156
- package/dist/tool/plugin/opencode.js +156 -155
- package/dist/tool/plugin/patch.js +161 -160
- package/dist/tool/plugin/question.js +143 -142
- package/dist/tool/plugin/read.js +164 -163
- package/dist/tool/plugin/schedule.js +222 -221
- package/dist/tool/plugin/shell.js +225 -224
- package/dist/tool/plugin/skill.js +150 -149
- package/dist/tool/plugin/subagent.js +227 -226
- package/dist/tool/plugin/todo.js +148 -147
- package/dist/tool/plugin/webfetch.js +150 -149
- package/dist/tool/plugin/websearch.js +148 -147
- package/dist/tool/plugin/write.js +161 -160
- package/dist/tool/read-filesystem.js +111 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/database/migration/20261029073502_session_time_busy.d.ts +3 -0
- package/dist/types/session/schema.d.ts +1 -0
- package/dist/types/session/sql.d.ts +16 -0
- package/dist/types/session/transfer.d.ts +1 -0
- package/dist/usage-limits.js +96 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/mcp.js +4 -4
- package/dist/v1/config/migrate.js +103 -102
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +104 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -99
- package/dist/voice.js +99 -98
- package/dist/websearch.js +93 -92
- package/dist/wellknown/plugin.js +85 -84
- package/dist/wellknown.js +90 -89
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -90
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +100 -99
- package/dist/worktree.js +107 -106
- package/package.json +8 -8
- package/dist/chunks/filesystem-2dkjcnxp.js +0 -18
- package/dist/chunks/filesystem-dwbakpgx.js +0 -257
- /package/dist/chunks/{filesystem-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1jakw16s.js → form-1jakw16s.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5w3e23ze.js → form-5w3e23ze.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a058387c.js → form-a058387c.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-beh6qq61.js → form-beh6qq61.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cqv5kn06.js → form-cqv5kn06.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fkpq3x5p.js → form-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jwr30sdr.js → form-jwr30sdr.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-ncqqe42p.js → form-ncqqe42p.js} +0 -0
- /package/dist/chunks/{filesystem-nh4v3znn.js → form-nh4v3znn.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-p71gwv9c.js → form-p71gwv9c.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ty7weeps.js → form-ty7weeps.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service27,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service27 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service27.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service27, awaitActivation2, exports_service };
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-xt0z8zst.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions5 = {};
|
|
18
18
|
__export(exports_instructions5, {
|
|
19
19
|
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
20
|
+
make: () => make15,
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Before calling a tool that is not list
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Code Mode tools (call only inside \`execute\`)`;
|
|
35
|
-
function
|
|
35
|
+
function render3(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render3(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render2(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make15 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
116
|
return make20({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render3,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render3, update3, make15, exports_instructions5 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-va23bk0p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service67,
|
|
6
|
+
Event12
|
|
7
|
+
} from "./form-x07e5g67.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin37,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin37 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service86;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service67;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin2 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin37, exports_plugin };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./form-4j43s0xr.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info29,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref5,
|
|
15
|
+
Service: () => Service83,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node87,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info29, Ref as Ref5, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service83 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node87 = LayerNode.unbound(Service83, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service83, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service84;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service83.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service83,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node88]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info29, Ref5, response2, Service83, node87, boundNode2, exports_location };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/integration.ts
|
|
6
6
|
var exports_integration = {};
|
|
@@ -9,7 +9,7 @@ __export(exports_integration, {
|
|
|
9
9
|
Document: () => Document2,
|
|
10
10
|
Policies: () => Policies2,
|
|
11
11
|
Remote: () => Remote2,
|
|
12
|
-
make: () =>
|
|
12
|
+
make: () => make12
|
|
13
13
|
});
|
|
14
14
|
import { Option, Schema, SchemaGetter } from "effect";
|
|
15
15
|
import { Config } from "@opencode/schema/config";
|
|
@@ -41,7 +41,7 @@ class Document2 extends Config.Document.extend("Config.IntegrationDocument")({
|
|
|
41
41
|
organization: Schema.optional(Schema.String)
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function make12(input) {
|
|
45
45
|
const servers = input.info.mcp?.servers;
|
|
46
46
|
return new Document2({
|
|
47
47
|
type: "document",
|
|
@@ -80,4 +80,4 @@ function withoutCredentials(settings) {
|
|
|
80
80
|
return settings && Object.fromEntries(Object.entries(settings).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { Policies2, Remote2, Document2,
|
|
83
|
+
export { Policies2, Remote2, Document2, make12, exports_integration };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./form-g7esga4v.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -434,7 +434,7 @@ function make(id, optimize, mode = "override") {
|
|
|
434
434
|
const system = event.system[0];
|
|
435
435
|
if (!system)
|
|
436
436
|
return;
|
|
437
|
-
const rendered =
|
|
437
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
438
438
|
const text = mode === "append" ? `${system.text}
|
|
439
439
|
|
|
440
440
|
${rendered}` : rendered;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./form-tr0vf8pp.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-gn8tkhbf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make22
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make22 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service85;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make18 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make22, exports_git2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service63,
|
|
10
|
+
node: () => node66
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service63 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service63.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node66 = makeLocationNode({ service: Service63, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service63, node66, exports_hooks };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-pz1n0gq8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-va23bk0p.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service47
|
|
9
|
+
} from "./form-sq4s6wq1.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service40
|
|
15
|
+
} from "./form-r1n5a4qe.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-h4p3pyf8.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-8z6m94af.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./form-1xfzm2bk.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -40,11 +40,11 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service47;
|
|
44
44
|
const database = yield* Service87;
|
|
45
45
|
const bus = yield* Service86;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
47
|
-
const snapshot = yield*
|
|
47
|
+
const snapshot = yield* Service40;
|
|
48
48
|
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
49
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
50
50
|
const restore = new Map;
|
|
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
75
|
+
const instances = yield* Service47;
|
|
76
76
|
const bus = yield* Service86;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service40;
|
|
79
79
|
if (!session.revert)
|
|
80
80
|
return;
|
|
81
81
|
const original = session.revert.snapshot;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
nativeSettings2,
|
|
6
6
|
timeouts2,
|
|
7
7
|
mergeOverlay2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-zht7fzxj.js";
|
|
9
9
|
import {
|
|
10
10
|
stringify2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-1jakw16s.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/aisdk.ts
|
|
17
17
|
var exports_aisdk = {};
|
|
18
18
|
__export(exports_aisdk, {
|
|
19
19
|
AISDK: () => exports_aisdk,
|
|
20
20
|
InitError: () => InitError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service55,
|
|
22
22
|
locationLayer: () => locationLayer2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node57
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -153,7 +153,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
153
153
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
154
154
|
|
|
155
155
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
156
|
-
providerID:
|
|
156
|
+
providerID: ID13,
|
|
157
157
|
cause: Schema.Defect()
|
|
158
158
|
}) {
|
|
159
159
|
}
|
|
@@ -161,9 +161,9 @@ function initError(providerID) {
|
|
|
161
161
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class Service55 extends Context.Service()("@opencode/AISDK") {
|
|
165
165
|
}
|
|
166
|
-
var locationLayer2 = Layer.effect(
|
|
166
|
+
var locationLayer2 = Layer.effect(Service55, Effect.gen(function* () {
|
|
167
167
|
let sdkHooks = [];
|
|
168
168
|
let languageHooks = [];
|
|
169
169
|
const languages = new Map;
|
|
@@ -201,7 +201,7 @@ var locationLayer2 = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
201
201
|
}
|
|
202
202
|
return event;
|
|
203
203
|
});
|
|
204
|
-
const service =
|
|
204
|
+
const service = Service55.of({
|
|
205
205
|
hook: {
|
|
206
206
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
207
207
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -863,6 +863,6 @@ function providerErrorMessage(error) {
|
|
|
863
863
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
864
864
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
865
865
|
}
|
|
866
|
-
var
|
|
866
|
+
var node57 = makeLocationNode({ service: Service55, layer: locationLayer2, deps: [] });
|
|
867
867
|
|
|
868
|
-
export { InitError2,
|
|
868
|
+
export { InitError2, Service55, locationLayer2, node57, exports_aisdk };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-pz1n0gq8.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-27w5k9zf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
16
|
ID: () => ID9,
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
17
|
+
Info: () => Info13,
|
|
18
|
+
NotFoundError: () => NotFoundError9,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service61,
|
|
21
|
+
node: () => node64
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,9 +26,9 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID9 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info13 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
32
|
id: ID9
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
@@ -40,9 +40,9 @@ class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service61 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service87).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service61.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node64 = makeGlobalNode({ service: Service61, layer, deps: [node91] });
|
|
94
94
|
|
|
95
|
-
export { ID9,
|
|
95
|
+
export { ID9, Info13, NotFoundError9, ConflictError2, Service61, node64, exports_saved };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-pz1n0gq8.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-xt0z8zst.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-8z6m94af.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-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: () => Info8,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service34,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node37,
|
|
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 { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info8 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ 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 Service34 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(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
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(Service34, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service87;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service29, 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 Service34.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node37 = makeGlobalNode({ service: Service34, layer, deps: [node91] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info8, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service34, node37, exports_instruction_entry };
|