@opencode/core 0.0.0-dev-20497 → 0.0.0-dev-20498
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{state-25fpdh8d.js → project-01ccnz8b.js} +12 -12
- package/dist/chunks/{state-zee1rnkq.js → project-06x8he3q.js} +4 -4
- package/dist/chunks/{state-espax8zg.js → project-0a1yp5ev.js} +4 -4
- package/dist/chunks/{state-s8d7rejh.js → project-0gdmqesm.js} +4 -4
- package/dist/chunks/{state-q0xm7vwc.js → project-0j77ygfz.js} +6 -6
- package/dist/chunks/{state-eydxt9pj.js → project-0jyt6ccd.js} +11 -11
- package/dist/chunks/{state-w8r2knnq.js → project-0ngk7849.js} +21 -21
- package/dist/chunks/{state-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-0vbcp93d.js → project-0vbcp93d.js} +2 -2
- package/dist/chunks/{state-2318s8bz.js → project-142rtv3p.js} +30 -30
- package/dist/chunks/{state-f5hm9jph.js → project-15pf3kn3.js} +21 -21
- package/dist/chunks/{state-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-1dvck2a7.js → project-1dvck2a7.js} +2 -2
- package/dist/chunks/{state-sn21bnb2.js → project-1grq6ca1.js} +20 -20
- package/dist/chunks/{state-d945dqfg.js → project-1m2qmwyb.js} +21 -21
- package/dist/chunks/{state-g1fss3aa.js → project-1ngj7yz3.js} +20 -20
- package/dist/chunks/{state-kt2nv8m7.js → project-1p7n864c.js} +11 -11
- package/dist/chunks/{state-csm73x4e.js → project-1pef14ah.js} +10 -10
- package/dist/chunks/{state-n1n192bv.js → project-1rn5pcm9.js} +4 -4
- package/dist/chunks/{state-n9phctzh.js → project-1s5gcqvv.js} +25 -25
- package/dist/chunks/{state-byvwhsqc.js → project-1teexzt8.js} +15 -15
- package/dist/chunks/{state-my4zabxr.js → project-1w9a9pv3.js} +3 -3
- package/dist/chunks/{state-rew73zxc.js → project-1x59d28s.js} +11 -11
- package/dist/chunks/{state-wby16mgw.js → project-1x645704.js} +5 -5
- package/dist/chunks/{state-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-4ts7tf6z.js → project-2ccvkpx1.js} +2 -2
- package/dist/chunks/{state-p46w8f27.js → project-2fha9p90.js} +6 -6
- package/dist/chunks/{state-ea7tr73m.js → project-2kd9a7qn.js} +13 -13
- package/dist/chunks/{state-88sjpthe.js → project-2kyhewkg.js} +7 -7
- package/dist/chunks/{state-5qm7xrem.js → project-2zg3fw59.js} +4 -4
- package/dist/chunks/{state-56gdpj1q.js → project-33w4ejhs.js} +6 -6
- package/dist/chunks/{state-2gjcxze4.js → project-3a6ck5tr.js} +16 -16
- package/dist/chunks/{state-kbqjp078.js → project-3bc8czyk.js} +5 -5
- package/dist/chunks/{state-mypwhdkk.js → project-3eavv4sq.js} +6 -6
- package/dist/chunks/{state-ys6344d6.js → project-3f29nsc9.js} +11 -11
- package/dist/chunks/{state-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-7e0wtkms.js → project-3jphvqbf.js} +18 -18
- package/dist/chunks/{state-3hewh51z.js → project-3p1e5a06.js} +20 -20
- package/dist/chunks/{state-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-86pzz8c4.js → project-3vmrc2nb.js} +20 -20
- package/dist/chunks/{state-3zsf4n22.js → project-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-8h1j60r2.js → project-47c8yv2k.js} +13 -13
- package/dist/chunks/{state-j58c5xyq.js → project-4nj4bn9q.js} +9 -9
- package/dist/chunks/{state-2227vqj9.js → project-4qvwefdb.js} +20 -20
- package/dist/chunks/{state-pkzjbd09.js → project-4rpaxna5.js} +1 -1
- package/dist/chunks/{state-624q30ze.js → project-4saarp1s.js} +30 -30
- package/dist/chunks/{state-1bqfkzv3.js → project-4zvgvp00.js} +10 -10
- package/dist/chunks/{state-hxwjf4m1.js → project-51fewcft.js} +13 -13
- package/dist/chunks/{state-54ma36ye.js → project-54ma36ye.js} +1 -1
- package/dist/chunks/{state-wt1200yk.js → project-56k7gmct.js} +4 -4
- package/dist/chunks/{state-ypzxwbyd.js → project-5d4fyj9e.js} +3 -3
- package/dist/chunks/{state-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{state-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-q1ee63dc.js → project-5tcm9639.js} +9 -9
- package/dist/chunks/{state-4xrh0rhr.js → project-5yn3fq23.js} +18 -18
- package/dist/chunks/{state-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{state-6b2hcgdj.js → project-6agexhvj.js} +23 -23
- package/dist/chunks/{state-jhqcthf8.js → project-6ff1chsr.js} +7 -7
- package/dist/chunks/{state-mj0s41ck.js → project-6kky177d.js} +20 -20
- package/dist/chunks/{state-cavr175a.js → project-6m42r3np.js} +21 -21
- package/dist/chunks/{state-4h35skqa.js → project-6psa4521.js} +25 -25
- package/dist/chunks/{state-bfs290yx.js → project-6xhbcg84.js} +11 -11
- package/dist/chunks/{state-w39jehkq.js → project-6yz0wx8n.js} +5 -5
- package/dist/chunks/{state-71az546q.js → project-71az546q.js} +2 -2
- package/dist/chunks/{state-pz5sph25.js → project-71e56rh2.js} +26 -26
- package/dist/chunks/{state-dn8q5098.js → project-726xqz3e.js} +14 -14
- package/dist/chunks/{state-w0pbycsx.js → project-75jaekcr.js} +11 -11
- package/dist/chunks/{state-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-rvs38pn0.js → project-7kd5xmch.js} +9 -9
- package/dist/chunks/{state-b0m0sqtv.js → project-7m5nck10.js} +12 -12
- package/dist/chunks/{state-8ntxr6aa.js → project-7mgae815.js} +9 -9
- package/dist/chunks/{state-raw9brj8.js → project-7vfqg2m6.js} +9 -9
- package/dist/chunks/{state-tjw6xf46.js → project-7wa5y354.js} +28 -28
- package/dist/chunks/{state-84txncab.js → project-84txncab.js} +1 -1
- package/dist/chunks/{state-q6khfqja.js → project-87apjqaq.js} +3 -3
- package/dist/chunks/{state-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-tw9sy4ky.js → project-8gw5c2y3.js} +11 -11
- package/dist/chunks/{state-py3kkmfq.js → project-8sze2n9a.js} +6 -6
- package/dist/chunks/{state-nqz1z0h7.js → project-8ye3s8nv.js} +1 -1
- package/dist/chunks/{state-4v4bfvma.js → project-94s48bjb.js} +5 -5
- package/dist/chunks/{state-9e5bzkjp.js → project-9e5bzkjp.js} +3 -3
- package/dist/chunks/{state-b5f29xgx.js → project-9sdstft4.js} +21 -21
- package/dist/chunks/project-9sh4wc5j.js +18 -0
- package/dist/chunks/{state-dbmreddm.js → project-9tpfv5qj.js} +3 -3
- package/dist/chunks/{state-8eyw4fk8.js → project-9y0h6zc5.js} +10 -10
- package/dist/chunks/{state-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{state-e9vvwa2x.js → project-aaw70874.js} +19 -19
- package/dist/chunks/{state-gdgwqvb1.js → project-aax86smv.js} +41 -41
- package/dist/chunks/{state-g8j3nkq1.js → project-abn7vjp9.js} +3 -3
- package/dist/chunks/{state-b9j1h4rt.js → project-aj3ypgz3.js} +36 -36
- package/dist/chunks/{state-gs3s1a1g.js → project-aq5y8b9e.js} +8 -8
- package/dist/chunks/{state-fwxwf8vc.js → project-aqyh79ye.js} +27 -27
- package/dist/chunks/{state-g7djzk09.js → project-as81c8a1.js} +13 -13
- package/dist/chunks/{state-ztn91se7.js → project-ax7s5mjd.js} +35 -35
- package/dist/chunks/{state-156pf76f.js → project-b09f9w3r.js} +24 -24
- package/dist/chunks/{state-hdkng2sj.js → project-b3f8fkhc.js} +5 -5
- package/dist/chunks/{state-9hwaqfsw.js → project-b674v2dg.js} +5 -5
- package/dist/chunks/{state-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-p3ywy9md.js → project-bpdhdjrh.js} +9 -9
- package/dist/chunks/{state-pmykgg8c.js → project-bw87cbsf.js} +8 -8
- package/dist/chunks/{state-4q6hdv07.js → project-c1cxvgkt.js} +22 -22
- package/dist/chunks/{state-p231z86d.js → project-cafcag32.js} +11 -11
- package/dist/chunks/{state-973dr9hw.js → project-ckj08xbq.js} +11 -11
- package/dist/chunks/{state-jj2sh7zv.js → project-cn03ncx7.js} +28 -28
- package/dist/chunks/{state-d5cem32y.js → project-ct2kgy10.js} +35 -35
- package/dist/chunks/{state-qc1gh2j1.js → project-cybhp1ag.js} +10 -10
- package/dist/chunks/{state-ny88m09p.js → project-d0jkw2mw.js} +14 -14
- package/dist/chunks/{state-f8tsdbed.js → project-d1qd7wjw.js} +16 -16
- package/dist/chunks/{state-b762k26z.js → project-d4qdkv8q.js} +66 -66
- package/dist/chunks/{state-p7e0sywk.js → project-dddzebpn.js} +46 -46
- package/dist/chunks/{state-vg7wcjck.js → project-dn9p4qfh.js} +11 -11
- package/dist/chunks/{state-c71c51b7.js → project-dnqkvakq.js} +6 -6
- package/dist/chunks/{state-dpkg50ah.js → project-dpkg50ah.js} +1 -1
- package/dist/chunks/{state-dtjwaa49.js → project-dsp8qnq1.js} +36 -36
- package/dist/chunks/{state-66fqs2ya.js → project-dvep9rg9.js} +9 -9
- package/dist/chunks/{state-xxtx82bf.js → project-dwjzkwmt.js} +15 -15
- package/dist/chunks/{state-5qd3pb7m.js → project-e3qxr5gk.js} +2 -2
- package/dist/chunks/{state-1qqsgqx8.js → project-e4ecqbhd.js} +10 -10
- package/dist/chunks/{state-4vqt517m.js → project-e7t1aavy.js} +10 -10
- package/dist/chunks/{state-4kzv2d1h.js → project-e7tq9b6a.js} +34 -34
- package/dist/chunks/{state-e9zkcnq0.js → project-ee9t2r5z.js} +324 -324
- package/dist/chunks/{state-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-r5x6zcsm.js → project-eq1pz5kg.js} +3 -3
- package/dist/chunks/{state-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-89hqkma4.js → project-f87kvrwd.js} +12 -12
- package/dist/chunks/{state-st3bvm3z.js → project-f8wgfp93.js} +1 -1
- package/dist/chunks/{state-7dqw4kz8.js → project-fcrkznn8.js} +5 -5
- package/dist/chunks/{state-4gdcnkn7.js → project-febwrgts.js} +13 -13
- package/dist/chunks/{state-jhc49e06.js → project-ffgyggc9.js} +14 -14
- package/dist/chunks/{state-qr6f2pwv.js → project-fpecnkgp.js} +7 -7
- package/dist/chunks/{state-3wbg2ndj.js → project-g092ypnw.js} +87 -87
- package/dist/chunks/{state-f21xsg09.js → project-g2mkgnrs.js} +11 -11
- package/dist/chunks/{state-62j9fngz.js → project-g32pa6cz.js} +18 -18
- package/dist/chunks/{state-hd6j8gz4.js → project-g420gf6v.js} +17 -17
- package/dist/chunks/{state-fp0qye03.js → project-gawsz3z8.js} +1 -1
- package/dist/chunks/{state-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-0evtapph.js → project-geme70nx.js} +23 -23
- package/dist/chunks/{state-mbaznf29.js → project-gh8z36ey.js} +52 -52
- package/dist/chunks/{state-qmqgtz8f.js → project-gjwgx2c5.js} +5 -5
- package/dist/chunks/{state-sy0mtapm.js → project-gm1vyzya.js} +8 -8
- package/dist/chunks/{state-0t6gahkk.js → project-gpybh6qr.js} +15 -15
- package/dist/chunks/{state-px82hka4.js → project-h1me2qtk.js} +25 -25
- package/dist/chunks/{state-h2b79v29.js → project-h2b79v29.js} +2 -2
- package/dist/chunks/{state-z3tfttx3.js → project-h4tn8bjr.js} +24 -24
- package/dist/chunks/{state-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-8qc73tc2.js → project-hc6xx77k.js} +149 -149
- package/dist/chunks/{state-0vmmzasy.js → project-hn1j4dd1.js} +18 -18
- package/dist/chunks/{state-2a67ew1x.js → project-hqtyt41h.js} +16 -16
- package/dist/chunks/{state-sa6q0sr8.js → project-htw78zam.js} +9 -9
- package/dist/chunks/{state-0habsvra.js → project-hzv4x4d7.js} +37 -37
- package/dist/chunks/{state-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{state-1e734s2r.js → project-j5brcy3t.js} +5 -5
- package/dist/chunks/{state-sp8t9wc6.js → project-jrrskf74.js} +13 -13
- package/dist/chunks/{state-e971aeta.js → project-jwzdq6qe.js} +26 -26
- package/dist/chunks/{state-kqcenne1.js → project-k9889ctd.js} +4 -4
- package/dist/chunks/{state-zyznzm79.js → project-kem4c7p9.js} +39 -39
- package/dist/chunks/{state-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{state-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-r40bckrt.js → project-mbyaj28y.js} +11 -11
- package/dist/chunks/{state-1184ktb1.js → project-mc03dfj2.js} +18 -18
- package/dist/chunks/{state-xpzvwsxq.js → project-me9x40rz.js} +9 -9
- package/dist/chunks/{state-9b8xxv86.js → project-mgyamy9f.js} +15 -15
- package/dist/chunks/{state-n4qnjn2y.js → project-mq617yme.js} +3 -3
- package/dist/chunks/project-mz9v6fn6.js +26 -0
- package/dist/chunks/{state-2a2w6e8b.js → project-n4avfwtk.js} +13 -13
- package/dist/chunks/{state-cbmd897h.js → project-n779kegd.js} +48 -48
- package/dist/chunks/{state-vhk0cnae.js → project-naj50rvz.js} +8 -8
- package/dist/chunks/{state-4bm5ja14.js → project-nb9p6b26.js} +4 -4
- package/dist/chunks/{state-jfdg5rtg.js → project-nba0d0r9.js} +15 -15
- package/dist/chunks/{state-8snfv42w.js → project-nhd3karc.js} +26 -26
- package/dist/chunks/{state-ymz5hgvb.js → project-njrmf5ty.js} +4 -4
- package/dist/chunks/{state-9fre5sse.js → project-nsf1s7g5.js} +27 -27
- package/dist/chunks/{state-1nn5drgz.js → project-nta5q4rv.js} +5 -5
- package/dist/chunks/{state-n8p82dhe.js → project-nv346ecc.js} +28 -28
- package/dist/chunks/{state-sraxnq5r.js → project-nzwy63kk.js} +24 -24
- package/dist/chunks/{state-br0tr5aq.js → project-p37cw4rj.js} +8 -8
- package/dist/chunks/{state-93gtw0bd.js → project-p3k5snbe.js} +11 -11
- package/dist/chunks/{state-p4eehdyd.js → project-p635cpcm.js} +8 -8
- package/dist/chunks/{state-j9sjb22p.js → project-p8sk8dd3.js} +81 -81
- package/dist/chunks/{state-hv7bcywx.js → project-pb6zbza6.js} +20 -20
- package/dist/chunks/{state-4r5b2nkg.js → project-pc1ceyb2.js} +14 -14
- package/dist/chunks/{state-s95j5qxz.js → project-pfmqbzqt.js} +11 -11
- package/dist/chunks/{state-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{state-vaj4218p.js → project-ppbrew67.js} +2 -2
- package/dist/chunks/{state-wqa2ds3j.js → project-pw3q3qey.js} +4 -4
- package/dist/chunks/{state-k1ga895a.js → project-pwtdnyh9.js} +15 -15
- package/dist/chunks/{state-dpdfbyc3.js → project-q4kjy4d8.js} +10 -10
- package/dist/chunks/{state-xxyjb3m7.js → project-q4m7xg1s.js} +37 -37
- package/dist/chunks/{state-zawmcqxv.js → project-q4ywzs9a.js} +32 -32
- package/dist/chunks/{state-8t6qyhyp.js → project-q6tfvhth.js} +23 -23
- package/dist/chunks/{state-t2fc4mz5.js → project-qa3qhgw8.js} +4 -4
- package/dist/chunks/{state-fmcpxxk1.js → project-qfwk45bd.js} +1 -1
- package/dist/chunks/{state-yrxxtv3n.js → project-qkkw86vq.js} +22 -22
- package/dist/chunks/{state-qnc92qwc.js → project-qnc92qwc.js} +1 -1
- package/dist/chunks/{state-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{state-qxjc9qry.js → project-qxjc9qry.js} +3 -3
- package/dist/chunks/{state-jte75k51.js → project-r44petzp.js} +12 -12
- package/dist/chunks/{state-8vnprxe7.js → project-r7n4y60x.js} +4 -4
- package/dist/chunks/{state-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-vktb4bc8.js → project-rentj72j.js} +18 -18
- package/dist/chunks/{state-4dqr7rbq.js → project-rhd7xt13.js} +2 -2
- package/dist/chunks/{state-drnf6xwf.js → project-rhzk7vne.js} +2 -2
- package/dist/chunks/{state-94wqyd0k.js → project-ryjjnpsr.js} +3 -3
- package/dist/chunks/{state-1sv0vpv6.js → project-ryyr4bac.js} +15 -15
- package/dist/chunks/{state-00x4qneg.js → project-rzs3gq0x.js} +8 -8
- package/dist/chunks/{state-h0ax5cdq.js → project-s0dwtmyb.js} +21 -21
- package/dist/chunks/{state-rtathh62.js → project-s942n1t7.js} +8 -8
- package/dist/chunks/{state-dan13dt5.js → project-sgztcagg.js} +10 -10
- package/dist/chunks/{state-sg9fmgqt.js → project-snnm5sn4.js} +31 -31
- package/dist/chunks/{state-x1y3x1aj.js → project-sr3mnf59.js} +5 -5
- package/dist/chunks/{state-h8m34f5a.js → project-stzwavqr.js} +4 -4
- package/dist/chunks/{state-wa8c4pwg.js → project-svz14vt8.js} +3 -3
- package/dist/chunks/{state-jrzdhf5b.js → project-t1j28ph2.js} +13 -13
- package/dist/chunks/{state-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-mc3v3pa2.js → project-tcc0r8za.js} +33 -33
- package/dist/chunks/{state-tcezcvh9.js → project-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{state-28hqs9y2.js → project-tg0zcngb.js} +34 -34
- package/dist/chunks/{state-4yajm3g0.js → project-tjjemwh3.js} +26 -26
- package/dist/chunks/{state-8pngkf8q.js → project-tscav28z.js} +15 -15
- package/dist/chunks/{state-4wwqnvbr.js → project-tx92n959.js} +4 -4
- package/dist/chunks/{state-5a1vmb6m.js → project-vd0txp44.js} +9 -9
- package/dist/chunks/{state-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{state-kqq88ggn.js → project-vj6pvrjx.js} +17 -17
- package/dist/chunks/{state-ac3w4tg1.js → project-vjawha9d.js} +11 -11
- package/dist/chunks/{state-yxwprvvc.js → project-vjegvrxn.js} +11 -11
- package/dist/chunks/{state-7tfh8s6m.js → project-vkb80v61.js} +32 -32
- package/dist/chunks/{state-ecx4enea.js → project-vkrsgtnq.js} +24 -24
- package/dist/chunks/{state-r5wgqceq.js → project-vqfzq50h.js} +6 -6
- package/dist/chunks/{state-bv6pjsgs.js → project-vrwj9c6s.js} +24 -24
- package/dist/chunks/{state-2dmzcsnk.js → project-vsrbj1dm.js} +19 -19
- package/dist/chunks/{state-vfsag6yk.js → project-vyvzj8mn.js} +6 -6
- package/dist/chunks/{state-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-fy6qjb7w.js → project-vzfc91x2.js} +1 -1
- package/dist/chunks/{state-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
- package/dist/chunks/{state-909kf17w.js → project-w2pcbqkp.js} +20 -20
- package/dist/chunks/{state-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-v3kds7by.js → project-w5c7j25r.js} +21 -21
- package/dist/chunks/{state-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{state-zfs8ae4p.js → project-wqxhcm17.js} +4 -4
- package/dist/chunks/{state-jngrqr67.js → project-wtz6rdwb.js} +17 -17
- package/dist/chunks/{state-yq5dzq7s.js → project-wv2sqx2v.js} +9 -9
- package/dist/chunks/{state-11jr2j0r.js → project-wv60phkr.js} +8 -8
- package/dist/chunks/{state-hsyrampd.js → project-ww2n7qbw.js} +17 -17
- package/dist/chunks/{state-kqps6bad.js → project-wzj0v005.js} +149 -149
- package/dist/chunks/{state-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-6axd00vm.js → project-x2qsw74m.js} +2 -2
- package/dist/chunks/{state-9zsw43zy.js → project-x4b3e5bc.js} +28 -28
- package/dist/chunks/{state-gqngt8w2.js → project-x4t6p7xs.js} +3 -3
- package/dist/chunks/{state-x661k3y3.js → project-x661k3y3.js} +1 -1
- package/dist/chunks/{state-wsb67xeh.js → project-x827mkbf.js} +5 -5
- package/dist/chunks/{state-pfw3e90a.js → project-x97gtvx7.js} +9 -9
- package/dist/chunks/{state-644qpva7.js → project-xa4jwm2d.js} +15 -15
- package/dist/chunks/{state-v03amwsg.js → project-xf02r116.js} +16 -16
- package/dist/chunks/{state-xfkkasph.js → project-xfkkasph.js} +1 -1
- package/dist/chunks/{state-v9gds4fw.js → project-xgeqcv8v.js} +46 -46
- package/dist/chunks/{state-rhgpg4e0.js → project-xkgz8z0h.js} +39 -39
- package/dist/chunks/{state-xkntkrq7.js → project-xkntkrq7.js} +2 -2
- package/dist/chunks/{state-ns3eape4.js → project-xp3fh2h7.js} +1 -1
- package/dist/chunks/{state-8c0dth6r.js → project-xvynetsd.js} +29 -29
- package/dist/chunks/{state-p9gcp42t.js → project-y0zhphgk.js} +52 -52
- package/dist/chunks/{state-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-1dqwkdsj.js → project-y3xr2ha8.js} +26 -26
- package/dist/chunks/{state-ysd7vb1z.js → project-ycsmej7s.js} +17 -17
- package/dist/chunks/{state-036v1hvj.js → project-ydgp3khf.js} +4 -4
- package/dist/chunks/{state-1gpb38yh.js → project-yewzvha6.js} +7 -7
- package/dist/chunks/{state-3zbwexce.js → project-ym7wpcjr.js} +8 -8
- package/dist/chunks/{state-rhraev7y.js → project-yp2x3t23.js} +4 -4
- package/dist/chunks/{state-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-6ysrkrkr.js → project-yts3es8x.js} +8 -8
- package/dist/chunks/{state-ybgh13y4.js → project-ywb7831f.js} +38 -38
- package/dist/chunks/{state-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-tk1fp2k0.js → project-z8htr2ab.js} +10 -10
- package/dist/chunks/{state-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-x9e8217n.js → project-zr7tj41s.js} +16 -16
- package/dist/chunks/{state-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- 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 +364 -364
- 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 +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +4 -4
- package/dist/filesystem/location-watcher.js +218 -218
- 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 +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +76 -76
- 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 +103 -103
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- 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 +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- 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 +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- 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 +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- 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/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- 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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +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 +162 -162
- 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 +1 -1
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- 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 +78 -78
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/state-2dkqpbz0.js +0 -26
- package/dist/chunks/state-9zdhvgqs.js +0 -18
- /package/dist/chunks/{state-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-34c7v6d4.js → project-34c7v6d4.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3t0ybcrp.js → project-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./project-xf02r116.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./project-vrwj9c6s.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service68
|
|
15
|
+
} from "./project-pc1ceyb2.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./project-4saarp1s.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service49
|
|
24
|
+
} from "./project-gh8z36ey.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service14
|
|
27
|
+
} from "./project-hn1j4dd1.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./project-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input4,
|
|
37
|
+
Output: () => Output3,
|
|
38
|
+
Plugin: () => Plugin4,
|
|
39
|
+
name: () => name4,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name4 = "glob";
|
|
46
|
+
var Input4 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output3 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin4 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service69;
|
|
70
|
+
const ripgrep = yield* Service68;
|
|
71
|
+
const location = yield* Service79;
|
|
72
|
+
const access = yield* Service14;
|
|
73
|
+
const permission = yield* Service49;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name4,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input4,
|
|
79
|
+
output: Output3,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name4,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin31 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name4, Input4, Output3, toModelContent2, Plugin4, exports_glob };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-mq617yme.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-56k7gmct.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-1w9a9pv3.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./project-9e5bzkjp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./project-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service40,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer17,
|
|
49
|
+
list: () => list3,
|
|
50
|
+
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node42,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service40 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service83;
|
|
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list3(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer17 = Layer.effect(Service40, make17());
|
|
231
|
+
var node42 = makeGlobalNode({ service: Service40, layer: layer17, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service40, make17, layer17, node42, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make10,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
60
60
|
return { retry: true, attempt, delay: normalized };
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
64
64
|
const decide = yield* policy2(sessionID);
|
|
65
65
|
const wait = (input) => Effect.gen(function* () {
|
|
66
66
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -77,4 +77,4 @@ var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
77
77
|
return { decide, wait };
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { isRetryable2, policy2,
|
|
80
|
+
export { isRetryable2, policy2, make10, exports_retry };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info12,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info12 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info11 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info12, exports_provider2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./project-vqfzq50h.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-yewzvha6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service44
|
|
12
|
+
} from "./project-g32pa6cz.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service41;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-ww2n7qbw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./project-tjjemwh3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin20,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,10 +23,10 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin20 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
|
-
const models = yield*
|
|
29
|
+
const models = yield* Service65;
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
31
31
|
if (event.options.textVerbosity !== undefined)
|
|
32
32
|
return;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin20, exports_verbosity };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load5
|
|
6
|
+
} from "./project-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event10,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service60,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
20
|
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer24,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node63,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event10 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load5());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service60 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer24 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service60.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service60.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service60).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service60, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
167
|
function configured10(options) {
|
|
168
|
-
return makeGlobalNode({ service:
|
|
168
|
+
return makeGlobalNode({ service: Service60, layer: layer24(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node63 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event10, hasNativeBinding2, Native3, Options9, Service60, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured10, node63, exports_watcher };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./project-hzv4x4d7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./project-7wa5y354.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin43
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin43 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service59;
|
|
26
|
+
const compaction = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin8 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin43, exports_compaction };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./project-c1cxvgkt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./project-hzv4x4d7.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-2zg3fw59.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin39
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin39 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service59;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service60;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin3 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin39, exports_compatibility };
|