@opencode/core 0.0.0-dev-20654 → 0.0.0-dev-20657
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{app-pec8ewpc.js → vcs-02w6ye8w.js} +19 -19
- package/dist/chunks/{app-qzgv83g8.js → vcs-03ympqey.js} +50 -50
- package/dist/chunks/{app-5jrta31j.js → vcs-040mzcjf.js} +41 -41
- package/dist/chunks/{app-m1mdr3t4.js → vcs-0a9mspw3.js} +43 -43
- package/dist/chunks/{app-x1w9s84m.js → vcs-0cpggsem.js} +22 -22
- package/dist/chunks/{app-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-h7v41q2b.js → vcs-0t0msxhb.js} +5 -5
- package/dist/chunks/{app-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{app-3jrsp1yh.js → vcs-1590h75y.js} +47 -47
- package/dist/chunks/{app-b5c9dynj.js → vcs-15k0vgsm.js} +13 -13
- package/dist/chunks/{app-r8xr0va3.js → vcs-1acjjqhc.js} +4 -4
- package/dist/chunks/{app-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-9pkbw0h1.js → vcs-1tre5bhm.js} +18 -18
- package/dist/chunks/{app-xc71fexb.js → vcs-1vkabqvp.js} +14 -14
- package/dist/chunks/{app-yb20yvhc.js → vcs-1y2xvmy6.js} +13 -13
- package/dist/chunks/{app-j9kaagt3.js → vcs-23w4mbjd.js} +27 -27
- package/dist/chunks/{app-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-2e853yyk.js → vcs-2m6aeqxr.js} +34 -34
- package/dist/chunks/{app-jhs71wy2.js → vcs-35snxxt6.js} +20 -20
- package/dist/chunks/vcs-391agrz4.js +26 -0
- package/dist/chunks/{app-pq2931dk.js → vcs-39y20kt5.js} +20 -20
- package/dist/chunks/{app-3cegwx68.js → vcs-3cegwx68.js} +2 -2
- package/dist/chunks/{app-nj38n445.js → vcs-3emwnsjx.js} +20 -20
- package/dist/chunks/{app-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-7ht5hy0j.js → vcs-3vnnpbnc.js} +38 -38
- package/dist/chunks/{app-b7zw3vx0.js → vcs-3yrfahye.js} +28 -28
- package/dist/chunks/{app-3zbwexce.js → vcs-3zbwexce.js} +3 -3
- package/dist/chunks/{app-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{app-tmkqb4m5.js → vcs-40t0es6d.js} +32 -32
- package/dist/chunks/{app-9h8mrsf7.js → vcs-434r7hkm.js} +18 -18
- package/dist/chunks/{app-9hwaqfsw.js → vcs-47jkzegy.js} +5 -5
- package/dist/chunks/{app-77237k3k.js → vcs-4859kmxm.js} +23 -23
- package/dist/chunks/{app-77y1s1rs.js → vcs-4f6qpwp0.js} +11 -11
- package/dist/chunks/{app-rm6wvaj8.js → vcs-4ga52gzf.js} +18 -18
- package/dist/chunks/{app-vqmv0wny.js → vcs-4h8a4daf.js} +15 -15
- package/dist/chunks/{app-sw35smzz.js → vcs-4j4sd5hg.js} +11 -11
- package/dist/chunks/{app-4ts7tf6z.js → vcs-4ts7tf6z.js} +2 -2
- package/dist/chunks/{app-tx92n959.js → vcs-4wwqnvbr.js} +4 -4
- package/dist/chunks/{app-rvxgx5k2.js → vcs-51tpsak4.js} +22 -22
- package/dist/chunks/{app-xxa9zwx6.js → vcs-52k3wwwq.js} +21 -21
- package/dist/chunks/{app-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{app-33w4ejhs.js → vcs-56gdpj1q.js} +6 -6
- package/dist/chunks/{app-q5hzqnd5.js → vcs-59en1s52.js} +328 -328
- package/dist/chunks/{app-6r04yh88.js → vcs-5b1pphrg.js} +4 -4
- package/dist/chunks/{app-s8r1bxm7.js → vcs-5c7790se.js} +15 -31
- package/dist/chunks/{app-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{app-e1as76v8.js → vcs-5g2kcr25.js} +45 -45
- package/dist/chunks/{app-r8bv4q06.js → vcs-5h6rhzqe.js} +9 -9
- package/dist/chunks/{app-mterk9bb.js → vcs-5j2qe6ha.js} +15 -15
- package/dist/chunks/{app-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-pn4m98w3.js → vcs-5vsxmgdg.js} +25 -25
- package/dist/chunks/{app-tpw6cwsb.js → vcs-5xtgfte3.js} +8 -8
- package/dist/chunks/{app-ws6r9wxd.js → vcs-5y297yh0.js} +58 -58
- package/dist/chunks/{app-ynmespmv.js → vcs-6kd7fbe5.js} +48 -48
- package/dist/chunks/{app-0xw58msr.js → vcs-6s3gqasb.js} +9 -9
- package/dist/chunks/{app-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
- package/dist/chunks/{app-21fbcwms.js → vcs-6xndz1be.js} +10 -10
- package/dist/chunks/{app-qadcnyv9.js → vcs-77tmtz1b.js} +9 -9
- package/dist/chunks/{app-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-7dqw4kz8.js → vcs-7dqw4kz8.js} +1 -1
- package/dist/chunks/{app-2za1r32n.js → vcs-7emjjf90.js} +20 -20
- package/dist/chunks/{app-0mekpjct.js → vcs-7kgm8qst.js} +37 -37
- package/dist/chunks/{app-nzxj697k.js → vcs-7phmnex1.js} +8 -8
- package/dist/chunks/{app-84h8c373.js → vcs-84h8c373.js} +2 -2
- package/dist/chunks/{app-84txncab.js → vcs-84txncab.js} +1 -1
- package/dist/chunks/{app-gy3hfqwa.js → vcs-86rc0f8f.js} +11 -11
- package/dist/chunks/{app-ye968f26.js → vcs-88gv5fem.js} +31 -31
- package/dist/chunks/{app-3fxa2vs0.js → vcs-89yy5tk9.js} +46 -46
- package/dist/chunks/{app-4xfpc9x8.js → vcs-8bmkym92.js} +35 -35
- package/dist/chunks/{app-vd3r3z5p.js → vcs-8c9jk717.js} +3 -3
- package/dist/chunks/{app-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-bsprd9wx.js → vcs-8m5xe4tx.js} +6 -6
- package/dist/chunks/{app-38225d31.js → vcs-8mza7131.js} +20 -20
- package/dist/chunks/{app-ccv5fkkn.js → vcs-8qyfkx8k.js} +14 -14
- package/dist/chunks/{app-qncy8rqx.js → vcs-8s8kj6rz.js} +36 -36
- package/dist/chunks/{app-m1ay94aq.js → vcs-8wc7p2s7.js} +14 -14
- package/dist/chunks/{app-vx3jgdek.js → vcs-8whp40kv.js} +3 -3
- package/dist/chunks/{app-k0j6xj92.js → vcs-91eqd9wz.js} +92 -92
- package/dist/chunks/{app-xbvv70jj.js → vcs-952fmzcg.js} +8 -8
- package/dist/chunks/{app-gey4pgq5.js → vcs-99rqs349.js} +3 -3
- package/dist/chunks/{app-kgdwkpsf.js → vcs-9dyqnwf5.js} +9 -9
- package/dist/chunks/{app-xwwz1fcf.js → vcs-9k3az8kg.js} +35 -35
- package/dist/chunks/{app-r2ens31f.js → vcs-9rv6dz1e.js} +30 -30
- package/dist/chunks/{app-w8v7x0t4.js → vcs-9vxdmk1q.js} +21 -21
- package/dist/chunks/{app-z6pt0vvw.js → vcs-9zcvf4bt.js} +3 -3
- package/dist/chunks/{app-vfjhn2wd.js → vcs-a2rpfkac.js} +4 -4
- package/dist/chunks/{app-hrtswde4.js → vcs-a6r6wkyr.js} +11 -11
- package/dist/chunks/{app-nda7119r.js → vcs-a71hppcw.js} +27 -27
- package/dist/chunks/{app-y9rxzeem.js → vcs-a8f3mxkw.js} +14 -14
- package/dist/chunks/{app-ex71f260.js → vcs-a9667v8g.js} +29 -29
- package/dist/chunks/{app-77svsnty.js → vcs-aa3n6jba.js} +12 -12
- package/dist/chunks/{app-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{app-c4e8pskq.js → vcs-aas2x9xe.js} +11 -11
- package/dist/chunks/{app-rehtxfbe.js → vcs-ad2z09fz.js} +1 -1
- package/dist/chunks/{app-7zet489v.js → vcs-any5mnhp.js} +28 -28
- package/dist/chunks/{app-nx45m9pa.js → vcs-avmm2jg2.js} +11 -11
- package/dist/chunks/{app-4fvakk57.js → vcs-awwkxypx.js} +1 -1
- package/dist/chunks/{app-5qjwke21.js → vcs-az1ptj1b.js} +24 -24
- package/dist/chunks/{app-8sze2n9a.js → vcs-b4twkq7r.js} +2 -2
- package/dist/chunks/{app-37eb9j4g.js → vcs-b51nkdwk.js} +13 -13
- package/dist/chunks/{app-frtrentt.js → vcs-b60a26g6.js} +5 -5
- package/dist/chunks/{app-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-xq7hn9w5.js → vcs-bjr6y4mv.js} +5 -5
- package/dist/chunks/{app-39rxwxkd.js → vcs-bygh5wce.js} +17 -17
- package/dist/chunks/{app-a6rrmb2t.js → vcs-c115zdge.js} +7 -7
- package/dist/chunks/{app-977n1gvn.js → vcs-c73458ry.js} +3 -3
- package/dist/chunks/{app-tcay1cqt.js → vcs-c8bydgjz.js} +6 -6
- package/dist/chunks/{app-cavr175a.js → vcs-cavr175a.js} +1 -1
- package/dist/chunks/{app-wcy74va6.js → vcs-chsrfrth.js} +15 -15
- package/dist/chunks/{app-x8esnxbb.js → vcs-ckk9cefh.js} +3 -3
- package/dist/chunks/{app-6cz210g8.js → vcs-cn4z8cr5.js} +8 -8
- package/dist/chunks/{app-r1vnz2ze.js → vcs-cq6phv5h.js} +19 -19
- package/dist/chunks/{app-np17306k.js → vcs-cvaycvww.js} +8 -8
- package/dist/chunks/{app-qmqgtz8f.js → vcs-cwa6csj7.js} +9 -9
- package/dist/chunks/{app-c4ejyagw.js → vcs-d7r1s2tx.js} +26 -26
- package/dist/chunks/{app-qk10qjqd.js → vcs-d8j5se8g.js} +6 -6
- package/dist/chunks/{app-x661k3y3.js → vcs-db2wf4at.js} +4 -4
- package/dist/chunks/{app-8tt02aa5.js → vcs-dh75pk8w.js} +5 -5
- package/dist/chunks/{app-dhmh7aw6.js → vcs-dhmh7aw6.js} +1 -1
- package/dist/chunks/{app-f26q4c2q.js → vcs-dqbmw7q7.js} +18 -18
- package/dist/chunks/{app-jhdanssh.js → vcs-dvcamk0x.js} +43 -43
- package/dist/chunks/{app-fgb4ey1w.js → vcs-dxh3sfmm.js} +4 -4
- package/dist/chunks/{app-yja0z1nt.js → vcs-e0yqd5jt.js} +27 -27
- package/dist/chunks/{app-vjmj34bj.js → vcs-e81r67k8.js} +11 -11
- package/dist/chunks/{app-6q6gqmwq.js → vcs-ech2ak4d.js} +4 -4
- package/dist/chunks/{app-5fnmkqwj.js → vcs-ed3hy58t.js} +11 -11
- package/dist/chunks/{app-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-01b47qtp.js → vcs-ehcck58d.js} +11 -11
- package/dist/chunks/{app-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-b2ckxg46.js → vcs-f0s8y0b6.js} +16 -16
- package/dist/chunks/{app-d2czbp48.js → vcs-f29mbr7f.js} +4 -4
- package/dist/chunks/{app-x5paqj6j.js → vcs-f3vqqkbk.js} +20 -20
- package/dist/chunks/{app-f75zav2x.js → vcs-f75zav2x.js} +2 -2
- package/dist/chunks/{app-jzzy94zk.js → vcs-fd636bra.js} +9 -9
- package/dist/chunks/{app-m2dbveed.js → vcs-fgwpeqsz.js} +13 -13
- package/dist/chunks/{app-bx2wmar1.js → vcs-fns8a2gp.js} +15 -15
- package/dist/chunks/{app-zw4pk1bw.js → vcs-fyjp43ss.js} +5 -5
- package/dist/chunks/{app-xfkkasph.js → vcs-g5w8qwbj.js} +4 -4
- package/dist/chunks/{app-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-6e5ndhjv.js → vcs-gwwh43n1.js} +4 -4
- package/dist/chunks/{app-p944wxep.js → vcs-h28nw4a5.js} +46 -46
- package/dist/chunks/{app-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-5ms2rpmc.js → vcs-hhvxj0xs.js} +2 -2
- package/dist/chunks/{app-f59ep6tb.js → vcs-hy1va3t8.js} +11 -11
- package/dist/chunks/{app-354wsgxx.js → vcs-j1xbwn9c.js} +35 -35
- package/dist/chunks/{app-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{app-bbqm5gby.js → vcs-j93sw876.js} +24 -24
- package/dist/chunks/{app-a19614zv.js → vcs-jbmy2zgb.js} +24 -24
- package/dist/chunks/{app-r2751jnn.js → vcs-jr75wfmz.js} +71 -71
- package/dist/chunks/{app-fgawfjx8.js → vcs-js4cxn4z.js} +6 -6
- package/dist/chunks/{app-0zyqvhq9.js → vcs-jsz329ft.js} +10 -10
- package/dist/chunks/{app-pengrcv5.js → vcs-k90nywdg.js} +5 -5
- package/dist/chunks/{app-p3c1m468.js → vcs-k9z2jbvp.js} +14 -14
- package/dist/chunks/{app-kb9j3d72.js → vcs-kb9j3d72.js} +3 -3
- package/dist/chunks/{app-3qaj82j9.js → vcs-kbqjp078.js} +5 -5
- package/dist/chunks/{app-gcabepm0.js → vcs-kf9nwexv.js} +9 -9
- package/dist/chunks/{app-1pxz8ven.js → vcs-kjdm35cs.js} +5 -5
- package/dist/chunks/{app-ye6d7t69.js → vcs-kjtwtt38.js} +33 -33
- package/dist/chunks/{app-5ntmp6zc.js → vcs-knf8cp6t.js} +33 -33
- package/dist/chunks/{app-r71fb6ch.js → vcs-kt0ehyka.js} +9 -9
- package/dist/chunks/{app-4tp5hkr9.js → vcs-ktsearan.js} +25 -25
- package/dist/chunks/{app-4qt3dk25.js → vcs-ky1txe1r.js} +12 -12
- package/dist/chunks/{app-89znh5jn.js → vcs-m32z4m4g.js} +27 -27
- package/dist/chunks/{app-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{app-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-2r6s1han.js → vcs-mhpyta8y.js} +5 -5
- package/dist/chunks/{app-ywe4gqtj.js → vcs-mjdy15x6.js} +5 -5
- package/dist/chunks/{app-5ktf0rcf.js → vcs-mjeah1s5.js} +24 -24
- package/dist/chunks/{app-x4dkc3v3.js → vcs-mjmzzvm2.js} +11 -11
- package/dist/chunks/{app-ctz7jbry.js → vcs-mp6d0dty.js} +8 -8
- package/dist/chunks/vcs-n95b3jav.js +18 -0
- package/dist/chunks/{app-80scg3y3.js → vcs-n9arjmkd.js} +4 -4
- package/dist/chunks/{app-h7fgzsk1.js → vcs-n9vqdcrq.js} +13 -13
- package/dist/chunks/{app-d4q7zemf.js → vcs-na5ey99x.js} +19 -19
- package/dist/chunks/{app-6t3bxbt1.js → vcs-ncbf19cf.js} +20 -20
- package/dist/chunks/{app-b1hb30m9.js → vcs-ncrxt7jx.js} +9 -9
- package/dist/chunks/{app-1yb457c1.js → vcs-nebf000m.js} +28 -28
- package/dist/chunks/{app-k6pmx2m2.js → vcs-nf7n9gv6.js} +29 -29
- package/dist/chunks/{app-wdy45rw8.js → vcs-nj1j17x6.js} +8 -8
- package/dist/chunks/{app-xb3m1p56.js → vcs-njffz7f6.js} +28 -28
- package/dist/chunks/{app-qt4hgj4v.js → vcs-nmk0dmpc.js} +36 -36
- package/dist/chunks/{app-qn9g45dx.js → vcs-nsxganxa.js} +16 -16
- package/dist/chunks/{app-5nvyfvs2.js → vcs-nvxfygz2.js} +11 -11
- package/dist/chunks/{app-dpkg50ah.js → vcs-nxm207yx.js} +4 -4
- package/dist/chunks/{app-vhg3kvj9.js → vcs-p0n551fw.js} +45 -45
- package/dist/chunks/{app-jzz42hqp.js → vcs-p3scmb76.js} +9 -9
- package/dist/chunks/{app-92pqdpde.js → vcs-p4h4rdzj.js} +25 -25
- package/dist/chunks/{app-09erbt4s.js → vcs-p5erw4k4.js} +18 -18
- package/dist/chunks/{app-5pyjqqve.js → vcs-p5p5kne1.js} +2 -2
- package/dist/chunks/{app-0s3chswr.js → vcs-pfme51df.js} +33 -33
- package/dist/chunks/{app-awqkms3h.js → vcs-ph3ewja6.js} +9 -9
- package/dist/chunks/{app-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{app-5p8ngbgk.js → vcs-pwgqjq8n.js} +93 -93
- package/dist/chunks/{app-q0xm7vwc.js → vcs-q0xm7vwc.js} +2 -2
- package/dist/chunks/{app-m6cy21rm.js → vcs-q8pak5b3.js} +16 -16
- package/dist/chunks/{app-yn6dgm22.js → vcs-qgv728j2.js} +11 -11
- package/dist/chunks/{app-553hyqc1.js → vcs-qm62jy3z.js} +21 -21
- package/dist/chunks/{app-kermnw9y.js → vcs-qmtyv9xk.js} +30 -30
- package/dist/chunks/{app-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
- package/dist/chunks/{app-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{app-bz46fwta.js → vcs-qt3m7yst.js} +24 -39
- package/dist/chunks/{app-yxmqamfs.js → vcs-qvq3arps.js} +17 -17
- package/dist/chunks/{app-bkh2zg02.js → vcs-qxampeh8.js} +4 -4
- package/dist/chunks/{app-qxjc9qry.js → vcs-qxjc9qry.js} +3 -3
- package/dist/chunks/{app-9a3kc0hm.js → vcs-r4m1jrjc.js} +17 -17
- package/dist/chunks/{app-a1gpj94z.js → vcs-r5x6zcsm.js} +3 -3
- package/dist/chunks/{app-bpdcdgy4.js → vcs-rbw4aktn.js} +30 -30
- package/dist/chunks/{app-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-r44petzp.js → vcs-ree5ev3t.js} +12 -12
- package/dist/chunks/{app-qhyw2gmb.js → vcs-rh6eqnc6.js} +13 -13
- package/dist/chunks/{app-a4ae1mqs.js → vcs-rk1r2hx8.js} +1 -1
- package/dist/chunks/{app-nxh69913.js → vcs-rnngp69k.js} +8 -8
- package/dist/chunks/{app-qa3qhgw8.js → vcs-ryr25ayn.js} +4 -4
- package/dist/chunks/{app-g35x6qc6.js → vcs-s0bwfe95.js} +19 -19
- package/dist/chunks/{app-e1bn0v82.js → vcs-s16b17t4.js} +3 -3
- package/dist/chunks/{app-jb7afjsg.js → vcs-s26kjmv5.js} +6 -6
- package/dist/chunks/{app-qyp7nx31.js → vcs-s2v7n1e5.js} +28 -28
- package/dist/chunks/{app-ev618wrn.js → vcs-s5k3q4pp.js} +5 -5
- package/dist/chunks/{app-7mnw5w78.js → vcs-s91dha9r.js} +5 -5
- package/dist/chunks/{app-vm93y64s.js → vcs-sdn4xrar.js} +21 -21
- package/dist/chunks/{app-m4y7kpay.js → vcs-sppvmfbr.js} +7 -7
- package/dist/chunks/{app-ykt494b9.js → vcs-sqvzcy4n.js} +4 -4
- package/dist/chunks/{app-derpzkc9.js → vcs-sxqcyyt3.js} +19 -19
- package/dist/chunks/{app-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{app-6ydeeanc.js → vcs-tchgbp8v.js} +7 -7
- package/dist/chunks/{app-m500pqbj.js → vcs-tcwahqdd.js} +175 -175
- package/dist/chunks/{app-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{app-h3d1wmv7.js → vcs-tpb188e6.js} +30 -30
- package/dist/chunks/{app-at1kfnmk.js → vcs-tx9w5tca.js} +8 -8
- package/dist/chunks/{app-eg4w172k.js → vcs-tz1g4r66.js} +4 -4
- package/dist/chunks/{app-fpecnkgp.js → vcs-v0es1rhs.js} +9 -9
- package/dist/chunks/{app-26sz20hb.js → vcs-v31ptvhs.js} +11 -11
- package/dist/chunks/{app-85gpctef.js → vcs-v53gfhad.js} +7 -7
- package/dist/chunks/{app-pkxfpd18.js → vcs-v76by4bg.js} +6 -6
- package/dist/chunks/{app-k0nnq3t9.js → vcs-v7t1f1qx.js} +8 -8
- package/dist/chunks/{app-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{app-bf8fwsb9.js → vcs-vnezwvq1.js} +5 -6
- package/dist/chunks/{app-8a6ws7jr.js → vcs-vsr6dns1.js} +9 -9
- package/dist/chunks/{app-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{app-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-0rw9nv2q.js → vcs-w5ssd7wj.js} +8 -8
- package/dist/chunks/{app-yz1dgv86.js → vcs-w72117hz.js} +4 -4
- package/dist/chunks/{app-dzw83ac5.js → vcs-w8djw5a7.js} +9 -9
- package/dist/chunks/{app-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{app-scgrse2b.js → vcs-wecqtg5s.js} +5 -5
- package/dist/chunks/{app-t9bwbksh.js → vcs-wk41chab.js} +16 -16
- package/dist/chunks/{app-awezfaj7.js → vcs-wmznkzn4.js} +44 -44
- package/dist/chunks/{app-1kr92pjq.js → vcs-wtm68b6z.js} +35 -35
- package/dist/chunks/{app-9t7a50xb.js → vcs-wv396vej.js} +6 -6
- package/dist/chunks/{app-95tmncnd.js → vcs-wwfr3fck.js} +156 -156
- package/dist/chunks/{app-0xfrdwvr.js → vcs-wzzqegvv.js} +36 -36
- package/dist/chunks/{app-cgmwwjnd.js → vcs-x7jvg2gh.js} +11 -11
- package/dist/chunks/{app-bha5yh8f.js → vcs-x8g60tk1.js} +18 -18
- package/dist/chunks/{app-nj11v1kf.js → vcs-xdqkfgq9.js} +49 -49
- package/dist/chunks/{app-dmqcgk4z.js → vcs-xkntkrq7.js} +5 -5
- package/dist/chunks/{app-m6r7asx4.js → vcs-xw3hzg3w.js} +19 -19
- package/dist/chunks/{app-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-tx3h7197.js → vcs-ydsmzj44.js} +4 -4
- package/dist/chunks/{app-yrzy80wg.js → vcs-yed04tyc.js} +11 -11
- package/dist/chunks/{app-4dnhnsrw.js → vcs-yfdhmhym.js} +17 -17
- package/dist/chunks/{app-smzkt4h8.js → vcs-ym0x057v.js} +17 -17
- package/dist/chunks/{app-10bgj2qs.js → vcs-ynqzsecj.js} +54 -54
- package/dist/chunks/{app-qcj1qarq.js → vcs-yqgsyyq0.js} +35 -35
- package/dist/chunks/{app-6fnv26db.js → vcs-ytj3vg7d.js} +15 -15
- package/dist/chunks/{app-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-myrb3mwv.js → vcs-znz6qwjc.js} +16 -16
- package/dist/chunks/{app-j6z9wjgn.js → vcs-zqg5j2wv.js} +20 -20
- package/dist/chunks/{app-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/chunks/{app-z0rw1ncf.js → vcs-zysg80a6.js} +18 -18
- package/dist/chunks/{app-vs90824y.js → vcs-zzhkqpgp.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- 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 +90 -90
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- 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 +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +99 -99
- 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 +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +76 -104
- package/dist/plugin/command.js +102 -102
- 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 +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- 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/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- 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 +343 -343
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- 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 +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- 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 +103 -103
- 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 +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- 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 +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/app-ht5y0zrb.js +0 -18
- package/dist/chunks/app-x82s002v.js +0 -26
- /package/dist/chunks/{app-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-8m5xe4tx.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-5y297yh0.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-knf8cp6t.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-dvcamk0x.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-n9vqdcrq.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./vcs-h28nw4a5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./vcs-s0bwfe95.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin19
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin19 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service61;
|
|
27
|
+
const shell = yield* Service60;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin48 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin19, exports_shell };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-3cegwx68.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin49,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin49 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin49, exports_tool_input_repair };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./vcs-c8bydgjz.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-n95b3jav.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./vcs-xdqkfgq9.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service49;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service56), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info15,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./vcs-ree5ev3t.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./vcs-wk41chab.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID16,
|
|
27
|
+
Service: () => Service79,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node83,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID16 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service79 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID16.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service79.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node83 = makeLocationNode({
|
|
144
|
+
service: Service79,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node88, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service79, Service79.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error5({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID16, Error5, Service79, node83, noopLayer3, exports_snapshot2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./vcs-nsxganxa.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service69,
|
|
8
|
+
node73
|
|
9
|
+
} from "./vcs-9k3az8kg.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-db2wf4at.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-njffz7f6.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
37
|
+
Event: () => Event16,
|
|
38
|
+
ID: () => ID9,
|
|
39
|
+
Info: () => Info19,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service68,
|
|
47
|
+
node: () => node72
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
70
|
-
var
|
|
69
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
70
|
+
var ID9 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info19 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,20 +98,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID9,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service68 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
114
|
-
const bus = yield*
|
|
112
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service69;
|
|
114
|
+
const bus = yield* Service82;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
117
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info19.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
294
294
|
const persistence = yield* createCredential({
|
|
295
295
|
integrationID: attempt.integrationID,
|
|
296
296
|
label: attempt.label,
|
|
297
|
-
value:
|
|
297
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
298
298
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
299
299
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
300
300
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service68.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
462
462
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
463
463
|
if (connection.type === "env") {
|
|
464
464
|
const key = process.env[connection.name];
|
|
465
|
-
return key ?
|
|
465
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
466
466
|
}
|
|
467
467
|
const credential = yield* credentials.get(connection.id);
|
|
468
468
|
if (!credential)
|
|
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
495
495
|
yield* createCredential({
|
|
496
496
|
integrationID: input.integrationID,
|
|
497
497
|
label: input.label,
|
|
498
|
-
value:
|
|
498
|
+
value: Key3.make({
|
|
499
499
|
type: "key",
|
|
500
500
|
key: input.key,
|
|
501
501
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node72 = makeLocationNode({
|
|
603
|
+
service: Service68,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node73, node86, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service68, node72, exports_integration, Event16 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-wk41chab.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service71,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node75,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service71 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service71, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node75 = LayerNode.unbound(Service71, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service71;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service71, node75, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./vcs-nsxganxa.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event11,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info9,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service54,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node57
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event11 } from "@opencode/schema/command";
|
|
28
|
+
var Info9 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service54 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer22 = Layer.effect(Service54, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info9.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service54.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node57 = makeLocationNode({
|
|
75
|
+
service: Service54,
|
|
76
|
+
layer: layer22,
|
|
77
|
+
deps: [node86]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info9, NotFoundError6, ExecutionError2, Service54, layer22, node57, exports_command4, Event11 };
|