@opencode/core 0.0.0-dev-20957 → 0.0.0-dev-20959
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{rpc-hk7b56jd.js → state-00xey68d.js} +79 -79
- package/dist/chunks/{rpc-ngbwkpd3.js → state-05ma8sa0.js} +11 -11
- package/dist/chunks/{rpc-qq400y0z.js → state-06a5dnqt.js} +13 -13
- package/dist/chunks/{rpc-sdw1hh26.js → state-06nkj3vg.js} +18 -18
- package/dist/chunks/{rpc-p7dppmtr.js → state-07cqgx07.js} +13 -13
- package/dist/chunks/{rpc-zqnnyapg.js → state-0batmr09.js} +23 -23
- package/dist/chunks/{rpc-z1zcjh09.js → state-0ssrq3ck.js} +13 -13
- package/dist/chunks/{rpc-0vbcp93d.js → state-0vbcp93d.js} +2 -2
- package/dist/chunks/{rpc-0sgp6vrq.js → state-0ytnbz4y.js} +12 -12
- package/dist/chunks/{rpc-y14yzbv9.js → state-16g8e42c.js} +17 -17
- package/dist/chunks/{rpc-c6vcmfe6.js → state-1vgajgn8.js} +49 -49
- package/dist/chunks/{rpc-ds513cvv.js → state-1vn3zg3s.js} +47 -47
- package/dist/chunks/{rpc-6ha732mw.js → state-1w4hzgxt.js} +27 -27
- package/dist/chunks/{rpc-nb9p6b26.js → state-277eer69.js} +4 -4
- package/dist/chunks/{rpc-vrxbghgd.js → state-27vhf9q6.js} +12 -12
- package/dist/chunks/{rpc-pgp1nwjn.js → state-29qym6xz.js} +4 -4
- package/dist/chunks/{rpc-qgn6gcr1.js → state-2k8khapm.js} +5 -5
- package/dist/chunks/{rpc-91pgxm1y.js → state-2nmj9k6r.js} +9 -9
- package/dist/chunks/{rpc-p8sn5v2a.js → state-317c38sv.js} +45 -45
- package/dist/chunks/{rpc-31xfzrxg.js → state-31xfzrxg.js} +2 -2
- package/dist/chunks/{rpc-s6vv92hd.js → state-33p39z69.js} +12 -12
- package/dist/chunks/{rpc-yt30aj44.js → state-34v44amg.js} +20 -20
- package/dist/chunks/{rpc-zm820vvs.js → state-37r9m3qd.js} +42 -42
- package/dist/chunks/{rpc-mfj47n67.js → state-39t7sh6v.js} +16 -16
- package/dist/chunks/{rpc-fw181sc9.js → state-3b9qt4hj.js} +9 -9
- package/dist/chunks/{rpc-3jxnaj1m.js → state-3cejzrcb.js} +11 -11
- package/dist/chunks/{rpc-1hfz5630.js → state-3f5wpygs.js} +22 -22
- package/dist/chunks/{rpc-xb5bw9r2.js → state-3f6168p9.js} +23 -23
- package/dist/chunks/{rpc-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{rpc-cvgztn7t.js → state-3grbbq2d.js} +34 -34
- package/dist/chunks/{rpc-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-3hwn7j4h.js → state-3hwn7j4h.js} +2 -2
- package/dist/chunks/{rpc-1j6h4v11.js → state-3mxtprej.js} +15 -15
- package/dist/chunks/{rpc-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-633kc721.js → state-3tt0fxvw.js} +11 -11
- package/dist/chunks/{rpc-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{rpc-g62k8ye6.js → state-3wrzs5nr.js} +16 -16
- package/dist/chunks/{rpc-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{rpc-61rpadeq.js → state-435a5nd0.js} +30 -30
- package/dist/chunks/{rpc-kv3n5ztp.js → state-46f1yx5v.js} +13 -13
- package/dist/chunks/{rpc-zb746e9k.js → state-4e8cngzy.js} +2 -2
- package/dist/chunks/{rpc-9pdrjcjq.js → state-4h0sx8pt.js} +14 -14
- package/dist/chunks/{rpc-tg8ddpts.js → state-4hw4t8hc.js} +6 -6
- package/dist/chunks/{rpc-xzhg0qv8.js → state-5aekxzw9.js} +22 -22
- package/dist/chunks/{rpc-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/state-5rgnv25g.js +180 -0
- package/dist/chunks/{rpc-f45r55fw.js → state-5xbtdx13.js} +15 -15
- package/dist/chunks/{rpc-9hn6k4tm.js → state-5yzzbxa7.js} +8 -8
- package/dist/chunks/{rpc-kchd60gm.js → state-6301kdm5.js} +5 -5
- package/dist/chunks/{rpc-mtc1cw2z.js → state-67nbb1d2.js} +3 -3
- package/dist/chunks/{rpc-5qwd6gw2.js → state-695pgmrz.js} +9 -9
- package/dist/chunks/{rpc-h9a815dw.js → state-6ew0807w.js} +46 -46
- package/dist/chunks/{rpc-11dqjexa.js → state-6hjx5zpb.js} +9 -9
- package/dist/chunks/{rpc-0rmdt9st.js → state-6hqjk0t5.js} +5 -5
- package/dist/chunks/{rpc-73tr020p.js → state-6khsczge.js} +70 -70
- package/dist/chunks/{rpc-b674v2dg.js → state-6kzp9tjq.js} +5 -5
- package/dist/chunks/{rpc-6pc27hjz.js → state-6pc27hjz.js} +2 -2
- package/dist/chunks/{rpc-w4axh9wz.js → state-6qr3rp4k.js} +6 -6
- package/dist/chunks/{rpc-h8gytte2.js → state-6rabbq69.js} +50 -50
- package/dist/chunks/{rpc-pybx3045.js → state-6v577egq.js} +45 -45
- package/dist/chunks/{rpc-6xb47vfp.js → state-6xb47vfp.js} +1 -1
- package/dist/chunks/{rpc-501wjxab.js → state-6xxnzgaw.js} +5 -5
- package/dist/chunks/{rpc-1qpmd929.js → state-73ws374e.js} +4 -4
- package/dist/chunks/{rpc-775gj3j1.js → state-775gj3j1.js} +2 -2
- package/dist/chunks/{rpc-62yd8t86.js → state-78e17vhd.js} +11 -11
- package/dist/chunks/{rpc-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-tg7bkhef.js → state-7d822byb.js} +7 -7
- package/dist/chunks/{rpc-6tyv3xa5.js → state-7e2mtt8e.js} +4 -4
- package/dist/chunks/{rpc-a8nkje97.js → state-7erbtyx3.js} +11 -11
- package/dist/chunks/{rpc-vwpcpzep.js → state-7j2qha59.js} +8 -8
- package/dist/chunks/{rpc-z7ej7fbh.js → state-7n2gwmyq.js} +26 -26
- package/dist/chunks/{rpc-q2xhpvxb.js → state-7zb1ag6b.js} +33 -33
- package/dist/chunks/{rpc-z5pcptfa.js → state-7zkbhs7g.js} +11 -11
- package/dist/chunks/{rpc-n3vb9epv.js → state-82z684fv.js} +25 -25
- package/dist/chunks/{rpc-w1eejvng.js → state-84txncab.js} +5 -5
- package/dist/chunks/{rpc-0s8etjc9.js → state-88hb3s0n.js} +31 -31
- package/dist/chunks/{rpc-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{rpc-dce2gzrk.js → state-8a52xwty.js} +8 -8
- package/dist/chunks/{rpc-a4y2m2pn.js → state-8j6e69wk.js} +15 -15
- package/dist/chunks/{rpc-8m6m0r52.js → state-8m6m0r52.js} +1 -1
- package/dist/chunks/{rpc-xjwg7jja.js → state-8qyv4v7y.js} +8 -8
- package/dist/chunks/{rpc-haysr2j0.js → state-8wmnw7vn.js} +7 -7
- package/dist/chunks/{rpc-j09zfasm.js → state-91qna3x0.js} +3 -3
- package/dist/chunks/{rpc-tecdc32p.js → state-92zgvqyy.js} +10 -10
- package/dist/chunks/{rpc-zfca28xf.js → state-993g9nvg.js} +4 -4
- package/dist/chunks/{rpc-hnaazdex.js → state-9cwxf0zm.js} +4 -4
- package/dist/chunks/{rpc-1577rrhd.js → state-9d97g4s8.js} +56 -56
- package/dist/chunks/{rpc-wr7ps67x.js → state-9pkkzrmj.js} +5 -5
- package/dist/chunks/{rpc-13wy7mfs.js → state-9q3v678q.js} +20 -20
- package/dist/chunks/state-9sh4wc5j.js +18 -0
- package/dist/chunks/{rpc-20dqcrnk.js → state-a5bx919r.js} +13 -13
- package/dist/chunks/{rpc-3dn5qvj3.js → state-aavadf81.js} +22 -22
- package/dist/chunks/{rpc-99tfdan1.js → state-abe2ntxt.js} +20 -20
- package/dist/chunks/{rpc-zcrspsvn.js → state-afdssyjb.js} +4 -4
- package/dist/chunks/{rpc-412wv95y.js → state-aha1fx7s.js} +38 -38
- package/dist/chunks/{rpc-b3f8fkhc.js → state-b3f8fkhc.js} +2 -2
- package/dist/chunks/{rpc-0kkmefz1.js → state-b3szwjqv.js} +23 -23
- package/dist/chunks/{rpc-t2jpskh3.js → state-b8hvt197.js} +29 -29
- package/dist/chunks/{rpc-81aqk3w6.js → state-bbmb0x9b.js} +11 -11
- package/dist/chunks/{rpc-wss8ekf6.js → state-bd0nk3q4.js} +25 -25
- package/dist/chunks/{rpc-xf3b7ak0.js → state-bddt2pqj.js} +9 -9
- package/dist/chunks/{rpc-bfegkxfd.js → state-bfegkxfd.js} +3 -3
- package/dist/chunks/{rpc-wq4ymj1p.js → state-bgmmm716.js} +37 -37
- package/dist/chunks/{rpc-1ffvrpkg.js → state-bjx1sjef.js} +6 -6
- package/dist/chunks/{rpc-bmr56wjg.js → state-bmr56wjg.js} +1 -1
- package/dist/chunks/{rpc-qg87bzy9.js → state-bqntbsfe.js} +43 -43
- package/dist/chunks/{rpc-nmp290x7.js → state-btgew72b.js} +7 -7
- package/dist/chunks/{rpc-es1vcfrp.js → state-c1fqxshp.js} +3 -3
- package/dist/chunks/{rpc-zk21kkv9.js → state-c8km4fhm.js} +9 -9
- package/dist/chunks/{rpc-y8s1cxkd.js → state-c8kxp3ag.js} +30 -30
- package/dist/chunks/{rpc-rpfw3nqr.js → state-cef92ehe.js} +14 -14
- package/dist/chunks/{rpc-19r4ktpx.js → state-cm734856.js} +18 -18
- package/dist/chunks/{rpc-7pw4k8pw.js → state-cpp34795.js} +20 -20
- package/dist/chunks/{rpc-azsbjgdx.js → state-csmbza7v.js} +30 -30
- package/dist/chunks/{rpc-7jacs1jg.js → state-cx6mang1.js} +29 -29
- package/dist/chunks/{rpc-pba85c1x.js → state-czbw4cmk.js} +10 -10
- package/dist/chunks/{rpc-k9yrfzzn.js → state-ddvq8pqf.js} +8 -8
- package/dist/chunks/{rpc-td0am7tz.js → state-df13mnsx.js} +46 -46
- package/dist/chunks/{rpc-p7d7zdnm.js → state-djqgfx53.js} +8 -8
- package/dist/chunks/{rpc-dqxsqydv.js → state-dqxsqydv.js} +1 -1
- package/dist/chunks/{rpc-drwq78ky.js → state-drwq78ky.js} +1 -1
- package/dist/chunks/{rpc-4xpgt2w9.js → state-dssbfrwz.js} +5 -5
- package/dist/chunks/{rpc-a4cx9gg9.js → state-dt7wv7f8.js} +39 -39
- package/dist/chunks/{rpc-72gmrwx5.js → state-dvrve80v.js} +28 -28
- package/dist/chunks/{rpc-618s31kc.js → state-dw6kxeb2.js} +10 -10
- package/dist/chunks/{rpc-e6hwranf.js → state-e51m94rx.js} +11 -11
- package/dist/chunks/{rpc-vxnp931j.js → state-e77tbp3q.js} +21 -21
- package/dist/chunks/{rpc-ngyrtr94.js → state-easapccs.js} +6 -6
- package/dist/chunks/{rpc-fscc3096.js → state-ecnn9cc2.js} +34 -34
- package/dist/chunks/{rpc-fwdmbr1p.js → state-edcq6p70.js} +31 -34
- package/dist/chunks/{rpc-eej6y6fw.js → state-eej6y6fw.js} +2 -2
- package/dist/chunks/{rpc-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{rpc-sszn147w.js → state-en5pt065.js} +12 -12
- package/dist/chunks/{rpc-axv8g7q4.js → state-en6j97m7.js} +15 -15
- package/dist/chunks/{rpc-1yvzb6cq.js → state-en8cxtke.js} +11 -11
- package/dist/chunks/{rpc-xccpgf1k.js → state-f41qqej9.js} +25 -25
- package/dist/chunks/{rpc-66keg2ed.js → state-f526sqyy.js} +9 -9
- package/dist/chunks/{rpc-t827rtr3.js → state-fg4px4dg.js} +18 -18
- package/dist/chunks/{rpc-2jnytm9q.js → state-fmd5032t.js} +5 -5
- package/dist/chunks/{rpc-p690rpx8.js → state-fqfr2d2w.js} +26 -26
- package/dist/chunks/{rpc-bqg1e2cj.js → state-fvgwbg7w.js} +4 -4
- package/dist/chunks/{rpc-phj7b8e3.js → state-g5j880g4.js} +6 -6
- package/dist/chunks/{rpc-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{rpc-gtexymfp.js → state-gdh7m9dr.js} +4 -4
- package/dist/chunks/{rpc-3cj7mw2f.js → state-gwf5frq4.js} +4 -4
- package/dist/chunks/{rpc-zt4ytqs0.js → state-h6ekpmck.js} +171 -171
- package/dist/chunks/{rpc-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-tpxg3fy4.js → state-h9ak3m4y.js} +13 -13
- package/dist/chunks/{rpc-hmqnqm20.js → state-hb9gjms4.js} +26 -26
- package/dist/chunks/{rpc-hgz4x7wa.js → state-hgz4x7wa.js} +1 -1
- package/dist/chunks/{rpc-dxybt9ry.js → state-hxtq825k.js} +31 -31
- package/dist/chunks/{rpc-veq4qypw.js → state-ja340vf7.js} +14 -14
- package/dist/chunks/{rpc-7m6me2kh.js → state-jb2p3fpn.js} +25 -25
- package/dist/chunks/{rpc-1vnnf5cd.js → state-jbse4pv5.js} +40 -40
- package/dist/chunks/{rpc-664av6jq.js → state-jck2sq56.js} +47 -47
- package/dist/chunks/{rpc-jk540des.js → state-jk540des.js} +2 -2
- package/dist/chunks/{rpc-6ax2sg4n.js → state-jmrbxsct.js} +27 -27
- package/dist/chunks/{rpc-e5vg0yv6.js → state-jvc6xzak.js} +8 -8
- package/dist/chunks/{rpc-yaxkaew0.js → state-jwg9zzbj.js} +18 -18
- package/dist/chunks/{rpc-82bj86tv.js → state-k0dpz6pn.js} +6 -6
- package/dist/chunks/{rpc-nfvfn1nf.js → state-k0xa6v94.js} +1 -1
- package/dist/chunks/{rpc-85k52pgz.js → state-k7j3tctb.js} +12 -12
- package/dist/chunks/{rpc-v08rtmt7.js → state-kdwg27gz.js} +34 -34
- package/dist/chunks/{rpc-c445dxh9.js → state-khhf2f26.js} +19 -19
- package/dist/chunks/{rpc-khmqacep.js → state-khmqacep.js} +1 -1
- package/dist/chunks/{rpc-hqhp0zxs.js → state-kqx1b4hy.js} +4 -4
- package/dist/chunks/{rpc-94zt7vas.js → state-kvq4f17p.js} +8 -8
- package/dist/chunks/{rpc-x4bs0z10.js → state-kxf45vx6.js} +5 -5
- package/dist/chunks/{rpc-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-maspj1v3.js → state-maspj1v3.js} +1 -1
- package/dist/chunks/{rpc-mb14aw74.js → state-mbnxefga.js} +2 -2
- package/dist/chunks/{rpc-pqdj80dn.js → state-mgc78m32.js} +6 -6
- package/dist/chunks/{rpc-59nqaqqb.js → state-mscwsevq.js} +1 -1
- package/dist/chunks/{rpc-mxvxcxwy.js → state-mxvxcxwy.js} +1 -1
- package/dist/chunks/{rpc-da09f1g7.js → state-mz33th8r.js} +11 -11
- package/dist/chunks/{rpc-2c1etwgk.js → state-mznrgk7s.js} +21 -21
- package/dist/chunks/{rpc-3v44xrgw.js → state-n1xqpdx7.js} +20 -20
- package/dist/chunks/{rpc-a7dkb545.js → state-n5mn4s46.js} +11 -11
- package/dist/chunks/{rpc-6x6tfj0a.js → state-n9zaxzrb.js} +12 -12
- package/dist/chunks/{rpc-j9ha8nqa.js → state-ne8ahyn9.js} +13 -13
- package/dist/chunks/{rpc-nma959mg.js → state-nma959mg.js} +1 -1
- package/dist/chunks/{rpc-atjwctsn.js → state-nvms9vm5.js} +18 -18
- package/dist/chunks/{rpc-k5swm7kd.js → state-p0dn96hm.js} +32 -32
- package/dist/chunks/{rpc-ycp3cd4k.js → state-p9p8mz4a.js} +14 -14
- package/dist/chunks/{rpc-5e3s40e2.js → state-peh04qmw.js} +24 -24
- package/dist/chunks/{rpc-by0awed6.js → state-pfz5tyak.js} +7 -7
- package/dist/chunks/{rpc-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-gtnvez50.js → state-pjxx77rw.js} +33 -33
- package/dist/chunks/{rpc-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-5w9yjztw.js → state-pnzf6mjf.js} +1 -1
- package/dist/chunks/{rpc-bqf8dw7y.js → state-pqe14sd0.js} +31 -31
- package/dist/chunks/{rpc-s4a1trnd.js → state-pqrvafsy.js} +3 -3
- package/dist/chunks/{rpc-q0xm7vwc.js → state-q0xm7vwc.js} +2 -2
- package/dist/chunks/{rpc-b6r9ty7s.js → state-q5t55cr7.js} +17 -17
- package/dist/chunks/{rpc-6sspz9tf.js → state-q7s33m3q.js} +11 -11
- package/dist/chunks/{rpc-r0n6t0zc.js → state-qegwm50a.js} +21 -21
- package/dist/chunks/{rpc-c3kdpfj7.js → state-qg5egbb1.js} +32 -32
- package/dist/chunks/{rpc-r1smz7b8.js → state-qjjqb9p0.js} +5 -5
- package/dist/chunks/{rpc-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{rpc-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{rpc-a961kxqf.js → state-qwthf4cc.js} +11 -11
- package/dist/chunks/{rpc-3emygs37.js → state-qz75znj9.js} +37 -37
- package/dist/chunks/{rpc-gjwgx2c5.js → state-r2m716tb.js} +9 -9
- package/dist/chunks/{rpc-54ma36ye.js → state-r94pvvab.js} +4 -4
- package/dist/chunks/{rpc-v1vh7s4p.js → state-ra67jj04.js} +9 -9
- package/dist/chunks/{rpc-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{rpc-tkb22qbm.js → state-rert0e01.js} +2 -2
- package/dist/chunks/{rpc-t550f9t1.js → state-rhjbct0v.js} +4 -4
- package/dist/chunks/{rpc-f2n192rq.js → state-rhraev7y.js} +4 -4
- package/dist/chunks/{rpc-c41wscbt.js → state-rj3eygr5.js} +2 -2
- package/dist/chunks/{rpc-c688b2mm.js → state-rpyqww3d.js} +5 -5
- package/dist/chunks/{rpc-c2sed5cq.js → state-rrt0a0ha.js} +3 -3
- package/dist/chunks/{rpc-5eer2xf9.js → state-s5met55r.js} +4 -4
- package/dist/chunks/{rpc-c8ax2afj.js → state-sa8ekw3f.js} +2 -2
- package/dist/chunks/{rpc-6fd9p91z.js → state-sbc7msky.js} +13 -13
- package/dist/chunks/{rpc-5xhe9v23.js → state-skqar8q6.js} +9 -9
- package/dist/chunks/{rpc-syv4x271.js → state-syv4x271.js} +1 -1
- package/dist/chunks/{rpc-6t1bbpnq.js → state-t6bxk4p3.js} +7 -7
- package/dist/chunks/{rpc-fqb2p7cx.js → state-t6vsspdg.js} +5 -5
- package/dist/chunks/{rpc-awddqekk.js → state-t8h399t1.js} +15 -15
- package/dist/chunks/{rpc-wv6kh7cb.js → state-t8ybhpwc.js} +326 -326
- package/dist/chunks/{rpc-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-3sm5rdfs.js → state-tc4yh57d.js} +12 -12
- package/dist/chunks/{rpc-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{rpc-51f5btjf.js → state-tegs1ycp.js} +6 -6
- package/dist/chunks/{rpc-tm0kqsz3.js → state-tm0kqsz3.js} +1 -1
- package/dist/chunks/{rpc-tm6m41eq.js → state-trya7axm.js} +8 -8
- package/dist/chunks/state-tvg7gr73.js +253 -0
- package/dist/chunks/{rpc-hra9bp9n.js → state-txwayph5.js} +15 -15
- package/dist/chunks/{rpc-tyytaxap.js → state-tyytaxap.js} +1 -1
- package/dist/chunks/{rpc-yyyk3xhf.js → state-v0svnxqv.js} +26 -26
- package/dist/chunks/{rpc-v7p4zvkq.js → state-v7p4zvkq.js} +2 -2
- package/dist/chunks/{rpc-wf35t0j7.js → state-v9gxz1md.js} +11 -11
- package/dist/chunks/{rpc-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-tagbrba9.js → state-vrmrmq13.js} +25 -25
- package/dist/chunks/{rpc-yfvzqt1f.js → state-vss99rfh.js} +28 -28
- package/dist/chunks/{rpc-cp4eewxm.js → state-vvkashrh.js} +5 -5
- package/dist/chunks/{rpc-669jbzsj.js → state-vvm2n8q4.js} +17 -17
- package/dist/chunks/{rpc-ysmpv3j4.js → state-vvp1zypk.js} +5 -5
- package/dist/chunks/{rpc-vp0qwmgb.js → state-vxp440pd.js} +17 -17
- package/dist/chunks/{rpc-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{rpc-5ck1sb4w.js → state-w09kgncp.js} +26 -26
- package/dist/chunks/{rpc-zjtrsxny.js → state-w1ba7bfx.js} +5 -5
- package/dist/chunks/{rpc-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-x7ajn6gb.js → state-w6c139gn.js} +21 -21
- package/dist/chunks/{rpc-qsqdkngs.js → state-w9agkv8a.js} +20 -20
- package/dist/chunks/{rpc-n7pp7qj2.js → state-wafka7g2.js} +32 -32
- package/dist/chunks/{rpc-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-y0xznj3f.js → state-wfmp5q3p.js} +8 -8
- package/dist/chunks/{rpc-35xt5v3z.js → state-wpdppf83.js} +45 -45
- package/dist/chunks/{rpc-2ew3z5ht.js → state-wrt10v44.js} +19 -19
- package/dist/chunks/{rpc-rxg505xh.js → state-wvkm68ey.js} +13 -13
- package/dist/chunks/{rpc-b1kwtjp2.js → state-wyctmkaw.js} +2 -2
- package/dist/chunks/{rpc-yqek1wqm.js → state-x78kwme8.js} +13 -13
- package/dist/chunks/{rpc-xxhgf0eh.js → state-xaf1e3dy.js} +9 -9
- package/dist/chunks/{rpc-pkxj7ynd.js → state-xpeshqab.js} +6 -6
- package/dist/chunks/{rpc-qy24xa0s.js → state-xzfz3f2s.js} +15 -15
- package/dist/chunks/{rpc-mzyxe8gm.js → state-xzv998fy.js} +19 -19
- package/dist/chunks/{rpc-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-dpkg50ah.js → state-y71avatq.js} +4 -4
- package/dist/chunks/state-yas4gz27.js +26 -0
- package/dist/chunks/{rpc-jewhh3wd.js → state-ybqb7240.js} +10 -10
- package/dist/chunks/{rpc-bpwrvk6g.js → state-yd30ynhp.js} +19 -19
- package/dist/chunks/{rpc-sq1bvbqh.js → state-yfcg3am7.js} +11 -11
- package/dist/chunks/{rpc-e545f8nm.js → state-yjpvjtxg.js} +9 -9
- package/dist/chunks/{rpc-xzr03pq0.js → state-yqvmhwye.js} +14 -14
- package/dist/chunks/{rpc-3sj8yt8v.js → state-yrcj3v3g.js} +4 -4
- package/dist/chunks/{rpc-y51ceatp.js → state-yyrkxex6.js} +31 -31
- package/dist/chunks/{rpc-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-5fpmpm6s.js → state-z14c0ezc.js} +9 -9
- package/dist/chunks/{rpc-0g63a0te.js → state-z1nrsbx9.js} +12 -12
- package/dist/chunks/{rpc-b6pnk01m.js → state-z38qwkds.js} +95 -95
- package/dist/chunks/{rpc-0yp806wb.js → state-z3bv93cy.js} +4 -4
- package/dist/chunks/{rpc-bpa232ey.js → state-z518b2ve.js} +9 -9
- package/dist/chunks/{rpc-nets62yb.js → state-zm1pf2vj.js} +3 -3
- package/dist/chunks/{rpc-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{rpc-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +86 -86
- 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 +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- 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 +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +359 -359
- package/dist/instruction-discovery.js +86 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- 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 +113 -113
- 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 +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- 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 +116 -116
- 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 +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- 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 +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- 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 +90 -90
- 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 +122 -122
- package/dist/session/model-transport.js +9 -9
- 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 +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- 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 +16 -16
- package/dist/types/config/plugin/instruction.d.ts +3 -1
- package/dist/types/instruction-discovery.d.ts +2 -3
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/rpc-c4rtve7x.js +0 -253
- package/dist/chunks/rpc-jqh9b0xq.js +0 -18
- package/dist/chunks/rpc-qrmqj55a.js +0 -118
- package/dist/chunks/rpc-z00ewvj9.js +0 -26
- /package/dist/chunks/{rpc-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jze0r7bz.js → state-jze0r7bz.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{rpc-pyv0edze.js → state-pyv0edze.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wjj7prxr.js → state-wjj7prxr.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-ybqb7240.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./state-3wrzs5nr.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./state-b8hvt197.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-mxvxcxwy.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-7n2gwmyq.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./state-1w4hzgxt.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
ID10,
|
|
25
25
|
Info19
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-cx6mang1.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-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 = ID11.gitlab;
|
|
39
|
+
var integrationID = ID12.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,8 +57,8 @@ 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*
|
|
61
|
-
const bus = yield*
|
|
60
|
+
const providers = yield* Service72;
|
|
61
|
+
const bus = yield* Service84;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
64
64
|
const loaded = {};
|
|
@@ -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
|
-
...Info19.default(providerID,
|
|
188
|
+
...Info19.default(providerID, ID10.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(Event16.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 !== ID11.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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./state-3wrzs5nr.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-8wmnw7vn.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service32,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-9sh4wc5j.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-h6ekpmck.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
|
+
ID: () => ID2,
|
|
31
|
+
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service32,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node17
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
43
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service84;
|
|
45
45
|
const kv = yield* Service82;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service32.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node17 = Node.makeLocationNode({
|
|
226
|
+
service: Service32,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node17, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./state-3cejzrcb.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service84,
|
|
8
|
+
node88
|
|
9
|
+
} from "./state-3wrzs5nr.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-775gj3j1.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-wfmp5q3p.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service65,
|
|
21
|
+
node69
|
|
22
|
+
} from "./state-16g8e42c.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service26,
|
|
25
|
+
node29
|
|
26
|
+
} from "./state-00xey68d.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service13,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node15
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service13 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer7 = Layer.effect(Service13, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service84;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service26;
|
|
65
|
+
const store = yield* Service65;
|
|
66
|
+
const db = (yield* Service85).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service13.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node15 = makeLocationNode({
|
|
151
|
+
service: Service13,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node88, llmClient2, node29, node69, node89]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service13, isUntitled2, layer7, node15, exports_title };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-rrt0a0ha.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-easapccs.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-kqx1b4hy.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-yrcj3v3g.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./state-3cejzrcb.js";
|
|
1
5
|
import {
|
|
2
6
|
Service84,
|
|
3
7
|
node88
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service83,
|
|
7
|
-
node87
|
|
8
|
-
} from "./rpc-g62k8ye6.js";
|
|
8
|
+
} from "./state-3wrzs5nr.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
ID9,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service68,
|
|
15
|
+
node72
|
|
16
|
+
} from "./state-cm734856.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service71,
|
|
22
|
+
node75
|
|
23
|
+
} from "./state-cx6mang1.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./state-yrcj3v3g.js";
|
|
36
36
|
import {
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./state-wfmp5q3p.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./state-pnzf6mjf.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service30,
|
|
47
|
+
node33
|
|
48
|
+
} from "./state-88hb3s0n.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service61,
|
|
51
|
+
node65
|
|
52
|
+
} from "./state-wvkm68ey.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./state-b3f8fkhc.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./state-fmd5032t.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./state-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./state-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service10,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
|
-
layer: () =>
|
|
79
|
-
node: () =>
|
|
78
|
+
layer: () => layer6,
|
|
79
|
+
node: () => node12,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var
|
|
175
|
-
const agents = yield*
|
|
176
|
-
const bus = yield*
|
|
174
|
+
var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service68;
|
|
176
|
+
const bus = yield* Service84;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
180
|
-
const db = (yield*
|
|
181
|
-
const requests = yield*
|
|
178
|
+
const catalog = yield* Service71;
|
|
179
|
+
const models = yield* Service61;
|
|
180
|
+
const db = (yield* Service85).db;
|
|
181
|
+
const requests = yield* Service30;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service10.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
483
|
-
layer:
|
|
484
|
-
deps: [
|
|
481
|
+
var node12 = makeLocationNode({
|
|
482
|
+
service: Service10,
|
|
483
|
+
layer: layer6,
|
|
484
|
+
deps: [node72, node88, node89, llmClient2, node75, node33, node65]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service10, buildPrompt2, layer6, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service67,
|
|
3
|
+
node71
|
|
4
|
+
} from "./state-ne8ahyn9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service25,
|
|
7
|
+
node28
|
|
8
|
+
} from "./state-z38qwkds.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service12,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node14
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service12 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service25;
|
|
30
|
+
const jobs = yield* Service67;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service12.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node14 = Node.makeGlobalNode({
|
|
68
|
+
service: Service12,
|
|
69
|
+
layer: Layer.effect(Service12, make),
|
|
70
|
+
deps: [node28, node71]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service12, node14, exports_subagent_job };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service69,
|
|
3
|
+
node73
|
|
4
|
+
} from "./state-6v577egq.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-rrt0a0ha.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service61,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node65,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service61 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service69;
|
|
59
|
+
return Service61.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node65 = makeLocationNode({ service: Service61, layer, deps: [node73] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service61, resolved2, node65, exports_model };
|