@opencode/core 0.0.0-dev-21737 → 0.0.0-dev-21741
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 +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{instance-034tev2y.js → provider-034tev2y.js} +2 -2
- package/dist/chunks/{instance-4c098nn7.js → provider-057k196j.js} +11 -11
- package/dist/chunks/{instance-md5eedcr.js → provider-05yr7vd1.js} +16 -16
- package/dist/chunks/{instance-ewakfpsq.js → provider-071pdryd.js} +9 -9
- package/dist/chunks/{instance-088c5sek.js → provider-0760z1bf.js} +24 -24
- package/dist/chunks/{instance-sn8kw23h.js → provider-0b26th02.js} +20 -20
- package/dist/chunks/{instance-kph269xd.js → provider-0egfcpbc.js} +10 -10
- package/dist/chunks/{instance-rxwmntmh.js → provider-0q4bjshc.js} +9 -9
- package/dist/chunks/{instance-wv9jcb24.js → provider-0rm99xvh.js} +18 -18
- package/dist/chunks/{instance-fvv0jnmf.js → provider-0w85m5rg.js} +2 -2
- package/dist/chunks/{instance-1w9z903r.js → provider-19mm4jkf.js} +14 -14
- package/dist/chunks/{instance-jkg2pe84.js → provider-1b7feyff.js} +4 -4
- package/dist/chunks/{instance-1ep2p91f.js → provider-1ep2p91f.js} +2 -2
- package/dist/chunks/{instance-9my9g56e.js → provider-1hgtrac8.js} +20 -20
- package/dist/chunks/{instance-e0gen651.js → provider-1pyzd5rz.js} +4 -4
- package/dist/chunks/{instance-1x2knyw4.js → provider-1x2knyw4.js} +1 -1
- package/dist/chunks/{instance-sb1w6q8t.js → provider-21paxrje.js} +8 -8
- package/dist/chunks/{instance-hjnchz58.js → provider-258zgyd3.js} +4 -4
- package/dist/chunks/{instance-s3gwhamz.js → provider-29328zmv.js} +10 -10
- package/dist/chunks/{instance-1v4g4vrq.js → provider-293zmzk3.js} +25 -25
- package/dist/chunks/{instance-xfze03cg.js → provider-2a13tp2z.js} +9 -9
- package/dist/chunks/{instance-bxvjcbaj.js → provider-2d7s4snt.js} +1 -1
- package/dist/chunks/{instance-b28hx4qj.js → provider-2efbfxa2.js} +12 -12
- package/dist/chunks/{instance-vnzjz98e.js → provider-2esk3rz8.js} +10 -10
- package/dist/chunks/{instance-bpbwb3wq.js → provider-2y1gb7bf.js} +34 -34
- package/dist/chunks/{instance-2z1j29yd.js → provider-2z1j29yd.js} +1 -1
- package/dist/chunks/{instance-hw3a1frf.js → provider-325tyq60.js} +8 -8
- package/dist/chunks/{instance-q46y00v4.js → provider-32s59e8p.js} +9 -9
- package/dist/chunks/{instance-cd4f8jq7.js → provider-35ezct5e.js} +2 -2
- package/dist/chunks/{instance-ya1bkq1k.js → provider-39nsvtx9.js} +5 -5
- package/dist/chunks/{instance-h4d9g09r.js → provider-3d68epx0.js} +12 -12
- package/dist/chunks/{instance-gjar511g.js → provider-3ek9mykt.js} +20 -20
- package/dist/chunks/{instance-2egtfhny.js → provider-3g4a5sj5.js} +11 -11
- package/dist/chunks/{instance-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3nnrz6f6.js → provider-3nnrz6f6.js} +1 -1
- package/dist/chunks/{instance-40za9wsf.js → provider-40za9wsf.js} +2 -2
- package/dist/chunks/{instance-bjhzkqyk.js → provider-42jd4697.js} +4 -4
- package/dist/chunks/{instance-enz4a2en.js → provider-453f90m3.js} +11 -11
- package/dist/chunks/{instance-5z5p6ttv.js → provider-45401wj5.js} +31 -31
- package/dist/chunks/{instance-tbvtksn9.js → provider-46ynt52a.js} +17 -17
- package/dist/chunks/{instance-9kf05tb8.js → provider-47te7ynq.js} +46 -46
- package/dist/chunks/{instance-q7s0nv2v.js → provider-4apf49bg.js} +11 -11
- package/dist/chunks/{instance-ffsf9a2h.js → provider-4fp36y3f.js} +3 -3
- package/dist/chunks/{instance-3td9dqfv.js → provider-4jdak5qx.js} +33 -33
- package/dist/chunks/provider-4my81qaj.js +18 -0
- package/dist/chunks/{instance-kzvxyj4g.js → provider-4patj9gp.js} +41 -41
- package/dist/chunks/{instance-293ash8w.js → provider-4tggksa0.js} +23 -23
- package/dist/chunks/{instance-4v008n1t.js → provider-4v008n1t.js} +1 -1
- package/dist/chunks/{instance-4xvmh7wp.js → provider-4xvmh7wp.js} +3 -3
- package/dist/chunks/{instance-s2pfznc4.js → provider-51d35nkj.js} +6 -6
- package/dist/chunks/{instance-jjq9b699.js → provider-51ndbk3m.js} +17 -17
- package/dist/chunks/{instance-e6bvka47.js → provider-5at8t5d4.js} +6 -6
- package/dist/chunks/{instance-w08vq82x.js → provider-5bther4g.js} +4 -4
- package/dist/chunks/{instance-xzkexmd1.js → provider-5ckzyhpz.js} +13 -13
- package/dist/chunks/{instance-wm9p1wa6.js → provider-5cvy86xw.js} +7 -7
- package/dist/chunks/{instance-2bfs8gn1.js → provider-5dcgybnw.js} +12 -12
- package/dist/chunks/{instance-rvgabk9x.js → provider-5fm86d73.js} +46 -46
- package/dist/chunks/{instance-ddb04n1a.js → provider-5j03b1nz.js} +5 -5
- package/dist/chunks/{instance-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{instance-e3qxr5gk.js → provider-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instance-02dt31v8.js → provider-5sb34hzm.js} +11 -11
- package/dist/chunks/{instance-jjwxyjch.js → provider-5w231npz.js} +52 -52
- package/dist/chunks/{instance-1yq9hg58.js → provider-5zrxpy3q.js} +5 -5
- package/dist/chunks/{instance-vf277hbe.js → provider-61k36nzc.js} +13 -13
- package/dist/chunks/{instance-4ehrwgae.js → provider-6468grjv.js} +29 -29
- package/dist/chunks/{instance-5fp4xtg6.js → provider-6a1y2vt9.js} +11 -11
- package/dist/chunks/{instance-6esdw8yj.js → provider-6esdw8yj.js} +1 -1
- package/dist/chunks/{instance-rzvxyg0k.js → provider-6f5ac1z8.js} +33 -33
- package/dist/chunks/{instance-6pjqjmy2.js → provider-6pjqjmy2.js} +1 -1
- package/dist/chunks/{instance-2zvb95hn.js → provider-6q02j29c.js} +9 -9
- package/dist/chunks/{instance-yyptqvsv.js → provider-6sjjy45b.js} +14 -14
- package/dist/chunks/{instance-9vhn202w.js → provider-6t7x7vt4.js} +17 -17
- package/dist/chunks/{instance-bgm817xr.js → provider-6twykydk.js} +9 -9
- package/dist/chunks/{instance-e57twazt.js → provider-70xnp472.js} +9 -9
- package/dist/chunks/{instance-770pw0s1.js → provider-770pw0s1.js} +1 -1
- package/dist/chunks/{instance-bx3xrfzp.js → provider-79456s4q.js} +50 -50
- package/dist/chunks/{instance-nwr7kgq9.js → provider-79etx3tg.js} +13 -13
- package/dist/chunks/{instance-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-x6v60zdr.js → provider-7gpj8ndm.js} +41 -41
- package/dist/chunks/{instance-3k4kes42.js → provider-7jzx5pkr.js} +17 -17
- package/dist/chunks/{instance-sgc7peew.js → provider-7n1pfn98.js} +12 -12
- package/dist/chunks/{instance-m9z63v8y.js → provider-7npwba49.js} +11 -11
- package/dist/chunks/{instance-1vayb35z.js → provider-7nznt803.js} +4 -4
- package/dist/chunks/{instance-7w2ypzdf.js → provider-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instance-wp6eyfmb.js → provider-7yfnjvkq.js} +26 -26
- package/dist/chunks/{instance-rqkaytd9.js → provider-8417gb1w.js} +18 -18
- package/dist/chunks/{instance-wr10xvwd.js → provider-8fvj0qxe.js} +1 -1
- package/dist/chunks/{instance-2mbjfaxd.js → provider-8r9nj4s8.js} +4 -4
- package/dist/chunks/{instance-8wtp7s3z.js → provider-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instance-19035ffm.js → provider-8yt7yt50.js} +21 -21
- package/dist/chunks/{instance-t3tsa2ye.js → provider-90mqr9hk.js} +16 -16
- package/dist/chunks/{instance-91rj84md.js → provider-91rj84md.js} +1 -1
- package/dist/chunks/{instance-erjdy8sv.js → provider-957wh7sd.js} +6 -6
- package/dist/chunks/{instance-998yhzzq.js → provider-998yhzzq.js} +3 -3
- package/dist/chunks/{instance-tde2w7cv.js → provider-9datcxrc.js} +178 -178
- package/dist/chunks/{instance-y96djp85.js → provider-9fjfbv8x.js} +19 -19
- package/dist/chunks/{instance-fp9pkdw7.js → provider-9hrhwkwn.js} +27 -27
- package/dist/chunks/{instance-2yjs4dd9.js → provider-9jjx417m.js} +33 -33
- package/dist/chunks/{instance-f1f3975j.js → provider-9kx3zt08.js} +18 -18
- package/dist/chunks/{instance-engkm2d6.js → provider-9pkkzrmj.js} +5 -5
- package/dist/chunks/{instance-8ev1pcqt.js → provider-a25a1x4r.js} +11 -11
- package/dist/chunks/{instance-c6b31jwj.js → provider-aa4v34y7.js} +11 -11
- package/dist/chunks/{instance-br0kkpnn.js → provider-an558sqv.js} +7 -7
- package/dist/chunks/{instance-szte2x2z.js → provider-apgvj0s5.js} +1 -1
- package/dist/chunks/{instance-ayjs7tqn.js → provider-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instance-5bjenpp2.js → provider-az8gwjeh.js} +24 -24
- package/dist/chunks/{instance-b0mv4wxm.js → provider-b0mv4wxm.js} +2 -2
- package/dist/chunks/{instance-17eebdcn.js → provider-b1wgcghj.js} +15 -15
- package/dist/chunks/{instance-v5b8vtwg.js → provider-b26jwmxb.js} +29 -29
- package/dist/chunks/{instance-9b05c6b7.js → provider-b2me7aax.js} +23 -23
- package/dist/chunks/{instance-4v7paddd.js → provider-b3r2jmtt.js} +45 -45
- package/dist/chunks/{instance-b6vsg801.js → provider-b6vsg801.js} +2 -2
- package/dist/chunks/{instance-askypgp9.js → provider-b9ctexwj.js} +7 -7
- package/dist/chunks/{instance-vy7et17m.js → provider-bc9hewbq.js} +30 -30
- package/dist/chunks/{instance-6wdcbwmk.js → provider-bd45fzh3.js} +10 -10
- package/dist/chunks/{instance-r1gh9dqs.js → provider-be70t1qn.js} +17 -17
- package/dist/chunks/{instance-51caqphj.js → provider-bjr1sk69.js} +16 -16
- package/dist/chunks/{instance-ctetrk4r.js → provider-bkrx76dd.js} +21 -21
- package/dist/chunks/{instance-yxjgv99z.js → provider-bnmdnzdy.js} +19 -19
- package/dist/chunks/{instance-snw911r3.js → provider-bnt6g489.js} +18 -18
- package/dist/chunks/{instance-bstexjd6.js → provider-bstexjd6.js} +1 -1
- package/dist/chunks/{instance-m5jcjszt.js → provider-btfhnvjh.js} +3 -3
- package/dist/chunks/{instance-53qrycfh.js → provider-bw2b3f7d.js} +7 -7
- package/dist/chunks/{instance-mvxzpk9t.js → provider-bzc2yew2.js} +20 -20
- package/dist/chunks/{instance-dqgvvwe0.js → provider-c3cfh5w6.js} +9 -9
- package/dist/chunks/{instance-sk0aa0ct.js → provider-c79r94da.js} +6 -6
- package/dist/chunks/{instance-h5mmjbq4.js → provider-c7sk7bjx.js} +14 -14
- package/dist/chunks/{instance-1z6jjy5p.js → provider-c8666r4c.js} +6 -6
- package/dist/chunks/{instance-k3pb8hgw.js → provider-c8gkay0f.js} +11 -11
- package/dist/chunks/{instance-610xxm5v.js → provider-cgcf1fbe.js} +28 -28
- package/dist/chunks/{instance-2kn5j6w6.js → provider-d1f6cs1b.js} +28 -28
- package/dist/chunks/{instance-d4v9tmah.js → provider-d4v9tmah.js} +2 -2
- package/dist/chunks/{instance-e834z07m.js → provider-e834z07m.js} +1 -1
- package/dist/chunks/{instance-853yp9pp.js → provider-e8hxt5xr.js} +4 -4
- package/dist/chunks/{instance-kp488srz.js → provider-edpnj26g.js} +14 -14
- package/dist/chunks/{instance-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-xq9c1t8e.js → provider-ex2hmasg.js} +76 -76
- package/dist/chunks/{instance-35gggtsy.js → provider-fa1zjye2.js} +30 -30
- package/dist/chunks/{instance-5q1xfxjj.js → provider-fb40hhpr.js} +34 -34
- package/dist/chunks/{instance-wv99nc14.js → provider-fddgahsh.js} +8 -8
- package/dist/chunks/{instance-b7smkqqm.js → provider-fes0xpg6.js} +21 -21
- package/dist/chunks/{instance-fffv3p7h.js → provider-fffv3p7h.js} +1 -1
- package/dist/chunks/{instance-8jvfs95y.js → provider-fhtmtcx2.js} +11 -11
- package/dist/chunks/{instance-zf94a030.js → provider-fma07qn0.js} +27 -27
- package/dist/chunks/{instance-abk0pn4m.js → provider-fr33pd02.js} +39 -93
- package/dist/chunks/{instance-wkms8jwf.js → provider-fy319ky4.js} +22 -22
- package/dist/chunks/{instance-fznmdakp.js → provider-fznmdakp.js} +1 -1
- package/dist/chunks/{instance-k1smcb56.js → provider-g24xrxm1.js} +10 -10
- package/dist/chunks/{instance-g5h9c0rr.js → provider-g5h9c0rr.js} +2 -2
- package/dist/chunks/{instance-ffd2g7hr.js → provider-gb3g7p85.js} +3 -3
- package/dist/chunks/{instance-a2yp0tmx.js → provider-gfmp7vh0.js} +73 -73
- package/dist/chunks/{instance-fwgan59a.js → provider-gr1qaqsf.js} +8 -8
- package/dist/chunks/{instance-5p675g39.js → provider-h4fm09gc.js} +30 -30
- package/dist/chunks/{instance-qt4jsws8.js → provider-hdwxh6w6.js} +11 -11
- package/dist/chunks/{instance-ydsespw1.js → provider-hy8c1z76.js} +8 -8
- package/dist/chunks/{instance-j113cymg.js → provider-j113cymg.js} +1 -1
- package/dist/chunks/{instance-dp66fs17.js → provider-jj9caqwr.js} +8 -8
- package/dist/chunks/provider-jm272r5s.js +82 -0
- package/dist/chunks/{instance-tw86pxrh.js → provider-jxd4r8gh.js} +38 -38
- package/dist/chunks/{instance-masd7ga8.js → provider-jz5mkmtx.js} +4 -4
- package/dist/chunks/{instance-axn73wqb.js → provider-k0csj38z.js} +23 -23
- package/dist/chunks/{instance-10635h6a.js → provider-k37f66a8.js} +5 -5
- package/dist/chunks/{instance-w6kgknx6.js → provider-k5cfc06a.js} +21 -21
- package/dist/chunks/{instance-9qbd9s9q.js → provider-k7f2a4x5.js} +23 -23
- package/dist/chunks/{instance-k814nvkf.js → provider-k814nvkf.js} +1 -1
- package/dist/chunks/{instance-47g3wcfd.js → provider-k861cbc6.js} +16 -16
- package/dist/chunks/{instance-5veaeck1.js → provider-k8ydtb0c.js} +31 -31
- package/dist/chunks/{instance-k732j073.js → provider-kc4ez2ea.js} +8 -8
- package/dist/chunks/{instance-m15ha2ry.js → provider-kcyas487.js} +6 -6
- package/dist/chunks/{instance-fc0528q2.js → provider-kj5kbge2.js} +11 -11
- package/dist/chunks/{instance-z1xt9gh3.js → provider-kpt1bh4f.js} +4 -4
- package/dist/chunks/{instance-wr70de5k.js → provider-kqwvs3nc.js} +9 -9
- package/dist/chunks/{instance-dpe8rc26.js → provider-kvn4msk3.js} +28 -28
- package/dist/chunks/{instance-4t73j1de.js → provider-m0emhkmq.js} +41 -41
- package/dist/chunks/{instance-m1714858.js → provider-m1714858.js} +1 -1
- package/dist/chunks/{instance-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-maspj1v3.js → provider-maspj1v3.js} +1 -1
- package/dist/chunks/{instance-20nkek7e.js → provider-mbrvjtz5.js} +5 -5
- package/dist/chunks/{instance-h366y0sc.js → provider-mfpfhbf8.js} +3 -3
- package/dist/chunks/{instance-1711wf45.js → provider-mfwfc967.js} +12 -12
- package/dist/chunks/{instance-27mh3p24.js → provider-mhqptywc.js} +39 -39
- package/dist/chunks/{instance-e80eabp6.js → provider-mmk2bjs0.js} +4 -4
- package/dist/chunks/{instance-dhk19yg2.js → provider-mpme1wak.js} +15 -15
- package/dist/chunks/{instance-kb4gstwj.js → provider-mqcadzqw.js} +5 -5
- package/dist/chunks/{instance-642xwb08.js → provider-ms6z8pm2.js} +22 -22
- package/dist/chunks/{instance-vjt9jkrp.js → provider-msm4fd07.js} +2 -2
- package/dist/chunks/{instance-c9t2ty9q.js → provider-mtkfycnh.js} +4 -4
- package/dist/chunks/{instance-9dtpar6r.js → provider-mw5gnzr4.js} +8 -8
- package/dist/chunks/{instance-pmd3r3az.js → provider-mybr8r82.js} +21 -21
- package/dist/chunks/{instance-n0p0277s.js → provider-n0p0277s.js} +1 -1
- package/dist/chunks/{instance-xm7mgsfh.js → provider-n0zcxq73.js} +42 -42
- package/dist/chunks/{instance-q0gsxww0.js → provider-n6k44f0v.js} +9 -9
- package/dist/chunks/{instance-1x73k67a.js → provider-naz61gwx.js} +6 -6
- package/dist/chunks/{instance-w96pavd2.js → provider-nbn2ey7n.js} +31 -31
- package/dist/chunks/{instance-vkt8ces8.js → provider-nm0wzb90.js} +11 -11
- package/dist/chunks/{instance-f4fb2d7e.js → provider-ny1dbsp1.js} +13 -13
- package/dist/chunks/{instance-n9c29d0n.js → provider-nzabrtva.js} +26 -26
- package/dist/chunks/{instance-p015t6z3.js → provider-p015t6z3.js} +2 -2
- package/dist/chunks/{instance-x16pg8z3.js → provider-p9x59b0e.js} +5 -5
- package/dist/chunks/{instance-gpn6xwvy.js → provider-pa2pq7zw.js} +27 -27
- package/dist/chunks/{instance-1vdntpm3.js → provider-pacbbjc0.js} +5 -5
- package/dist/chunks/{instance-dh62xe4r.js → provider-pc1v25hk.js} +3 -3
- package/dist/chunks/{instance-dbj947r6.js → provider-pjtzsg8v.js} +32 -32
- package/dist/chunks/{instance-2775smn5.js → provider-pkhmamfe.js} +7 -7
- package/dist/chunks/{instance-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{instance-6y712hff.js → provider-q0r62q50.js} +37 -37
- package/dist/chunks/{instance-3ctfd0xr.js → provider-q2y63fzp.js} +25 -25
- package/dist/chunks/{instance-9dk4f4hb.js → provider-q49789rj.js} +2 -2
- package/dist/chunks/{instance-cabf55wf.js → provider-q8tzggtk.js} +16 -16
- package/dist/chunks/{instance-qjgzc4b4.js → provider-qjgzc4b4.js} +1 -1
- package/dist/chunks/{instance-7y4cxz3x.js → provider-qkms8zfm.js} +6 -6
- package/dist/chunks/{instance-r0yr0wbs.js → provider-r0yr0wbs.js} +1 -1
- package/dist/chunks/{instance-r6wgv8c9.js → provider-r6wgv8c9.js} +2 -2
- package/dist/chunks/{instance-1z5rbtxr.js → provider-r9jfb1cd.js} +11 -11
- package/dist/chunks/{instance-rb9dy4dg.js → provider-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instance-ta7jjj4f.js → provider-rd00t4kt.js} +30 -30
- package/dist/chunks/{instance-hsdsbr8p.js → provider-rf6dem1w.js} +13 -13
- package/dist/chunks/{instance-h3jmw0tb.js → provider-rsemmny5.js} +15 -15
- package/dist/chunks/{instance-rvzpa6jr.js → provider-rstfs7br.js} +22 -22
- package/dist/chunks/{instance-rt5dr6hb.js → provider-rt5dr6hb.js} +1 -1
- package/dist/chunks/{instance-gb0ewatt.js → provider-s5hk0mtv.js} +5 -5
- package/dist/chunks/{instance-gvqfccsa.js → provider-saf3hjad.js} +19 -19
- package/dist/chunks/{instance-pe51nsgx.js → provider-sgn7mg05.js} +11 -11
- package/dist/chunks/{instance-c96nb0f0.js → provider-sgvwp5dh.js} +45 -45
- package/dist/chunks/{instance-nnz11nkd.js → provider-skambewy.js} +2 -2
- package/dist/chunks/{instance-sqjzf8x2.js → provider-sqjzf8x2.js} +1 -1
- package/dist/chunks/provider-srmym4gr.js +257 -0
- package/dist/chunks/{instance-afmnpta1.js → provider-szcgc7h4.js} +5 -5
- package/dist/chunks/{instance-kpa7ewzp.js → provider-tc5xkez4.js} +50 -50
- package/dist/chunks/{instance-tczq8hjw.js → provider-tczq8hjw.js} +1 -1
- package/dist/chunks/provider-tme52cxz.js +26 -0
- package/dist/chunks/{instance-dv2syv1m.js → provider-tmnyjpnt.js} +47 -47
- package/dist/chunks/{instance-wqajsaab.js → provider-trdhprzm.js} +22 -22
- package/dist/chunks/{instance-sbjpfk9j.js → provider-trxcyxd6.js} +29 -29
- package/dist/chunks/{instance-tw8zr1ps.js → provider-tw8zr1ps.js} +1 -1
- package/dist/chunks/{instance-twv2r8f4.js → provider-twv2r8f4.js} +2 -2
- package/dist/chunks/{instance-jvgtj92a.js → provider-v2dw9gpr.js} +8 -8
- package/dist/chunks/{instance-v2r1d0zg.js → provider-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instance-vd3b3yk9.js → provider-vd3b3yk9.js} +1 -1
- package/dist/chunks/{instance-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-6emq4fjq.js → provider-vfrgx50f.js} +9 -9
- package/dist/chunks/{instance-vmfhgzt5.js → provider-vmfhgzt5.js} +1 -1
- package/dist/chunks/{instance-95m1jc4b.js → provider-vp6aw561.js} +12 -12
- package/dist/chunks/{instance-5p3sssfk.js → provider-vrmynpr8.js} +11 -11
- package/dist/chunks/{instance-bqwdyg2t.js → provider-vzmjdaw1.js} +9 -9
- package/dist/chunks/{instance-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-76cb1hcw.js → provider-w8qtt4th.js} +4 -4
- package/dist/chunks/{instance-wakvkjy4.js → provider-wakvkjy4.js} +1 -1
- package/dist/chunks/{instance-tw457wh2.js → provider-wawda81m.js} +25 -25
- package/dist/chunks/{instance-mywamg18.js → provider-wcr2gwqf.js} +15 -15
- package/dist/chunks/{instance-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{instance-3ycrc1ma.js → provider-wggbn9vm.js} +8 -8
- package/dist/chunks/{instance-b1hcxr8y.js → provider-wm9hvyfa.js} +23 -23
- package/dist/chunks/{instance-h7d4rbrg.js → provider-wqscedq8.js} +9 -9
- package/dist/chunks/{instance-2bqg4c0g.js → provider-wsbmx4s9.js} +22 -22
- package/dist/chunks/{instance-0ctjbtkm.js → provider-wzkcfv1a.js} +33 -33
- package/dist/chunks/{instance-yf7527zt.js → provider-wzkzkmw6.js} +4 -4
- package/dist/chunks/{instance-asaqahta.js → provider-wzwsv8q3.js} +8 -8
- package/dist/chunks/{instance-k95pkqgn.js → provider-x1cnjfky.js} +11 -11
- package/dist/chunks/{instance-8sk496c6.js → provider-xajbcg1x.js} +4 -4
- package/dist/chunks/{instance-r1eejvwv.js → provider-xcxdyyhc.js} +27 -27
- package/dist/chunks/{instance-e5tf2np9.js → provider-xfdx5fe6.js} +18 -18
- package/dist/chunks/{instance-2q8dpnb4.js → provider-xn1qvzts.js} +13 -13
- package/dist/chunks/{instance-eakmfrt3.js → provider-xnzn40zn.js} +13 -13
- package/dist/chunks/{instance-rkvwesem.js → provider-xrrkbgsx.js} +21 -21
- package/dist/chunks/{instance-8ybp78tx.js → provider-y00x4xpa.js} +4 -4
- package/dist/chunks/{instance-zxnnk3gz.js → provider-y0e44a6d.js} +12 -12
- package/dist/chunks/{instance-ahm8v5j6.js → provider-y3vq8k3g.js} +319 -325
- package/dist/chunks/{instance-0ctq0r6c.js → provider-y5wnwt1s.js} +19 -19
- package/dist/chunks/{instance-yb20nhc3.js → provider-yb20nhc3.js} +1 -1
- package/dist/chunks/{instance-srsrqy0f.js → provider-yd1ff7ye.js} +23 -23
- package/dist/chunks/{instance-zqa08gsz.js → provider-yjvz0ccp.js} +18 -18
- package/dist/chunks/{instance-hch4wa3n.js → provider-yr9cnj92.js} +4 -4
- package/dist/chunks/{instance-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-z38nccrw.js → provider-z38nccrw.js} +1 -1
- package/dist/chunks/{instance-89pz5jjr.js → provider-z6y74fh4.js} +21 -21
- package/dist/chunks/{instance-echp3k58.js → provider-z7ndhpe4.js} +3 -3
- package/dist/chunks/{instance-e471twwt.js → provider-zavmbsdh.js} +8 -8
- package/dist/chunks/{instance-stcda1zc.js → provider-zhbremzm.js} +20 -20
- package/dist/chunks/{instance-zkg84ctx.js → provider-zkg84ctx.js} +1 -1
- package/dist/chunks/{instance-g1phf3b6.js → provider-zmq402w3.js} +75 -75
- package/dist/chunks/{instance-8svwavre.js → provider-zt6nk4e1.js} +47 -47
- 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 +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +95 -95
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +101 -101
- 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 +43 -11
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +136 -136
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -171
- package/dist/plugin/sdk.js +76 -76
- 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 +349 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- 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 +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +162 -162
- package/dist/session/diff.js +90 -90
- 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 +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- 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 +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +89 -89
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +9 -9
- 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 +133 -133
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +132 -132
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +12 -12
- package/dist/types/plugin/internal.d.ts +2 -3
- package/dist/types/plugin/provider/opencode.d.ts +1 -2
- package/dist/types/voice.d.ts +1 -30
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/instance-bbs6shzm.js +0 -107
- package/dist/chunks/instance-h9zvwft0.js +0 -26
- package/dist/chunks/instance-hpghverr.js +0 -257
- package/dist/chunks/instance-me0dhgxs.js +0 -18
- /package/dist/chunks/{instance-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2bv980vf.js → provider-2bv980vf.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-5fjb7ams.js → provider-5fjb7ams.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-84wd9syh.js → provider-84wd9syh.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a058387c.js → provider-a058387c.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hcxmzztb.js → provider-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jze0r7bz.js → provider-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-m18g726c.js → provider-m18g726c.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-pkyv6v7h.js → provider-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-ve7vex1e.js → provider-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wjj7prxr.js → provider-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./provider-q8tzggtk.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID14,
|
|
20
|
+
Info: () => Info23,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service69,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer26,
|
|
29
|
+
node: () => node72,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID14 = Form.ID;
|
|
39
|
+
var Info23 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID14
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID14
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID14
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID14,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service69 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer26 = Layer.effect(Service69, Effect.gen(function* () {
|
|
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")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID14.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service80, 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 Service69.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node72 = makeLocationNode({ service: Service69, layer: layer26, 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 {
|
|
319
|
+
export { ID14, Info23, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service69, layer26, node72, validateAnswer2, validateFields2, exports_form, Event17 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service86,
|
|
3
|
-
node90
|
|
4
|
-
} from "./instance-5p3sssfk.js";
|
|
5
1
|
import {
|
|
6
2
|
Service85,
|
|
7
3
|
node89
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./provider-vrmynpr8.js";
|
|
5
|
+
import {
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./provider-q8tzggtk.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID13,
|
|
26
|
+
Info: () => Info22,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service68,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node71
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
|
|
|
36
36
|
import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
|
-
var
|
|
39
|
+
var ID13 = Credential.ID;
|
|
40
40
|
var OAuth3 = Credential.OAuth;
|
|
41
41
|
var Key4 = Credential.Key;
|
|
42
42
|
var External2 = Credential.External;
|
|
43
43
|
var Value2 = Credential.Value;
|
|
44
|
-
var
|
|
44
|
+
var Event16 = Credential.Event;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info22 extends Schema.Class("Credential.Info")({
|
|
47
|
+
id: ID13,
|
|
48
48
|
integrationID: Integration.ID,
|
|
49
49
|
label: Schema.String,
|
|
50
50
|
value: Value2
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service68 extends Context.Service()("@opencode/Credential") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const db = (yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
57
|
+
const db = (yield* Service85).db;
|
|
58
|
+
const bus = yield* Service83;
|
|
59
59
|
const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
|
|
60
60
|
const stored = (row) => {
|
|
61
61
|
if (!row.integration_id)
|
|
62
62
|
return;
|
|
63
|
-
return new
|
|
63
|
+
return new Info22({
|
|
64
64
|
id: row.id,
|
|
65
65
|
integrationID: row.integration_id,
|
|
66
66
|
label: row.label,
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
71
71
|
const credential = stored(row);
|
|
72
72
|
return credential ? [credential] : [];
|
|
73
73
|
});
|
|
74
|
-
return
|
|
74
|
+
return Service68.of({
|
|
75
75
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
77
77
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
79
79
|
return row ? stored(row) : undefined;
|
|
80
80
|
}),
|
|
81
81
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
82
|
-
const credential = new
|
|
83
|
-
id: input.id ??
|
|
82
|
+
const credential = new Info22({
|
|
83
|
+
id: input.id ?? ID13.create(),
|
|
84
84
|
integrationID: input.integrationID,
|
|
85
85
|
label: input.label ?? "default",
|
|
86
86
|
value: input.value
|
|
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
111
111
|
type: credential.value.type,
|
|
112
112
|
active: activated
|
|
113
113
|
});
|
|
114
|
-
yield* bus.publish(
|
|
114
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
115
115
|
if (activated)
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
117
117
|
return credential;
|
|
118
118
|
}),
|
|
119
119
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
133
133
|
})), Effect.orDie);
|
|
134
134
|
if (integrationID) {
|
|
135
135
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
136
|
-
yield* bus.publish(
|
|
136
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
137
137
|
}
|
|
138
138
|
}),
|
|
139
139
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
165
165
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
166
166
|
});
|
|
167
167
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
168
|
-
yield* bus.publish(
|
|
168
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
169
169
|
}),
|
|
170
170
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
171
171
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
198
198
|
active: removed.switched,
|
|
199
199
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
200
200
|
});
|
|
201
|
-
yield* bus.publish(
|
|
201
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
202
202
|
if (removed.switched)
|
|
203
|
-
yield* bus.publish(
|
|
203
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
}));
|
|
207
|
-
var
|
|
207
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node89, node87] });
|
|
208
208
|
|
|
209
|
-
export {
|
|
209
|
+
export { ID13, OAuth3, Key4, External2, Value2, Event16, Info22, Service68, node71, exports_credential };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node88
|
|
6
|
+
} from "./provider-mfwfc967.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81,
|
|
9
9
|
node85
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-p9x59b0e.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make21
|
|
16
|
+
} from "./provider-21paxrje.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service79,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node83
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service79 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
36
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
37
37
|
const location = yield* Service81;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make21;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service79.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node83 = makeLocationNode({
|
|
61
|
+
service: Service79,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [node85, Global.node,
|
|
63
|
+
deps: [node85, Global.node, node88, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service79, node83, exports_strategies };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured9,
|
|
11
|
+
layer: () => layer25,
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node66,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make21(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer25 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer25(input), deps: [] });
|
|
33
|
+
var node66 = configured9();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer25, configured9, node66, exports_app };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-p9x59b0e.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service41,
|
|
17
|
+
node: () => node43
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service41 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service81;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service41.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node43 = makeLocationNode({
|
|
91
|
+
service: Service41,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node85, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service41, node43, exports_formatter2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_command5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./provider-vrmynpr8.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info16,
|
|
18
|
+
NotFoundError: () => NotFoundError9,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service59,
|
|
21
|
+
node: () => node61
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info16 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID8
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID8,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service59 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const db = (yield*
|
|
45
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
46
|
+
const db = (yield* Service85).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
49
49
|
return rows.map(info);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID8.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service59.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node61 = makeGlobalNode({ service: Service59, layer, deps: [node89] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID8, Info16, NotFoundError9, ConflictError2, Service59, node61, exports_saved };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./provider-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|