@opencode/core 0.0.0-dev-21103 → 0.0.0-dev-21104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{models-dev-z54hq8gt.js → session-028vz2zd.js} +4 -4
- package/dist/chunks/{models-dev-k2k03ya2.js → session-0h9k4q61.js} +21 -21
- package/dist/chunks/{models-dev-rtrczrsy.js → session-0hxy9fcr.js} +32 -32
- package/dist/chunks/{models-dev-kqx1b4hy.js → session-0n5ns49k.js} +4 -4
- package/dist/chunks/{models-dev-d56qzfzb.js → session-0p7wg4pc.js} +3 -3
- package/dist/chunks/{models-dev-0vbcp93d.js → session-0vbcp93d.js} +2 -2
- package/dist/chunks/{models-dev-5w6g5fb7.js → session-0z1w82cr.js} +23 -23
- package/dist/chunks/{models-dev-nfypdxw6.js → session-11s75zap.js} +28 -28
- package/dist/chunks/{models-dev-c8jf41fm.js → session-16wezk93.js} +5 -5
- package/dist/chunks/{models-dev-c36fk44k.js → session-17e91py3.js} +9 -9
- package/dist/chunks/{models-dev-rbwza9gb.js → session-17v47ejv.js} +67 -67
- package/dist/chunks/{models-dev-yp2x3t23.js → session-1acjjqhc.js} +4 -4
- package/dist/chunks/{models-dev-3gmam5k1.js → session-1rkb8xsp.js} +4 -4
- package/dist/chunks/{models-dev-w3jqc8y5.js → session-1rtfdfrs.js} +10 -10
- package/dist/chunks/{models-dev-3c0dn32h.js → session-1s4vk71q.js} +20 -20
- package/dist/chunks/{models-dev-ksqd16ha.js → session-1xcbmx00.js} +5 -5
- package/dist/chunks/{models-dev-a89e0tac.js → session-277eer69.js} +4 -4
- package/dist/chunks/{models-dev-fs0ryakd.js → session-2d7sq6jn.js} +11 -11
- package/dist/chunks/{models-dev-p83e3t0x.js → session-2edzsrqt.js} +26 -26
- package/dist/chunks/{models-dev-pt3sjhha.js → session-2j2482ad.js} +25 -25
- package/dist/chunks/{models-dev-1hgqdnhq.js → session-2vgjj4bf.js} +12 -12
- package/dist/chunks/{models-dev-55yh6xd3.js → session-2zqkn9jz.js} +8 -8
- package/dist/chunks/{models-dev-1bkg66xs.js → session-3650f14j.js} +9 -9
- package/dist/chunks/{models-dev-xvyqtd7m.js → session-36k85s9g.js} +16 -16
- package/dist/chunks/{models-dev-3fc6dm20.js → session-3fc6dm20.js} +1 -1
- package/dist/chunks/{models-dev-0z3sj3f1.js → session-3gse6p2p.js} +20 -20
- package/dist/chunks/{models-dev-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{models-dev-3hwn7j4h.js → session-3hwn7j4h.js} +2 -2
- package/dist/chunks/{models-dev-3smtnn6g.js → session-3smtnn6g.js} +1 -1
- package/dist/chunks/{models-dev-3tvqynh2.js → session-3tvqynh2.js} +1 -1
- package/dist/chunks/{models-dev-rfxjeba6.js → session-3x6q11gd.js} +4 -4
- package/dist/chunks/{models-dev-3zsf4n22.js → session-3zsf4n22.js} +1 -1
- package/dist/chunks/{models-dev-csdvkhge.js → session-400ng3ga.js} +48 -48
- package/dist/chunks/{models-dev-wgnf5zhk.js → session-45aa4w9j.js} +2 -2
- package/dist/chunks/{models-dev-j2dqzky9.js → session-48jhjk5h.js} +37 -37
- package/dist/chunks/{models-dev-tvfx0eya.js → session-4d41n9pm.js} +3 -3
- package/dist/chunks/{models-dev-2da87w3a.js → session-4jmg1rte.js} +6 -6
- package/dist/chunks/{models-dev-z6zf04q7.js → session-4kgt4rsm.js} +17 -17
- package/dist/chunks/{models-dev-b7ykavmz.js → session-4r52s04b.js} +6 -6
- package/dist/chunks/{models-dev-5r77gv8f.js → session-4vqah187.js} +23 -23
- package/dist/chunks/{models-dev-y343fkzx.js → session-50axe8a2.js} +11 -11
- package/dist/chunks/{models-dev-54ma36ye.js → session-54ma36ye.js} +1 -1
- package/dist/chunks/{models-dev-6aqh8tvj.js → session-59kkfkjk.js} +5 -5
- package/dist/chunks/{models-dev-eask04rd.js → session-5dzn7ppg.js} +11 -11
- package/dist/chunks/{models-dev-5m9w47nd.js → session-5m9w47nd.js} +1 -1
- package/dist/chunks/{models-dev-pp2ce1g6.js → session-5n5b7a2e.js} +22 -22
- package/dist/chunks/{models-dev-cww38x45.js → session-5ps9jfts.js} +30 -30
- package/dist/chunks/session-5sm1n49m.js +513 -0
- package/dist/chunks/{models-dev-1cxrryk4.js → session-5sq4602s.js} +14 -14
- package/dist/chunks/{models-dev-byba8atx.js → session-5tfadpcf.js} +13 -13
- package/dist/chunks/{models-dev-pmnneqsb.js → session-6h926rj3.js} +51 -51
- package/dist/chunks/{models-dev-w86a4jbk.js → session-6jm7j7qt.js} +18 -18
- package/dist/chunks/{models-dev-589cd944.js → session-6njpkwr5.js} +16 -16
- package/dist/chunks/{models-dev-w4axh9wz.js → session-6px0fncs.js} +6 -6
- package/dist/chunks/{models-dev-e76kv9r4.js → session-6vmd7p6h.js} +10 -10
- package/dist/chunks/{models-dev-6xb47vfp.js → session-6xb47vfp.js} +1 -1
- package/dist/chunks/{models-dev-pnzf6mjf.js → session-6xcvt31d.js} +1 -1
- package/dist/chunks/{models-dev-nmzb0xa3.js → session-6zhcx1rd.js} +73 -73
- package/dist/chunks/{models-dev-00rnpv17.js → session-77140qkf.js} +17 -17
- package/dist/chunks/{models-dev-775gj3j1.js → session-775gj3j1.js} +2 -2
- package/dist/chunks/{models-dev-j0gvhh7c.js → session-79a5xhmv.js} +17 -17
- package/dist/chunks/{models-dev-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{models-dev-damz5fwt.js → session-7e99v8js.js} +20 -20
- package/dist/chunks/{models-dev-6hxktd23.js → session-7ma6b7ht.js} +15 -15
- package/dist/chunks/{models-dev-b154dzx1.js → session-7q89g76x.js} +14 -14
- package/dist/chunks/{models-dev-12xa7c19.js → session-82e44ayv.js} +3 -3
- package/dist/chunks/{models-dev-84txncab.js → session-84txncab.js} +1 -1
- package/dist/chunks/{models-dev-y5975pxr.js → session-8ekk0vp1.js} +13 -13
- package/dist/chunks/{models-dev-ckf8nxjz.js → session-8gxqpgph.js} +4 -4
- package/dist/chunks/{models-dev-jktyb4p1.js → session-8k6m3f86.js} +15 -15
- package/dist/chunks/{models-dev-8m6m0r52.js → session-8m6m0r52.js} +1 -1
- package/dist/chunks/{models-dev-5ye64gj6.js → session-8nawd7vj.js} +30 -30
- package/dist/chunks/{models-dev-g8h5p3ab.js → session-8p95hcj0.js} +7 -7
- package/dist/chunks/{models-dev-dcpdnsk6.js → session-8rr9cgnv.js} +20 -20
- package/dist/chunks/{models-dev-gh6hwtw0.js → session-8ta2ke8b.js} +3 -3
- package/dist/chunks/{models-dev-vfjhn2wd.js → session-8wasap3g.js} +4 -4
- package/dist/chunks/{models-dev-0ynsf4tc.js → session-8yst4g1x.js} +24 -24
- package/dist/chunks/{models-dev-5e6zhe75.js → session-94p4mq0b.js} +32 -32
- package/dist/chunks/{models-dev-k7ad02mm.js → session-9c8hs4gf.js} +12 -12
- package/dist/chunks/{models-dev-4nhk0sdz.js → session-9dsax77p.js} +42 -42
- package/dist/chunks/{models-dev-td64wsrz.js → session-9kjwr1bj.js} +20 -20
- package/dist/chunks/{models-dev-p7763bs8.js → session-9sab7zf7.js} +29 -29
- package/dist/chunks/session-9sh4wc5j.js +18 -0
- package/dist/chunks/{models-dev-jynx48he.js → session-9x2bx73k.js} +14 -14
- package/dist/chunks/{models-dev-1jzxfm5p.js → session-a3pwpyd3.js} +4 -4
- package/dist/chunks/{models-dev-156fkcxj.js → session-ac0kc9a7.js} +25 -25
- package/dist/chunks/{models-dev-3y377wv9.js → session-addxnjmp.js} +4 -4
- package/dist/chunks/{models-dev-20hxmkmy.js → session-affsz7rm.js} +4 -4
- package/dist/chunks/{models-dev-80ss7tj8.js → session-axqmpksw.js} +28 -28
- package/dist/chunks/{models-dev-21x2tq4y.js → session-axrfe593.js} +8 -8
- package/dist/chunks/{models-dev-x3exxkhm.js → session-b1kx6zr2.js} +17 -17
- package/dist/chunks/{models-dev-zyk1yjk8.js → session-b3f8fkhc.js} +5 -5
- package/dist/chunks/{models-dev-y5h2s11h.js → session-bbvg4aj6.js} +7 -7
- package/dist/chunks/{models-dev-f8068ewz.js → session-bdkv4wd5.js} +5 -5
- package/dist/chunks/{models-dev-qzpyk82z.js → session-bfv9bv9k.js} +6 -6
- package/dist/chunks/{models-dev-mszqs36w.js → session-bgxbbvbk.js} +11 -11
- package/dist/chunks/{models-dev-xvr28c84.js → session-bh7bdks7.js} +5 -5
- package/dist/chunks/{models-dev-y9cmq7cc.js → session-bhdk16by.js} +31 -31
- package/dist/chunks/{models-dev-wjr9rjd7.js → session-bjx1sjef.js} +6 -6
- package/dist/chunks/{models-dev-txm3e8qz.js → session-bmr56wjg.js} +4 -4
- package/dist/chunks/{models-dev-nanfamht.js → session-bx08gw9n.js} +16 -16
- package/dist/chunks/{models-dev-c1fqxshp.js → session-c1fqxshp.js} +3 -3
- package/dist/chunks/{models-dev-y1ejwj9k.js → session-c1v03wcp.js} +4 -4
- package/dist/chunks/{models-dev-zjzm1mqh.js → session-c2qztg18.js} +12 -12
- package/dist/chunks/{models-dev-qrf0dgbn.js → session-c5ggqzvz.js} +12 -12
- package/dist/chunks/{models-dev-hkhazw4s.js → session-cahfpmqz.js} +41 -41
- package/dist/chunks/{models-dev-wxc0f3yq.js → session-ch4d9mhg.js} +14 -14
- package/dist/chunks/{models-dev-z135rspg.js → session-cjtp7t4m.js} +7 -7
- package/dist/chunks/{models-dev-0jzbpbks.js → session-cmryhbtm.js} +10 -10
- package/dist/chunks/{models-dev-dfksb2wc.js → session-cp42sj37.js} +28 -28
- package/dist/chunks/{models-dev-rchmsnxv.js → session-cr0wjcx7.js} +16 -16
- package/dist/chunks/{models-dev-c765mh8b.js → session-cwa6csj7.js} +9 -9
- package/dist/chunks/{models-dev-y80h604t.js → session-cyyn8b75.js} +15 -15
- package/dist/chunks/{models-dev-6n4b0dsb.js → session-d43tgzm4.js} +9 -9
- package/dist/chunks/{models-dev-sw6dhtwx.js → session-dfwcm8s4.js} +24 -24
- package/dist/chunks/{models-dev-337a4zhp.js → session-dhg5tdjx.js} +33 -33
- package/dist/chunks/{models-dev-q4vh7wx4.js → session-dj1vr2rc.js} +45 -45
- package/dist/chunks/{models-dev-6qcm6qfy.js → session-dj95qvah.js} +14 -14
- package/dist/chunks/{models-dev-a8wpgx3y.js → session-djxjhtpa.js} +20 -20
- package/dist/chunks/{models-dev-dfxa828b.js → session-dk3bb8xe.js} +29 -29
- package/dist/chunks/{models-dev-whw5zgdk.js → session-dkbdqgve.js} +25 -25
- package/dist/chunks/{models-dev-2cghqvnp.js → session-dppc1d27.js} +24 -24
- package/dist/chunks/{models-dev-dqxsqydv.js → session-dqxsqydv.js} +1 -1
- package/dist/chunks/{models-dev-zzyrpm7p.js → session-dscw6zgr.js} +27 -27
- package/dist/chunks/{models-dev-cmwkp3r5.js → session-dv1qgsyq.js} +8 -8
- package/dist/chunks/{models-dev-6bh82st2.js → session-dxpt7zgz.js} +15 -15
- package/dist/chunks/{models-dev-f13580fy.js → session-dyrvb49w.js} +1 -1
- package/dist/chunks/{models-dev-rgeb7nt4.js → session-e4yefha8.js} +28 -28
- package/dist/chunks/{models-dev-5d1ww40v.js → session-e82m7wpc.js} +34 -34
- package/dist/chunks/{models-dev-r0jx86qv.js → session-e8x5fadv.js} +19 -19
- package/dist/chunks/{models-dev-zcxh2nc1.js → session-ec1m929s.js} +11 -11
- package/dist/chunks/{models-dev-eej6y6fw.js → session-eej6y6fw.js} +2 -2
- package/dist/chunks/{models-dev-ef5x83kb.js → session-ef5x83kb.js} +1 -1
- package/dist/chunks/{models-dev-n1t23x52.js → session-eg428ztj.js} +13 -13
- package/dist/chunks/{models-dev-r2y1k1ra.js → session-ekr3d3wn.js} +45 -45
- package/dist/chunks/{models-dev-128c3rgk.js → session-epg0ywp9.js} +21 -21
- package/dist/chunks/{models-dev-kgz81yt2.js → session-ewfysnty.js} +27 -27
- package/dist/chunks/{models-dev-anr4w7k8.js → session-f13253fz.js} +14 -14
- package/dist/chunks/{models-dev-2r1j4600.js → session-fan8xm03.js} +8 -8
- package/dist/chunks/{models-dev-em0gpvwq.js → session-fh9xxv3t.js} +22 -22
- package/dist/chunks/{models-dev-d216944b.js → session-fqb2p7cx.js} +7 -7
- package/dist/chunks/{models-dev-6efh69t8.js → session-fst6bshg.js} +11 -11
- package/dist/chunks/{models-dev-g99py8zc.js → session-ftmqwck5.js} +11 -11
- package/dist/chunks/{models-dev-tkjw6tc9.js → session-g131fprf.js} +10 -10
- package/dist/chunks/{models-dev-r953n9w9.js → session-g57505q5.js} +10 -10
- package/dist/chunks/{models-dev-g686f6pq.js → session-g686f6pq.js} +2 -2
- package/dist/chunks/{models-dev-wx7p5bgg.js → session-g8f49myy.js} +191 -191
- package/dist/chunks/{models-dev-tdbz35zs.js → session-g8mkxt29.js} +28 -28
- package/dist/chunks/{models-dev-7zkbhs7g.js → session-g8ytx0e6.js} +11 -11
- package/dist/chunks/{models-dev-gd4qta3r.js → session-gd4qta3r.js} +1 -1
- package/dist/chunks/{models-dev-ygdna4kr.js → session-gj71zhbs.js} +5 -5
- package/dist/chunks/{models-dev-3ej3pa37.js → session-gyrvczyf.js} +5 -5
- package/dist/chunks/{models-dev-h6vf3j39.js → session-h6vf3j39.js} +1 -1
- package/dist/chunks/{models-dev-h7s7r6s9.js → session-h7s7r6s9.js} +2 -2
- package/dist/chunks/{models-dev-wgwt0zmy.js → session-hcv7wq8e.js} +11 -11
- package/dist/chunks/{models-dev-hgz4x7wa.js → session-hgz4x7wa.js} +1 -1
- package/dist/chunks/{models-dev-1w2wqhfv.js → session-hq3c8me3.js} +4 -4
- package/dist/chunks/{models-dev-30fcd0bd.js → session-hxe36jtj.js} +23 -23
- package/dist/chunks/{models-dev-c2sed5cq.js → session-hzrfc1p4.js} +2 -2
- package/dist/chunks/{models-dev-91qna3x0.js → session-j09zfasm.js} +3 -3
- package/dist/chunks/{models-dev-jda5r79c.js → session-j125ymr3.js} +15 -15
- package/dist/chunks/{models-dev-hrfrq9hz.js → session-j3cqg9vr.js} +9 -9
- package/dist/chunks/{models-dev-ay3ezy6z.js → session-j4qz6ybp.js} +8 -8
- package/dist/chunks/{models-dev-k87dtxhj.js → session-jbdted36.js} +21 -21
- package/dist/chunks/{models-dev-fad1fstv.js → session-jg5dd0tz.js} +32 -32
- package/dist/chunks/{models-dev-fps60k0v.js → session-jvy3q0g6.js} +26 -26
- package/dist/chunks/{models-dev-kj84qpwx.js → session-jw0wced5.js} +4 -4
- package/dist/chunks/{models-dev-nfdwzame.js → session-jxezq2bv.js} +18 -18
- package/dist/chunks/{models-dev-02whdv0x.js → session-k0q9y07y.js} +7 -7
- package/dist/chunks/{models-dev-gj3abg68.js → session-k3x8bpwg.js} +25 -25
- package/dist/chunks/{models-dev-mdtzp1pw.js → session-k5zv1nx4.js} +19 -19
- package/dist/chunks/{models-dev-gwj8012a.js → session-k81em4a1.js} +42 -42
- package/dist/chunks/{models-dev-aj3rbcf1.js → session-kecqjjhm.js} +5 -5
- package/dist/chunks/{models-dev-p3gkw1kz.js → session-kefdww3n.js} +12 -12
- package/dist/chunks/{models-dev-rqct9df9.js → session-kq2n3xvx.js} +11 -11
- package/dist/chunks/{models-dev-xj3491xa.js → session-kr417dca.js} +13 -13
- package/dist/chunks/{models-dev-hgmf4m41.js → session-kramf95g.js} +24 -24
- package/dist/chunks/{models-dev-kwb1v3vj.js → session-kwb1v3vj.js} +1 -1
- package/dist/chunks/{models-dev-8snydk6z.js → session-kx0a4q3k.js} +15 -15
- package/dist/chunks/{models-dev-jae11whn.js → session-m11mp5yh.js} +20 -20
- package/dist/chunks/{models-dev-j0dm9avb.js → session-m21m6a6e.js} +38 -38
- package/dist/chunks/{models-dev-14dmx2cw.js → session-m83wvsht.js} +14 -14
- package/dist/chunks/{models-dev-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{models-dev-maspj1v3.js → session-maspj1v3.js} +1 -1
- package/dist/chunks/{models-dev-ypcym4nd.js → session-mexea5e3.js} +46 -46
- package/dist/chunks/{models-dev-f4d0nvvk.js → session-mmfyj663.js} +5 -5
- package/dist/chunks/session-mx61tthx.js +257 -0
- package/dist/chunks/{models-dev-z8p7drz6.js → session-n48db4tv.js} +11 -11
- package/dist/chunks/{models-dev-2h747eb3.js → session-ngq632jh.js} +5 -5
- package/dist/chunks/{models-dev-8ank75fn.js → session-ngts6ef0.js} +8 -8
- package/dist/chunks/{models-dev-s9v1gswf.js → session-ngtvk8kc.js} +18 -18
- package/dist/chunks/{models-dev-yrcj3v3g.js → session-nxe4pcap.js} +4 -4
- package/dist/chunks/{models-dev-f2576r4s.js → session-paj0pdrk.js} +13 -13
- package/dist/chunks/{models-dev-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
- package/dist/chunks/{models-dev-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{models-dev-ecw21w1h.js → session-pnhga7rv.js} +4 -4
- package/dist/chunks/{models-dev-r966epky.js → session-pt9tn29g.js} +18 -18
- package/dist/chunks/{models-dev-py3kkmfq.js → session-py3kkmfq.js} +2 -2
- package/dist/chunks/{models-dev-2k8khapm.js → session-qgn6gcr1.js} +5 -5
- package/dist/chunks/{models-dev-18j937x3.js → session-qj7ggmya.js} +33 -33
- package/dist/chunks/{models-dev-tk5cb0ff.js → session-qmfxk8yj.js} +26 -26
- package/dist/chunks/{models-dev-qnc92qwc.js → session-qnc92qwc.js} +1 -1
- package/dist/chunks/{models-dev-wmgjprx4.js → session-qns7vbsq.js} +17 -17
- package/dist/chunks/{models-dev-qsdy395h.js → session-qsdy395h.js} +1 -1
- package/dist/chunks/{models-dev-73g36y3t.js → session-qzwtedfz.js} +4 -4
- package/dist/chunks/{models-dev-5rzwp8tz.js → session-r2z489rp.js} +3 -3
- package/dist/chunks/{models-dev-w74zvrdf.js → session-r669e83c.js} +19 -19
- package/dist/chunks/{models-dev-22zphmk5.js → session-rd0yyfjt.js} +8 -8
- package/dist/chunks/{models-dev-y95rb4b8.js → session-rdg5xtmn.js} +10 -10
- package/dist/chunks/{models-dev-rdw6cm16.js → session-rdw6cm16.js} +1 -1
- package/dist/chunks/{models-dev-rert0e01.js → session-rert0e01.js} +2 -2
- package/dist/chunks/{models-dev-rj3eygr5.js → session-rj3eygr5.js} +2 -2
- package/dist/chunks/{models-dev-snygwxgw.js → session-rmyya8cp.js} +9 -9
- package/dist/chunks/{models-dev-73mn35m0.js → session-rqpp628f.js} +47 -47
- package/dist/chunks/{models-dev-s04yg0h5.js → session-rrc2w5mq.js} +35 -35
- package/dist/chunks/{models-dev-zhpzfnnm.js → session-rwrfwdzg.js} +3 -3
- package/dist/chunks/{models-dev-kr0apa3b.js → session-s1mtfv6s.js} +11 -11
- package/dist/chunks/{models-dev-0m54b994.js → session-s3vgnvt1.js} +5 -5
- package/dist/chunks/{models-dev-sa8ekw3f.js → session-sa8ekw3f.js} +2 -2
- package/dist/chunks/{models-dev-h11j87t7.js → session-scd429p4.js} +42 -42
- package/dist/chunks/{models-dev-2z6przmx.js → session-sczzfbt2.js} +14 -14
- package/dist/chunks/{models-dev-tksp512h.js → session-sm9veqfv.js} +50 -50
- package/dist/chunks/{models-dev-xvae3yab.js → session-swr4hk66.js} +24 -24
- package/dist/chunks/{models-dev-syv4x271.js → session-syv4x271.js} +1 -1
- package/dist/chunks/{models-dev-j34dxvpb.js → session-t0sqncza.js} +5 -5
- package/dist/chunks/{models-dev-gvc0pday.js → session-t4ak2b1q.js} +28 -28
- package/dist/chunks/{models-dev-rhjbct0v.js → session-t550f9t1.js} +4 -4
- package/dist/chunks/{models-dev-tazgh4e4.js → session-tazgh4e4.js} +1 -1
- package/dist/chunks/{models-dev-tcezcvh9.js → session-tcezcvh9.js} +1 -1
- package/dist/chunks/{models-dev-tdstcens.js → session-tdstcens.js} +1 -1
- package/dist/chunks/{models-dev-zf24vjx2.js → session-tgh3evcp.js} +1 -1
- package/dist/chunks/{models-dev-tm0kqsz3.js → session-tm0kqsz3.js} +1 -1
- package/dist/chunks/{models-dev-tyytaxap.js → session-tyytaxap.js} +1 -1
- package/dist/chunks/{models-dev-2466df47.js → session-tzr482z0.js} +33 -33
- package/dist/chunks/{models-dev-4434d9q2.js → session-v0es1rhs.js} +9 -9
- package/dist/chunks/{models-dev-v7p4zvkq.js → session-v7p4zvkq.js} +2 -2
- package/dist/chunks/{models-dev-veqvce7d.js → session-veqvce7d.js} +1 -1
- package/dist/chunks/{models-dev-721yw7xq.js → session-vfefmkej.js} +19 -19
- package/dist/chunks/{models-dev-gm7mgs39.js → session-vhdc5dwg.js} +13 -13
- package/dist/chunks/{models-dev-mb14aw74.js → session-vjjaysxc.js} +2 -2
- package/dist/chunks/{models-dev-18yjff17.js → session-vvxb08w0.js} +45 -45
- package/dist/chunks/{models-dev-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
- package/dist/chunks/{models-dev-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{models-dev-w3x9v1nk.js → session-w3x9v1nk.js} +1 -1
- package/dist/chunks/{models-dev-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{models-dev-dssbfrwz.js → session-wh6zw745.js} +5 -5
- package/dist/chunks/{models-dev-bydnjh3t.js → session-wk5z6jzv.js} +9 -9
- package/dist/chunks/{models-dev-j7aq1t3e.js → session-wnk72qpq.js} +8 -8
- package/dist/chunks/{models-dev-bgtk5hwy.js → session-wqmp8a7j.js} +10 -10
- package/dist/chunks/{models-dev-fn7bcat4.js → session-x1a9vp4h.js} +15 -15
- package/dist/chunks/{models-dev-hawbp04s.js → session-x31magnd.js} +24 -24
- package/dist/chunks/{models-dev-20qam0gr.js → session-x6badc55.js} +17 -17
- package/dist/chunks/{models-dev-nfejd64p.js → session-x82jgv5k.js} +32 -32
- package/dist/chunks/session-xc8rkb9z.js +26 -0
- package/dist/chunks/{models-dev-acd4vkpt.js → session-xcd0eash.js} +6 -6
- package/dist/chunks/{models-dev-xfkkasph.js → session-xfkkasph.js} +1 -1
- package/dist/chunks/{models-dev-z5hpwnec.js → session-xjpaefgf.js} +16 -16
- package/dist/chunks/{models-dev-80edwejb.js → session-xkzhpn5t.js} +10 -10
- package/dist/chunks/{models-dev-4enwrpjj.js → session-xvvnzekr.js} +79 -79
- package/dist/chunks/{models-dev-ytqyg6zh.js → session-xx1fd4ja.js} +3 -3
- package/dist/chunks/{models-dev-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
- package/dist/chunks/{models-dev-dpkg50ah.js → session-y71avatq.js} +4 -4
- package/dist/chunks/{models-dev-598djycs.js → session-y87t9fp6.js} +15 -15
- package/dist/chunks/{models-dev-3mkrw1ny.js → session-yd5337z5.js} +6 -6
- package/dist/chunks/{models-dev-vm7ea25z.js → session-yft71f72.js} +13 -13
- package/dist/chunks/{models-dev-cdq3zv6g.js → session-yn31e96s.js} +28 -28
- package/dist/chunks/{models-dev-pwj87jde.js → session-yvtsx50k.js} +19 -19
- package/dist/chunks/{models-dev-nxqm7gwv.js → session-yy7rb4gy.js} +35 -35
- package/dist/chunks/{models-dev-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
- package/dist/chunks/{models-dev-zp4b7z7f.js → session-z10vw5g9.js} +11 -11
- package/dist/chunks/{models-dev-bf4gbvg4.js → session-z5crsmww.js} +5 -5
- package/dist/chunks/{models-dev-jtp4xp8v.js → session-zf3pj1s8.js} +7 -7
- package/dist/chunks/{models-dev-a6m5ge69.js → session-zns8d6gc.js} +5 -5
- package/dist/chunks/{models-dev-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
- package/dist/chunks/{models-dev-2akqzpk3.js → session-zrsvcpf8.js} +21 -21
- package/dist/chunks/{models-dev-6rqswetv.js → session-zx1mjfhk.js} +18 -18
- package/dist/chunks/{models-dev-zxq2ej10.js → session-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- 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 +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- 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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +93 -93
- 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 +358 -358
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +355 -355
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- 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/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- 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 +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- 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 +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- 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 +3 -3
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +11 -11
- package/dist/shell.js +126 -126
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/models-dev-n95b3jav.js +0 -18
- package/dist/chunks/models-dev-rffya3h2.js +0 -26
- package/dist/chunks/models-dev-snpcd400.js +0 -513
- package/dist/chunks/models-dev-xf54mzqc.js +0 -257
- /package/dist/chunks/{models-dev-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{models-dev-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{models-dev-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{models-dev-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{models-dev-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{models-dev-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{models-dev-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{models-dev-2axfhc9x.js → session-2axfhc9x.js} +0 -0
- /package/dist/chunks/{models-dev-2bv980vf.js → session-2bv980vf.js} +0 -0
- /package/dist/chunks/{models-dev-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{models-dev-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{models-dev-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{models-dev-3t0ybcrp.js → session-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{models-dev-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{models-dev-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{models-dev-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{models-dev-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{models-dev-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{models-dev-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{models-dev-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{models-dev-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{models-dev-5qd3pb7m.js → session-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{models-dev-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{models-dev-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{models-dev-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{models-dev-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{models-dev-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{models-dev-84wd9syh.js → session-84wd9syh.js} +0 -0
- /package/dist/chunks/{models-dev-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{models-dev-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{models-dev-8wj87zfr.js → session-8wj87zfr.js} +0 -0
- /package/dist/chunks/{models-dev-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{models-dev-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{models-dev-a6k6eb26.js → session-a6k6eb26.js} +0 -0
- /package/dist/chunks/{models-dev-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{models-dev-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{models-dev-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{models-dev-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{models-dev-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{models-dev-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{models-dev-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{models-dev-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{models-dev-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{models-dev-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{models-dev-dajrwvna.js → session-dajrwvna.js} +0 -0
- /package/dist/chunks/{models-dev-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{models-dev-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{models-dev-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{models-dev-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{models-dev-e73j6tqm.js → session-e73j6tqm.js} +0 -0
- /package/dist/chunks/{models-dev-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{models-dev-eh3zwz77.js → session-eh3zwz77.js} +0 -0
- /package/dist/chunks/{models-dev-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{models-dev-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{models-dev-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{models-dev-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{models-dev-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{models-dev-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{models-dev-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{models-dev-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{models-dev-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{models-dev-hcxmzztb.js → session-hcxmzztb.js} +0 -0
- /package/dist/chunks/{models-dev-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{models-dev-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{models-dev-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{models-dev-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{models-dev-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{models-dev-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{models-dev-jze0r7bz.js → session-jze0r7bz.js} +0 -0
- /package/dist/chunks/{models-dev-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{models-dev-m18g726c.js → session-m18g726c.js} +0 -0
- /package/dist/chunks/{models-dev-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{models-dev-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{models-dev-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{models-dev-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{models-dev-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{models-dev-pkyv6v7h.js → session-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{models-dev-pyv0edze.js → session-pyv0edze.js} +0 -0
- /package/dist/chunks/{models-dev-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{models-dev-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{models-dev-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{models-dev-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{models-dev-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{models-dev-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{models-dev-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{models-dev-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{models-dev-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{models-dev-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{models-dev-ve7vex1e.js → session-ve7vex1e.js} +0 -0
- /package/dist/chunks/{models-dev-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{models-dev-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{models-dev-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{models-dev-wjj7prxr.js → session-wjj7prxr.js} +0 -0
- /package/dist/chunks/{models-dev-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{models-dev-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{models-dev-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{models-dev-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{models-dev-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{models-dev-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{models-dev-ym463w8f.js → session-ym463w8f.js} +0 -0
- /package/dist/chunks/{models-dev-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{models-dev-z9919s4g.js → session-z9919s4g.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Info18,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-hzrfc1p4.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service86,
|
|
11
11
|
node90
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-xx1fd4ja.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service85,
|
|
16
16
|
node89
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./session-affsz7rm.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service83,
|
|
20
|
+
node87
|
|
21
|
+
} from "./session-mexea5e3.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service52,
|
|
24
|
+
node54
|
|
25
|
+
} from "./session-xcd0eash.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./session-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./session-c1fqxshp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node52
|
|
34
|
+
} from "./session-4kgt4rsm.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./session-0n5ns49k.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./session-dxpt7zgz.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./session-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node33
|
|
47
|
+
} from "./session-6njpkwr5.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node56
|
|
51
|
+
} from "./session-ec1m929s.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError8,
|
|
54
54
|
InvalidListCursorError2,
|
|
@@ -62,58 +62,58 @@ import {
|
|
|
62
62
|
BusyError2,
|
|
63
63
|
InboxConflictError2,
|
|
64
64
|
SkillNotFoundError2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./session-rwrfwdzg.js";
|
|
66
66
|
import {
|
|
67
67
|
ListInput4,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
68
|
+
Service55,
|
|
69
|
+
node58
|
|
70
|
+
} from "./session-2vgjj4bf.js";
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
72
|
+
Service65,
|
|
73
|
+
node68
|
|
74
|
+
} from "./session-cr0wjcx7.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service48,
|
|
77
|
+
node51
|
|
78
|
+
} from "./session-48jhjk5h.js";
|
|
79
79
|
import {
|
|
80
80
|
llmClient2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./session-775gj3j1.js";
|
|
82
82
|
import {
|
|
83
|
-
|
|
83
|
+
Service37,
|
|
84
84
|
node40
|
|
85
|
-
} from "./
|
|
85
|
+
} from "./session-g57505q5.js";
|
|
86
86
|
import {
|
|
87
87
|
generate2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./session-bx08gw9n.js";
|
|
89
89
|
import {
|
|
90
90
|
execute2
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./session-2zqkn9jz.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
93
|
+
Service64,
|
|
94
94
|
node67
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./session-1rtfdfrs.js";
|
|
96
96
|
import {
|
|
97
97
|
DestinationNotFoundError2,
|
|
98
98
|
DestinationNotDirectoryError2,
|
|
99
99
|
DestinationUnavailableError2,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
100
|
+
Service29,
|
|
101
|
+
node32
|
|
102
|
+
} from "./session-6h926rj3.js";
|
|
103
103
|
import {
|
|
104
104
|
Service44,
|
|
105
105
|
node47
|
|
106
|
-
} from "./
|
|
106
|
+
} from "./session-w3x9v1nk.js";
|
|
107
107
|
import {
|
|
108
108
|
make13
|
|
109
|
-
} from "./
|
|
109
|
+
} from "./session-cp42sj37.js";
|
|
110
110
|
import {
|
|
111
111
|
TurnRangeError2,
|
|
112
112
|
turn2
|
|
113
|
-
} from "./
|
|
113
|
+
} from "./session-fst6bshg.js";
|
|
114
114
|
import {
|
|
115
115
|
__export
|
|
116
|
-
} from "./
|
|
116
|
+
} from "./session-9rqn6x4v.js";
|
|
117
117
|
|
|
118
118
|
// src/session.ts
|
|
119
119
|
var exports_session = {};
|
|
@@ -124,7 +124,7 @@ __export(exports_session, {
|
|
|
124
124
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
125
125
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
126
126
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
127
|
-
ID: () =>
|
|
127
|
+
ID: () => ID9,
|
|
128
128
|
InboxConflictError: () => InboxConflictError2,
|
|
129
129
|
Info: () => Info18,
|
|
130
130
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
@@ -135,13 +135,13 @@ __export(exports_session, {
|
|
|
135
135
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
136
136
|
NotFoundError: () => NotFoundError8,
|
|
137
137
|
PromptConflictError: () => PromptConflictError2,
|
|
138
|
-
Service: () =>
|
|
138
|
+
Service: () => Service28,
|
|
139
139
|
Session: () => exports_session,
|
|
140
140
|
SessionSchema: () => SessionSchema2,
|
|
141
141
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
142
142
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
143
143
|
TurnRangeError: () => TurnRangeError2,
|
|
144
|
-
node: () =>
|
|
144
|
+
node: () => node31
|
|
145
145
|
});
|
|
146
146
|
import { DateTime, Effect, Layer, Schema, Context, Stream } from "effect";
|
|
147
147
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -153,26 +153,26 @@ import { Node } from "@opencode/util/effect/app-node";
|
|
|
153
153
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
154
154
|
var ListInput3 = ListInput4;
|
|
155
155
|
var DefaultListLimit = 50;
|
|
156
|
-
class
|
|
156
|
+
class Service28 extends Context.Service()("@opencode/Session") {
|
|
157
157
|
}
|
|
158
|
-
var layer = Layer.effect(
|
|
158
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const database = yield* Service86;
|
|
161
161
|
const db = database.db;
|
|
162
162
|
const bus = yield* Service85;
|
|
163
|
-
const projects = yield*
|
|
164
|
-
const execution = yield*
|
|
163
|
+
const projects = yield* Service83;
|
|
164
|
+
const execution = yield* Service48;
|
|
165
165
|
const llm = yield* LLMClient.Service;
|
|
166
|
-
const transport = yield*
|
|
167
|
-
const store = yield*
|
|
168
|
-
const instances = yield*
|
|
169
|
-
const moves = yield*
|
|
170
|
-
const jobs = yield*
|
|
166
|
+
const transport = yield* Service37;
|
|
167
|
+
const store = yield* Service55;
|
|
168
|
+
const instances = yield* Service52;
|
|
169
|
+
const moves = yield* Service29;
|
|
170
|
+
const jobs = yield* Service65;
|
|
171
171
|
const environments = yield* Service44;
|
|
172
|
-
const locations = yield*
|
|
172
|
+
const locations = yield* Service64;
|
|
173
173
|
const sessions = yield* make13();
|
|
174
174
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
175
|
-
const result =
|
|
175
|
+
const result = Service28.of({
|
|
176
176
|
create: Effect.fn("Session.create")(function* (input) {
|
|
177
177
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
178
178
|
const recorded = yield* store.get(sessionID);
|
|
@@ -301,11 +301,11 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
301
301
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
302
302
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
303
303
|
const session = yield* result.get(input.sessionID);
|
|
304
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
304
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service86, database), Effect.provideService(LLMClient.Service, llm));
|
|
305
305
|
}),
|
|
306
306
|
command: Effect.fn("Session.command")(function* (input) {
|
|
307
307
|
const session = yield* result.get(input.sessionID);
|
|
308
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
308
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service52, instances));
|
|
309
309
|
}),
|
|
310
310
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
311
311
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -347,27 +347,27 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
347
347
|
});
|
|
348
348
|
return result;
|
|
349
349
|
}));
|
|
350
|
-
var
|
|
351
|
-
service:
|
|
350
|
+
var node31 = Node.makeGlobalNode({
|
|
351
|
+
service: Service28,
|
|
352
352
|
layer,
|
|
353
353
|
deps: [
|
|
354
|
-
|
|
354
|
+
node68,
|
|
355
355
|
node47,
|
|
356
356
|
node90,
|
|
357
357
|
node89,
|
|
358
|
-
|
|
359
|
-
|
|
358
|
+
node87,
|
|
359
|
+
node51,
|
|
360
360
|
node40,
|
|
361
361
|
llmClient2,
|
|
362
|
-
node74,
|
|
363
|
-
node59,
|
|
364
362
|
node58,
|
|
365
|
-
|
|
366
|
-
|
|
363
|
+
node54,
|
|
364
|
+
node52,
|
|
365
|
+
node32,
|
|
366
|
+
node33,
|
|
367
367
|
node67,
|
|
368
368
|
FSUtil.node,
|
|
369
|
-
|
|
369
|
+
node56
|
|
370
370
|
]
|
|
371
371
|
});
|
|
372
372
|
|
|
373
|
-
export { ListAnchor2, ListCursor2, ListInput3,
|
|
373
|
+
export { ListAnchor2, ListCursor2, ListInput3, Service28, node31, exports_session };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-affsz7rm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./session-dhg5tdjx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./session-x31magnd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./session-g8ytx0e6.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-rwrfwdzg.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./session-s3vgnvt1.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./session-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./session-0p7wg4pc.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./session-b3f8fkhc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./session-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service85;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service81;
|
|
58
|
+
const toolOutput = yield* Service47;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-ec1m929s.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-affsz7rm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service79
|
|
11
|
+
} from "./session-g8mkxt29.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service78
|
|
16
|
+
} from "./session-yn31e96s.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./session-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./session-ac0kc9a7.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./session-4jmg1rte.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID12.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID13.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service79;
|
|
57
|
+
const integrations = yield* Service78;
|
|
58
58
|
const bus = yield* Service85;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-ec1m929s.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-affsz7rm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./session-g8mkxt29.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./session-yn31e96s.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service77
|
|
22
|
+
} from "./session-ac0kc9a7.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID11,
|
|
25
|
+
Info21
|
|
26
|
+
} from "./session-9sab7zf7.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./session-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID12.gitlab;
|
|
39
|
+
var integrationID = ID13.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service77;
|
|
61
61
|
const bus = yield* Service85;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info21.default(providerID, ID11.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID12.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./session-x6badc55.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./session-vvxb08w0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./session-e8x5fadv.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin38
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin38 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service45;
|
|
34
|
+
const location = yield* Service82;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service18;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin5 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin38, exports_worktree };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service58,
|
|
3
|
+
node61
|
|
4
|
+
} from "./session-jvy3q0g6.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions4 = {};
|
|
17
17
|
__export(exports_instructions4, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
-
Service: () =>
|
|
19
|
+
Service: () => Service39,
|
|
20
20
|
node: () => node42
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service39 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service58;
|
|
64
|
+
return Service39.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make19({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var node42 = makeLocationNode({ service:
|
|
84
|
+
var node42 = makeLocationNode({ service: Service39, layer, deps: [node61] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service39, node42, exports_instructions4 };
|