@opencode/core 0.0.0-dev-19437 → 0.0.0-dev-19439
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{aisdk-native-j0famzcd.js → formatter-00nm36c8.js} +9 -9
- package/dist/chunks/{aisdk-native-230e0txc.js → formatter-021h0nrt.js} +5 -5
- package/dist/chunks/{aisdk-native-at5vefz0.js → formatter-095yekjx.js} +8 -8
- package/dist/chunks/{aisdk-native-tbp3kt2h.js → formatter-0ghbvpbq.js} +5 -5
- package/dist/chunks/{aisdk-native-z6wvrrth.js → formatter-0mckgfc3.js} +32 -32
- package/dist/chunks/{aisdk-native-593yh7cm.js → formatter-0nm12y21.js} +2 -2
- package/dist/chunks/{aisdk-native-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-qbs0f730.js → formatter-0ped3br2.js} +11 -11
- package/dist/chunks/{aisdk-native-0q0f95c6.js → formatter-0q0f95c6.js} +1 -1
- package/dist/chunks/{aisdk-native-qjrkxhk6.js → formatter-0sz3434e.js} +22 -22
- package/dist/chunks/{aisdk-native-vvbqk37b.js → formatter-0t1gcbnc.js} +14 -14
- package/dist/chunks/{aisdk-native-nd9sgs86.js → formatter-0t42w751.js} +14 -14
- package/dist/chunks/{aisdk-native-zm18a7xh.js → formatter-0vb1f5pm.js} +24 -24
- package/dist/chunks/{aisdk-native-b9hpem2e.js → formatter-0vr1v3xt.js} +22 -22
- package/dist/chunks/{aisdk-native-fq1h1v14.js → formatter-18cztcj7.js} +3 -3
- package/dist/chunks/{aisdk-native-1acjjqhc.js → formatter-1acjjqhc.js} +1 -1
- package/dist/chunks/{aisdk-native-mrw4weg4.js → formatter-1ah30sey.js} +5 -5
- package/dist/chunks/{aisdk-native-g51xf709.js → formatter-1cf11pks.js} +24 -24
- package/dist/chunks/{aisdk-native-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-zbpnfvtq.js → formatter-1j6vcx8p.js} +24 -24
- package/dist/chunks/{aisdk-native-fg9tr2v4.js → formatter-1trm2ftq.js} +16 -16
- package/dist/chunks/{aisdk-native-21r38tys.js → formatter-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-native-2402vzrj.js → formatter-2402vzrj.js} +1 -1
- package/dist/chunks/{aisdk-native-g0dg6wzp.js → formatter-285areat.js} +7 -7
- package/dist/chunks/{aisdk-native-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-84tssp1s.js → formatter-2d6j2h4j.js} +6 -6
- package/dist/chunks/{aisdk-native-d9whb66d.js → formatter-2d97fjv4.js} +24 -24
- package/dist/chunks/{aisdk-native-qfkm7725.js → formatter-2dcw9sq7.js} +28 -28
- package/dist/chunks/{aisdk-native-b9cbw8cf.js → formatter-2jvn1219.js} +20 -20
- package/dist/chunks/{aisdk-native-fcrkznn8.js → formatter-2k8khapm.js} +5 -5
- package/dist/chunks/{aisdk-native-482x06dj.js → formatter-2msj1ncg.js} +162 -162
- package/dist/chunks/{aisdk-native-w1m7fpe3.js → formatter-2pm4epw0.js} +5 -5
- package/dist/chunks/{aisdk-native-5ktjab4p.js → formatter-2qnv7z47.js} +80 -80
- package/dist/chunks/{aisdk-native-hqg6sb4q.js → formatter-2syw43ez.js} +13 -13
- package/dist/chunks/{aisdk-native-hn57h045.js → formatter-2vs2nh1n.js} +4 -4
- package/dist/chunks/{aisdk-native-2smzk9py.js → formatter-30txw56n.js} +29 -29
- package/dist/chunks/{aisdk-native-esdnemd6.js → formatter-31dz7cp4.js} +1 -1
- package/dist/chunks/{aisdk-native-56gdpj1q.js → formatter-33w4ejhs.js} +6 -6
- package/dist/chunks/formatter-35kzsz4m.js +22 -0
- package/dist/chunks/{aisdk-native-2qp6y8xf.js → formatter-3cfzdc8e.js} +5 -5
- package/dist/chunks/{aisdk-native-gdvy8fx6.js → formatter-3fc6dm20.js} +4 -4
- package/dist/chunks/{aisdk-native-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-ebnnqyp8.js → formatter-3hf7z3yq.js} +11 -11
- package/dist/chunks/{aisdk-native-dqq2643g.js → formatter-3pb5g2zf.js} +4 -4
- package/dist/chunks/{aisdk-native-szvvk72w.js → formatter-3pkm5zsv.js} +46 -46
- package/dist/chunks/{aisdk-native-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-2cnw5e9r.js → formatter-3vd6qc07.js} +9 -9
- package/dist/chunks/{aisdk-native-w19pd4gw.js → formatter-4b0yvbnv.js} +9 -9
- package/dist/chunks/{aisdk-native-88j01mk5.js → formatter-4c2c4z0k.js} +27 -27
- package/dist/chunks/{aisdk-native-e5fmdc7h.js → formatter-4e4zhwn8.js} +24 -24
- package/dist/chunks/{aisdk-native-3nbxrw4d.js → formatter-4j6h5n25.js} +15 -15
- package/dist/chunks/{aisdk-native-knxwv22d.js → formatter-4jwp497k.js} +9 -9
- package/dist/chunks/{aisdk-native-ex6vs5n0.js → formatter-4mxshjsa.js} +23 -23
- package/dist/chunks/{aisdk-native-0mpna936.js → formatter-4swyx596.js} +30 -30
- package/dist/chunks/{aisdk-native-11h1hnb3.js → formatter-4yg7xpeb.js} +2 -2
- package/dist/chunks/{aisdk-native-xv565bpd.js → formatter-5507e9e8.js} +36 -36
- package/dist/chunks/{aisdk-native-23rr3770.js → formatter-5afqb7wg.js} +33 -33
- package/dist/chunks/{aisdk-native-5daktx2q.js → formatter-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-native-h0jnz0mn.js → formatter-5jgkwf9z.js} +5 -5
- package/dist/chunks/{aisdk-native-vabb23s0.js → formatter-5jtdmvnp.js} +1 -1
- package/dist/chunks/{aisdk-native-azgkc19j.js → formatter-5mbh52c5.js} +34 -34
- package/dist/chunks/{aisdk-native-ysmvfpmb.js → formatter-5n6j4vsj.js} +8 -8
- package/dist/chunks/{aisdk-native-hcryw3z6.js → formatter-5syt3tya.js} +25 -25
- package/dist/chunks/{aisdk-native-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-ygbe9h9m.js → formatter-5w7tckb9.js} +9 -9
- package/dist/chunks/{aisdk-native-0px0gx5m.js → formatter-5yjc0kdb.js} +11 -11
- package/dist/chunks/{aisdk-native-hvspwq6g.js → formatter-5ztyb0s9.js} +13 -13
- package/dist/chunks/{aisdk-native-8s076s20.js → formatter-617j0ppb.js} +16 -16
- package/dist/chunks/formatter-619r8v3y.js +18 -0
- package/dist/chunks/{aisdk-native-xmqe5mjy.js → formatter-668nd1zd.js} +20 -20
- package/dist/chunks/{aisdk-native-669tq793.js → formatter-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-native-2k01gwm7.js → formatter-66g4p5h5.js} +14 -14
- package/dist/chunks/{aisdk-native-2c8836h2.js → formatter-68yeam9s.js} +8 -8
- package/dist/chunks/{aisdk-native-r9yxppz2.js → formatter-6ad8zjmg.js} +24 -24
- package/dist/chunks/{aisdk-native-h7ygw6q4.js → formatter-6jnybvqn.js} +9 -9
- package/dist/chunks/{aisdk-native-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-native-gaahdxmg.js → formatter-6rdehx4s.js} +11 -11
- package/dist/chunks/{aisdk-native-tey2eytt.js → formatter-6zjp47af.js} +6 -6
- package/dist/chunks/{aisdk-native-71q4at8m.js → formatter-71q4at8m.js} +1 -1
- package/dist/chunks/{aisdk-native-pcpr6ykb.js → formatter-72yrt324.js} +16 -16
- package/dist/chunks/{aisdk-native-3nekdnre.js → formatter-7azxt0pz.js} +26 -26
- package/dist/chunks/{aisdk-native-qvfbf04p.js → formatter-7be57pfy.js} +20 -20
- package/dist/chunks/{aisdk-native-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-native-23279rje.js → formatter-7j2qha59.js} +8 -8
- package/dist/chunks/{aisdk-native-33bws32g.js → formatter-7s0w6q3c.js} +19 -19
- package/dist/chunks/{aisdk-native-mwav9qm3.js → formatter-7swy916s.js} +25 -25
- package/dist/chunks/{aisdk-native-wgmz4se6.js → formatter-80e0yyk8.js} +4 -4
- package/dist/chunks/{aisdk-native-7w3v5q6j.js → formatter-81k6gtxt.js} +13 -13
- package/dist/chunks/{aisdk-native-cckb3k5y.js → formatter-85rv8zbb.js} +14 -14
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-fjxda7tk.js → formatter-8dnxqjce.js} +11 -11
- package/dist/chunks/{aisdk-native-pa98002e.js → formatter-8g8qrqs2.js} +15 -15
- package/dist/chunks/{aisdk-native-mpsn8vqb.js → formatter-8kpvhf1n.js} +30 -30
- package/dist/chunks/{aisdk-native-t6dzw5rf.js → formatter-8n2resjc.js} +26 -26
- package/dist/chunks/{aisdk-native-8p4f9s12.js → formatter-8p4f9s12.js} +2 -2
- package/dist/chunks/{aisdk-native-wxmbf8jb.js → formatter-8t5w0ytw.js} +11 -11
- package/dist/chunks/{aisdk-native-b1hwkhhg.js → formatter-8z17e00v.js} +4 -4
- package/dist/chunks/{aisdk-native-gjm5s37h.js → formatter-8z52dtec.js} +16 -16
- package/dist/chunks/{aisdk-native-mw934p8z.js → formatter-90p59b3a.js} +8 -8
- package/dist/chunks/{aisdk-native-y2a57acc.js → formatter-9adx019p.js} +34 -34
- package/dist/chunks/{aisdk-native-aa70zscs.js → formatter-9bzc32ne.js} +10 -10
- package/dist/chunks/{aisdk-native-ey5kq0ak.js → formatter-9dafp5sw.js} +25 -25
- package/dist/chunks/{aisdk-native-re9hte73.js → formatter-9gk1gqp3.js} +9 -9
- package/dist/chunks/formatter-9hmhmwp5.js +462 -0
- package/dist/chunks/{aisdk-native-qqq3x3sa.js → formatter-9ht5y0bp.js} +46 -46
- package/dist/chunks/{aisdk-native-as4rxx02.js → formatter-9mxd4efq.js} +17 -17
- package/dist/chunks/{aisdk-native-81swgkk7.js → formatter-9pv0dm11.js} +9 -9
- package/dist/chunks/{aisdk-native-5vcmybmc.js → formatter-9rzgchqg.js} +24 -24
- package/dist/chunks/{aisdk-native-yx7d88az.js → formatter-9z5mp38j.js} +17 -17
- package/dist/chunks/{aisdk-native-k79tzb9n.js → formatter-9zswys26.js} +9 -9
- package/dist/chunks/{aisdk-native-a1bz86dw.js → formatter-a1bz86dw.js} +3 -3
- package/dist/chunks/{aisdk-native-q6zxxt9y.js → formatter-a4exdnt3.js} +2 -2
- package/dist/chunks/{aisdk-native-exys1kgc.js → formatter-a5mbhza4.js} +11 -11
- package/dist/chunks/{aisdk-native-2ewqh1jr.js → formatter-a7xpxmvw.js} +21 -21
- package/dist/chunks/{aisdk-native-aaet6srn.js → formatter-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-hfdr1yjj.js → formatter-bajakh74.js} +4 -4
- package/dist/chunks/{aisdk-native-eqna0yr9.js → formatter-bdhtzght.js} +17 -17
- package/dist/chunks/{aisdk-native-ygtbvk0x.js → formatter-bkqv14q1.js} +6 -6
- package/dist/chunks/{aisdk-native-5d140bk6.js → formatter-bpvz3mp1.js} +14 -14
- package/dist/chunks/{aisdk-native-5kcbcnxc.js → formatter-bz38aey9.js} +3 -3
- package/dist/chunks/{aisdk-native-1hb8yyvn.js → formatter-c3w3adeh.js} +4 -4
- package/dist/chunks/{aisdk-native-jsymqedf.js → formatter-c92gkee6.js} +9 -9
- package/dist/chunks/{aisdk-native-t51qk8jz.js → formatter-cavr175a.js} +21 -21
- package/dist/chunks/{aisdk-native-41983a39.js → formatter-cbf23dhs.js} +16 -16
- package/dist/chunks/{aisdk-native-9d1w8q7a.js → formatter-cct3q0a5.js} +32 -32
- package/dist/chunks/{aisdk-native-cfpkc3c9.js → formatter-cfpkc3c9.js} +2 -2
- package/dist/chunks/{aisdk-native-vm79m67k.js → formatter-crc3g98t.js} +12 -12
- package/dist/chunks/{aisdk-native-ta0qxm0m.js → formatter-ctck25gh.js} +54 -54
- package/dist/chunks/{aisdk-native-f705x0rq.js → formatter-d3cg80ds.js} +19 -19
- package/dist/chunks/{aisdk-native-7zdrdht4.js → formatter-d7r387ef.js} +6 -6
- package/dist/chunks/{aisdk-native-paay8gke.js → formatter-dam1xtkf.js} +18 -18
- package/dist/chunks/{aisdk-native-gshgym2h.js → formatter-dbmntw5q.js} +11 -11
- package/dist/chunks/{aisdk-native-vcww18r2.js → formatter-dh76dsr9.js} +10 -10
- package/dist/chunks/{aisdk-native-pb4vra25.js → formatter-dtqv72tr.js} +16 -16
- package/dist/chunks/{aisdk-native-dxmfxnv6.js → formatter-dv1d3m2q.js} +36 -36
- package/dist/chunks/{aisdk-native-mmfjar12.js → formatter-dyrkrqpz.js} +33 -33
- package/dist/chunks/{aisdk-native-xx519kpd.js → formatter-e07ezkqg.js} +29 -29
- package/dist/chunks/{aisdk-native-thh98hbb.js → formatter-ea17m5x7.js} +26 -26
- package/dist/chunks/{aisdk-native-bafekp6x.js → formatter-edqrezaz.js} +11 -11
- package/dist/chunks/{aisdk-native-73gmm198.js → formatter-edrmdtr5.js} +7 -7
- package/dist/chunks/{aisdk-native-gh51qv6z.js → formatter-eq20ba7x.js} +8 -8
- package/dist/chunks/{aisdk-native-gfc4q5wv.js → formatter-esv2341e.js} +36 -36
- package/dist/chunks/{aisdk-native-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-ktab48es.js → formatter-f1yt1w90.js} +27 -27
- package/dist/chunks/{aisdk-native-6a0v8w2c.js → formatter-f3bjm0g3.js} +18 -18
- package/dist/chunks/{aisdk-native-vms1qh06.js → formatter-f81hbz6h.js} +9 -9
- package/dist/chunks/{aisdk-native-f828m53h.js → formatter-f828m53h.js} +2 -2
- package/dist/chunks/{aisdk-native-h2gyv3sg.js → formatter-f9bavhm2.js} +1 -1
- package/dist/chunks/{aisdk-native-ta5jc9f4.js → formatter-fbb40q07.js} +4 -4
- package/dist/chunks/{aisdk-native-ytdd3bbv.js → formatter-fbj83e1y.js} +16 -16
- package/dist/chunks/{aisdk-native-gn6yk5ww.js → formatter-fghqpq1c.js} +2 -2
- package/dist/chunks/{aisdk-native-jrreb4f4.js → formatter-fp08gjcx.js} +21 -21
- package/dist/chunks/{aisdk-native-fxbjtjnd.js → formatter-fxbjtjnd.js} +1 -1
- package/dist/chunks/{aisdk-native-sea28k5q.js → formatter-g8jasmdt.js} +11 -11
- package/dist/chunks/{aisdk-native-nsk4pmpc.js → formatter-g9yjs11r.js} +33 -33
- package/dist/chunks/{aisdk-native-8pfv004b.js → formatter-gab2tx2v.js} +30 -30
- package/dist/chunks/{aisdk-native-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-y9zv0tqm.js → formatter-ggdbhyt9.js} +13 -13
- package/dist/chunks/{aisdk-native-7gd4x462.js → formatter-gkx770bk.js} +10 -10
- package/dist/chunks/{aisdk-native-mdavksa3.js → formatter-gmwb692f.js} +16 -16
- package/dist/chunks/{aisdk-native-dhh5xd54.js → formatter-gp9htv6t.js} +6 -6
- package/dist/chunks/{aisdk-native-th5km1p3.js → formatter-gv6a8nnw.js} +5 -5
- package/dist/chunks/{aisdk-native-55e931th.js → formatter-gw0b7z6j.js} +49 -49
- package/dist/chunks/{aisdk-native-h03wrkyp.js → formatter-h03wrkyp.js} +2 -2
- package/dist/chunks/{aisdk-native-agnm54gs.js → formatter-h2zbnnby.js} +18 -18
- package/dist/chunks/{aisdk-native-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-x47scgmz.js → formatter-hatqt65p.js} +4 -4
- package/dist/chunks/{aisdk-native-p2xqw2sz.js → formatter-hdbh06sf.js} +24 -24
- package/dist/chunks/{aisdk-native-x2cstgz7.js → formatter-hjny2139.js} +28 -28
- package/dist/chunks/{aisdk-native-e82z9tr0.js → formatter-hjt4xg1x.js} +7 -7
- package/dist/chunks/{aisdk-native-dxq14y40.js → formatter-hk4vbwmw.js} +1 -1
- package/dist/chunks/{aisdk-native-c82mgr5r.js → formatter-hvdm4zjc.js} +17 -17
- package/dist/chunks/{aisdk-native-sxz67tqa.js → formatter-j06bdbff.js} +44 -44
- package/dist/chunks/{aisdk-native-pqpm7sfx.js → formatter-j0bxhyf1.js} +6 -6
- package/dist/chunks/{aisdk-native-j56e64zr.js → formatter-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-yhemyvg6.js → formatter-j8zzr2am.js} +4 -4
- package/dist/chunks/{aisdk-native-7jdsj2a9.js → formatter-jexxy024.js} +2 -2
- package/dist/chunks/{aisdk-native-vypqtakx.js → formatter-jy16bfac.js} +1 -1
- package/dist/chunks/{aisdk-native-mj3wj180.js → formatter-kabm8qet.js} +19 -19
- package/dist/chunks/{aisdk-native-kg06axw8.js → formatter-kg06axw8.js} +1 -1
- package/dist/chunks/{aisdk-native-50ap4gs0.js → formatter-krdddzze.js} +8 -8
- package/dist/chunks/{aisdk-native-k75rtej4.js → formatter-m4b8n7qx.js} +27 -27
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-mkcn2ebg.js → formatter-mdjvh03d.js} +6 -6
- package/dist/chunks/{aisdk-native-j028xdjb.js → formatter-mhkvc446.js} +3 -3
- package/dist/chunks/{aisdk-native-mkcjrzeh.js → formatter-mkcjrzeh.js} +1 -1
- package/dist/chunks/{aisdk-native-r9z6pqtf.js → formatter-mmwejawh.js} +32 -32
- package/dist/chunks/{aisdk-native-s62msjv3.js → formatter-mssymtw4.js} +20 -20
- package/dist/chunks/{aisdk-native-t2jnpd7n.js → formatter-n5d2spsf.js} +20 -20
- package/dist/chunks/{aisdk-native-mbmb2rkk.js → formatter-nbqjn8b8.js} +13 -13
- package/dist/chunks/{aisdk-native-1bcw1qtd.js → formatter-ndn3zy2s.js} +14 -14
- package/dist/chunks/{aisdk-native-tnkheefm.js → formatter-nszmkgp8.js} +35 -35
- package/dist/chunks/{aisdk-native-gt3yqw5p.js → formatter-nx7dmtbq.js} +85 -85
- package/dist/chunks/{aisdk-native-pytyr678.js → formatter-p1kh2k2v.js} +20 -20
- package/dist/chunks/{aisdk-native-gfqzzqy5.js → formatter-p1wf2k30.js} +9 -9
- package/dist/chunks/{aisdk-native-j935v87r.js → formatter-paphc93g.js} +2 -2
- package/dist/chunks/{aisdk-native-7x6hfb2y.js → formatter-pcfzsj1n.js} +26 -26
- package/dist/chunks/{aisdk-native-rgfb9vbw.js → formatter-pd5ra043.js} +21 -21
- package/dist/chunks/{aisdk-native-b0216jhd.js → formatter-pf1rkfgd.js} +44 -44
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-73fvzhyf.js → formatter-ptaftxqm.js} +6 -6
- package/dist/chunks/{aisdk-native-00xmw14g.js → formatter-py4eyt8z.js} +18 -18
- package/dist/chunks/{aisdk-native-84rtzrf6.js → formatter-q0b5npqy.js} +8 -8
- package/dist/chunks/{aisdk-native-0rzdqhx6.js → formatter-qa1nr178.js} +15 -15
- package/dist/chunks/{aisdk-native-0y4h6tbz.js → formatter-qa5ynrpv.js} +7 -7
- package/dist/chunks/formatter-qapv375x.js +4 -0
- package/dist/chunks/{aisdk-native-3trbxeqx.js → formatter-qmr73083.js} +1 -1
- package/dist/chunks/{aisdk-native-tyme6x47.js → formatter-qpxqmgt2.js} +4 -4
- package/dist/chunks/{aisdk-native-5aqfxp9a.js → formatter-qr27hz8v.js} +4 -4
- package/dist/chunks/{aisdk-native-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-wsgxnvbg.js → formatter-r6mys28c.js} +44 -44
- package/dist/chunks/{aisdk-native-f8skd28d.js → formatter-r94jn7mf.js} +17 -17
- package/dist/chunks/{aisdk-native-r9mregkx.js → formatter-r9mregkx.js} +2 -2
- package/dist/chunks/{aisdk-native-n8fgk775.js → formatter-re8aperj.js} +11 -11
- package/dist/chunks/{aisdk-native-yy90rqk6.js → formatter-reya8m0q.js} +21 -21
- package/dist/chunks/{aisdk-native-e89xj288.js → formatter-rmk2c50f.js} +5 -5
- package/dist/chunks/{aisdk-native-6p3xbzsx.js → formatter-rsdf2nvv.js} +4 -4
- package/dist/chunks/{aisdk-native-ec8389mk.js → formatter-s0esgemt.js} +4 -4
- package/dist/chunks/{aisdk-native-r1ya17we.js → formatter-s0sr0rvp.js} +11 -11
- package/dist/chunks/{aisdk-native-5d53psdr.js → formatter-s3fk1mhb.js} +11 -11
- package/dist/chunks/{aisdk-native-38e760wk.js → formatter-s54pw8rz.js} +12 -12
- package/dist/chunks/{aisdk-native-dpe2kymk.js → formatter-skxg4786.js} +43 -43
- package/dist/chunks/{aisdk-native-rs226bz6.js → formatter-sv9bpgvh.js} +5 -5
- package/dist/chunks/{aisdk-native-a6vkafpf.js → formatter-t1vfcksq.js} +13 -13
- package/dist/chunks/{aisdk-native-2rqbk1he.js → formatter-t3ev4bbs.js} +5 -5
- package/dist/chunks/{aisdk-native-s8d7rejh.js → formatter-t550f9t1.js} +4 -4
- package/dist/chunks/{aisdk-native-0gybywnx.js → formatter-t56rre3z.js} +13 -13
- package/dist/chunks/{aisdk-native-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-14vj0jvn.js → formatter-tcgf8zsh.js} +4 -4
- package/dist/chunks/{aisdk-native-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/formatter-tkmn4y3s.js +247 -0
- package/dist/chunks/{aisdk-native-hb1v72ya.js → formatter-ts6jc9rr.js} +40 -40
- package/dist/chunks/{aisdk-native-az6thn3b.js → formatter-ttgj08hp.js} +6 -6
- package/dist/chunks/{aisdk-native-tvtrv512.js → formatter-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-native-5xtgfte3.js → formatter-v4hmzr0r.js} +8 -8
- package/dist/chunks/{aisdk-native-9k2v62xn.js → formatter-v8ch97zc.js} +1 -1
- package/dist/chunks/{aisdk-native-a6g7ctrh.js → formatter-vadmf725.js} +18 -18
- package/dist/chunks/{aisdk-native-0840f9aq.js → formatter-vcx64ysh.js} +46 -46
- package/dist/chunks/{aisdk-native-wzq4pq7r.js → formatter-vdnmb5h5.js} +9 -9
- package/dist/chunks/{aisdk-native-7syv1xgw.js → formatter-ve6nm2s5.js} +6 -6
- package/dist/chunks/{aisdk-native-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-r98e92ep.js → formatter-vncycja5.js} +4 -4
- package/dist/chunks/{aisdk-native-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-native-ekhdnqeg.js → formatter-w0psxf7y.js} +15 -15
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-sf16dj5v.js → formatter-w4arg62q.js} +4 -4
- package/dist/chunks/{aisdk-native-amc9zrkj.js → formatter-w4vfbj5y.js} +11 -11
- package/dist/chunks/{aisdk-native-cffk5scv.js → formatter-w6jjpet8.js} +11 -11
- package/dist/chunks/{aisdk-native-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-j80s9j4h.js → formatter-wmpm68aq.js} +8 -8
- package/dist/chunks/{aisdk-native-94vhyftb.js → formatter-wmsepf1h.js} +7 -7
- package/dist/chunks/{aisdk-native-w6rzf7rr.js → formatter-wnhwz1p5.js} +11 -11
- package/dist/chunks/{aisdk-native-kjcr15p7.js → formatter-wx9wy1qm.js} +1 -1
- package/dist/chunks/{aisdk-native-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-native-87py6qtt.js → formatter-x1msyfgj.js} +5 -5
- package/dist/chunks/{aisdk-native-cfrmvhjx.js → formatter-x4hnyy7a.js} +11 -11
- package/dist/chunks/{aisdk-native-tbajnw8q.js → formatter-xbtmma79.js} +27 -27
- package/dist/chunks/{aisdk-native-cbdx500h.js → formatter-y0m5vzhp.js} +53 -53
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-1dsb41mm.js → formatter-y5eyw352.js} +9 -9
- package/dist/chunks/{aisdk-native-dpkg50ah.js → formatter-y71avatq.js} +4 -4
- package/dist/chunks/{aisdk-native-kt5w8vxh.js → formatter-y74fwv73.js} +10 -10
- package/dist/chunks/{aisdk-native-d6ez4sy0.js → formatter-y88dd9am.js} +30 -30
- package/dist/chunks/{aisdk-native-ggns5n5n.js → formatter-y9nhn27x.js} +32 -32
- package/dist/chunks/{aisdk-native-53g2xa05.js → formatter-ybhbtxjg.js} +9 -9
- package/dist/chunks/{aisdk-native-yddgxcp4.js → formatter-yddgxcp4.js} +2 -2
- package/dist/chunks/{aisdk-native-p1nm93x7.js → formatter-yjptyezs.js} +5 -5
- package/dist/chunks/{aisdk-native-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-native-s4enseaf.js → formatter-yrznvahk.js} +2 -2
- package/dist/chunks/{aisdk-native-f90chkmn.js → formatter-yt0fqk68.js} +5 -5
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-29x78va6.js → formatter-z63w68vq.js} +6 -6
- package/dist/chunks/{aisdk-native-t1wvxcjg.js → formatter-zc49taxq.js} +14 -14
- package/dist/chunks/{aisdk-native-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-native-dzcn95em.js → formatter-zemgttac.js} +25 -25
- package/dist/chunks/{aisdk-native-nk7s85f0.js → formatter-zkae56be.js} +69 -69
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +70 -70
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +2 -2
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- 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 +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- 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 +90 -90
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-0mesazry.js +0 -4
- package/dist/chunks/aisdk-native-45th5jwr.js +0 -18
- package/dist/chunks/aisdk-native-5rk65n7t.js +0 -22
- package/dist/chunks/aisdk-native-mg5afxrb.js +0 -462
- package/dist/chunks/aisdk-native-q7fypddd.js +0 -247
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-922hggd3.js → formatter-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-hrnqkpcd.js → formatter-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-twg0f83k.js → formatter-twg0f83k.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-3hf7z3yq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID15,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-2d6j2h4j.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-wmsepf1h.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID15.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-s0sr0rvp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./formatter-ve6nm2s5.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-rsdf2nvv.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-edqrezaz.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-y9nhn27x.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./formatter-nx7dmtbq.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate3
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service43;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service28;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate3,
|
|
74
|
+
export { generate3, exports_generate2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node83
|
|
4
|
+
} from "./formatter-s3fk1mhb.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info18,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service48,
|
|
21
|
+
layer: () => layer21,
|
|
22
|
+
node: () => node51
|
|
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 Event9 } from "@opencode/schema/command";
|
|
28
|
+
var Info18 = 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,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service48 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer21 = Layer.effect(Service48, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer23 = Layer.effect(Service70, 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) => Info18.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service48.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 layer23 = Layer.effect(Service70, 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 node51 = makeLocationNode({
|
|
75
|
+
service: Service48,
|
|
76
|
+
layer: layer21,
|
|
77
|
+
deps: [node83]
|
|
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 { Info18, NotFoundError6, ExecutionError2, Service48, layer21, node51, exports_command5, Event9 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-s0sr0rvp.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-s3fk1mhb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./formatter-ve6nm2s5.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID7,
|
|
15
|
+
Service65
|
|
16
|
+
} from "./formatter-5afqb7wg.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./formatter-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./formatter-ybhbtxjg.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./formatter-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./formatter-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service43;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service65;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID7.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service43;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service65;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID7.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID7.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service45,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node48
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service45 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service45, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service45.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service33, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node48 = makeGlobalNode({ service: Service45, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service45, node48, exports_environment };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node83
|
|
4
|
+
} from "./formatter-s3fk1mhb.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event18,
|
|
18
18
|
ID: () => ID12,
|
|
19
|
-
Info: () =>
|
|
19
|
+
Info: () => Info26,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service70,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node73
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event18 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
33
|
var ID12 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
35
|
var defaultID2 = ID12.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info26 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service70 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info26.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service70.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node73 = makeLocationNode({ service: Service70, layer, deps: [node83, Global.node] });
|
|
120
120
|
|
|
121
|
-
export { ID12, Name3, defaultID2, Color2,
|
|
121
|
+
export { ID12, Name3, defaultID2, Color2, Info26, Service70, node73, exports_agent4, Event18 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service60,
|
|
6
|
+
node63
|
|
7
|
+
} from "./formatter-9adx019p.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service23,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer11,
|
|
20
|
+
node: () => node27
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service23 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service60;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -45,28 +45,28 @@ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
45
45
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
46
46
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
47
47
|
], (error) => {
|
|
48
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
48
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
49
49
|
return Effect.fail(mapped);
|
|
50
50
|
}));
|
|
51
51
|
if (!resolved)
|
|
52
52
|
return yield* new ModelSelectionError2({
|
|
53
53
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
54
54
|
});
|
|
55
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
55
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
56
56
|
message: error.message,
|
|
57
57
|
service: resolved.ref.providerID
|
|
58
58
|
})));
|
|
59
59
|
return response.text;
|
|
60
60
|
});
|
|
61
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
61
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service23.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node27 = makeLocationNode({
|
|
67
|
+
service: Service23,
|
|
68
|
+
layer: layer11,
|
|
69
|
+
deps: [node63, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError3, Service23, layer11, node27, exports_generate };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./formatter-2d6j2h4j.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -41,7 +41,7 @@ function compatibility2(input) {
|
|
|
41
41
|
function parse5(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
44
|
+
providerID: ID15.make(index === -1 ? input : input.slice(0, index)),
|
|
45
45
|
modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./formatter-s0sr0rvp.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-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
16
|
ID: () => ID10,
|
|
17
|
-
Info: () =>
|
|
17
|
+
Info: () => Info23,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node71
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -26,7 +26,7 @@ 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
28
|
var ID10 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -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* Service80).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);
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service68.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node84] });
|
|
68
68
|
|
|
69
|
-
export { ID10,
|
|
69
|
+
export { ID10, Info23, ListInput4, AddInput2, Service68, node71, exports_saved };
|