@opencode/core 0.0.0-dev-19703 → 0.0.0-dev-19707
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-access-vc49b7t2.js → config-058z5ddf.js} +33 -33
- package/dist/chunks/{file-access-b0ra039m.js → config-0f3bkyd2.js} +13 -13
- package/dist/chunks/{file-access-pg8m7vcw.js → config-0k74h4bc.js} +22 -22
- package/dist/chunks/{file-access-3eqe7sdb.js → config-0kyhmgn1.js} +2 -2
- package/dist/chunks/{file-access-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-0q0f95c6.js → config-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-access-r6tv0ky9.js → config-0sz7efe2.js} +28 -28
- package/dist/chunks/{file-access-s0wc4b3p.js → config-0vzjr71g.js} +14 -14
- package/dist/chunks/{file-access-7cswzy6x.js → config-0ymjsp16.js} +8 -8
- package/dist/chunks/{file-access-xnnqatdr.js → config-0yzb217r.js} +3 -3
- package/dist/chunks/{file-access-se5ev5q6.js → config-1bdcdqfg.js} +41 -41
- package/dist/chunks/{file-access-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-4wev30ht.js → config-1gdnfj4y.js} +3 -3
- package/dist/chunks/{file-access-dtr4ty96.js → config-1t25emng.js} +47 -47
- package/dist/chunks/{file-access-adk83k7n.js → config-1tw90jxs.js} +7 -7
- package/dist/chunks/{file-access-9w62p15t.js → config-1vbpde1g.js} +274 -274
- package/dist/chunks/{file-access-tmgf2zx0.js → config-1w2wvhbc.js} +16 -16
- package/dist/chunks/config-1x11rq2a.js +18 -0
- package/dist/chunks/{file-access-1ygqh575.js → config-1ygqh575.js} +2 -2
- package/dist/chunks/{file-access-0bbtsd9p.js → config-204eyync.js} +4 -4
- package/dist/chunks/{file-access-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-3ythc6yv.js → config-2evyaa68.js} +4 -4
- package/dist/chunks/{file-access-bmvs43mp.js → config-2p8j6ftk.js} +25 -25
- package/dist/chunks/{file-access-mzx6x42j.js → config-2q6kkxxq.js} +4 -4
- package/dist/chunks/{file-access-22bkwpcc.js → config-2xwk5sxy.js} +29 -29
- package/dist/chunks/{file-access-m0k9mes5.js → config-34mey2b4.js} +7 -7
- package/dist/chunks/{file-access-02dhzryh.js → config-35tfzgdc.js} +30 -30
- package/dist/chunks/{file-access-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-dr2361rz.js → config-3g2pabsk.js} +27 -27
- package/dist/chunks/{file-access-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-k7n8e2gq.js → config-3n4pdst2.js} +20 -20
- package/dist/chunks/{file-access-mk65yns0.js → config-3ra8vgzt.js} +39 -35
- package/dist/chunks/{file-access-ndzqf7n9.js → config-3rdmwfhc.js} +11 -11
- package/dist/chunks/{file-access-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-3tq5qxbk.js → config-3tq5qxbk.js} +2 -2
- package/dist/chunks/{file-access-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-evbgk2k8.js → config-3w0fmcng.js} +5 -5
- package/dist/chunks/{file-access-dmz87gs1.js → config-3wc3c6ps.js} +12 -12
- package/dist/chunks/{file-access-ajspsemm.js → config-441xk2wv.js} +5 -5
- package/dist/chunks/{file-access-fkfqzgqy.js → config-4gxrbk90.js} +21 -21
- package/dist/chunks/{file-access-4ejj3q4x.js → config-4kj8p616.js} +127 -127
- package/dist/chunks/{file-access-0v8926jc.js → config-52ejfwar.js} +4 -4
- package/dist/chunks/{file-access-57b9ws8p.js → config-57b9ws8p.js} +1 -1
- package/dist/chunks/{file-access-57ez7d0k.js → config-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-access-2kvvzhgt.js → config-59ecn2yy.js} +6 -6
- package/dist/chunks/{file-access-rcazvk2s.js → config-59x6sxq9.js} +15 -15
- package/dist/chunks/{file-access-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-2zpbtqxj.js → config-5h0rvfym.js} +1 -1
- package/dist/chunks/{file-access-pc4xavgz.js → config-5jf1gs2t.js} +1 -1
- package/dist/chunks/{file-access-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-4pre79ma.js → config-5xynhq0q.js} +11 -11
- package/dist/chunks/{file-access-2xx6zsf3.js → config-63kpjth9.js} +9 -9
- package/dist/chunks/{file-access-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{file-access-aq8s4k4t.js → config-6aq7ygpy.js} +6 -6
- package/dist/chunks/{file-access-y6f0p4jw.js → config-6bsje7ws.js} +3 -3
- package/dist/chunks/{file-access-7t80x2xm.js → config-6d3xa841.js} +6 -6
- package/dist/chunks/{file-access-5y2zy18c.js → config-6fbkgyjx.js} +11 -11
- package/dist/chunks/{file-access-2402vzrj.js → config-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-access-6q9g2n1x.js → config-6h9psx55.js} +26 -26
- package/dist/chunks/{file-access-11dqjexa.js → config-6hjx5zpb.js} +9 -9
- package/dist/chunks/config-6kdq0pjd.js +4 -0
- package/dist/chunks/{file-access-d0qjmbf7.js → config-6kh2d7tr.js} +7 -7
- package/dist/chunks/{file-access-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-xcem76eb.js → config-6qek2td2.js} +18 -18
- package/dist/chunks/{file-access-pstg3rfm.js → config-6rybd781.js} +1 -1
- package/dist/chunks/{file-access-4ny6685e.js → config-6vkmn2m0.js} +2 -2
- package/dist/chunks/{file-access-1bbkgx8g.js → config-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-access-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-7dqw4kz8.js → config-7dqw4kz8.js} +1 -1
- package/dist/chunks/{file-access-s2f2xds9.js → config-7e12wf70.js} +22 -22
- package/dist/chunks/{file-access-06wf8qef.js → config-7j6621r4.js} +1 -1
- package/dist/chunks/{file-access-a9yj8d57.js → config-7sje2w2w.js} +43 -43
- package/dist/chunks/{file-access-jy98dczt.js → config-88kv1bx9.js} +20 -20
- package/dist/chunks/{file-access-ghcpnks2.js → config-88w93r53.js} +9 -9
- package/dist/chunks/{file-access-ts86mgej.js → config-88wv5h76.js} +9 -9
- package/dist/chunks/{file-access-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-cjjq7ynh.js → config-8efv05pa.js} +38 -38
- package/dist/chunks/{file-access-gwydwvmj.js → config-8mfdap3f.js} +8 -8
- package/dist/chunks/{file-access-dj2t23y0.js → config-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-access-g8f066zd.js → config-98as6sd9.js} +17 -17
- package/dist/chunks/{file-access-mvzp9w89.js → config-9eg4jjgq.js} +3 -3
- package/dist/chunks/{file-access-f65xcp97.js → config-9fw4n3e1.js} +5 -5
- package/dist/chunks/{file-access-db54agdm.js → config-9g3kc011.js} +5 -5
- package/dist/chunks/{file-access-9hn6k4tm.js → config-9hn6k4tm.js} +1 -1
- package/dist/chunks/{file-access-qzyph8ek.js → config-9jpbnf5e.js} +11 -11
- package/dist/chunks/{file-access-5c4hm403.js → config-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-access-ryr25ayn.js → config-a2ew8a62.js} +4 -4
- package/dist/chunks/{file-access-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-rzeja39m.js → config-aafc52p0.js} +11 -11
- package/dist/chunks/{file-access-2dq278xz.js → config-acbgnkgs.js} +17 -17
- package/dist/chunks/{file-access-px7sw6zq.js → config-acwgycr8.js} +18 -18
- package/dist/chunks/{file-access-k3rgfb3p.js → config-ak3g1cds.js} +6 -6
- package/dist/chunks/{file-access-czv8zr4c.js → config-an3skc66.js} +28 -28
- package/dist/chunks/{file-access-n00t81pt.js → config-as2srw8y.js} +35 -35
- package/dist/chunks/{file-access-4cszjckh.js → config-avf2rqqc.js} +28 -28
- package/dist/chunks/{file-access-0bz652bt.js → config-b0hfm0j8.js} +13 -13
- package/dist/chunks/{file-access-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-xmrmk6tf.js → config-b6pryj33.js} +1 -1
- package/dist/chunks/{file-access-9z5hezg5.js → config-bbvh053c.js} +21 -21
- package/dist/chunks/{file-access-csc9knvx.js → config-bfyfaynt.js} +82 -82
- package/dist/chunks/{file-access-d2zcqnyn.js → config-bgcn45f8.js} +11 -11
- package/dist/chunks/{file-access-kd0g1c6x.js → config-bjw1ybn1.js} +26 -26
- package/dist/chunks/{file-access-m0jqrx5p.js → config-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-access-cpneeje0.js → config-cpneeje0.js} +2 -2
- package/dist/chunks/{file-access-w4arg62q.js → config-cpy6gm2a.js} +6 -6
- package/dist/chunks/{file-access-0cjrfvab.js → config-d2hpfe1x.js} +11 -11
- package/dist/chunks/{file-access-abx7hpq0.js → config-d3r3a7ce.js} +3 -3
- package/dist/chunks/{file-access-yjmyzswg.js → config-d7k0w2wb.js} +9 -9
- package/dist/chunks/{file-access-277eer69.js → config-d858xzj7.js} +4 -4
- package/dist/chunks/{file-access-ma73scwd.js → config-d9s4kg8q.js} +13 -13
- package/dist/chunks/{file-access-3801m5vm.js → config-df6fn0e3.js} +11 -11
- package/dist/chunks/{file-access-nfts78ts.js → config-dgc1hkc1.js} +20 -20
- package/dist/chunks/{file-access-gssk1ffy.js → config-dmc1c85t.js} +20 -20
- package/dist/chunks/{file-access-w2x5ntbm.js → config-e42f66fx.js} +10 -10
- package/dist/chunks/{file-access-x7565nz3.js → config-e4fvh21c.js} +8 -8
- package/dist/chunks/{file-access-v7h74zgk.js → config-e6814b7d.js} +7 -7
- package/dist/chunks/{file-access-qn4ba14w.js → config-e6hmchc5.js} +5 -5
- package/dist/chunks/config-e73d2mtj.js +247 -0
- package/dist/chunks/{file-access-zdwe30dy.js → config-edbfpfck.js} +6 -6
- package/dist/chunks/{file-access-yvvvp4gn.js → config-eeaf82dq.js} +8 -8
- package/dist/chunks/{file-access-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-fjggvb5d.js → config-efqkbgv9.js} +11 -11
- package/dist/chunks/{file-access-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-bzxmwb0h.js → config-f2v2ha83.js} +10 -10
- package/dist/chunks/{file-access-mpydz36k.js → config-f5nr4ygr.js} +8 -8
- package/dist/chunks/{file-access-hdnk95c8.js → config-f828m53h.js} +2 -2
- package/dist/chunks/{file-access-achc067e.js → config-f8y35pn4.js} +1 -1
- package/dist/chunks/{file-access-j5wn78xe.js → config-fd415zwv.js} +3 -3
- package/dist/chunks/{file-access-0qg760de.js → config-fem1qj2k.js} +6 -6
- package/dist/chunks/{file-access-b09hzw3k.js → config-ff0svapt.js} +2 -2
- package/dist/chunks/{file-access-88j73mdv.js → config-fx82q9ev.js} +3 -3
- package/dist/chunks/{file-access-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-access-fbav83js.js → config-g2ycphq5.js} +2 -2
- package/dist/chunks/{file-access-44bvyb52.js → config-g7vy7n31.js} +11 -11
- package/dist/chunks/{file-access-89wf2w34.js → config-g9qqt9p1.js} +20 -20
- package/dist/chunks/{file-access-g65esk8v.js → config-gcytzbah.js} +4 -4
- package/dist/chunks/{file-access-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-nvtgz84x.js → config-gyp7bq5z.js} +43 -43
- package/dist/chunks/{file-access-h03wrkyp.js → config-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-access-h6r3nrb9.js → config-h6r3nrb9.js} +1 -1
- package/dist/chunks/{file-access-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-grgxgp5r.js → config-h77q8ghf.js} +17 -17
- package/dist/chunks/{file-access-m59fsk9k.js → config-hf7g63zj.js} +13 -13
- package/dist/chunks/{file-access-fab8hzt3.js → config-hfdr1yjj.js} +4 -4
- package/dist/chunks/{file-access-v20321fw.js → config-hmppx4cd.js} +16 -16
- package/dist/chunks/{file-access-ms72sz6n.js → config-j1s9fxyc.js} +24 -24
- package/dist/chunks/{file-access-xk747vep.js → config-j3s2z371.js} +9 -9
- package/dist/chunks/{file-access-9eg80yv1.js → config-j3t9k28b.js} +34 -34
- package/dist/chunks/{file-access-m39b1xen.js → config-j3xycmed.js} +16 -16
- package/dist/chunks/{file-access-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-zeap8wq0.js → config-j7cn0chj.js} +1 -1
- package/dist/chunks/{file-access-qxr1wd94.js → config-japganv0.js} +28 -28
- package/dist/chunks/{file-access-thacshfj.js → config-jbkx7wek.js} +21 -21
- package/dist/chunks/{file-access-jppvw2tx.js → config-jppvw2tx.js} +2 -2
- package/dist/chunks/{file-access-zcrz93sz.js → config-jx4qp3j4.js} +77 -77
- package/dist/chunks/{file-access-1czez65r.js → config-jxttrpby.js} +26 -26
- package/dist/chunks/config-jyegy52c.js +26 -0
- package/dist/chunks/{file-access-g190xswt.js → config-k2h4r4s0.js} +4 -4
- package/dist/chunks/{file-access-ed2mmm6e.js → config-k5s51sr2.js} +4 -4
- package/dist/chunks/{file-access-szchxhm4.js → config-k6hq6vs4.js} +24 -24
- package/dist/chunks/{file-access-c30xvc1n.js → config-kark38pj.js} +20 -20
- package/dist/chunks/{file-access-vqq4e7dm.js → config-kmgxwdj6.js} +3 -3
- package/dist/chunks/{file-access-w8n9ztcq.js → config-kqavaz8d.js} +3 -3
- package/dist/chunks/{file-access-bnjwzb7k.js → config-kvpzc2r9.js} +25 -25
- package/dist/chunks/{file-access-xtfhmm69.js → config-kxef0pr1.js} +22 -22
- package/dist/chunks/{file-access-18ar9p8m.js → config-m34sd1dw.js} +2 -2
- package/dist/chunks/{file-access-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-06wngq9c.js → config-m44s1k6s.js} +6 -6
- package/dist/chunks/{file-access-3a0232v4.js → config-m4j0jsg1.js} +20 -20
- package/dist/chunks/{file-access-2s4yk9pe.js → config-m7dvq393.js} +20 -20
- package/dist/chunks/{file-access-xxs8dkg5.js → config-m8h91w06.js} +3 -3
- package/dist/chunks/{file-access-qgqy5arr.js → config-m9q1w098.js} +22 -22
- package/dist/chunks/{file-access-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-gzj2wbzm.js → config-m9y70xex.js} +16 -16
- package/dist/chunks/{file-access-3we3xrym.js → config-mj3hz3nc.js} +10 -10
- package/dist/chunks/{file-access-qwkdvvqq.js → config-mkcyj20d.js} +30 -30
- package/dist/chunks/{file-access-f835brta.js → config-mskwp103.js} +12 -12
- package/dist/chunks/{file-access-be2svbmq.js → config-mt4q9qcg.js} +11 -11
- package/dist/chunks/{file-access-krh4kqam.js → config-mzhm23zb.js} +17 -17
- package/dist/chunks/{file-access-tcpzf8a4.js → config-nq0dx80z.js} +11 -11
- package/dist/chunks/{file-access-19avvbhq.js → config-nv8d10c1.js} +22 -22
- package/dist/chunks/{file-access-vmb1bd1w.js → config-nzhmzh82.js} +4 -4
- package/dist/chunks/{file-access-nzks3jc8.js → config-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-access-yt0fqk68.js → config-p44d8wdy.js} +5 -5
- package/dist/chunks/{file-access-dqmqj95b.js → config-p8f9febr.js} +23 -23
- package/dist/chunks/{file-access-51d5tev5.js → config-pbtjh2sx.js} +29 -29
- package/dist/chunks/{file-access-6rmp6rp3.js → config-pekgqhpj.js} +20 -20
- package/dist/chunks/{file-access-rc0drnx6.js → config-ph764ah0.js} +47 -47
- package/dist/chunks/{file-access-984xje6x.js → config-phc8pspp.js} +3 -3
- package/dist/chunks/{file-access-1rcsefny.js → config-phq1yf8j.js} +6 -6
- package/dist/chunks/{file-access-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-rgmz38d8.js → config-pk9xhw7m.js} +3 -3
- package/dist/chunks/{file-access-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-7cwd1pjj.js → config-pm2jn3rv.js} +7 -7
- package/dist/chunks/{file-access-s43s5bf0.js → config-pvdz9xhf.js} +10 -10
- package/dist/chunks/{file-access-5ghg905x.js → config-pyr0se5z.js} +2 -2
- package/dist/chunks/{file-access-1xyy6rsd.js → config-qegg11qv.js} +32 -32
- package/dist/chunks/{file-access-jmsa0jj4.js → config-qnv3ge8j.js} +13 -13
- package/dist/chunks/{file-access-1m8m29bm.js → config-qp9bnmn3.js} +2 -2
- package/dist/chunks/{file-access-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-gbkwq1jx.js → config-qttbrpyd.js} +14 -14
- package/dist/chunks/{file-access-gs3s1a1g.js → config-qwjmgwmn.js} +8 -8
- package/dist/chunks/{file-access-2pp64kj2.js → config-r4v1x4rb.js} +9 -9
- package/dist/chunks/{file-access-hx5z5b4w.js → config-r71mr0ak.js} +13 -13
- package/dist/chunks/{file-access-tnyz8ww6.js → config-r920brwh.js} +6 -6
- package/dist/chunks/{file-access-sx1n432n.js → config-r98e92ep.js} +4 -4
- package/dist/chunks/{file-access-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-818pfwc9.js → config-renqy12v.js} +8 -8
- package/dist/chunks/{file-access-0629b45g.js → config-rh3qvstz.js} +20 -20
- package/dist/chunks/{file-access-1acjjqhc.js → config-rhraev7y.js} +4 -4
- package/dist/chunks/{file-access-z7qrt6z4.js → config-rkpyf3mv.js} +9 -9
- package/dist/chunks/{file-access-e2hjzebn.js → config-rpg9c19m.js} +4 -4
- package/dist/chunks/{file-access-6qnrq8yy.js → config-rrpn4h0w.js} +15 -15
- package/dist/chunks/{file-access-msq0jde0.js → config-rsdf2nvv.js} +4 -4
- package/dist/chunks/{file-access-pbqgg0c7.js → config-rswqs118.js} +4 -4
- package/dist/chunks/{file-access-wbte7afj.js → config-s0kmmksn.js} +11 -11
- package/dist/chunks/{file-access-jha770e0.js → config-s39ybgse.js} +42 -42
- package/dist/chunks/{file-access-rhjbct0v.js → config-s8d7rejh.js} +4 -4
- package/dist/chunks/{file-access-xea0fvxv.js → config-s91c8prs.js} +9 -9
- package/dist/chunks/{file-access-81rrhs1k.js → config-sedjhjah.js} +9 -9
- package/dist/chunks/{file-access-954kwt2t.js → config-sfmkhhs9.js} +27 -27
- package/dist/chunks/{file-access-9wq3ewc0.js → config-sfreza73.js} +17 -17
- package/dist/chunks/{file-access-3tgpfszz.js → config-sg7w44s8.js} +16 -16
- package/dist/chunks/{file-access-gd2xe63m.js → config-sgksmh4k.js} +18 -17
- package/dist/chunks/{file-access-j3v8g4y4.js → config-svdmezpj.js} +17 -17
- package/dist/chunks/{file-access-ve2kmhc3.js → config-sw489s6r.js} +18 -18
- package/dist/chunks/{file-access-jmsss6r4.js → config-sy9x43s2.js} +12 -12
- package/dist/chunks/{file-access-anh923dz.js → config-syh2x8jz.js} +11 -11
- package/dist/chunks/{file-access-qa7075pb.js → config-sykc9y4a.js} +5 -5
- package/dist/chunks/{file-access-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-yz626d1a.js → config-tef78es6.js} +4 -4
- package/dist/chunks/{file-access-dp8qva4p.js → config-tg6qrxv2.js} +29 -29
- package/dist/chunks/{file-access-amt0nx1c.js → config-tvp4k6xb.js} +8 -8
- package/dist/chunks/{file-access-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-knywsfmy.js → config-tzrmseea.js} +10 -10
- package/dist/chunks/{file-access-xqjqksda.js → config-v49qeg7d.js} +31 -31
- package/dist/chunks/{file-access-gxvja00a.js → config-v93aky9p.js} +6 -6
- package/dist/chunks/{file-access-21edhy6x.js → config-v9cwwd0t.js} +9 -9
- package/dist/chunks/{file-access-vjy1cxwb.js → config-vec00888.js} +13 -13
- package/dist/chunks/{file-access-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-5xcpr46j.js → config-vghtnfzr.js} +15 -15
- package/dist/chunks/{file-access-p4p3q63t.js → config-vq3eavnk.js} +18 -18
- package/dist/chunks/{file-access-76p6jepc.js → config-vs61vkh4.js} +21 -21
- package/dist/chunks/{file-access-awaee7qt.js → config-vyqn3nqs.js} +6 -6
- package/dist/chunks/{file-access-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-8zqg477x.js → config-wne4vwha.js} +8 -8
- package/dist/chunks/{file-access-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-vs126s66.js → config-x5aw4bvh.js} +9 -9
- package/dist/chunks/{file-access-xq2cctfq.js → config-x62mbabv.js} +23 -23
- package/dist/chunks/{file-access-kjyvdtgs.js → config-xj2v00yc.js} +12 -12
- package/dist/chunks/{file-access-jh28hxeq.js → config-xxk5ry2v.js} +8 -8
- package/dist/chunks/{file-access-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-dpkg50ah.js → config-y71avatq.js} +4 -4
- package/dist/chunks/{file-access-5csss1c9.js → config-y9fejqmg.js} +8 -8
- package/dist/chunks/{file-access-z5ph5zj9.js → config-yc95vn0z.js} +15 -14
- package/dist/chunks/{file-access-pkt4pt77.js → config-ycd00xnt.js} +16 -16
- package/dist/chunks/{file-access-mt5b2h3m.js → config-ydrs0rnq.js} +4 -4
- package/dist/chunks/{file-access-5n6bcn55.js → config-yg6e92wh.js} +43 -43
- package/dist/chunks/{file-access-wpj4mgew.js → config-ynrxmn94.js} +18 -18
- package/dist/chunks/{file-access-kx6tnhgm.js → config-yp9vzkpn.js} +8 -8
- package/dist/chunks/{file-access-9j7zq8ze.js → config-yqvhe2qc.js} +61 -61
- package/dist/chunks/{file-access-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-yrznvahk.js → config-yrznvahk.js} +2 -2
- package/dist/chunks/{file-access-dtqdzr8b.js → config-yt7p1vcg.js} +8 -8
- package/dist/chunks/{file-access-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-z63w68vq.js → config-z63w68vq.js} +2 -2
- package/dist/chunks/{file-access-pebkr8tk.js → config-z8y94x15.js} +10 -10
- package/dist/chunks/{file-access-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-y42csyyd.js → config-zpc19dvt.js} +16 -16
- package/dist/chunks/{file-access-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-ty23yq33.js → config-zrcqrgvv.js} +9 -9
- package/dist/chunks/{file-access-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-access-zgpdaewh.js → config-zy8wn4fk.js} +38 -38
- package/dist/chunks/{file-access-wc7jx7mw.js → config-zyzdbktt.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +100 -100
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- 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/id/id.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 +356 -356
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +75 -75
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +88 -88
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +92 -92
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +111 -111
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/session/model-transport.d.ts +10 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +84 -84
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/file-access-0mesazry.js +0 -4
- package/dist/chunks/file-access-9zdhvgqs.js +0 -18
- package/dist/chunks/file-access-e34shv79.js +0 -247
- package/dist/chunks/file-access-y2hsm13z.js +0 -26
- /package/dist/chunks/{file-access-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-5qd3pb7m.js → config-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-ydrs0rnq.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service77,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node81,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service77 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service81;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
@@ -89,7 +89,7 @@ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
89
89
|
});
|
|
90
90
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID16.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service77.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node81 = makeLocationNode({ service: Service77, layer: layer25, deps: [node85] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node81, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-hmppx4cd.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-ydrs0rnq.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
7
|
node82
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-qp9bnmn3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service49,
|
|
11
|
+
node53
|
|
12
|
+
} from "./config-vs61vkh4.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service41,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node44
|
|
20
|
+
} from "./config-rrpn4h0w.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service71,
|
|
23
|
+
node75
|
|
24
|
+
} from "./config-qwjmgwmn.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service40,
|
|
27
|
+
node43
|
|
28
|
+
} from "./config-eeaf82dq.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-6bsje7ws.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service58,
|
|
35
|
+
node62
|
|
36
|
+
} from "./config-zy8wn4fk.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./config-xj2v00yc.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service39,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node42
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service39 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service81;
|
|
91
91
|
const location = yield* Service78;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service41;
|
|
94
|
+
const environment = yield* Service49;
|
|
95
|
+
const hooks = yield* Service71;
|
|
96
|
+
const environments = yield* Service40;
|
|
97
|
+
const config = yield* Service58;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError5({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service39.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node42 = makeLocationNode({
|
|
320
|
+
service: Service39,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node85,
|
|
324
324
|
node82,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node44,
|
|
327
|
+
node53,
|
|
328
|
+
node75,
|
|
329
|
+
node43,
|
|
330
|
+
node62,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service39, cleanup2, node42, exports_shell4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-fd415zwv.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID10,
|
|
17
|
+
Info: () => Info23,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node72
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID10 = PermissionSaved.ID;
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service82).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID10.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service68.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node72 = makeGlobalNode({ service: Service68, layer, deps: [node86] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID10, Info23, ListInput4, AddInput2, Service68, node72, exports_saved };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./config-3n4pdst2.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service62
|
|
13
|
+
} from "./config-m9q1w098.js";
|
|
14
14
|
import {
|
|
15
15
|
Service78
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-qp9bnmn3.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin33
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin33 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service62;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
41
|
const location = yield* Service78;
|
|
42
|
-
const watcher = yield*
|
|
42
|
+
const watcher = yield* Service59;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin33, exports_instruction };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-s8d7rejh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-ydrs0rnq.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-1bdcdqfg.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
21
|
ID: () => ID6,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info7,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service42,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node45,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event7 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
42
|
+
var Info7 = Skill.Info;
|
|
43
43
|
var ID6 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service42 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service81;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service42.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node45 = makeLocationNode({
|
|
112
|
+
service: Service42,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node85]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID6, Name2, available2, toModelOutput3, prepare3, Service42, node45, exports_skill5, Event7 };
|