@opencode/core 0.0.0-dev-20699 → 0.0.0-dev-20703
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{aisdk-native-n0m7e9v2.js → snapshot-09acasdh.js} +26 -26
- package/dist/chunks/{aisdk-native-mhka2p0v.js → snapshot-0b93s300.js} +38 -38
- package/dist/chunks/{aisdk-native-q0xm7vwc.js → snapshot-0j77ygfz.js} +6 -6
- package/dist/chunks/{aisdk-native-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
- package/dist/chunks/{aisdk-native-8q61w4ba.js → snapshot-0w1gqsy8.js} +8 -8
- package/dist/chunks/{aisdk-native-11dqjexa.js → snapshot-11dqjexa.js} +2 -2
- package/dist/chunks/{aisdk-native-gn5182s9.js → snapshot-162f0nws.js} +4 -4
- package/dist/chunks/{aisdk-native-yp2x3t23.js → snapshot-1acjjqhc.js} +4 -4
- package/dist/chunks/{aisdk-native-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-1dvck2a7.js → snapshot-1dvck2a7.js} +2 -2
- package/dist/chunks/{aisdk-native-f1cby1h8.js → snapshot-1h3kkx8t.js} +19 -19
- package/dist/chunks/{aisdk-native-yrcj3v3g.js → snapshot-1rn5pcm9.js} +4 -4
- package/dist/chunks/{aisdk-native-zbqc3x9d.js → snapshot-1s5ahhvw.js} +4 -4
- package/dist/chunks/{aisdk-native-mcjjfw9s.js → snapshot-1st5qrks.js} +31 -31
- package/dist/chunks/{aisdk-native-1ygqh575.js → snapshot-1ygqh575.js} +2 -2
- package/dist/chunks/{aisdk-native-p7a2r2f0.js → snapshot-2031d8zb.js} +18 -18
- package/dist/chunks/{aisdk-native-n6jbr756.js → snapshot-2491mdm0.js} +32 -32
- package/dist/chunks/{aisdk-native-yqgv6gkz.js → snapshot-24nax91a.js} +26 -26
- package/dist/chunks/{aisdk-native-dtst3g8f.js → snapshot-26sybxcg.js} +17 -17
- package/dist/chunks/{aisdk-native-4v7ngy20.js → snapshot-29qym6xz.js} +4 -4
- package/dist/chunks/{aisdk-native-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-4ts7tf6z.js → snapshot-2ccvkpx1.js} +2 -2
- package/dist/chunks/{aisdk-native-9krn66e7.js → snapshot-2cfvsqq1.js} +35 -35
- package/dist/chunks/{aisdk-native-08jnbt62.js → snapshot-2kzjq0jg.js} +36 -36
- package/dist/chunks/{aisdk-native-57prnz8a.js → snapshot-2p7ckrdq.js} +21 -21
- package/dist/chunks/{aisdk-native-mnz93xcd.js → snapshot-2tkp4c34.js} +16 -16
- package/dist/chunks/{aisdk-native-y4fcfbj0.js → snapshot-30a5d5ns.js} +25 -25
- package/dist/chunks/{aisdk-native-skxptfe8.js → snapshot-35a17xf6.js} +10 -10
- package/dist/chunks/{aisdk-native-qdbakdjh.js → snapshot-3801kdgp.js} +5 -5
- package/dist/chunks/{aisdk-native-zh2zjdzr.js → snapshot-3abreep6.js} +3 -3
- package/dist/chunks/{aisdk-native-0sacbfpy.js → snapshot-3b485cc9.js} +22 -22
- package/dist/chunks/{aisdk-native-shk4ffnk.js → snapshot-3dv6z56a.js} +15 -15
- package/dist/chunks/{aisdk-native-jgnyc2fs.js → snapshot-3e90ygm5.js} +4 -4
- package/dist/chunks/{aisdk-native-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-native-gctpkjda.js → snapshot-3gnt6095.js} +7 -7
- package/dist/chunks/{aisdk-native-kc8ncmcx.js → snapshot-3hbtzvsh.js} +15 -15
- package/dist/chunks/{aisdk-native-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-xen2mb01.js → snapshot-3j4bvz4y.js} +47 -47
- package/dist/chunks/{aisdk-native-s1hj9k30.js → snapshot-3jq3ddjk.js} +20 -20
- package/dist/chunks/{aisdk-native-bkvpb7y5.js → snapshot-3rmgk1aw.js} +1 -1
- package/dist/chunks/{aisdk-native-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-6hync52j.js → snapshot-3v69eg7x.js} +17 -17
- package/dist/chunks/{aisdk-native-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{aisdk-native-wxg63wf5.js → snapshot-43a2ms9t.js} +8 -8
- package/dist/chunks/{aisdk-native-8ta39m8d.js → snapshot-4418fx2v.js} +11 -11
- package/dist/chunks/{aisdk-native-400mat65.js → snapshot-45e78pca.js} +36 -36
- package/dist/chunks/{aisdk-native-gj71zhbs.js → snapshot-47jkzegy.js} +5 -5
- package/dist/chunks/{aisdk-native-2ca4jsmq.js → snapshot-47xsw1a3.js} +11 -11
- package/dist/chunks/{aisdk-native-sjgsw2hk.js → snapshot-48kw51zw.js} +3 -3
- package/dist/chunks/{aisdk-native-cy9xa7g0.js → snapshot-4g0pq5wa.js} +5 -5
- package/dist/chunks/{aisdk-native-mx0srs18.js → snapshot-4jg16xq8.js} +24 -24
- package/dist/chunks/{aisdk-native-zey9nnz1.js → snapshot-4wec9nqt.js} +35 -35
- package/dist/chunks/{aisdk-native-9j0s0v2q.js → snapshot-4xz17m9y.js} +20 -20
- package/dist/chunks/{aisdk-native-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{aisdk-native-epms814b.js → snapshot-56nkabq2.js} +8 -8
- package/dist/chunks/{aisdk-native-cawkts3f.js → snapshot-5bvyrc30.js} +3 -3
- package/dist/chunks/{aisdk-native-j0kvqywh.js → snapshot-5ckk9896.js} +54 -54
- package/dist/chunks/{aisdk-native-g3n6nq7m.js → snapshot-5fty0g40.js} +4 -4
- package/dist/chunks/{aisdk-native-tf2z4qss.js → snapshot-5fysqy1h.js} +10 -10
- package/dist/chunks/{aisdk-native-95630v8f.js → snapshot-5kes7md1.js} +16 -16
- package/dist/chunks/{aisdk-native-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{aisdk-native-7mhg6xnc.js → snapshot-5p4k9ty1.js} +11 -11
- package/dist/chunks/{aisdk-native-bfyngbwg.js → snapshot-5p9tt44w.js} +9 -9
- package/dist/chunks/{aisdk-native-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-2j5hbwxg.js → snapshot-5tcm9639.js} +9 -9
- package/dist/chunks/{aisdk-native-2r2f06q5.js → snapshot-5v05me75.js} +15 -15
- package/dist/chunks/{aisdk-native-pnzf6mjf.js → snapshot-68wqtz75.js} +1 -1
- package/dist/chunks/{aisdk-native-ygh1mgm9.js → snapshot-6c8mnst6.js} +13 -13
- package/dist/chunks/{aisdk-native-c8tfdkvr.js → snapshot-6cmyvfw7.js} +15 -15
- package/dist/chunks/{aisdk-native-fp7wgddj.js → snapshot-6d47cmgz.js} +27 -27
- package/dist/chunks/snapshot-6szwy7q0.js +26 -0
- package/dist/chunks/{aisdk-native-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
- package/dist/chunks/{aisdk-native-71az546q.js → snapshot-71az546q.js} +2 -2
- package/dist/chunks/{aisdk-native-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-native-89rvcjqs.js → snapshot-7c08hygz.js} +11 -11
- package/dist/chunks/{aisdk-native-qgn6gcr1.js → snapshot-7dqw4kz8.js} +5 -5
- package/dist/chunks/{aisdk-native-97w5rk9e.js → snapshot-7rwqf82v.js} +8 -8
- package/dist/chunks/{aisdk-native-ra4hc0m4.js → snapshot-7tjehn0f.js} +16 -16
- package/dist/chunks/{aisdk-native-84txncab.js → snapshot-84txncab.js} +1 -1
- package/dist/chunks/{aisdk-native-gn31e51v.js → snapshot-86qjnnqk.js} +11 -11
- package/dist/chunks/{aisdk-native-eahhehpg.js → snapshot-86qzxe6p.js} +4 -4
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-bnhzkkkr.js → snapshot-8dm7y4rt.js} +20 -20
- package/dist/chunks/{aisdk-native-gdfaxp8g.js → snapshot-8jms414h.js} +5 -5
- package/dist/chunks/{aisdk-native-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
- package/dist/chunks/{aisdk-native-75hw688q.js → snapshot-8nmbamy5.js} +26 -26
- package/dist/chunks/{aisdk-native-zwzkbcdw.js → snapshot-8p1jamy5.js} +11 -11
- package/dist/chunks/{aisdk-native-x2y2beh6.js → snapshot-8pcmxr24.js} +17 -17
- package/dist/chunks/{aisdk-native-1vp0x8zb.js → snapshot-90ajnqsx.js} +22 -22
- package/dist/chunks/{aisdk-native-gvhkxsws.js → snapshot-910q3gzx.js} +306 -306
- package/dist/chunks/{aisdk-native-a25mqfd0.js → snapshot-955b9nrb.js} +13 -13
- package/dist/chunks/{aisdk-native-4749ja0v.js → snapshot-956kchps.js} +26 -26
- package/dist/chunks/{aisdk-native-tfb60e5g.js → snapshot-958v7zhw.js} +18 -18
- package/dist/chunks/{aisdk-native-bwpwvx91.js → snapshot-9ar1vs2t.js} +24 -24
- package/dist/chunks/{aisdk-native-9e5bzkjp.js → snapshot-9e5bzkjp.js} +3 -3
- package/dist/chunks/{aisdk-native-0ckz0kcg.js → snapshot-9gswvf7a.js} +12 -12
- package/dist/chunks/{aisdk-native-p37cw4rj.js → snapshot-9hn6k4tm.js} +8 -8
- package/dist/chunks/{aisdk-native-zwgbb5k0.js → snapshot-9k2nyvj6.js} +22 -22
- package/dist/chunks/{aisdk-native-st4vqgcn.js → snapshot-9pp7x6a7.js} +85 -85
- package/dist/chunks/{aisdk-native-xg9b4fj5.js → snapshot-a11czn8t.js} +39 -39
- package/dist/chunks/{aisdk-native-kye38093.js → snapshot-a3nxxb8z.js} +9 -9
- package/dist/chunks/{aisdk-native-xrdbg2s8.js → snapshot-aa7436jq.js} +4 -4
- package/dist/chunks/{aisdk-native-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-yp9n3qq0.js → snapshot-accxnjnh.js} +6 -6
- package/dist/chunks/{aisdk-native-4nzwy074.js → snapshot-afjydgk3.js} +4 -4
- package/dist/chunks/{aisdk-native-1qmx9sjh.js → snapshot-asgf8sk1.js} +5 -5
- package/dist/chunks/{aisdk-native-y46h39kv.js → snapshot-atmfg56q.js} +17 -17
- package/dist/chunks/{aisdk-native-scgrse2b.js → snapshot-b3f8fkhc.js} +5 -5
- package/dist/chunks/{aisdk-native-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-w05zr4jj.js → snapshot-bc43t8yj.js} +12 -12
- package/dist/chunks/{aisdk-native-7fpa500x.js → snapshot-bd42mgd7.js} +17 -17
- package/dist/chunks/{aisdk-native-me1thta9.js → snapshot-be39dvse.js} +9 -9
- package/dist/chunks/{aisdk-native-kvvk39gs.js → snapshot-c20khjev.js} +21 -21
- package/dist/chunks/{aisdk-native-c6xptqrv.js → snapshot-c443z7t0.js} +14 -14
- package/dist/chunks/{aisdk-native-2j1aj7pf.js → snapshot-c7591j6f.js} +17 -17
- package/dist/chunks/{aisdk-native-mvv9kg7n.js → snapshot-cb3ka9vw.js} +3 -3
- package/dist/chunks/{aisdk-native-zb4ffgsy.js → snapshot-ccs47k1v.js} +14 -14
- package/dist/chunks/{aisdk-native-xr4t3wvj.js → snapshot-cp15ysbr.js} +15 -15
- package/dist/chunks/{aisdk-native-vv80c9ym.js → snapshot-d9xbvcab.js} +1 -1
- package/dist/chunks/{aisdk-native-43exvyp7.js → snapshot-dfj1c34h.js} +18 -18
- package/dist/chunks/{aisdk-native-dpkg50ah.js → snapshot-dpkg50ah.js} +1 -1
- package/dist/chunks/{aisdk-native-j1mj860n.js → snapshot-dvep9rg9.js} +5 -5
- package/dist/chunks/snapshot-dxj72tfx.js +18 -0
- package/dist/chunks/{aisdk-native-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
- package/dist/chunks/{aisdk-native-ktjxw1bv.js → snapshot-e45qdce7.js} +9 -9
- package/dist/chunks/{aisdk-native-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-native-b628a289.js → snapshot-ejb9bmt8.js} +33 -33
- package/dist/chunks/{aisdk-native-a1gpj94z.js → snapshot-eq1pz5kg.js} +3 -3
- package/dist/chunks/{aisdk-native-dxj4v0g7.js → snapshot-eqfpr2hc.js} +3 -3
- package/dist/chunks/{aisdk-native-f66yvs9w.js → snapshot-eqh7aj7y.js} +40 -36
- package/dist/chunks/{aisdk-native-9kmw7fq7.js → snapshot-er7fkp3r.js} +32 -32
- package/dist/chunks/{aisdk-native-tb7dkz7m.js → snapshot-et3m2fee.js} +5 -5
- package/dist/chunks/{aisdk-native-2kbzr3vr.js → snapshot-etg2kg7e.js} +67 -67
- package/dist/chunks/{aisdk-native-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-bpkd89dr.js → snapshot-f1e4ctd8.js} +316 -316
- package/dist/chunks/{aisdk-native-w5rwm3pc.js → snapshot-f1sc98qn.js} +12 -12
- package/dist/chunks/{aisdk-native-n8mb64fn.js → snapshot-f6wpa85g.js} +14 -14
- package/dist/chunks/{aisdk-native-66715xqs.js → snapshot-f8ecf1bd.js} +9 -9
- package/dist/chunks/{aisdk-native-yatzzw06.js → snapshot-fc7kd614.js} +6 -6
- package/dist/chunks/{aisdk-native-pbfwh0cy.js → snapshot-fm2qvscf.js} +7 -7
- package/dist/chunks/{aisdk-native-nx0rhcr0.js → snapshot-fqmh3y6c.js} +15 -15
- package/dist/chunks/{aisdk-native-nsypx438.js → snapshot-frs29qec.js} +5 -5
- package/dist/chunks/{aisdk-native-9202y59r.js → snapshot-g2crq92z.js} +11 -11
- package/dist/chunks/{aisdk-native-7vdwv0fr.js → snapshot-g4hmse5j.js} +5 -5
- package/dist/chunks/{aisdk-native-1vsqvsf0.js → snapshot-g6wsgq8r.js} +16 -16
- package/dist/chunks/{aisdk-native-5p6z4y9s.js → snapshot-g884m32p.js} +27 -27
- package/dist/chunks/{aisdk-native-fyeq03r8.js → snapshot-g8h97e10.js} +20 -20
- package/dist/chunks/{aisdk-native-4zcy3jkw.js → snapshot-gce79w0q.js} +17 -17
- package/dist/chunks/{aisdk-native-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-54ekahc4.js → snapshot-gh6n2mgp.js} +23 -23
- package/dist/chunks/{aisdk-native-cpneeje0.js → snapshot-gjwgx2c5.js} +9 -9
- package/dist/chunks/{aisdk-native-m6f3t844.js → snapshot-gs4tkc79.js} +8 -8
- package/dist/chunks/{aisdk-native-05xfxpq7.js → snapshot-gwydwvmj.js} +5 -5
- package/dist/chunks/{aisdk-native-mncjczse.js → snapshot-h22j6f8x.js} +17 -17
- package/dist/chunks/{aisdk-native-h2b79v29.js → snapshot-h2b79v29.js} +2 -2
- package/dist/chunks/{aisdk-native-gnc4m5av.js → snapshot-h2ms8w26.js} +29 -29
- package/dist/chunks/{aisdk-native-fbh9pqtx.js → snapshot-h42j5wdd.js} +1 -1
- package/dist/chunks/{aisdk-native-x861zb6t.js → snapshot-h4sr0k8s.js} +2 -2
- package/dist/chunks/{aisdk-native-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-45w4d0zd.js → snapshot-hcb4npwv.js} +31 -31
- package/dist/chunks/{aisdk-native-9w72a531.js → snapshot-hg3q3ytz.js} +5 -5
- package/dist/chunks/{aisdk-native-3ma5q76q.js → snapshot-hsx6ydsr.js} +32 -32
- package/dist/chunks/{aisdk-native-ymxtxbtw.js → snapshot-j2weyrgm.js} +9 -9
- package/dist/chunks/{aisdk-native-shw3b6bh.js → snapshot-j3tgwk8z.js} +22 -22
- package/dist/chunks/{aisdk-native-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-by5g92tw.js → snapshot-j7xeznnk.js} +48 -48
- package/dist/chunks/{aisdk-native-es4w4h4j.js → snapshot-jbkstbxk.js} +11 -11
- package/dist/chunks/{aisdk-native-3ppptnan.js → snapshot-jhf3jymm.js} +6 -6
- package/dist/chunks/{aisdk-native-2ez4cmkb.js → snapshot-jn4ytpzj.js} +22 -22
- package/dist/chunks/{aisdk-native-facf8rnd.js → snapshot-jvwywms7.js} +10 -10
- package/dist/chunks/{aisdk-native-6pc4cw79.js → snapshot-k6qjzsp1.js} +8 -8
- package/dist/chunks/{aisdk-native-1x75wf9g.js → snapshot-kerhshr9.js} +5 -5
- package/dist/chunks/{aisdk-native-b62efeyb.js → snapshot-kh8h668z.js} +19 -19
- package/dist/chunks/{aisdk-native-fdmpc3vm.js → snapshot-kxky75w1.js} +9 -9
- package/dist/chunks/{aisdk-native-4txfm3d9.js → snapshot-m2z1bfff.js} +43 -43
- package/dist/chunks/{aisdk-native-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-native-06x8he3q.js → snapshot-m70sbz6t.js} +4 -4
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-hcnvgjpm.js → snapshot-mbs2c8r4.js} +46 -46
- package/dist/chunks/{aisdk-native-rhz4vksc.js → snapshot-md77bf86.js} +15 -15
- package/dist/chunks/{aisdk-native-cstv7mkv.js → snapshot-mjqndqed.js} +12 -12
- package/dist/chunks/{aisdk-native-j0qqh2fr.js → snapshot-mm2qhmrn.js} +5 -5
- package/dist/chunks/{aisdk-native-mxvxcxwy.js → snapshot-mxvxcxwy.js} +1 -1
- package/dist/chunks/{aisdk-native-726r25a1.js → snapshot-mz95xv97.js} +42 -42
- package/dist/chunks/{aisdk-native-s5met55r.js → snapshot-n0tq777j.js} +8 -8
- package/dist/chunks/{aisdk-native-4tjpkstn.js → snapshot-n4r73c0a.js} +8 -8
- package/dist/chunks/{aisdk-native-w8wme0n9.js → snapshot-n9d7jyyy.js} +40 -40
- package/dist/chunks/{aisdk-native-qth6xygn.js → snapshot-nb9syadd.js} +27 -27
- package/dist/chunks/{aisdk-native-j3agjwjk.js → snapshot-nce79132.js} +9 -9
- package/dist/chunks/{aisdk-native-my3kb762.js → snapshot-nfhd6smz.js} +3 -3
- package/dist/chunks/{aisdk-native-hr76s594.js → snapshot-nfm3gqg4.js} +17 -17
- package/dist/chunks/{aisdk-native-4akpc52p.js → snapshot-nhb0eb01.js} +181 -181
- package/dist/chunks/{aisdk-native-77yxmx52.js → snapshot-nrk53rgs.js} +11 -11
- package/dist/chunks/{aisdk-native-d2jy7mm1.js → snapshot-nxp6e881.js} +9 -9
- package/dist/chunks/{aisdk-native-bp1twqkv.js → snapshot-p5069y1h.js} +13 -13
- package/dist/chunks/{aisdk-native-kdz3a46v.js → snapshot-paj0xg1p.js} +3 -3
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-e9f28y7b.js → snapshot-pzppxdjg.js} +29 -29
- package/dist/chunks/{aisdk-native-qc4h0gvw.js → snapshot-q3bv3216.js} +24 -24
- package/dist/chunks/{aisdk-native-9b39j816.js → snapshot-q9z9jvrx.js} +30 -30
- package/dist/chunks/{aisdk-native-qepyfg6g.js → snapshot-qj2ekg99.js} +32 -32
- package/dist/chunks/{aisdk-native-xdnyfx8g.js → snapshot-qkyv7d79.js} +21 -21
- package/dist/chunks/{aisdk-native-k9cay8kk.js → snapshot-qmanavvc.js} +7 -7
- package/dist/chunks/{aisdk-native-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
- package/dist/chunks/{aisdk-native-dtn6vyr4.js → snapshot-qr3t2p07.js} +32 -32
- package/dist/chunks/{aisdk-native-370437fy.js → snapshot-qs39rpea.js} +18 -18
- package/dist/chunks/{aisdk-native-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-2ha58fv5.js → snapshot-qvksafrh.js} +5 -5
- package/dist/chunks/{aisdk-native-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-native-pkxfpd18.js → snapshot-rgyyn3yp.js} +6 -6
- package/dist/chunks/{aisdk-native-c0x32j5x.js → snapshot-rnae0hx6.js} +3 -3
- package/dist/chunks/{aisdk-native-f1881gfp.js → snapshot-rpkjp0sq.js} +34 -34
- package/dist/chunks/{aisdk-native-007agb8z.js → snapshot-rqa1jxse.js} +2 -2
- package/dist/chunks/{aisdk-native-x92jmdhy.js → snapshot-rrgk3e77.js} +9 -9
- package/dist/chunks/{aisdk-native-cy9d01js.js → snapshot-s6mn54yh.js} +11 -11
- package/dist/chunks/{aisdk-native-s8d7rejh.js → snapshot-s8d7rejh.js} +1 -1
- package/dist/chunks/{aisdk-native-m3ktjrx8.js → snapshot-sp41gen4.js} +10 -10
- package/dist/chunks/{aisdk-native-bz5av1rf.js → snapshot-ssy6gfv1.js} +13 -13
- package/dist/chunks/{aisdk-native-3c6jzr0p.js → snapshot-sws8hzn9.js} +18 -18
- package/dist/chunks/{aisdk-native-rprrwjpj.js → snapshot-t1c8s78p.js} +36 -36
- package/dist/chunks/{aisdk-native-y4fngaas.js → snapshot-t59e9kf9.js} +6 -6
- package/dist/chunks/{aisdk-native-jgymmy77.js → snapshot-t5ypzw7b.js} +33 -33
- package/dist/chunks/{aisdk-native-0ztyrxz2.js → snapshot-t69w0ad5.js} +20 -20
- package/dist/chunks/{aisdk-native-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-rrgbm1gv.js → snapshot-tcb4pevf.js} +15 -15
- package/dist/chunks/{aisdk-native-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-gt4yqs4w.js → snapshot-teg4wjd0.js} +43 -43
- package/dist/chunks/{aisdk-native-8w9cdjf3.js → snapshot-tjftc9h1.js} +17 -17
- package/dist/chunks/{aisdk-native-5fykfdj7.js → snapshot-tk14y25j.js} +5 -5
- package/dist/chunks/{aisdk-native-6xmskbt3.js → snapshot-tmg4zq2n.js} +25 -25
- package/dist/chunks/{aisdk-native-crjczd6m.js → snapshot-tr7efbqz.js} +8 -8
- package/dist/chunks/{aisdk-native-w92k2e0p.js → snapshot-ts23464c.js} +6 -6
- package/dist/chunks/{aisdk-native-fpecnkgp.js → snapshot-v0es1rhs.js} +9 -9
- package/dist/chunks/{aisdk-native-gnraxr64.js → snapshot-v37tp652.js} +23 -23
- package/dist/chunks/{aisdk-native-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-9e4j78a5.js → snapshot-vz9sc8m2.js} +6 -6
- package/dist/chunks/{aisdk-native-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{aisdk-native-57b9ws8p.js → snapshot-w19d8598.js} +4 -4
- package/dist/chunks/{aisdk-native-r00xt3c5.js → snapshot-w3sgkchh.js} +13 -13
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-4rprvedw.js → snapshot-w4d2f6py.js} +4 -4
- package/dist/chunks/{aisdk-native-1vhq2tta.js → snapshot-w5ystqj3.js} +8 -8
- package/dist/chunks/{aisdk-native-pd1gqwv6.js → snapshot-w9m1y5f8.js} +11 -11
- package/dist/chunks/{aisdk-native-ppyhspf8.js → snapshot-wa0x9gba.js} +92 -92
- package/dist/chunks/{aisdk-native-wjmafqd5.js → snapshot-wad6djvw.js} +13 -13
- package/dist/chunks/{aisdk-native-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-mthe07d4.js → snapshot-wdbkcbea.js} +9 -9
- package/dist/chunks/{aisdk-native-9papzb1x.js → snapshot-wmw0vk9b.js} +18 -18
- package/dist/chunks/{aisdk-native-38y6trx6.js → snapshot-wsrnvdzb.js} +13 -13
- package/dist/chunks/{aisdk-native-e8g9mgdx.js → snapshot-wtnmckzm.js} +28 -28
- package/dist/chunks/{aisdk-native-0ezbyg76.js → snapshot-wtvkads1.js} +17 -17
- package/dist/chunks/{aisdk-native-7erzr5x4.js → snapshot-wynt49v0.js} +20 -20
- package/dist/chunks/{aisdk-native-jhzr7srw.js → snapshot-wz0ts5aj.js} +3 -3
- package/dist/chunks/{aisdk-native-9swdtjav.js → snapshot-x7j3pnfx.js} +11 -11
- package/dist/chunks/{aisdk-native-q1th6fp8.js → snapshot-xh1rp471.js} +19 -19
- package/dist/chunks/{aisdk-native-xkntkrq7.js → snapshot-xkntkrq7.js} +2 -2
- package/dist/chunks/{aisdk-native-xyafkbt0.js → snapshot-xyafkbt0.js} +3 -3
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/snapshot-ycpvbjtd.js +253 -0
- package/dist/chunks/{aisdk-native-99tdg231.js → snapshot-yfqnxe8x.js} +11 -11
- package/dist/chunks/{aisdk-native-8n2tw46q.js → snapshot-ynv2828e.js} +4 -4
- package/dist/chunks/{aisdk-native-chy0zwhc.js → snapshot-ypfsjccn.js} +15 -15
- package/dist/chunks/{aisdk-native-ng9m30gk.js → snapshot-ypjf3p8z.js} +7 -7
- package/dist/chunks/{aisdk-native-vjtzpg72.js → snapshot-ys38a3dy.js} +11 -11
- package/dist/chunks/{aisdk-native-y9r3t0nz.js → snapshot-ysrwyjsv.js} +4 -4
- package/dist/chunks/{aisdk-native-kp00fsy8.js → snapshot-ytpe1vfh.js} +11 -11
- package/dist/chunks/{aisdk-native-j2ncb1sa.js → snapshot-yy67gray.js} +34 -34
- package/dist/chunks/{aisdk-native-57r30dv2.js → snapshot-yyg1c230.js} +4 -4
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-zd3tnf6p.js → snapshot-z47wf363.js} +10 -10
- package/dist/chunks/{aisdk-native-rz911c4y.js → snapshot-zfs8ae4p.js} +4 -4
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-h96w7myx.js → snapshot-zrw4wayn.js} +55 -55
- package/dist/chunks/{aisdk-native-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +94 -94
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/session/model-request.d.ts +1 -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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-a7z9sera.js +0 -253
- package/dist/chunks/aisdk-native-an8w4w7e.js +0 -26
- package/dist/chunks/aisdk-native-q509s3k3.js +0 -18
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-34c7v6d4.js → snapshot-34c7v6d4.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-910q3gzx.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-9k2nyvj6.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./snapshot-m2z1bfff.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
resolve2
|
|
14
|
+
} from "./snapshot-fc7kd614.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin42
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin42 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service66;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -175,7 +175,7 @@ var Plugin31 = define({
|
|
|
175
175
|
if (config.variants === undefined && !source?.base)
|
|
176
176
|
models.update(providerID, id, (model) => {
|
|
177
177
|
model.variants = [
|
|
178
|
-
...
|
|
178
|
+
...resolve2({
|
|
179
179
|
...model,
|
|
180
180
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
181
181
|
})
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin42, exports_provider };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-eqfpr2hc.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-5fty0g40.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-4418fx2v.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service51,
|
|
21
|
+
node54
|
|
22
|
+
} from "./snapshot-2tkp4c34.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service22,
|
|
25
|
+
node26
|
|
26
|
+
} from "./snapshot-9pp7x6a7.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service11,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node13
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service11 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service22;
|
|
65
|
+
const store = yield* Service51;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service11.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node13 = makeLocationNode({
|
|
151
|
+
service: Service11,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node87, llmClient2, node26, node54, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service11, isUntitled2, layer7, node13, exports_title };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-5fty0g40.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./snapshot-1st5qrks.js";
|
|
7
7
|
import {
|
|
8
8
|
Error3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-j3tgwk8z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service68
|
|
12
|
+
} from "./snapshot-86qjnnqk.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-e45qdce7.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-4g0pq5wa.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-3abreep6.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-b3f8fkhc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make9
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make9 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service54;
|
|
58
|
+
const toolOutput = yield* Service68;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
216
216
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
export { Outcome2,
|
|
219
|
+
export { Outcome2, make9, exports_step };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-5fty0g40.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event13,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info13,
|
|
19
|
+
NotFoundError: () => NotFoundError8,
|
|
20
|
+
Service: () => Service63,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node66
|
|
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 Event13 } from "@opencode/schema/command";
|
|
28
|
+
var Info13 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError8 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 Service63 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer22 = Layer.effect(Service63, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service51, 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) => Info13.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service63.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer21 = Layer.effect(Service51, 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 NotFoundError8({ 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:
|
|
74
|
+
var node66 = makeLocationNode({
|
|
75
|
+
service: Service63,
|
|
76
|
+
layer: layer22,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info13, NotFoundError8, ExecutionError2, Service63, layer22, node66, exports_command4, Event13 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-h2b79v29.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-5fty0g40.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,17 +12,17 @@ __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
19
|
ID: () => ID14,
|
|
20
|
-
Info: () =>
|
|
20
|
+
Info: () => Info24,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service74,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
@@ -33,10 +33,10 @@ __export(exports_form, {
|
|
|
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
38
|
var ID14 = Form.ID;
|
|
39
|
-
var
|
|
39
|
+
var Info24 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service74 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service74, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service74.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var node77 = makeLocationNode({ service:
|
|
167
|
+
var node77 = makeLocationNode({ service: Service74, layer: layer25, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID14,
|
|
319
|
+
export { ID14, Info24, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer25, node77, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node4
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node4 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node4, bound2, exports_instance2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-5fty0g40.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./snapshot-5kes7md1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
rewrite2,
|
|
15
|
+
ID11,
|
|
15
16
|
modelSettings2,
|
|
16
17
|
mergeOverlay2,
|
|
17
18
|
mergeHeaders2,
|
|
18
19
|
Service71,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./aisdk-native-gvhkxsws.js";
|
|
20
|
+
node74,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./snapshot-910q3gzx.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
35
|
+
ID: () => ID10,
|
|
36
36
|
Info: () => Info19,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
@@ -41,7 +41,7 @@ __export(exports_model2, {
|
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node73,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
53
|
+
var ID10 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -73,7 +73,7 @@ class Service70 extends Context.Service()("@opencode/Model") {
|
|
|
73
73
|
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
74
74
|
const providers = yield* Service71;
|
|
75
75
|
const bus = yield* Service83;
|
|
76
|
-
const location = yield*
|
|
76
|
+
const location = yield* Service80;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "model",
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
207
207
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
yield* bus.subscribe(
|
|
210
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
211
|
return Service70.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node73 = makeLocationNode({ service: Service70, layer, deps: [node74, node87, node84] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -241,9 +241,9 @@ function compatibility2(input) {
|
|
|
241
241
|
function parse5(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
|
-
providerID:
|
|
245
|
-
modelID:
|
|
244
|
+
providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
|
|
245
|
+
modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export {
|
|
249
|
+
export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info19, Service70, node73, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|