@opencode/core 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{shell-jn0tk1mz.js → repository-cache-00x4qneg.js} +8 -8
- package/dist/chunks/{shell-zk3946p4.js → repository-cache-065m31h9.js} +11 -11
- package/dist/chunks/{shell-kgcb372b.js → repository-cache-0fztarvd.js} +13 -11
- package/dist/chunks/{shell-2ndqr24s.js → repository-cache-0qb6tpgj.js} +23 -23
- package/dist/chunks/{shell-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
- package/dist/chunks/{shell-dajdhw2j.js → repository-cache-0vf8bfn5.js} +4 -4
- package/dist/chunks/{shell-w921m42b.js → repository-cache-0vtn597b.js} +24 -24
- package/dist/chunks/{shell-g4qztyvf.js → repository-cache-0xfcnhey.js} +35 -35
- package/dist/chunks/{shell-ey7dv0w4.js → repository-cache-15e8hpnt.js} +7 -7
- package/dist/chunks/{shell-1acjjqhc.js → repository-cache-1acjjqhc.js} +1 -1
- package/dist/chunks/{shell-1ep4rre3.js → repository-cache-1ep4rre3.js} +1 -1
- package/dist/chunks/{shell-9vyc8vj1.js → repository-cache-1ngx28bn.js} +4 -4
- package/dist/chunks/{shell-41gge36f.js → repository-cache-1ptgpzsy.js} +16 -16
- package/dist/chunks/{shell-wyepen03.js → repository-cache-1q92ejr7.js} +21 -21
- package/dist/chunks/{shell-baqyxak2.js → repository-cache-1ze9gtzp.js} +4 -4
- package/dist/chunks/{shell-v715hp7c.js → repository-cache-21n0xhjn.js} +13 -13
- package/dist/chunks/{shell-5jjsdkbk.js → repository-cache-2577k5af.js} +17 -17
- package/dist/chunks/{shell-kbxy4n3g.js → repository-cache-2ky2kwtz.js} +4 -4
- package/dist/chunks/{shell-kcrn19zp.js → repository-cache-2v5tj3gs.js} +20 -20
- package/dist/chunks/{shell-6559rxr6.js → repository-cache-37cqxn50.js} +3 -3
- package/dist/chunks/{shell-2fxx0rz9.js → repository-cache-3fcx2j2w.js} +15 -15
- package/dist/chunks/{shell-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-kg4680zm.js → repository-cache-3hkcw4we.js} +13 -13
- package/dist/chunks/{shell-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
- package/dist/chunks/{shell-jaqs594m.js → repository-cache-3ns80m0h.js} +18 -18
- package/dist/chunks/{shell-pg6gmj9m.js → repository-cache-3rq8r7zt.js} +12 -12
- package/dist/chunks/{shell-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-2qhkdr5r.js → repository-cache-3ty6jwen.js} +6 -6
- package/dist/chunks/{shell-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{shell-6c27xjax.js → repository-cache-43x4yszk.js} +17 -17
- package/dist/chunks/{shell-2g93jbb8.js → repository-cache-46mephjz.js} +45 -45
- package/dist/chunks/{shell-pdf17x7p.js → repository-cache-47cwnsyn.js} +11 -11
- package/dist/chunks/{shell-k51kf5tx.js → repository-cache-4bk9s89f.js} +9 -9
- package/dist/chunks/{shell-0jkbja5p.js → repository-cache-4prqf89h.js} +24 -24
- package/dist/chunks/{shell-vdwzhxqd.js → repository-cache-4tyzw6xh.js} +7 -7
- package/dist/chunks/{shell-70y17xeh.js → repository-cache-4v4bfvma.js} +5 -5
- package/dist/chunks/{shell-c1bdvjkd.js → repository-cache-4wehpdsn.js} +22 -22
- package/dist/chunks/{shell-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{shell-6yz0wx8n.js → repository-cache-57myy5jh.js} +5 -5
- package/dist/chunks/{shell-75w6s6ma.js → repository-cache-5dycw2n2.js} +22 -22
- package/dist/chunks/{shell-h0bzvw2w.js → repository-cache-5f5dfnyg.js} +2 -2
- package/dist/chunks/{shell-wrmbd4ct.js → repository-cache-5m84d531.js} +8 -8
- package/dist/chunks/{shell-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-kfmczrqx.js → repository-cache-63t8kvdx.js} +16 -16
- package/dist/chunks/{shell-6827pfxn.js → repository-cache-6827pfxn.js} +1 -1
- package/dist/chunks/{shell-1ncsq4gc.js → repository-cache-6bq45c98.js} +44 -44
- package/dist/chunks/{shell-k0ev5b6x.js → repository-cache-6e57763q.js} +5 -5
- package/dist/chunks/{shell-depwzj9d.js → repository-cache-6hjx5zpb.js} +8 -8
- package/dist/chunks/{shell-c7fvvtsq.js → repository-cache-6kthashm.js} +32 -32
- package/dist/chunks/{shell-y0st3mmr.js → repository-cache-6nq3099y.js} +2 -2
- package/dist/chunks/{shell-wqfheh0m.js → repository-cache-6qn8gjqg.js} +20 -20
- package/dist/chunks/{shell-16fye9k3.js → repository-cache-6s242g8e.js} +45 -45
- package/dist/chunks/{shell-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
- package/dist/chunks/{shell-f2mw6jyj.js → repository-cache-6xjvsea3.js} +11 -11
- package/dist/chunks/{shell-nb27xjmq.js → repository-cache-7303zb1f.js} +18 -18
- package/dist/chunks/{shell-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
- package/dist/chunks/{shell-yzkfk5qj.js → repository-cache-77a66swy.js} +9 -9
- package/dist/chunks/{shell-envzrdm3.js → repository-cache-77d0na5t.js} +47 -47
- package/dist/chunks/{shell-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-rw4jj2rk.js → repository-cache-7jwh32ts.js} +20 -20
- package/dist/chunks/{shell-ahe504bx.js → repository-cache-7p9sqgn0.js} +16 -16
- package/dist/chunks/{shell-7v6vae4w.js → repository-cache-7v6vae4w.js} +3 -3
- package/dist/chunks/{shell-f5852yed.js → repository-cache-7vt9yzvg.js} +10 -10
- package/dist/chunks/{shell-432psgyy.js → repository-cache-7z1jx34y.js} +21 -21
- package/dist/chunks/{shell-0x5xc4da.js → repository-cache-83whknbm.js} +35 -35
- package/dist/chunks/{shell-tqr4vm00.js → repository-cache-842mqg42.js} +11 -11
- package/dist/chunks/{shell-ffxxyzcb.js → repository-cache-86eqfcce.js} +9 -9
- package/dist/chunks/{shell-8bee7htz.js → repository-cache-8d1pd201.js} +21 -21
- package/dist/chunks/{shell-3ys3ran9.js → repository-cache-8g2mbw9h.js} +20 -20
- package/dist/chunks/{shell-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
- package/dist/chunks/{shell-8mywswrd.js → repository-cache-8mywswrd.js} +1 -1
- package/dist/chunks/{shell-trg827xp.js → repository-cache-8reangzk.js} +4 -4
- package/dist/chunks/{shell-fvgqktbw.js → repository-cache-8t50b4ww.js} +18 -18
- package/dist/chunks/{shell-jp35yjqz.js → repository-cache-8vy56zzm.js} +29 -29
- package/dist/chunks/{shell-4b0g6gv7.js → repository-cache-94p6wp9x.js} +24 -24
- package/dist/chunks/{shell-9w64rzck.js → repository-cache-95tpv30c.js} +13 -13
- package/dist/chunks/{shell-tpw6cwsb.js → repository-cache-9hn6k4tm.js} +8 -8
- package/dist/chunks/{shell-0dwthkwv.js → repository-cache-9hzyxvsk.js} +12 -12
- package/dist/chunks/{shell-5xghjtfa.js → repository-cache-9m35c2r0.js} +32 -32
- package/dist/chunks/{shell-srmwk7dt.js → repository-cache-9v5raxs8.js} +5 -5
- package/dist/chunks/repository-cache-9wrj4pc9.js +257 -0
- package/dist/chunks/{shell-3zqqw7j0.js → repository-cache-a0kr73jj.js} +10 -10
- package/dist/chunks/{shell-tb1cafh6.js → repository-cache-a3c7ahw6.js} +4 -4
- package/dist/chunks/{shell-phz50fbd.js → repository-cache-a4db0rvv.js} +9 -9
- package/dist/chunks/{shell-zc34mber.js → repository-cache-a58n7r3a.js} +41 -41
- package/dist/chunks/{shell-5b64kxs9.js → repository-cache-a75ad8v4.js} +1 -1
- package/dist/chunks/{shell-3y377wv9.js → repository-cache-addxnjmp.js} +4 -4
- package/dist/chunks/{shell-vk2t4k53.js → repository-cache-b2ckp95n.js} +14 -14
- package/dist/chunks/{shell-zjtrsxny.js → repository-cache-b4nzaj04.js} +5 -5
- package/dist/chunks/{shell-zav06jzw.js → repository-cache-baaqp4zd.js} +4 -4
- package/dist/chunks/{shell-9vbreq9z.js → repository-cache-bf4bmw04.js} +11 -11
- package/dist/chunks/{shell-1ffvrpkg.js → repository-cache-bjx1sjef.js} +6 -6
- package/dist/chunks/{shell-04s17g1v.js → repository-cache-bq3hn31g.js} +50 -50
- package/dist/chunks/{shell-027ww35v.js → repository-cache-brcmb8c2.js} +41 -41
- package/dist/chunks/repository-cache-by5v678g.js +18 -0
- package/dist/chunks/{shell-fypxcyz2.js → repository-cache-c15zmvx5.js} +7 -7
- package/dist/chunks/{shell-c1fqxshp.js → repository-cache-c1fqxshp.js} +3 -3
- package/dist/chunks/{shell-axe3mf62.js → repository-cache-c2sed5cq.js} +3 -3
- package/dist/chunks/{shell-xwkencv2.js → repository-cache-c5ggqzvz.js} +12 -12
- package/dist/chunks/{shell-jfh8dh4w.js → repository-cache-cgc2saxs.js} +25 -25
- package/dist/chunks/{shell-hzdxw2qq.js → repository-cache-d2qeb4wf.js} +17 -17
- package/dist/chunks/{shell-x95qaydz.js → repository-cache-djbskq1b.js} +23 -23
- package/dist/chunks/{shell-1pd15nec.js → repository-cache-dmpxat65.js} +4 -4
- package/dist/chunks/{shell-a98yv52t.js → repository-cache-dqjdwcmj.js} +11 -11
- package/dist/chunks/{shell-ypxp1xp8.js → repository-cache-dv4jvz6s.js} +21 -21
- package/dist/chunks/{shell-y8cyz0t7.js → repository-cache-dzr38x1r.js} +11 -11
- package/dist/chunks/{shell-h896pcm5.js → repository-cache-dzse07y5.js} +6 -6
- package/dist/chunks/{shell-dcspakzd.js → repository-cache-dzxp512b.js} +54 -54
- package/dist/chunks/{shell-r2z489rp.js → repository-cache-e80seqcp.js} +3 -3
- package/dist/chunks/{shell-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
- package/dist/chunks/{shell-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-89e5dy4j.js → repository-cache-ek4c2f0v.js} +9 -9
- package/dist/chunks/{shell-e3s3zy1r.js → repository-cache-ewj35nqb.js} +10 -10
- package/dist/chunks/{shell-jmb2cr8q.js → repository-cache-exgm3bba.js} +11 -11
- package/dist/chunks/{shell-hdgwvq1e.js → repository-cache-ezhy60ay.js} +32 -32
- package/dist/chunks/{shell-hdn28k8z.js → repository-cache-f39mejfg.js} +13 -13
- package/dist/chunks/{shell-awefsnnk.js → repository-cache-f94wsmf1.js} +4 -4
- package/dist/chunks/{shell-r5ndtmnm.js → repository-cache-fbxj9tpm.js} +4 -4
- package/dist/chunks/{shell-2k8khapm.js → repository-cache-fcrkznn8.js} +5 -5
- package/dist/chunks/{shell-fcy631f0.js → repository-cache-fcy631f0.js} +1 -1
- package/dist/chunks/{shell-0x7kry74.js → repository-cache-fj6qct2w.js} +42 -42
- package/dist/chunks/{shell-9zv65pgs.js → repository-cache-fmnd8f8t.js} +16 -16
- package/dist/chunks/{shell-j148atrz.js → repository-cache-fncqf4dd.js} +5 -5
- package/dist/chunks/{shell-fww2ha2b.js → repository-cache-fww2ha2b.js} +2 -2
- package/dist/chunks/{shell-fxaymqdw.js → repository-cache-fxaymqdw.js} +1 -1
- package/dist/chunks/{shell-adehtbxa.js → repository-cache-fzdrxngq.js} +3 -3
- package/dist/chunks/{shell-6775gw9z.js → repository-cache-g2kfam58.js} +17 -17
- package/dist/chunks/{shell-50d2yybn.js → repository-cache-g5g9rrdp.js} +28 -28
- package/dist/chunks/{shell-1j769d1c.js → repository-cache-g9rqxbv3.js} +3 -3
- package/dist/chunks/{shell-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-1cbagaqy.js → repository-cache-gec8gq51.js} +8 -8
- package/dist/chunks/{shell-rnfredjj.js → repository-cache-gkge597h.js} +21 -21
- package/dist/chunks/{shell-a36y64am.js → repository-cache-gnrrjsmd.js} +16 -16
- package/dist/chunks/{shell-maneqgxr.js → repository-cache-gp5jn49f.js} +25 -25
- package/dist/chunks/{shell-f6aytc7n.js → repository-cache-gpqw730e.js} +10 -10
- package/dist/chunks/{shell-7wdpyrwx.js → repository-cache-gpz4bnby.js} +5 -5
- package/dist/chunks/{shell-yn5t1h2v.js → repository-cache-gtsbe4v4.js} +10 -10
- package/dist/chunks/{shell-3atk1qyf.js → repository-cache-h1f52gh9.js} +33 -33
- package/dist/chunks/{shell-vm9wfeep.js → repository-cache-h1schjng.js} +28 -28
- package/dist/chunks/{shell-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-6srycd3a.js → repository-cache-h74mnx9x.js} +13 -13
- package/dist/chunks/{shell-qv079c4h.js → repository-cache-h7q4kewv.js} +35 -35
- package/dist/chunks/{shell-xr38e3s7.js → repository-cache-haz4dce7.js} +17 -17
- package/dist/chunks/{shell-tt8gc4fv.js → repository-cache-hbb7npd7.js} +6 -6
- package/dist/chunks/{shell-hj7zb2g9.js → repository-cache-hfkjwy2f.js} +16 -16
- package/dist/chunks/{shell-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
- package/dist/chunks/{shell-79zqvytx.js → repository-cache-hh0jpq4c.js} +70 -70
- package/dist/chunks/{shell-htx26fav.js → repository-cache-hjygm116.js} +37 -37
- package/dist/chunks/{shell-s389npg2.js → repository-cache-hs0qwjvp.js} +42 -42
- package/dist/chunks/{shell-asecphd2.js → repository-cache-ht1p01b4.js} +13 -13
- package/dist/chunks/{shell-kzy2940e.js → repository-cache-j5w7gx2k.js} +36 -36
- package/dist/chunks/{shell-kcz1zv3y.js → repository-cache-jargxt5j.js} +20 -20
- package/dist/chunks/{shell-sh0qrkbh.js → repository-cache-jaym3td0.js} +17 -17
- package/dist/chunks/{shell-6eey2wfv.js → repository-cache-jnk63p10.js} +36 -36
- package/dist/chunks/{shell-x3p3s57s.js → repository-cache-jsg4jcbs.js} +3 -3
- package/dist/chunks/{shell-51ajtkpf.js → repository-cache-k1jycaz7.js} +27 -27
- package/dist/chunks/{shell-bj7p7j85.js → repository-cache-k9gaxmgh.js} +17 -17
- package/dist/chunks/{shell-0kt21gsk.js → repository-cache-kf0zwkk2.js} +22 -22
- package/dist/chunks/{shell-9d6xe95g.js → repository-cache-kh81xvt5.js} +3 -3
- package/dist/chunks/{shell-6p4g3g3k.js → repository-cache-knhxpfbp.js} +19 -19
- package/dist/chunks/{shell-6rx6hnnq.js → repository-cache-kq77jz7h.js} +3 -3
- package/dist/chunks/{shell-g6bqk7eb.js → repository-cache-kqe08t1d.js} +11 -11
- package/dist/chunks/{shell-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
- package/dist/chunks/{shell-4d10bng8.js → repository-cache-kx8xg74a.js} +12 -12
- package/dist/chunks/{shell-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
- package/dist/chunks/{shell-wjjv5c56.js → repository-cache-mhdex35g.js} +9 -9
- package/dist/chunks/{shell-xayeaa42.js → repository-cache-mk935gd8.js} +9 -9
- package/dist/chunks/{shell-02vamycj.js → repository-cache-mmfyj663.js} +5 -5
- package/dist/chunks/{shell-v6abvp0h.js → repository-cache-mn5j6xz9.js} +5 -5
- package/dist/chunks/{shell-pw4zabmd.js → repository-cache-ms89s1xg.js} +179 -179
- package/dist/chunks/{shell-603vct5e.js → repository-cache-mx97exft.js} +30 -30
- package/dist/chunks/{shell-qajney5x.js → repository-cache-n268d91j.js} +11 -11
- package/dist/chunks/{shell-387dpq4s.js → repository-cache-na3b46a7.js} +18 -18
- package/dist/chunks/{shell-jmxxwznn.js → repository-cache-nbs22qen.js} +4 -4
- package/dist/chunks/{shell-jtjk5p9j.js → repository-cache-njebe5fw.js} +19 -19
- package/dist/chunks/{shell-2exgm5zs.js → repository-cache-nxhdjhjw.js} +45 -45
- package/dist/chunks/{shell-nz56sr1f.js → repository-cache-nz56sr1f.js} +2 -2
- package/dist/chunks/{shell-mhpexy54.js → repository-cache-p7pstqch.js} +15 -15
- package/dist/chunks/{shell-ae0va0j1.js → repository-cache-pfhhvb3w.js} +5 -5
- package/dist/chunks/{shell-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{shell-17drjap0.js → repository-cache-pmx6p9t5.js} +34 -34
- package/dist/chunks/{shell-dpkssma6.js → repository-cache-pmx89wj9.js} +12 -12
- package/dist/chunks/{shell-xg9m98z8.js → repository-cache-pnf7bv7v.js} +34 -34
- package/dist/chunks/{shell-6hj3adh9.js → repository-cache-ps8kb85m.js} +15 -15
- package/dist/chunks/{shell-8sze2n9a.js → repository-cache-py3kkmfq.js} +6 -6
- package/dist/chunks/{shell-9bh5q6pj.js → repository-cache-q0p071b0.js} +2 -2
- package/dist/chunks/{shell-37kervd6.js → repository-cache-qcy13bhz.js} +17 -17
- package/dist/chunks/{shell-cwa6csj7.js → repository-cache-qmqgtz8f.js} +9 -9
- package/dist/chunks/{shell-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
- package/dist/chunks/{shell-jgp4qpwz.js → repository-cache-qsbh95pa.js} +18 -18
- package/dist/chunks/{shell-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-fbxzvvsv.js → repository-cache-r38tb40c.js} +8 -8
- package/dist/chunks/{shell-9jf0f2cs.js → repository-cache-r8mc9fw8.js} +7 -7
- package/dist/chunks/{shell-wx13yw6b.js → repository-cache-r8qzytx6.js} +11 -11
- package/dist/chunks/{shell-4nejsby7.js → repository-cache-r8tt5pdh.js} +20 -20
- package/dist/chunks/{shell-e738kmdw.js → repository-cache-rd8qctj1.js} +6 -6
- package/dist/chunks/{shell-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-rert0e01.js → repository-cache-rert0e01.js} +2 -2
- package/dist/chunks/{shell-5tt655ph.js → repository-cache-rfmm8jvy.js} +28 -28
- package/dist/chunks/{shell-s8d7rejh.js → repository-cache-rhjbct0v.js} +4 -4
- package/dist/chunks/{shell-rj3eygr5.js → repository-cache-rj3eygr5.js} +2 -2
- package/dist/chunks/{shell-8z3cvr3k.js → repository-cache-rjf4ffg7.js} +18 -18
- package/dist/chunks/{shell-gt7zzye3.js → repository-cache-rmtct2jg.js} +19 -19
- package/dist/chunks/{shell-k7myrtme.js → repository-cache-rpjgfq5s.js} +9 -9
- package/dist/chunks/{shell-kxnmaf3s.js → repository-cache-rrymd76b.js} +23 -23
- package/dist/chunks/{shell-vdaaq34n.js → repository-cache-s2b0mt3v.js} +1 -1
- package/dist/chunks/{shell-fqtvmpfq.js → repository-cache-s5met55r.js} +8 -8
- package/dist/chunks/{shell-sa8ekw3f.js → repository-cache-sa8ekw3f.js} +2 -2
- package/dist/chunks/{shell-h055mtc6.js → repository-cache-savvjd0x.js} +20 -18
- package/dist/chunks/{shell-6f33sypz.js → repository-cache-scqf7y3w.js} +82 -82
- package/dist/chunks/{shell-pnzpyq4k.js → repository-cache-sxy57xts.js} +86 -86
- package/dist/chunks/{shell-syv4x271.js → repository-cache-syv4x271.js} +1 -1
- package/dist/chunks/{shell-mqqhst8y.js → repository-cache-sz15zhhw.js} +4 -4
- package/dist/chunks/{shell-2sq5abjd.js → repository-cache-szwj80cc.js} +3 -3
- package/dist/chunks/{shell-wmxpb99x.js → repository-cache-t4rnqcab.js} +3 -3
- package/dist/chunks/{shell-8dfnjpdr.js → repository-cache-t5gc52ef.js} +18 -18
- package/dist/chunks/{shell-gmbs0yfc.js → repository-cache-t5nm1h7p.js} +49 -49
- package/dist/chunks/{shell-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-89znhe33.js → repository-cache-tcezcvh9.js} +4 -4
- package/dist/chunks/{shell-cf6pg1xw.js → repository-cache-tdbmj82j.js} +8 -8
- package/dist/chunks/{shell-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{shell-41wjcvt0.js → repository-cache-tfp3dpkf.js} +5 -5
- package/dist/chunks/{shell-sjtzq83v.js → repository-cache-tgfxvvf8.js} +10 -10
- package/dist/chunks/{shell-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
- package/dist/chunks/{shell-9hm03b9h.js → repository-cache-twy8yh4t.js} +25 -25
- package/dist/chunks/{shell-af8g5zb6.js → repository-cache-txwpsv2p.js} +21 -21
- package/dist/chunks/{shell-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
- package/dist/chunks/{shell-ehbg6y37.js → repository-cache-tza759th.js} +35 -35
- package/dist/chunks/{shell-hvp5ag27.js → repository-cache-tzaz3z0t.js} +6 -6
- package/dist/chunks/repository-cache-v061a9c2.js +517 -0
- package/dist/chunks/{shell-tx0gtb9m.js → repository-cache-v210v162.js} +9 -9
- package/dist/chunks/{shell-wfztk8xg.js → repository-cache-v30mg9q2.js} +8 -8
- package/dist/chunks/{shell-6hh8tjw2.js → repository-cache-v5dkyp31.js} +4 -4
- package/dist/chunks/{shell-ztk94t9n.js → repository-cache-v7kdkfkp.js} +25 -25
- package/dist/chunks/{shell-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
- package/dist/chunks/{shell-m0r31qfn.js → repository-cache-vbfgae2j.js} +4 -4
- package/dist/chunks/{shell-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-8rnv749x.js → repository-cache-vhj1m4b0.js} +24 -24
- package/dist/chunks/{shell-ypg4226y.js → repository-cache-vhwx28nx.js} +18 -18
- package/dist/chunks/{shell-8471hwdy.js → repository-cache-vnm2wjz3.js} +14 -14
- package/dist/chunks/{shell-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{shell-vywzj4qb.js → repository-cache-w12shgbp.js} +23 -23
- package/dist/chunks/{shell-84txncab.js → repository-cache-w1eejvng.js} +5 -5
- package/dist/chunks/repository-cache-w2nph7ph.js +26 -0
- package/dist/chunks/{shell-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{shell-03p3wnad.js → repository-cache-wp7khyzv.js} +46 -46
- package/dist/chunks/{shell-fmax1t4t.js → repository-cache-wqz8rkkb.js} +21 -21
- package/dist/chunks/{shell-j9abz2tj.js → repository-cache-x06a86kn.js} +16 -16
- package/dist/chunks/{shell-0ztvstyz.js → repository-cache-x2gnjtg4.js} +7 -7
- package/dist/chunks/{shell-mwpm31k7.js → repository-cache-x4jd4xmr.js} +28 -28
- package/dist/chunks/{shell-ajpgmfw4.js → repository-cache-x7wne18b.js} +15 -15
- package/dist/chunks/{shell-xfkkasph.js → repository-cache-xfkkasph.js} +1 -1
- package/dist/chunks/{shell-0w62qmxp.js → repository-cache-xkrbr206.js} +8 -8
- package/dist/chunks/{shell-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-q41jq0qr.js → repository-cache-y50tnaxc.js} +11 -11
- package/dist/chunks/{shell-y71avatq.js → repository-cache-y71avatq.js} +1 -1
- package/dist/chunks/{shell-xkmpyy1n.js → repository-cache-y8tjtsy7.js} +9 -9
- package/dist/chunks/{shell-ccbzs5ke.js → repository-cache-yew0zm8m.js} +11 -11
- package/dist/chunks/{shell-xv32mmfd.js → repository-cache-yfdycbsw.js} +19 -19
- package/dist/chunks/{shell-7vj6fy4k.js → repository-cache-yfsa45n4.js} +32 -32
- package/dist/chunks/{shell-0ytk1mmd.js → repository-cache-yjxqy5ha.js} +8 -8
- package/dist/chunks/{shell-p20se939.js → repository-cache-ys5mczsm.js} +8 -8
- package/dist/chunks/{shell-08sd8799.js → repository-cache-yv2cmth8.js} +1 -1
- package/dist/chunks/{shell-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-z18fegx4.js → repository-cache-z18fegx4.js} +1 -1
- package/dist/chunks/{shell-b674v2dg.js → repository-cache-z6c3x22d.js} +5 -5
- package/dist/chunks/{shell-v1bmpj3w.js → repository-cache-z6dhcqsk.js} +27 -27
- package/dist/chunks/{shell-0rsgqgrk.js → repository-cache-z86wre2g.js} +25 -25
- package/dist/chunks/{shell-5v1f1gfq.js → repository-cache-zmy0eq9j.js} +20 -20
- package/dist/chunks/{shell-eeggec7k.js → repository-cache-znqen040.js} +11 -11
- package/dist/chunks/{shell-rxxx7r4k.js → repository-cache-zp864mkb.js} +26 -26
- package/dist/chunks/{shell-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-n2qdned2.js → repository-cache-zs22chpb.js} +26 -26
- package/dist/chunks/{shell-9jvjhjkm.js → repository-cache-zx24wvbj.js} +8 -8
- package/dist/chunks/{shell-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/chunks/{shell-qhat5nnc.js → repository-cache-zz6a9he3.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- 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-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- 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 +116 -116
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +361 -361
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +127 -127
- 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-retry.js +1 -1
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +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 +123 -123
- 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 +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- 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 +91 -91
- 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 +99 -99
- 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 +138 -138
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +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/voice.js +90 -90
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/shell-9t7nqqf0.js +0 -26
- package/dist/chunks/shell-dxj72tfx.js +0 -18
- package/dist/chunks/shell-eyv86r6e.js +0 -257
- package/dist/chunks/shell-w2swb6sv.js +0 -517
- /package/dist/chunks/{shell-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{shell-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-kh81xvt5.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-8reangzk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service84,
|
|
14
|
+
node88
|
|
15
|
+
} from "./repository-cache-c5ggqzvz.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-v210v162.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
|
+
NotFoundError: () => NotFoundError12,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service83,
|
|
44
44
|
UpdateInput: () => UpdateInput4,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node87,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID17 = ID18;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info28 = Info29;
|
|
63
63
|
var UpdateInput4 = UpdateInput5;
|
|
64
64
|
|
|
65
|
-
class
|
|
66
|
-
projectID:
|
|
65
|
+
class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
+
projectID: ID17
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service83 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,9 +98,9 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service84;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
105
|
const bus = yield* Service85;
|
|
106
106
|
const db = (yield* Service86).db;
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID17.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError12({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event21.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID17.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID17.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID17.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID17.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service83.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node87 = makeGlobalNode({
|
|
310
|
+
service: Service83,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [node89, node90, FSUtil.node,
|
|
312
|
+
deps: [node89, node90, FSUtil.node, node88, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service83;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node87]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput4, NotFoundError12, root2, Service83, node87, sweepNode2, exports_project };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-8reangzk.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event14,
|
|
18
|
+
ID: () => ID11,
|
|
19
|
+
Info: () => Info19,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service68,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node72
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event14 } from "@opencode/schema/agent";
|
|
29
|
+
var ID11 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID11.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info19 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service68 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service85;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info19.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID11.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service68.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID11.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID11.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node72 = makeLocationNode({ service: Service68, layer, deps: [node89] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID11, Name3, defaultID2, Color2, Info19, Service68, node72, exports_agent4, Event14 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./repository-cache-k9gaxmgh.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-rhjbct0v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service37,
|
|
19
|
+
node: () => node40
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service37 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service82;
|
|
29
|
+
return Service37.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make20({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make20({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [Global.node, node86] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service37, node40, exports_builtins };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node50
|
|
5
|
+
} from "./repository-cache-yew0zm8m.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node70
|
|
9
|
+
} from "./repository-cache-s5met55r.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-77d0na5t.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-15e8hpnt.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error3
|
|
18
|
+
} from "./repository-cache-z86wre2g.js";
|
|
19
19
|
import {
|
|
20
20
|
get5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-54ma36ye.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service40,
|
|
24
|
+
node43
|
|
25
|
+
} from "./repository-cache-mk935gd8.js";
|
|
26
26
|
import {
|
|
27
27
|
make15
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-cache-xfkkasph.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-cache-5f5dfnyg.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service39,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
43
|
layer: () => layer16,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node42,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -160,11 +160,11 @@ var boundImages2 = (messages) => {
|
|
|
160
160
|
});
|
|
161
161
|
};
|
|
162
162
|
|
|
163
|
-
class
|
|
163
|
+
class Service39 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
164
164
|
}
|
|
165
|
-
var layer16 = Layer.effect(
|
|
166
|
-
const hooks = yield*
|
|
167
|
-
const transport = yield*
|
|
165
|
+
var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
166
|
+
const hooks = yield* Service66;
|
|
167
|
+
const transport = yield* Service40;
|
|
168
168
|
const app = yield* Metadata2;
|
|
169
169
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
170
170
|
const session = input.session;
|
|
@@ -172,7 +172,7 @@ var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
172
172
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
173
173
|
const tools = input.tools ?? {
|
|
174
174
|
definitions: [],
|
|
175
|
-
execute: () => new
|
|
175
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
176
176
|
};
|
|
177
177
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
178
178
|
const shaped = yield* shape({
|
|
@@ -266,17 +266,17 @@ var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
266
266
|
};
|
|
267
267
|
});
|
|
268
268
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
269
|
-
return
|
|
269
|
+
return Service39.of({
|
|
270
270
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
271
271
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
272
272
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
273
273
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
274
274
|
});
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node42 = makeLocationNode({
|
|
277
|
+
service: Service39,
|
|
278
278
|
layer: layer16,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node70, node43, node50]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
282
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service39, layer16, node42, exports_model_request };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-yew0zm8m.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-8reangzk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service81
|
|
11
|
+
} from "./repository-cache-7jwh32ts.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./repository-cache-g5g9rrdp.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./repository-cache-9m35c2r0.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-tzaz3z0t.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service81;
|
|
57
|
+
const integrations = yield* Service79;
|
|
58
58
|
const bus = yield* Service85;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|