@opencode/core 0.0.0-dev-20870 → 0.0.0-dev-20871
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 +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{models-dev-v6ym025c.js → vcs-027pbxtr.js} +11 -11
- package/dist/chunks/{models-dev-3d6k3wes.js → vcs-0846j24m.js} +13 -13
- package/dist/chunks/{models-dev-ce1fh5qz.js → vcs-0be9ae0k.js} +49 -49
- package/dist/chunks/{models-dev-23zvew7z.js → vcs-0bmnjpfs.js} +6 -6
- package/dist/chunks/{models-dev-62kspbwq.js → vcs-0cyvwnra.js} +33 -33
- package/dist/chunks/{models-dev-w88gdm0z.js → vcs-0k2gez87.js} +16 -16
- package/dist/chunks/{models-dev-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{models-dev-kxseq8sh.js → vcs-0xcsww42.js} +43 -43
- package/dist/chunks/{models-dev-ddhkvars.js → vcs-10bqs83d.js} +36 -36
- package/dist/chunks/{models-dev-3g85zhep.js → vcs-166kng33.js} +8 -8
- package/dist/chunks/{models-dev-29zbz0jv.js → vcs-16tmjrr7.js} +22 -22
- package/dist/chunks/{models-dev-hk5cp4gp.js → vcs-17tyfhk4.js} +3 -3
- package/dist/chunks/{models-dev-bjx1sjef.js → vcs-1ffvrpkg.js} +6 -6
- package/dist/chunks/{models-dev-rp26en60.js → vcs-1my53vbz.js} +13 -13
- package/dist/chunks/{models-dev-4dg124c5.js → vcs-1nwxscpy.js} +5 -5
- package/dist/chunks/{models-dev-h6g8pc5k.js → vcs-1taggxgy.js} +22 -22
- package/dist/chunks/{models-dev-z8rw9kn4.js → vcs-25j7r69p.js} +10 -10
- package/dist/chunks/{models-dev-7pkwsdwd.js → vcs-25mbgvqh.js} +43 -43
- package/dist/chunks/{models-dev-mg1vppcc.js → vcs-2dp4snf0.js} +18 -18
- package/dist/chunks/{models-dev-jrshg6j8.js → vcs-2e69fd2h.js} +5 -5
- package/dist/chunks/{models-dev-tmmm4zfp.js → vcs-2e9b3ynm.js} +9 -9
- package/dist/chunks/{models-dev-hfpd1xnt.js → vcs-2ea3t0jj.js} +28 -28
- package/dist/chunks/{models-dev-ehy8mm5d.js → vcs-2p5zs7nk.js} +11 -11
- package/dist/chunks/{models-dev-bd94ff7m.js → vcs-2r1j4600.js} +8 -8
- package/dist/chunks/{models-dev-0nbvmddn.js → vcs-2tn753d6.js} +42 -42
- package/dist/chunks/{models-dev-2vvh33eb.js → vcs-2vvh33eb.js} +2 -2
- package/dist/chunks/{models-dev-t7qve5aa.js → vcs-2ynabkvb.js} +32 -32
- package/dist/chunks/{models-dev-c7czhrjs.js → vcs-2z25gc85.js} +22 -22
- package/dist/chunks/{models-dev-nasac2a3.js → vcs-312bjry1.js} +4 -4
- package/dist/chunks/{models-dev-h7s7r6s9.js → vcs-31xfzrxg.js} +5 -5
- package/dist/chunks/{models-dev-frr120gk.js → vcs-368r6vx6.js} +6 -6
- package/dist/chunks/{models-dev-8b7b9gz3.js → vcs-39hv3347.js} +16 -16
- package/dist/chunks/{models-dev-q6p849e1.js → vcs-3c0f89xm.js} +35 -35
- package/dist/chunks/{models-dev-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{models-dev-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{models-dev-jky8rjf3.js → vcs-3hq7pe8n.js} +50 -50
- package/dist/chunks/{models-dev-3hwn7j4h.js → vcs-3hwn7j4h.js} +2 -2
- package/dist/chunks/{models-dev-mb14aw74.js → vcs-3nz0bd4c.js} +2 -2
- package/dist/chunks/{models-dev-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{models-dev-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{models-dev-ns359883.js → vcs-3xww3h3h.js} +11 -11
- package/dist/chunks/{models-dev-r2t962mj.js → vcs-3yjz6fr8.js} +15 -15
- package/dist/chunks/{models-dev-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{models-dev-1r60zs0j.js → vcs-497pgnjq.js} +31 -31
- package/dist/chunks/{models-dev-7pb5awq7.js → vcs-4dn37e14.js} +59 -59
- package/dist/chunks/{models-dev-sm3x7yyx.js → vcs-4hs5nmtq.js} +15 -15
- package/dist/chunks/{models-dev-2d17jkaf.js → vcs-4jd83hme.js} +54 -54
- package/dist/chunks/{models-dev-eafzmqzj.js → vcs-4jgprc7m.js} +4 -4
- package/dist/chunks/{models-dev-tg6qddtv.js → vcs-4kersrq5.js} +14 -14
- package/dist/chunks/{models-dev-c2sed5cq.js → vcs-4pa8nav4.js} +3 -3
- package/dist/chunks/{models-dev-ek7a384p.js → vcs-4r1q1eat.js} +63 -63
- package/dist/chunks/{models-dev-awmqpm04.js → vcs-4syghzxd.js} +13 -13
- package/dist/chunks/{models-dev-2ccvkpx1.js → vcs-4ts7tf6z.js} +2 -2
- package/dist/chunks/{models-dev-w9w378fs.js → vcs-4v3q8nh8.js} +22 -22
- package/dist/chunks/{models-dev-phz50fbd.js → vcs-4xdpab2z.js} +5 -5
- package/dist/chunks/{models-dev-g6yfr6ja.js → vcs-4xpgt2w9.js} +5 -5
- package/dist/chunks/{models-dev-6h2htfwq.js → vcs-5dnm1jtf.js} +25 -25
- package/dist/chunks/{models-dev-r6a2f23q.js → vcs-5kz1eb2j.js} +17 -17
- package/dist/chunks/{models-dev-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{models-dev-e3qxr5gk.js → vcs-5qd3pb7m.js} +2 -2
- package/dist/chunks/{models-dev-drymhbxd.js → vcs-5r04pg3k.js} +339 -339
- package/dist/chunks/{models-dev-88dstv11.js → vcs-5x2cfpbf.js} +13 -13
- package/dist/chunks/{models-dev-dt3q8067.js → vcs-5ytf2jfy.js} +26 -26
- package/dist/chunks/vcs-619r8v3y.js +18 -0
- package/dist/chunks/{models-dev-3c5dzmp1.js → vcs-64c77ye3.js} +7 -7
- package/dist/chunks/{models-dev-46d9zvww.js → vcs-65sxefze.js} +23 -23
- package/dist/chunks/{models-dev-ac5jr05j.js → vcs-6thf5f3z.js} +19 -19
- package/dist/chunks/{models-dev-3qm04pf8.js → vcs-6tvzbcgz.js} +12 -12
- package/dist/chunks/{models-dev-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
- package/dist/chunks/{models-dev-bkf7z7kb.js → vcs-6ygjhr04.js} +13 -13
- package/dist/chunks/{models-dev-yna2vr6d.js → vcs-6z5a4wk8.js} +18 -18
- package/dist/chunks/{models-dev-tpwgg6qw.js → vcs-71zvy8dy.js} +21 -21
- package/dist/chunks/{models-dev-5xn1ykzt.js → vcs-782se3sb.js} +186 -186
- package/dist/chunks/{models-dev-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{models-dev-09ya98b0.js → vcs-7d74ybtc.js} +32 -32
- package/dist/chunks/{models-dev-4c7zee8w.js → vcs-7q6ad26h.js} +2 -2
- package/dist/chunks/{models-dev-g94xapmr.js → vcs-866m1jdt.js} +6 -6
- package/dist/chunks/{models-dev-8m6m0r52.js → vcs-8m6m0r52.js} +1 -1
- package/dist/chunks/{models-dev-z8h0ybrz.js → vcs-8sfa5c6m.js} +33 -33
- package/dist/chunks/{models-dev-j09zfasm.js → vcs-91qna3x0.js} +3 -3
- package/dist/chunks/{models-dev-s3p4hev1.js → vcs-92wkekne.js} +36 -36
- package/dist/chunks/{models-dev-1p4v0rya.js → vcs-a1cxz87x.js} +16 -16
- package/dist/chunks/{models-dev-svzs2hbr.js → vcs-a3thhpmw.js} +13 -13
- package/dist/chunks/{models-dev-jjetjy4t.js → vcs-a628g5fs.js} +23 -23
- package/dist/chunks/{models-dev-wq3t9sx7.js → vcs-a8cswz11.js} +11 -11
- package/dist/chunks/{models-dev-0khhejdw.js → vcs-a8mkqgf2.js} +23 -23
- package/dist/chunks/{models-dev-kdfd6h8e.js → vcs-aeg5rtj6.js} +4 -4
- package/dist/chunks/{models-dev-0etcr0n7.js → vcs-agfqwhr2.js} +51 -51
- package/dist/chunks/{models-dev-02xfryf1.js → vcs-akvc9nd2.js} +10 -10
- package/dist/chunks/{models-dev-w9v533qn.js → vcs-avskyz6d.js} +22 -22
- package/dist/chunks/{models-dev-382cchr8.js → vcs-aw6heq8a.js} +26 -26
- package/dist/chunks/{models-dev-bt24bpkk.js → vcs-awc9wf28.js} +47 -47
- package/dist/chunks/{models-dev-qkttv2kq.js → vcs-b2qkenvk.js} +6 -6
- package/dist/chunks/{models-dev-scgrse2b.js → vcs-b3f8fkhc.js} +5 -5
- package/dist/chunks/{models-dev-jng9m6h9.js → vcs-b647d22a.js} +18 -18
- package/dist/chunks/{models-dev-99tthb6r.js → vcs-bm84a6ma.js} +10 -10
- package/dist/chunks/{models-dev-j4bm7a9s.js → vcs-bmbsb43g.js} +1 -1
- package/dist/chunks/{models-dev-qqaz4c32.js → vcs-bxg5dfge.js} +28 -28
- package/dist/chunks/{models-dev-rj3eygr5.js → vcs-c41wscbt.js} +2 -2
- package/dist/chunks/{models-dev-sa8ekw3f.js → vcs-c8ax2afj.js} +2 -2
- package/dist/chunks/{models-dev-cnj1sw1b.js → vcs-cam0371k.js} +33 -33
- package/dist/chunks/{models-dev-c3e7qbh0.js → vcs-ce5jyjev.js} +10 -10
- package/dist/chunks/{models-dev-ft3hqk2c.js → vcs-cpneeje0.js} +9 -9
- package/dist/chunks/{models-dev-jyfax2z2.js → vcs-ctt5zw2n.js} +24 -24
- package/dist/chunks/{models-dev-467kawmj.js → vcs-cwv6zy4y.js} +81 -81
- package/dist/chunks/{models-dev-4jfbys5e.js → vcs-d3z73vbv.js} +5 -5
- package/dist/chunks/{models-dev-3p374m05.js → vcs-dn1bgb5b.js} +20 -20
- package/dist/chunks/{models-dev-y71avatq.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{models-dev-drwq78ky.js → vcs-drwq78ky.js} +1 -1
- package/dist/chunks/{models-dev-v7xdgyp2.js → vcs-dsn3a26r.js} +1 -1
- package/dist/chunks/{models-dev-gyn0cezk.js → vcs-dyfpa17v.js} +22 -22
- package/dist/chunks/{models-dev-4rqs6yce.js → vcs-e21ryx48.js} +8 -8
- package/dist/chunks/{models-dev-02a7j1yb.js → vcs-eaj1djv9.js} +8 -8
- package/dist/chunks/{models-dev-wntqe9zb.js → vcs-ecge003d.js} +22 -22
- package/dist/chunks/{models-dev-mgt8g71m.js → vcs-edmpqn45.js} +8 -8
- package/dist/chunks/{models-dev-ms93yq6r.js → vcs-eeaf82dq.js} +8 -8
- package/dist/chunks/{models-dev-eej6y6fw.js → vcs-eej6y6fw.js} +2 -2
- package/dist/chunks/{models-dev-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{models-dev-nrnyx1y1.js → vcs-efhq09kz.js} +31 -31
- package/dist/chunks/{models-dev-2hjbjm0q.js → vcs-eqasdz4j.js} +18 -18
- package/dist/chunks/{models-dev-c1fqxshp.js → vcs-es1vcfrp.js} +3 -3
- package/dist/chunks/{models-dev-kvb2kdjn.js → vcs-es211df5.js} +20 -20
- package/dist/chunks/{models-dev-ybnef321.js → vcs-ez2bcpbz.js} +35 -35
- package/dist/chunks/{models-dev-cq0e7jrz.js → vcs-f29mbr7f.js} +4 -4
- package/dist/chunks/{models-dev-q0w2kfra.js → vcs-f768v67h.js} +47 -47
- package/dist/chunks/{models-dev-4pt1mcxg.js → vcs-fc0t6a5f.js} +17 -17
- package/dist/chunks/{models-dev-qgn6gcr1.js → vcs-fcrkznn8.js} +5 -5
- package/dist/chunks/{models-dev-zwq605bm.js → vcs-fdj20w9a.js} +25 -25
- package/dist/chunks/{models-dev-5tzkd1fy.js → vcs-fpp2shsw.js} +6 -6
- package/dist/chunks/{models-dev-29pqcjbj.js → vcs-fr6g643d.js} +4 -4
- package/dist/chunks/{models-dev-ckv3nb2m.js → vcs-fw9wgxqa.js} +32 -32
- package/dist/chunks/{models-dev-fxaymqdw.js → vcs-fxaymqdw.js} +1 -1
- package/dist/chunks/{models-dev-yjn235g6.js → vcs-fyaym6e6.js} +4 -4
- package/dist/chunks/{models-dev-5xtgfte3.js → vcs-g0445xdp.js} +6 -6
- package/dist/chunks/{models-dev-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{models-dev-ryh0a1m0.js → vcs-ge2qvn92.js} +9 -9
- package/dist/chunks/{models-dev-jmzfr6ct.js → vcs-gh6yskk8.js} +17 -17
- package/dist/chunks/{models-dev-yd4bzqjj.js → vcs-gm31ynds.js} +5 -5
- package/dist/chunks/{models-dev-1664kews.js → vcs-gqads2ya.js} +6 -6
- package/dist/chunks/{models-dev-69zjn7v3.js → vcs-gvxrta76.js} +36 -36
- package/dist/chunks/{models-dev-8qwzp8zc.js → vcs-gxebhbq7.js} +4 -4
- package/dist/chunks/{models-dev-5jbjx4bj.js → vcs-h1fz3f88.js} +9 -9
- package/dist/chunks/{models-dev-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/vcs-harb8jx2.js +26 -0
- package/dist/chunks/{models-dev-d1mtykxg.js → vcs-hdab2k61.js} +6 -6
- package/dist/chunks/{models-dev-9c8kpmyc.js → vcs-hdm35yc0.js} +19 -19
- package/dist/chunks/{models-dev-m59ddcfm.js → vcs-henbqntn.js} +39 -39
- package/dist/chunks/{models-dev-hgz4x7wa.js → vcs-hgz4x7wa.js} +1 -1
- package/dist/chunks/{models-dev-r2c671yp.js → vcs-hz3mdpwn.js} +37 -37
- package/dist/chunks/{models-dev-4pgzjgba.js → vcs-j209qe7h.js} +26 -26
- package/dist/chunks/{models-dev-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{models-dev-e1qyvkcg.js → vcs-j6p31266.js} +11 -11
- package/dist/chunks/{models-dev-6cqe4hkt.js → vcs-j8xej44d.js} +17 -17
- package/dist/chunks/{models-dev-92dfjjnn.js → vcs-jbsbkydh.js} +32 -32
- package/dist/chunks/{models-dev-yhqse85r.js → vcs-jfkgqr1h.js} +18 -18
- package/dist/chunks/{models-dev-bs84j8rj.js → vcs-jh1606gc.js} +35 -35
- package/dist/chunks/{models-dev-ev7n2kes.js → vcs-jty2b48d.js} +9 -9
- package/dist/chunks/{models-dev-m4rz64sx.js → vcs-k08pfc51.js} +16 -16
- package/dist/chunks/{models-dev-x661k3y3.js → vcs-k22b66k8.js} +4 -4
- package/dist/chunks/{models-dev-ydw9zp1w.js → vcs-k638bx1v.js} +43 -43
- package/dist/chunks/{models-dev-d51195b0.js → vcs-kad49353.js} +14 -14
- package/dist/chunks/{models-dev-aegaywqw.js → vcs-kfk5k4be.js} +10 -10
- package/dist/chunks/{models-dev-yqrbgmyt.js → vcs-knmerc28.js} +10 -10
- package/dist/chunks/{models-dev-hbe1c2zn.js → vcs-kz2ak9g2.js} +23 -23
- package/dist/chunks/{models-dev-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{models-dev-kmx2hz6k.js → vcs-maqbn5g5.js} +15 -15
- package/dist/chunks/{models-dev-maspj1v3.js → vcs-maspj1v3.js} +1 -1
- package/dist/chunks/{models-dev-fpmctw84.js → vcs-mf9ta1xn.js} +8 -8
- package/dist/chunks/{models-dev-0sy5jk4t.js → vcs-mp53wpqx.js} +22 -22
- package/dist/chunks/{models-dev-kj4d1zd2.js → vcs-mq1zhn59.js} +12 -12
- package/dist/chunks/{models-dev-vmq3jh3w.js → vcs-n9vc7x7y.js} +18 -18
- package/dist/chunks/{models-dev-bhad103s.js → vcs-ng6agez8.js} +11 -11
- package/dist/chunks/{models-dev-e80seqcp.js → vcs-nma959mg.js} +3 -3
- package/dist/chunks/{models-dev-0a1rye92.js → vcs-nsj070s2.js} +24 -24
- package/dist/chunks/{models-dev-t1324xhj.js → vcs-nx5rhv7m.js} +24 -24
- package/dist/chunks/{models-dev-c9fap7hq.js → vcs-p586dcm5.js} +25 -25
- package/dist/chunks/{models-dev-3gvw7rj8.js → vcs-p77ajynp.js} +24 -24
- package/dist/chunks/{models-dev-8ebgmdnj.js → vcs-p8bkgt52.js} +13 -13
- package/dist/chunks/{models-dev-5h7vwmhz.js → vcs-pcwsepp3.js} +35 -35
- package/dist/chunks/{models-dev-kq6zdgch.js → vcs-pghcygtd.js} +5 -5
- package/dist/chunks/{models-dev-rypkwkwq.js → vcs-pgqm3tqp.js} +9 -9
- package/dist/chunks/{models-dev-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{models-dev-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{models-dev-57v25951.js → vcs-pnnjh0kq.js} +1 -1
- package/dist/chunks/{models-dev-mtqq3hfy.js → vcs-prksa11n.js} +20 -20
- package/dist/chunks/{models-dev-hsjabct9.js → vcs-pyg4v0b6.js} +4 -4
- package/dist/chunks/{models-dev-0j77ygfz.js → vcs-q0xm7vwc.js} +6 -6
- package/dist/chunks/{models-dev-gcx85esw.js → vcs-q5e7cmwt.js} +1 -1
- package/dist/chunks/{models-dev-32k2pbd5.js → vcs-qa6sv8f2.js} +19 -19
- package/dist/chunks/{models-dev-5n9bvvdj.js → vcs-qa7z0hws.js} +33 -33
- package/dist/chunks/{models-dev-q0kg8399.js → vcs-qccr93cs.js} +13 -13
- package/dist/chunks/{models-dev-rdp2zrnb.js → vcs-qgsaj67g.js} +45 -45
- package/dist/chunks/{models-dev-ycxxqv5k.js → vcs-qj1kn97d.js} +5 -5
- package/dist/chunks/{models-dev-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
- package/dist/chunks/{models-dev-886mzzjn.js → vcs-qqtwe9jw.js} +8 -8
- package/dist/chunks/{models-dev-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{models-dev-7m2fqqgt.js → vcs-qwryyce5.js} +76 -76
- package/dist/chunks/{models-dev-mjqwzk7n.js → vcs-r7s26dny.js} +10 -10
- package/dist/chunks/{models-dev-q6h8xyyf.js → vcs-r8xabzzd.js} +18 -18
- package/dist/chunks/{models-dev-54ma36ye.js → vcs-r94pvvab.js} +4 -4
- package/dist/chunks/{models-dev-jyh28qe0.js → vcs-rcq240yq.js} +34 -34
- package/dist/chunks/{models-dev-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{models-dev-rkprpv83.js → vcs-rkprpv83.js} +2 -2
- package/dist/chunks/{models-dev-4z3mx211.js → vcs-rmrf6f1s.js} +11 -11
- package/dist/chunks/{models-dev-a4v7cagr.js → vcs-rp6acqjd.js} +12 -12
- package/dist/chunks/{models-dev-knsa8f7j.js → vcs-rrvsk7kb.js} +8 -8
- package/dist/chunks/{models-dev-tkmwgdpd.js → vcs-ryr25ayn.js} +7 -7
- package/dist/chunks/{models-dev-qkx97xt7.js → vcs-s0fdspgh.js} +27 -27
- package/dist/chunks/{models-dev-51wasa6w.js → vcs-s15m782p.js} +7 -7
- package/dist/chunks/{models-dev-ph842b28.js → vcs-s26hbv8p.js} +4 -4
- package/dist/chunks/{models-dev-7ca2c6y4.js → vcs-s3qakcq2.js} +27 -27
- package/dist/chunks/{models-dev-hkaqgv9y.js → vcs-s4eaajd5.js} +12 -12
- package/dist/chunks/{models-dev-j0thgm95.js → vcs-shrk45xr.js} +35 -35
- package/dist/chunks/{models-dev-g8tk2qkc.js → vcs-sjkqkpav.js} +11 -11
- package/dist/chunks/{models-dev-0mzv8h3q.js → vcs-sq7c9q36.js} +19 -19
- package/dist/chunks/{models-dev-ypx73geg.js → vcs-sqmzwr9m.js} +9 -9
- package/dist/chunks/{models-dev-k4f7zm4r.js → vcs-sw98rjn3.js} +96 -96
- package/dist/chunks/{models-dev-syv4x271.js → vcs-syv4x271.js} +1 -1
- package/dist/chunks/{models-dev-czkpeb0p.js → vcs-t7c85dgn.js} +27 -27
- package/dist/chunks/{models-dev-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{models-dev-89znhe33.js → vcs-tcezcvh9.js} +4 -4
- package/dist/chunks/{models-dev-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{models-dev-jym709mx.js → vcs-tenqbnmp.js} +17 -17
- package/dist/chunks/{models-dev-8f2as6r6.js → vcs-tfw4wa1p.js} +9 -9
- package/dist/chunks/{models-dev-v0es1rhs.js → vcs-tg7bkhef.js} +7 -7
- package/dist/chunks/{models-dev-rert0e01.js → vcs-tkb22qbm.js} +2 -2
- package/dist/chunks/{models-dev-tm0kqsz3.js → vcs-tm0kqsz3.js} +1 -1
- package/dist/chunks/{models-dev-20gwpwx7.js → vcs-tr54p1dw.js} +5 -5
- package/dist/chunks/{models-dev-0v9exxnw.js → vcs-tswf4nyy.js} +30 -30
- package/dist/chunks/{models-dev-vvar6fgm.js → vcs-tvxpzwpn.js} +6 -6
- package/dist/chunks/{models-dev-21w4c8ct.js → vcs-twa74zd6.js} +24 -24
- package/dist/chunks/{models-dev-045nn9pc.js → vcs-txm3e8qz.js} +9 -9
- package/dist/chunks/{models-dev-tyytaxap.js → vcs-tyytaxap.js} +1 -1
- package/dist/chunks/{models-dev-2zmc9g4q.js → vcs-v3x4kj38.js} +25 -25
- package/dist/chunks/{models-dev-v7p4zvkq.js → vcs-v7p4zvkq.js} +2 -2
- package/dist/chunks/{models-dev-e5x4shnv.js → vcs-vac5g51f.js} +7 -7
- package/dist/chunks/{models-dev-nk5d3wwn.js → vcs-vej3xsr7.js} +3 -3
- package/dist/chunks/{models-dev-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{models-dev-44ak30pa.js → vcs-vfjhn2wd.js} +4 -4
- package/dist/chunks/{models-dev-rjgv6zv8.js → vcs-vg6da4m0.js} +7 -7
- package/dist/chunks/{models-dev-wg0ncn2a.js → vcs-vpsr7n6v.js} +19 -19
- package/dist/chunks/{models-dev-ed2gf1xw.js → vcs-vrw3gsr4.js} +24 -24
- package/dist/chunks/{models-dev-22hda3w5.js → vcs-vywzeekt.js} +18 -18
- package/dist/chunks/{models-dev-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{models-dev-w1eejvng.js → vcs-w1eejvng.js} +1 -1
- package/dist/chunks/{models-dev-xwenbvep.js → vcs-w2tmhhwy.js} +15 -15
- package/dist/chunks/{models-dev-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{models-dev-m2k7ask4.js → vcs-w9dpv18m.js} +33 -33
- package/dist/chunks/{models-dev-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{models-dev-edhc1jgp.js → vcs-wedh7s5e.js} +14 -14
- package/dist/chunks/{models-dev-7xzfe72n.js → vcs-wjrz22kk.js} +3 -3
- package/dist/chunks/{models-dev-xc1d4vrn.js → vcs-wtfnvg2q.js} +11 -11
- package/dist/chunks/{models-dev-b8xrvnvm.js → vcs-wvh0hgrq.js} +11 -11
- package/dist/chunks/{models-dev-2pjadknn.js → vcs-wyxbt0gx.js} +20 -20
- package/dist/chunks/{models-dev-10x3fwqm.js → vcs-x25y7vnj.js} +5 -5
- package/dist/chunks/{models-dev-vhac2bjs.js → vcs-xgczhdrs.js} +5 -5
- package/dist/chunks/{models-dev-v3b3kks5.js → vcs-xtzay8t5.js} +1 -1
- package/dist/chunks/{models-dev-3a55g1p6.js → vcs-y1by9cg9.js} +5 -5
- package/dist/chunks/{models-dev-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{models-dev-at4e57ft.js → vcs-y7g091qg.js} +14 -14
- package/dist/chunks/{models-dev-3mxs1m5f.js → vcs-ybzp76zr.js} +25 -25
- package/dist/chunks/{models-dev-t6zjq1qk.js → vcs-yc1h17zv.js} +11 -11
- package/dist/chunks/{models-dev-2fqna6rb.js → vcs-yegmnrcf.js} +11 -11
- package/dist/chunks/{models-dev-gj71zhbs.js → vcs-ygdna4kr.js} +5 -5
- package/dist/chunks/vcs-yk6ehcpt.js +253 -0
- package/dist/chunks/{models-dev-f2n192rq.js → vcs-yp2x3t23.js} +4 -4
- package/dist/chunks/{models-dev-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{models-dev-axp4ehpq.js → vcs-z2qvtray.js} +6 -6
- package/dist/chunks/{models-dev-4s4a0pfs.js → vcs-z4p0v79k.js} +5 -5
- package/dist/chunks/{models-dev-wk5z6jzv.js → vcs-z4ztj7g0.js} +8 -8
- package/dist/chunks/{models-dev-3gaq1q4y.js → vcs-z7xgjgz1.js} +11 -11
- package/dist/chunks/{models-dev-ddt2bs9e.js → vcs-zav06jzw.js} +4 -4
- package/dist/chunks/{models-dev-esps6wgd.js → vcs-zds3bn5a.js} +29 -29
- package/dist/chunks/{models-dev-arp3khe5.js → vcs-zjq775dv.js} +13 -13
- package/dist/chunks/{models-dev-2egesr2p.js → vcs-znjvq2a2.js} +40 -40
- package/dist/chunks/{models-dev-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{models-dev-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/chunks/{models-dev-e1v7z07n.js → vcs-zxspgnte.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +92 -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 +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 +118 -118
- package/dist/config/plugin/source.js +121 -121
- 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 +87 -87
- package/dist/database/database.js +74 -74
- 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 +367 -367
- 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 +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- 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 +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- 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 +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- 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 +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- 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 +119 -119
- 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 +125 -125
- 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 +125 -125
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- 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 +88 -88
- package/dist/provider.js +103 -103
- 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 +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- 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 +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- 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 +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- 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 +226 -226
- 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 +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +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 +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- 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 +124 -124
- 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 +118 -118
- 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 +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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 +84 -84
- 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/models-dev-1x5yxq0t.js +0 -26
- package/dist/chunks/models-dev-q509s3k3.js +0 -18
- package/dist/chunks/models-dev-rntxp1zy.js +0 -253
- /package/dist/chunks/{models-dev-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{models-dev-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{models-dev-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{models-dev-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{models-dev-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{models-dev-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{models-dev-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{models-dev-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{models-dev-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{models-dev-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{models-dev-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{models-dev-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{models-dev-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{models-dev-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{models-dev-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{models-dev-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{models-dev-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{models-dev-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{models-dev-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{models-dev-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{models-dev-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{models-dev-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{models-dev-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{models-dev-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{models-dev-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{models-dev-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{models-dev-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{models-dev-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{models-dev-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{models-dev-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{models-dev-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{models-dev-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{models-dev-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{models-dev-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{models-dev-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{models-dev-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{models-dev-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{models-dev-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{models-dev-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{models-dev-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{models-dev-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{models-dev-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{models-dev-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{models-dev-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{models-dev-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{models-dev-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{models-dev-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{models-dev-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{models-dev-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{models-dev-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{models-dev-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{models-dev-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{models-dev-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{models-dev-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{models-dev-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{models-dev-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{models-dev-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{models-dev-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{models-dev-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{models-dev-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{models-dev-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{models-dev-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{models-dev-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{models-dev-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{models-dev-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{models-dev-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{models-dev-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{models-dev-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{models-dev-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{models-dev-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{models-dev-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{models-dev-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{models-dev-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{models-dev-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{models-dev-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{models-dev-pkyv6v7h.js → vcs-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{models-dev-pyv0edze.js → vcs-pyv0edze.js} +0 -0
- /package/dist/chunks/{models-dev-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{models-dev-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{models-dev-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{models-dev-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{models-dev-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{models-dev-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{models-dev-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{models-dev-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{models-dev-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{models-dev-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{models-dev-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{models-dev-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{models-dev-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{models-dev-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{models-dev-wjj7prxr.js → vcs-wjj7prxr.js} +0 -0
- /package/dist/chunks/{models-dev-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{models-dev-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{models-dev-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{models-dev-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{models-dev-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{models-dev-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{models-dev-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{models-dev-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{models-dev-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./vcs-4syghzxd.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service83,
|
|
8
|
+
node87
|
|
9
|
+
} from "./vcs-a1cxz87x.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-2vvh33eb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-2p5zs7nk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service74,
|
|
21
|
+
node78
|
|
22
|
+
} from "./vcs-sq7c9q36.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service24,
|
|
25
25
|
node27
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-cwv6zy4y.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service11,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node13
|
|
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 Service11 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(Service11, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service24;
|
|
65
|
+
const store = yield* Service74;
|
|
66
|
+
const db = (yield* Service84).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 Service11.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node13 = makeLocationNode({
|
|
151
|
+
service: Service11,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node87, llmClient2, node27, node78, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service11, isUntitled2, layer7, node13, exports_title };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./vcs-4syghzxd.js";
|
|
1
5
|
import {
|
|
2
6
|
Service83,
|
|
3
7
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./models-dev-1p4v0rya.js";
|
|
8
|
+
} from "./vcs-a1cxz87x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service51,
|
|
11
|
+
node53
|
|
12
|
+
} from "./vcs-hdab2k61.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./vcs-3c0f89xm.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-k08pfc51.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service63,
|
|
26
|
+
node66
|
|
27
|
+
} from "./vcs-tfw4wa1p.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError10
|
|
33
|
+
} from "./vcs-h1fz3f88.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./vcs-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service48
|
|
39
|
+
} from "./vcs-zav06jzw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service74,
|
|
42
|
+
node78
|
|
43
|
+
} from "./vcs-sq7c9q36.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service49,
|
|
48
|
+
node51,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./vcs-aw6heq8a.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service47,
|
|
53
|
+
node50
|
|
54
|
+
} from "./vcs-2tn753d6.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node35
|
|
57
|
+
} from "./vcs-vrw3gsr4.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./vcs-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service31,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node34
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service31 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service79;
|
|
92
|
+
const locations = yield* Service63;
|
|
93
|
+
const store = yield* Service74;
|
|
94
|
+
const execution = yield* Service47;
|
|
95
|
+
const instances = yield* Service51;
|
|
96
|
+
const admission = yield* Service49;
|
|
97
|
+
const database = yield* Service84;
|
|
98
|
+
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError10({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service48.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service31.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node34 = makeGlobalNode({
|
|
167
|
+
service: Service31,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
172
|
+
node83,
|
|
173
|
+
node66,
|
|
174
|
+
node78,
|
|
175
|
+
node50,
|
|
173
176
|
node53,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
node41,
|
|
177
|
-
node39,
|
|
177
|
+
node51,
|
|
178
|
+
node88,
|
|
178
179
|
node87,
|
|
179
|
-
|
|
180
|
-
node26
|
|
180
|
+
node35
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service31, node34, exports_move };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./vcs-a1cxz87x.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-k22b66k8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event15
|
|
9
|
+
} from "./vcs-pcwsepp3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID9
|
|
12
|
+
} from "./vcs-w9dpv18m.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID8,
|
|
15
|
+
Service66
|
|
16
|
+
} from "./vcs-shrk45xr.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-rp6acqjd.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service66;
|
|
30
|
+
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./vcs-a1cxz87x.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service68,
|
|
11
|
+
node72
|
|
12
|
+
} from "./vcs-pcwsepp3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service78,
|
|
15
|
+
node82
|
|
16
|
+
} from "./vcs-k08pfc51.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service46,
|
|
19
|
+
node49
|
|
20
|
+
} from "./vcs-twa74zd6.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service69,
|
|
24
|
+
node73
|
|
25
|
+
} from "./vcs-zds3bn5a.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service67,
|
|
34
|
+
node71
|
|
35
|
+
} from "./vcs-w9dpv18m.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./vcs-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service30,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node33
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service30 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const environment = yield* Service46;
|
|
117
|
+
const bus = yield* Service83;
|
|
118
|
+
const forms = yield* Service69;
|
|
119
|
+
const integration = yield* Service67;
|
|
120
|
+
const credentials = yield* Service68;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID9.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service68, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError4({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service68, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID11.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service46, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service30.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service30,
|
|
536
|
+
layer: layer14(options),
|
|
537
|
+
deps: [node82, node49, node87, node73, node71, node72]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node33 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service30, Options4, layer14, configured4, node33, exports_mcp4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./vcs-shrk45xr.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-b2qkenvk.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID8.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./vcs-k08pfc51.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID7,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-qa7z0hws.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service58
|
|
10
|
+
} from "./vcs-0be9ae0k.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service46
|
|
13
|
+
} from "./vcs-twa74zd6.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-fxaymqdw.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-b2qkenvk.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service58;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service46);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service78);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID7.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID16 = Session.ID;
|
|
5
|
+
var Info25 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID16, Info25, SessionSchema2 };
|