@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
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./job-vvnh5rp7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service57
|
|
11
|
+
} from "./job-3aa4b0fh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./job-64d5ccde.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service18,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-m5vvttpn.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service53
|
|
22
|
+
} from "./job-pqdnhc1j.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service15,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-b54kpts0.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./job-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin9,
|
|
42
|
+
name: () => name6,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name6 = "patch";
|
|
89
|
+
var Input6 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output4 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin9 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service57;
|
|
112
|
+
const access = yield* Service15;
|
|
113
|
+
const fileMutation = yield* Service18;
|
|
114
|
+
const formatter = yield* Service16;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service53;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin14 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name6, Input6, Applied2, Output4, toModelContent4, Plugin9, exports_patch };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-x8s5s07e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID11,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-a276wvpv.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID11.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./job-n0h8hcm5.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service10,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer7,
|
|
17
|
+
node: () => node12
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service10 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service82;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service10.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node12 = makeGlobalNode({ service: Service10, layer: layer7, deps: [node86] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service10, layer7, node12, exports_sdk };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./job-hn9raw8n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./job-mx9vqzsb.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-qc068m1q.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-h9wp8z5w.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-eth2ss2a.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-qyyjyxch.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./job-aykdpe63.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service45;
|
|
36
|
+
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service28;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service80
|
|
14
|
+
} from "./job-vvnh5rp7.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-fe6hrmfe.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin38,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin38 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service80;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin38, exports_git };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./job-n0h8hcm5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service52,
|
|
6
|
+
Event7
|
|
7
|
+
} from "./job-me6ycs1a.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service82;
|
|
24
|
+
const wellknown = yield* Service52;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin15 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event7.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./job-vvnh5rp7.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-fe6hrmfe.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin37,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin37 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service80;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin37, exports_hg };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-cqpeec48.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./job-n0h8hcm5.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./job-x8s5s07e.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID11,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-a276wvpv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID10
|
|
17
|
+
} from "./job-3jtzdpaa.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID9,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-9sf2b1wk.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID10.make("digitalocean");
|
|
31
|
+
var integrationID = ID11.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service82;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID9.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./job-vvnh5rp7.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service16,
|
|
17
|
+
node: () => node18
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service16 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service16.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node18 = makeLocationNode({
|
|
91
|
+
service: Service16,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service16, node18, exports_formatter2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID3,
|
|
6
|
+
Service40
|
|
7
|
+
} from "./job-0fkfrjz2.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-mtpeagzc.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-4e0q05wd.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service40;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID3.make(from),
|
|
91
|
+
to: ID3.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|