@opencode/core 0.0.0-dev-21077 → 0.0.0-dev-21079
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{credential-rhjbct0v.js → job-02a7j1yb.js} +4 -4
- package/dist/chunks/{credential-1n08wphv.js → job-039tjp7x.js} +19 -19
- package/dist/chunks/{credential-jzzy94zk.js → job-0996nyz8.js} +9 -9
- package/dist/chunks/{credential-6gjk1srs.js → job-0c1x1jpa.js} +19 -19
- package/dist/chunks/{credential-22j5gcem.js → job-0fkfrjz2.js} +21 -21
- package/dist/chunks/{credential-wez5dshc.js → job-0v67btzd.js} +12 -12
- package/dist/chunks/{credential-0vbcp93d.js → job-0vbcp93d.js} +2 -2
- package/dist/chunks/{credential-mb14aw74.js → job-127b9nq3.js} +2 -2
- package/dist/chunks/{credential-xncbfwxk.js → job-19bd5fc5.js} +18 -18
- package/dist/chunks/{credential-scxftpbw.js → job-19bze07p.js} +13 -13
- package/dist/chunks/{credential-rmjnct9g.js → job-1dgr7zp1.js} +4 -4
- package/dist/chunks/{credential-rfg45hmd.js → job-1t77s0vs.js} +22 -22
- package/dist/chunks/job-1vezyevr.js +26 -0
- package/dist/chunks/{credential-ndgw0f3v.js → job-1w0az4rs.js} +28 -28
- package/dist/chunks/{credential-gm80xqq7.js → job-210s6np5.js} +4 -4
- package/dist/chunks/{credential-qxmaq0sm.js → job-25cs5cen.js} +8 -8
- package/dist/chunks/{credential-mq99xv2c.js → job-25yqr4p3.js} +20 -20
- package/dist/chunks/{credential-j7k70mt1.js → job-28x0533s.js} +16 -16
- package/dist/chunks/job-2c12xztv.js +513 -0
- package/dist/chunks/{credential-45vsmz9h.js → job-2m0qb85n.js} +16 -16
- package/dist/chunks/{credential-hshdsga2.js → job-2vpzg4es.js} +1 -1
- package/dist/chunks/{credential-b9pm5k8x.js → job-30xz5n9s.js} +22 -22
- package/dist/chunks/{credential-ra6by5e5.js → job-3aa4b0fh.js} +24 -24
- package/dist/chunks/{credential-dys7k0s0.js → job-3cqwnyj9.js} +8 -8
- package/dist/chunks/{credential-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/job-3h3jay6b.js +253 -0
- package/dist/chunks/{credential-g0gbxkwa.js → job-3h54fp5k.js} +15 -15
- package/dist/chunks/{credential-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-3hwn7j4h.js → job-3hwn7j4h.js} +2 -2
- package/dist/chunks/{credential-q9qhhjv2.js → job-3jtzdpaa.js} +33 -33
- package/dist/chunks/{credential-nhv7p5wt.js → job-3n57ya95.js} +11 -11
- package/dist/chunks/{credential-r373bcqv.js → job-3s2exhsp.js} +4 -4
- package/dist/chunks/{credential-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-bej0st3k.js → job-3za7s95v.js} +22 -22
- package/dist/chunks/{credential-0mjpgxaj.js → job-3zrpsj7p.js} +93 -93
- package/dist/chunks/{credential-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{credential-wg8a11j0.js → job-457kk9gz.js} +20 -20
- package/dist/chunks/{credential-brt5an88.js → job-4e0q05wd.js} +6 -6
- package/dist/chunks/{credential-zy0xyg00.js → job-4gate0yw.js} +36 -36
- package/dist/chunks/{credential-pj8a0a0d.js → job-4qcvfhpn.js} +5 -5
- package/dist/chunks/{credential-vtvzzxkn.js → job-4t279dyc.js} +13 -13
- package/dist/chunks/{credential-54ma36ye.js → job-54ma36ye.js} +1 -1
- package/dist/chunks/{credential-fvg499qq.js → job-565my3fm.js} +14 -14
- package/dist/chunks/{credential-f1m169n2.js → job-5hdn0svx.js} +10 -10
- package/dist/chunks/{credential-5m9w47nd.js → job-5m9w47nd.js} +1 -1
- package/dist/chunks/{credential-4fsmsme8.js → job-5njrfvwn.js} +12 -12
- package/dist/chunks/{credential-4qhmckww.js → job-5re26fy0.js} +9 -9
- package/dist/chunks/{credential-7tfd94v8.js → job-5tbmh0qa.js} +17 -17
- package/dist/chunks/{credential-vcmdfh1f.js → job-64d5ccde.js} +15 -15
- package/dist/chunks/{credential-rqb4w7qy.js → job-6g8fsaqs.js} +11 -11
- package/dist/chunks/{credential-s3rnyz5s.js → job-6hckdz63.js} +26 -26
- package/dist/chunks/{credential-65qs235e.js → job-6m9ck4g8.js} +20 -20
- package/dist/chunks/{credential-py3kkmfq.js → job-6pc27hjz.js} +6 -6
- package/dist/chunks/{credential-6xb47vfp.js → job-6xb47vfp.js} +1 -1
- package/dist/chunks/{credential-zbgekxe2.js → job-76192nxt.js} +4 -4
- package/dist/chunks/{credential-775gj3j1.js → job-775gj3j1.js} +2 -2
- package/dist/chunks/{credential-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-dtsxx5mv.js → job-7bmnjcd1.js} +8 -8
- package/dist/chunks/{credential-hnyywhnh.js → job-7c1vnkcm.js} +35 -35
- package/dist/chunks/{credential-jfpc1vcc.js → job-7fyrzeqr.js} +1 -1
- package/dist/chunks/{credential-k3bh1kct.js → job-7gra0nqm.js} +5 -5
- package/dist/chunks/{credential-ncvmk5m4.js → job-7rfyzhr4.js} +11 -11
- package/dist/chunks/{credential-m6y60rje.js → job-83eavpp5.js} +39 -39
- package/dist/chunks/{credential-38w1dnvg.js → job-882k9js2.js} +76 -76
- package/dist/chunks/{credential-6rtzx4km.js → job-8f18n148.js} +33 -33
- package/dist/chunks/{credential-6gasy1mn.js → job-8hbfdwcy.js} +6 -6
- package/dist/chunks/{credential-8m6m0r52.js → job-8m6m0r52.js} +1 -1
- package/dist/chunks/{credential-369pt44z.js → job-8r8vn0wd.js} +28 -28
- package/dist/chunks/{credential-mxag24mj.js → job-8z1ayf6d.js} +47 -47
- package/dist/chunks/{credential-j09zfasm.js → job-91qna3x0.js} +3 -3
- package/dist/chunks/{credential-88t0gbbr.js → job-92r62jsy.js} +11 -11
- package/dist/chunks/{credential-pnfekgft.js → job-92sgck50.js} +13 -13
- package/dist/chunks/{credential-b674v2dg.js → job-9hwaqfsw.js} +5 -5
- package/dist/chunks/{credential-567qzpgd.js → job-9jvqya9k.js} +20 -20
- package/dist/chunks/{credential-nmmr4e9w.js → job-9sf2b1wk.js} +36 -36
- package/dist/chunks/{credential-zyk2e2x1.js → job-9vdzy19e.js} +26 -26
- package/dist/chunks/{credential-039wv4dg.js → job-9vphjyta.js} +11 -11
- package/dist/chunks/{credential-nhdt10nm.js → job-9w71hsye.js} +22 -22
- package/dist/chunks/{credential-ryqtne0v.js → job-9y0ac6nx.js} +28 -28
- package/dist/chunks/{credential-ab9cbtvh.js → job-a276wvpv.js} +29 -29
- package/dist/chunks/{credential-my3a7ft8.js → job-a47mbapt.js} +7 -7
- package/dist/chunks/{credential-kkd5n1wb.js → job-a638f9xa.js} +46 -46
- package/dist/chunks/{credential-e56hn9bn.js → job-aa1q6d6m.js} +17 -17
- package/dist/chunks/{credential-q0bwcdvt.js → job-acab3reh.js} +18 -18
- package/dist/chunks/{credential-rpjwtdbq.js → job-ad0h1ekw.js} +45 -45
- package/dist/chunks/{credential-4ekscj25.js → job-ag1vmkq5.js} +5 -5
- package/dist/chunks/{credential-7f8046wn.js → job-aykdpe63.js} +92 -92
- package/dist/chunks/{credential-rqem1xsk.js → job-b4e6r5jm.js} +8 -8
- package/dist/chunks/{credential-r2cwyjsv.js → job-b54kpts0.js} +18 -18
- package/dist/chunks/{credential-87fbabfb.js → job-bbevnd6a.js} +7 -7
- package/dist/chunks/{credential-ppyhr432.js → job-bqhxdahr.js} +23 -23
- package/dist/chunks/{credential-gzsatz7t.js → job-brm2ejd9.js} +5 -5
- package/dist/chunks/{credential-c1fqxshp.js → job-c1fqxshp.js} +3 -3
- package/dist/chunks/{credential-q5resnhd.js → job-c1mbdfvr.js} +5 -5
- package/dist/chunks/{credential-txp0qwjb.js → job-c92bdz8k.js} +20 -20
- package/dist/chunks/{credential-twzm0fh1.js → job-cdwxwcm8.js} +6 -6
- package/dist/chunks/{credential-sky29pjs.js → job-cgxk1kc1.js} +3 -3
- package/dist/chunks/{credential-6ez66tm6.js → job-cmhswgf0.js} +20 -20
- package/dist/chunks/{credential-m1a48d5g.js → job-cn8bj85j.js} +60 -60
- package/dist/chunks/{credential-czvs99ad.js → job-cq272wan.js} +13 -13
- package/dist/chunks/{credential-yw0h1yf7.js → job-cqpeec48.js} +11 -11
- package/dist/chunks/{credential-8pwe8y5v.js → job-css2yt3j.js} +38 -38
- package/dist/chunks/{credential-37sfe3bm.js → job-d51195b0.js} +11 -11
- package/dist/chunks/{credential-8yqhqj2c.js → job-d7kb6fh0.js} +2 -2
- package/dist/chunks/{credential-bacj9t34.js → job-d7x0sh0y.js} +9 -9
- package/dist/chunks/{credential-2zv688p8.js → job-dm7t50gs.js} +6 -6
- package/dist/chunks/{credential-dqxsqydv.js → job-dqxsqydv.js} +1 -1
- package/dist/chunks/{credential-xfkkasph.js → job-drwq78ky.js} +4 -4
- package/dist/chunks/{credential-7pkq4a6y.js → job-dvdkkyt1.js} +3 -3
- package/dist/chunks/{credential-esad8vat.js → job-ec4a430e.js} +50 -50
- package/dist/chunks/{credential-n45znrv4.js → job-ecpgw71p.js} +45 -45
- package/dist/chunks/{credential-t2fc4mz5.js → job-edrmdtr5.js} +5 -5
- package/dist/chunks/{credential-eej6y6fw.js → job-eej6y6fw.js} +2 -2
- package/dist/chunks/{credential-8m7nreqb.js → job-eep7gb24.js} +19 -19
- package/dist/chunks/{credential-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{credential-c6hx2ktf.js → job-egeez3df.js} +6 -6
- package/dist/chunks/{credential-v4k5v7h4.js → job-en10vwq4.js} +14 -14
- package/dist/chunks/{credential-k5qw4hft.js → job-es4zr9pq.js} +8 -8
- package/dist/chunks/{credential-wk82jgfm.js → job-eth2ss2a.js} +8 -8
- package/dist/chunks/{credential-c7pf8635.js → job-ezbmb5q1.js} +9 -9
- package/dist/chunks/{credential-1acjjqhc.js → job-f2n192rq.js} +4 -4
- package/dist/chunks/{credential-b6v341m9.js → job-f58wf4nq.js} +11 -11
- package/dist/chunks/{credential-z9nwtdma.js → job-fdkvcqsr.js} +16 -16
- package/dist/chunks/{credential-s5fn7dhj.js → job-fdv7cw86.js} +31 -31
- package/dist/chunks/{credential-8w2qxdqt.js → job-fe6hrmfe.js} +24 -24
- package/dist/chunks/{credential-3r88wvpr.js → job-fjjrhmvw.js} +23 -23
- package/dist/chunks/{credential-1sgf0ss5.js → job-fjkxn7w1.js} +16 -16
- package/dist/chunks/{credential-2sejkfem.js → job-ft3hqk2c.js} +9 -9
- package/dist/chunks/{credential-y0tnb4b3.js → job-ft9c0akp.js} +15 -15
- package/dist/chunks/{credential-4fnxzqcp.js → job-fww2ha2b.js} +9 -9
- package/dist/chunks/{credential-0g1kkss8.js → job-fyp3a0hm.js} +14 -14
- package/dist/chunks/{credential-rtaz8t0m.js → job-g4s2gh9e.js} +4 -4
- package/dist/chunks/{credential-vsnex79p.js → job-g8be3rk7.js} +27 -27
- package/dist/chunks/{credential-as35ary9.js → job-gce79w0q.js} +11 -11
- package/dist/chunks/{credential-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-6gzyn8h5.js → job-ghkvfr8f.js} +9 -9
- package/dist/chunks/{credential-addxnjmp.js → job-gqtdsdt7.js} +4 -4
- package/dist/chunks/{credential-px73pbep.js → job-gvcsr0yn.js} +8 -8
- package/dist/chunks/{credential-scp8fp47.js → job-gwhvz0y4.js} +32 -32
- package/dist/chunks/{credential-h13qe09z.js → job-gxjtm5af.js} +4 -4
- package/dist/chunks/{credential-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-1tyhtd58.js → job-h7je5etx.js} +20 -20
- package/dist/chunks/{credential-h7s7r6s9.js → job-h7s7r6s9.js} +2 -2
- package/dist/chunks/{credential-4yd5fbph.js → job-h818653d.js} +6 -6
- package/dist/chunks/{credential-3sj8yt8v.js → job-h9wp8z5w.js} +4 -4
- package/dist/chunks/{credential-160c1116.js → job-hfjntkgv.js} +13 -13
- package/dist/chunks/{credential-hgz4x7wa.js → job-hgz4x7wa.js} +1 -1
- package/dist/chunks/{credential-trex24va.js → job-hn9raw8n.js} +11 -11
- package/dist/chunks/{credential-dbqdnwbh.js → job-hpd6gqz6.js} +14 -14
- package/dist/chunks/{credential-rh0kfk84.js → job-hph2fv3r.js} +28 -28
- package/dist/chunks/{credential-kqx1b4hy.js → job-hsjabct9.js} +4 -4
- package/dist/chunks/{credential-a7204kxa.js → job-hzqv7q0z.js} +3 -3
- package/dist/chunks/{credential-xa2wshx1.js → job-j3zs6rt6.js} +19 -19
- package/dist/chunks/{credential-nksjsfnd.js → job-j67yymgj.js} +11 -11
- package/dist/chunks/{credential-cqxtxa12.js → job-j90fxacf.js} +4 -4
- package/dist/chunks/{credential-amfa1jkw.js → job-jce1h2b8.js} +13 -13
- package/dist/chunks/{credential-3vy9239c.js → job-jjq97kgt.js} +24 -24
- package/dist/chunks/{credential-dhmh7aw6.js → job-jvf3yq6v.js} +4 -4
- package/dist/chunks/{credential-kpjne5yp.js → job-jwmr3k2g.js} +9 -9
- package/dist/chunks/{credential-sjyepcmd.js → job-k9hyry2f.js} +5 -5
- package/dist/chunks/{credential-jmt4g3es.js → job-kdqxwgga.js} +6 -6
- package/dist/chunks/{credential-fxaymqdw.js → job-khmqacep.js} +4 -4
- package/dist/chunks/{credential-dj68pnee.js → job-kkp8zx71.js} +4 -4
- package/dist/chunks/{credential-c9rae3wa.js → job-kt58vk6w.js} +14 -14
- package/dist/chunks/{credential-kwb1v3vj.js → job-kwb1v3vj.js} +1 -1
- package/dist/chunks/{credential-0yxc45d0.js → job-m1gwyh0e.js} +38 -38
- package/dist/chunks/{credential-de0z98k1.js → job-m5vvttpn.js} +13 -13
- package/dist/chunks/{credential-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-maspj1v3.js → job-maspj1v3.js} +1 -1
- package/dist/chunks/{credential-91wv4xtc.js → job-mb8r74b3.js} +3 -3
- package/dist/chunks/{credential-wt0qpxd3.js → job-me6ycs1a.js} +21 -21
- package/dist/chunks/{credential-xkj02v8v.js → job-mjdbxb13.js} +24 -24
- package/dist/chunks/{credential-5rx060kx.js → job-mrf1a69w.js} +10 -10
- package/dist/chunks/{credential-c2sed5cq.js → job-mtpeagzc.js} +3 -3
- package/dist/chunks/{credential-c8bydgjz.js → job-mx9vqzsb.js} +6 -6
- package/dist/chunks/{credential-k9beb6wv.js → job-n0h8hcm5.js} +16 -16
- package/dist/chunks/{credential-1zr6mbgk.js → job-n241z3qa.js} +11 -11
- package/dist/chunks/{credential-cp1qs8w2.js → job-n36d8n8x.js} +16 -16
- package/dist/chunks/{credential-84vpb2vm.js → job-n9asgb54.js} +11 -11
- package/dist/chunks/{credential-9ht0s32k.js → job-n9xx8v2w.js} +30 -30
- package/dist/chunks/{credential-jfnkvmfm.js → job-nc7jj524.js} +9 -9
- package/dist/chunks/{credential-h4430by2.js → job-nf6m5d5f.js} +9 -9
- package/dist/chunks/{credential-v3b64zrr.js → job-pdgc5yq2.js} +23 -23
- package/dist/chunks/{credential-4dg124c5.js → job-pfq1ksym.js} +5 -5
- package/dist/chunks/{credential-tpw6cwsb.js → job-phstrbs2.js} +8 -8
- package/dist/chunks/{credential-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{credential-kvkt1qqd.js → job-pqdnhc1j.js} +53 -53
- package/dist/chunks/{credential-xemtnvmn.js → job-prrf0erm.js} +44 -44
- package/dist/chunks/{credential-y0zxwc0w.js → job-psbkntp0.js} +23 -23
- package/dist/chunks/{credential-pezdzhns.js → job-pwestg4g.js} +33 -33
- package/dist/chunks/{credential-39cardge.js → job-q1gw77h8.js} +11 -11
- package/dist/chunks/{credential-m0ghcn19.js → job-q5swsrkg.js} +19 -19
- package/dist/chunks/job-qc068m1q.js +18 -0
- package/dist/chunks/{credential-gepknegz.js → job-qdx5nape.js} +34 -34
- package/dist/chunks/{credential-1gs191g7.js → job-qfrm95v6.js} +5 -5
- package/dist/chunks/{credential-2k8khapm.js → job-qgn6gcr1.js} +5 -5
- package/dist/chunks/{credential-fkcghbkc.js → job-qk3y40rv.js} +15 -15
- package/dist/chunks/{credential-qnc92qwc.js → job-qnc92qwc.js} +1 -1
- package/dist/chunks/{credential-e41w5jk2.js → job-qpbfapt8.js} +184 -184
- package/dist/chunks/{credential-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-tqyhj4xt.js → job-qtpmzfhp.js} +4 -4
- package/dist/chunks/{credential-bqanrybh.js → job-qxrmnm1s.js} +25 -25
- package/dist/chunks/{credential-qm3kde9e.js → job-qyyjyxch.js} +33 -33
- package/dist/chunks/{credential-ja06zn37.js → job-r7m15gks.js} +11 -11
- package/dist/chunks/{credential-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{credential-rert0e01.js → job-rert0e01.js} +2 -2
- package/dist/chunks/{credential-rj3eygr5.js → job-rj3eygr5.js} +2 -2
- package/dist/chunks/{credential-0xqyf95c.js → job-rk7s9xkn.js} +4 -4
- package/dist/chunks/{credential-sy29epdy.js → job-ry6831an.js} +9 -9
- package/dist/chunks/{credential-xxb6073h.js → job-ryppr2g9.js} +24 -24
- package/dist/chunks/{credential-waskdk5r.js → job-s2z0d44b.js} +4 -4
- package/dist/chunks/{credential-1gfgk62c.js → job-s5met55r.js} +8 -8
- package/dist/chunks/{credential-sa8ekw3f.js → job-sa8ekw3f.js} +2 -2
- package/dist/chunks/{credential-raby7m75.js → job-sn78md6r.js} +8 -8
- package/dist/chunks/{credential-e80seqcp.js → job-sxcaecc0.js} +3 -3
- package/dist/chunks/{credential-bfzpxde3.js → job-sxf09kmx.js} +27 -27
- package/dist/chunks/{credential-syv4x271.js → job-syv4x271.js} +1 -1
- package/dist/chunks/{credential-gkcjs2dn.js → job-t0pyhqcw.js} +11 -11
- package/dist/chunks/{credential-nr6ymt8h.js → job-t6sa502c.js} +5 -5
- package/dist/chunks/{credential-0dwp6g5k.js → job-t959ne8k.js} +18 -18
- package/dist/chunks/{credential-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{credential-8s3zmv7m.js → job-td89qvvd.js} +50 -50
- package/dist/chunks/{credential-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{credential-tm0kqsz3.js → job-tm0kqsz3.js} +1 -1
- package/dist/chunks/{credential-z6yj3edv.js → job-tmf7ragz.js} +23 -23
- package/dist/chunks/{credential-43wrgcn8.js → job-tq8ecwgx.js} +50 -50
- package/dist/chunks/{credential-8h1a173j.js → job-tr7pah2h.js} +17 -17
- package/dist/chunks/{credential-8twccqt2.js → job-tx5jbm57.js} +18 -18
- package/dist/chunks/{credential-q66y2r74.js → job-ty2796qv.js} +26 -26
- package/dist/chunks/{credential-tyytaxap.js → job-tyytaxap.js} +1 -1
- package/dist/chunks/{credential-v0es1rhs.js → job-v0es1rhs.js} +2 -2
- package/dist/chunks/{credential-7fv44pcf.js → job-v1qs5gee.js} +14 -14
- package/dist/chunks/{credential-v7p4zvkq.js → job-v7p4zvkq.js} +2 -2
- package/dist/chunks/{credential-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-0q1x4t4y.js → job-vf2jwzcg.js} +22 -22
- package/dist/chunks/{credential-fnx95t7x.js → job-vfcwmzqw.js} +26 -26
- package/dist/chunks/{credential-14d1mxc2.js → job-vj9cy051.js} +37 -37
- package/dist/chunks/{credential-raf8x87w.js → job-vvnh5rp7.js} +14 -14
- package/dist/chunks/{credential-t4hrrcp4.js → job-vy0ttj5r.js} +37 -37
- package/dist/chunks/{credential-sp975na0.js → job-vzqym90d.js} +13 -13
- package/dist/chunks/{credential-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{credential-a5xd9ph1.js → job-w084rf3c.js} +20 -20
- package/dist/chunks/{credential-84txncab.js → job-w1eejvng.js} +5 -5
- package/dist/chunks/{credential-g6yfr6ja.js → job-w39jehkq.js} +5 -5
- package/dist/chunks/{credential-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-q6dxph2r.js → job-w9a2a3nz.js} +5 -5
- package/dist/chunks/{credential-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{credential-rw0m67m7.js → job-wm2k908j.js} +5 -5
- package/dist/chunks/{credential-9exzkq1k.js → job-wqz0e28m.js} +5 -5
- package/dist/chunks/{credential-49k8713w.js → job-wrce305w.js} +17 -17
- package/dist/chunks/{credential-2ekmzeb3.js → job-wrn1yqb7.js} +23 -23
- package/dist/chunks/{credential-4qfzbkvv.js → job-ws9526b8.js} +15 -15
- package/dist/chunks/{credential-43fgj17e.js → job-wxevmznr.js} +25 -25
- package/dist/chunks/{credential-cf1pjmre.js → job-x4aswrad.js} +43 -43
- package/dist/chunks/{credential-pe6c81vb.js → job-x8s5s07e.js} +33 -33
- package/dist/chunks/{credential-8bgb3vcd.js → job-x97aaehj.js} +27 -27
- package/dist/chunks/{credential-fepda2xk.js → job-xbwbtnkh.js} +35 -35
- package/dist/chunks/{credential-1j52r7da.js → job-xdt9hfzq.js} +11 -11
- package/dist/chunks/{credential-995t9yvb.js → job-xrvt9x77.js} +26 -26
- package/dist/chunks/{credential-fknms47v.js → job-xsy68a41.js} +14 -14
- package/dist/chunks/{credential-a6mdarw6.js → job-xtr9q6v2.js} +20 -20
- package/dist/chunks/{credential-33864hhd.js → job-xyxhkzpb.js} +6 -6
- package/dist/chunks/{credential-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-dpkg50ah.js → job-y71avatq.js} +4 -4
- package/dist/chunks/{credential-zvxktrxk.js → job-yd5rae36.js} +24 -24
- package/dist/chunks/{credential-5w9yjztw.js → job-yqc6bamn.js} +1 -1
- package/dist/chunks/{credential-0k7vzhf9.js → job-yvx9n9ae.js} +43 -43
- package/dist/chunks/{credential-1ffvrpkg.js → job-ywt8jp22.js} +6 -6
- package/dist/chunks/{credential-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-hxpbrr1s.js → job-z2sc3gt3.js} +22 -22
- package/dist/chunks/{credential-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/chunks/{credential-scgrse2b.js → job-zyk1yjk8.js} +5 -5
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +366 -366
- 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 +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +101 -101
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +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 +354 -354
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- 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 +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/credential-bdft46kr.js +0 -253
- package/dist/chunks/credential-ep8gns01.js +0 -513
- package/dist/chunks/credential-n95b3jav.js +0 -18
- package/dist/chunks/credential-qnwcn7at.js +0 -26
- /package/dist/chunks/{credential-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2bv980vf.js → job-2bv980vf.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3t0ybcrp.js → job-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-6q2bdcd1.js → job-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-84wd9syh.js → job-84wd9syh.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hcxmzztb.js → job-hcxmzztb.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jze0r7bz.js → job-jze0r7bz.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-m18g726c.js → job-m18g726c.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-pkyv6v7h.js → job-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{credential-pyv0edze.js → job-pyv0edze.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-ve7vex1e.js → job-ve7vex1e.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wjj7prxr.js → job-wjj7prxr.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service85,
|
|
3
|
-
node89
|
|
4
|
-
} from "./credential-trex24va.js";
|
|
5
1
|
import {
|
|
6
2
|
Service84,
|
|
7
3
|
node88
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./job-hn9raw8n.js";
|
|
5
|
+
import {
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./job-n0h8hcm5.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID7,
|
|
14
|
+
Service56,
|
|
15
|
+
node58
|
|
16
|
+
} from "./job-yd5rae36.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service62,
|
|
22
|
+
node66
|
|
23
|
+
} from "./job-9sf2b1wk.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./job-h9wp8z5w.js";
|
|
36
36
|
import {
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./job-eth2ss2a.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./job-yqc6bamn.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service35,
|
|
48
|
+
node39
|
|
49
|
+
} from "./job-qyyjyxch.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service44,
|
|
52
|
+
node46
|
|
53
|
+
} from "./job-vzqym90d.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./job-zyk1yjk8.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./job-t6sa502c.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./job-tdstcens.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./job-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service9,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
|
-
layer: () =>
|
|
80
|
-
node: () =>
|
|
79
|
+
layer: () => layer6,
|
|
80
|
+
node: () => node11,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "@opencode/ai";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
96
|
-
class
|
|
96
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
97
97
|
}
|
|
98
98
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
99
99
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -172,14 +172,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
172
172
|
};
|
|
173
173
|
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.";
|
|
174
174
|
var LEGACY_HEADING = "## Additional Context";
|
|
175
|
-
var
|
|
176
|
-
const agents = yield*
|
|
177
|
-
const bus = yield*
|
|
175
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
176
|
+
const agents = yield* Service56;
|
|
177
|
+
const bus = yield* Service82;
|
|
178
178
|
const llm = yield* LLMClient.Service;
|
|
179
|
-
const catalog = yield*
|
|
180
|
-
const models = yield*
|
|
181
|
-
const db = (yield*
|
|
182
|
-
const requests = yield*
|
|
179
|
+
const catalog = yield* Service62;
|
|
180
|
+
const models = yield* Service44;
|
|
181
|
+
const db = (yield* Service84).db;
|
|
182
|
+
const requests = yield* Service35;
|
|
183
183
|
const state = create3({
|
|
184
184
|
name: "session-compaction",
|
|
185
185
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -197,7 +197,7 @@ var layer8 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
197
197
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
198
198
|
return { status: "skipped" };
|
|
199
199
|
const native = context.model.compaction?.type === "native";
|
|
200
|
-
const agent = native ? undefined : yield* agents.get(
|
|
200
|
+
const agent = native ? undefined : yield* agents.get(ID7.make("compaction"));
|
|
201
201
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
202
202
|
return;
|
|
203
203
|
})))) ?? context.model;
|
|
@@ -473,16 +473,16 @@ ${text}`;
|
|
|
473
473
|
}, { metadata: outcome.metadata });
|
|
474
474
|
return { status: "completed" };
|
|
475
475
|
});
|
|
476
|
-
return
|
|
476
|
+
return Service9.of({
|
|
477
477
|
transform: state.transform,
|
|
478
478
|
reload: state.reload,
|
|
479
479
|
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))))
|
|
480
480
|
});
|
|
481
481
|
}));
|
|
482
|
-
var
|
|
483
|
-
service:
|
|
484
|
-
layer:
|
|
485
|
-
deps: [
|
|
482
|
+
var node11 = makeLocationNode({
|
|
483
|
+
service: Service9,
|
|
484
|
+
layer: layer6,
|
|
485
|
+
deps: [node58, node86, node88, llmClient2, node66, node39, node46]
|
|
486
486
|
});
|
|
487
487
|
var previousCompaction = (messages) => {
|
|
488
488
|
const [first] = messages;
|
|
@@ -696,4 +696,4 @@ var estimateMedia = (mime) => {
|
|
|
696
696
|
return 0;
|
|
697
697
|
};
|
|
698
698
|
|
|
699
|
-
export {
|
|
699
|
+
export { Service9, buildPrompt2, layer6, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-pyv0edze.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-syv4x271.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./job-vfcwmzqw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./job-pqdnhc1j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service70;
|
|
57
|
+
const permission = yield* Service53;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { name14, description6,
|
|
120
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./job-vvnh5rp7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./job-a638f9xa.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-sxf09kmx.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin24
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin24 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service50;
|
|
35
|
+
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin24, exports_reference };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info11,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info11 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info11, exports_provider2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-7gra0nqm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service77,
|
|
16
|
+
node81
|
|
17
|
+
} from "./job-cq272wan.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service76,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node80,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service76 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service83;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service77;
|
|
110
|
+
return Service76.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node80 = makeGlobalNode({
|
|
171
|
+
service: Service76,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node87, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node81]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service76, isError2, validateBranch2, node80, exports_repository_cache };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./job-n0h8hcm5.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./job-vvnh5rp7.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service63,
|
|
20
|
+
node67,
|
|
21
|
+
Event12
|
|
22
|
+
} from "./job-3jtzdpaa.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,27 +30,27 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event11,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID9,
|
|
36
|
+
Info: () => Info16,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service62,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node66,
|
|
45
|
+
parse: () => parse4,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event11 } from "@opencode/schema/model";
|
|
53
|
+
var ID9 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info16 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service62 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
76
|
-
const bus = yield*
|
|
77
|
-
const location = yield*
|
|
74
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service63;
|
|
76
|
+
const bus = yield* Service82;
|
|
77
|
+
const location = yield* Service80;
|
|
78
78
|
let input;
|
|
79
79
|
const state = create3({
|
|
80
80
|
name: "model",
|
|
@@ -119,7 +119,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
119
119
|
const models = writable(providerID);
|
|
120
120
|
if (!models)
|
|
121
121
|
return;
|
|
122
|
-
const model = draft(providerID, modelID) ??
|
|
122
|
+
const model = draft(providerID, modelID) ?? Info16.default(providerID, modelID);
|
|
123
123
|
update(model);
|
|
124
124
|
model.id = modelID;
|
|
125
125
|
model.providerID = providerID;
|
|
@@ -209,8 +209,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
209
209
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
210
210
|
});
|
|
211
211
|
});
|
|
212
|
-
yield* bus.subscribe(
|
|
213
|
-
return
|
|
212
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
213
|
+
return Service62.of({
|
|
214
214
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
215
215
|
reload,
|
|
216
216
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -229,7 +229,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
229
229
|
})
|
|
230
230
|
});
|
|
231
231
|
}));
|
|
232
|
-
var
|
|
232
|
+
var node66 = makeLocationNode({ service: Service62, layer, deps: [node67, node86, node84] });
|
|
233
233
|
var PREFERRED_FREE = [
|
|
234
234
|
"big-pickle",
|
|
235
235
|
"deepseek-v4.1-flash-free",
|
|
@@ -237,7 +237,7 @@ var PREFERRED_FREE = [
|
|
|
237
237
|
"muse-spark-1.3-contributor-free"
|
|
238
238
|
];
|
|
239
239
|
function preferFree(models) {
|
|
240
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
240
|
+
const freeOnly = models.every((model) => model.providerID === ID10.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
241
241
|
if (!freeOnly)
|
|
242
242
|
return models;
|
|
243
243
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -253,12 +253,12 @@ function compatibility2(input) {
|
|
|
253
253
|
return;
|
|
254
254
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function parse4(input) {
|
|
257
257
|
const index = input.indexOf("/");
|
|
258
258
|
return {
|
|
259
|
-
providerID:
|
|
260
|
-
modelID:
|
|
259
|
+
providerID: ID10.make(index === -1 ? input : input.slice(0, index)),
|
|
260
|
+
modelID: ID9.make(index === -1 ? "" : input.slice(index + 1))
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { ID9, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info16, Service62, node66, supportsText2, compatibility2, parse4, exports_model2, Event11 };
|