@opencode/core 0.0.0-dev-20688 → 0.0.0-dev-20691
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/{permission-bcnrsvht.js → worktree-025q3317.js} +5 -5
- package/dist/chunks/{permission-5bdqp5q2.js → worktree-0714bcr6.js} +27 -27
- package/dist/chunks/{permission-ytd2x2sg.js → worktree-08hes7sn.js} +43 -43
- package/dist/chunks/{permission-ktbyy5ev.js → worktree-0evkj109.js} +8 -8
- package/dist/chunks/{permission-q13qta0d.js → worktree-0nxwrb8y.js} +3 -3
- package/dist/chunks/{permission-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-0vbcp93d.js → worktree-0vbcp93d.js} +2 -2
- package/dist/chunks/{permission-w0tfgnf2.js → worktree-127b9nq3.js} +2 -2
- package/dist/chunks/{permission-0xezjjjn.js → worktree-166kng33.js} +8 -8
- package/dist/chunks/{permission-4cay6e5n.js → worktree-17v89dj5.js} +19 -19
- package/dist/chunks/{permission-7dhnq9pm.js → worktree-1b9z0byy.js} +32 -32
- package/dist/chunks/{permission-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-1dvck2a7.js → worktree-1dvck2a7.js} +2 -2
- package/dist/chunks/{permission-s1aw5bev.js → worktree-1gx1ny1s.js} +32 -32
- package/dist/chunks/{permission-w6yct1ma.js → worktree-1jm7ermb.js} +5 -5
- package/dist/chunks/{permission-zd8pcyp5.js → worktree-1n1fjttx.js} +10 -10
- package/dist/chunks/{permission-jbgk0j3b.js → worktree-1nxag8bv.js} +29 -29
- package/dist/chunks/{permission-fp7za5pf.js → worktree-1s5ahhvw.js} +4 -4
- package/dist/chunks/{permission-2k64ycz1.js → worktree-1vyzjnq9.js} +8 -8
- package/dist/chunks/worktree-1y7dtxbr.js +26 -0
- package/dist/chunks/{permission-1y9xp183.js → worktree-1y9xp183.js} +3 -3
- package/dist/chunks/{permission-kp71p0cs.js → worktree-21k4s4cv.js} +2 -2
- package/dist/chunks/{permission-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-pdtchp93.js → worktree-2ancraj4.js} +37 -37
- package/dist/chunks/{permission-ev8h0xdf.js → worktree-2bemhwbv.js} +13 -13
- package/dist/chunks/{permission-qgn6gcr1.js → worktree-2k8khapm.js} +5 -5
- package/dist/chunks/{permission-7jtnznqz.js → worktree-2s30cbk6.js} +8 -8
- package/dist/chunks/{permission-cfsjj92n.js → worktree-300wq35z.js} +10 -10
- package/dist/chunks/{permission-4j24z8gn.js → worktree-33ehzdyn.js} +11 -11
- package/dist/chunks/{permission-1yqzzd83.js → worktree-34wrr8a2.js} +11 -11
- package/dist/chunks/{permission-dcsqhe5p.js → worktree-3bs9stat.js} +8 -8
- package/dist/chunks/{permission-hqy46avb.js → worktree-3e27gnxx.js} +22 -22
- package/dist/chunks/{permission-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-s6zybq5r.js → worktree-3mv2fgvd.js} +9 -9
- package/dist/chunks/{permission-j8n9y25r.js → worktree-3r7j5dej.js} +15 -15
- package/dist/chunks/{permission-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-b4n2fnz4.js → worktree-425vmdct.js} +24 -24
- package/dist/chunks/{permission-41mbax9f.js → worktree-45anwj91.js} +23 -23
- package/dist/chunks/{permission-k1ez0b74.js → worktree-47mgmhez.js} +18 -18
- package/dist/chunks/{permission-6sgfaakk.js → worktree-4b8kjhzx.js} +26 -26
- package/dist/chunks/{permission-0e0fe8yx.js → worktree-4crz6242.js} +7 -7
- package/dist/chunks/{permission-2xnzgjvn.js → worktree-4gsvspn9.js} +6 -6
- package/dist/chunks/{permission-3sj8yt8v.js → worktree-4j4tgtq5.js} +4 -4
- package/dist/chunks/{permission-5qevsstt.js → worktree-4jewrapx.js} +21 -21
- package/dist/chunks/{permission-4nj4bn9q.js → worktree-4nj4bn9q.js} +2 -2
- package/dist/chunks/{permission-gwvgyx32.js → worktree-4phpyenv.js} +33 -33
- package/dist/chunks/{permission-4ts7tf6z.js → worktree-4ts7tf6z.js} +2 -2
- package/dist/chunks/{permission-g769z57k.js → worktree-50193v0c.js} +306 -306
- package/dist/chunks/{permission-bh0zzf2s.js → worktree-52fpbh6z.js} +8 -8
- package/dist/chunks/{permission-54ma36ye.js → worktree-54ma36ye.js} +1 -1
- package/dist/chunks/{permission-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-7kdajcy6.js → worktree-5fcee03b.js} +71 -71
- package/dist/chunks/{permission-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{permission-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-y1ha0vpq.js → worktree-5tj1dt3g.js} +49 -49
- package/dist/chunks/{permission-a41s0txc.js → worktree-5xsrm7ed.js} +5 -5
- package/dist/chunks/{permission-c44f928x.js → worktree-608347mw.js} +4 -4
- package/dist/chunks/{permission-b9dn5hn6.js → worktree-613ryw1r.js} +60 -30
- package/dist/chunks/{permission-kxq2p9qz.js → worktree-64t225j8.js} +21 -21
- package/dist/chunks/{permission-0escwrsj.js → worktree-684mbd79.js} +7 -7
- package/dist/chunks/{permission-fh55fhvv.js → worktree-6b5vsm5a.js} +11 -11
- package/dist/chunks/{permission-sgehztvb.js → worktree-6b8ar4mw.js} +17 -17
- package/dist/chunks/{permission-kegfba9d.js → worktree-6bbmjt0j.js} +7 -7
- package/dist/chunks/{permission-dcxc4avz.js → worktree-6f8mqd4v.js} +8 -8
- package/dist/chunks/{permission-by8n9qt3.js → worktree-6hyt6762.js} +20 -20
- package/dist/chunks/{permission-10dv2xfs.js → worktree-6mxykcrb.js} +37 -37
- package/dist/chunks/{permission-1ywvxz94.js → worktree-6pcv96p9.js} +20 -20
- package/dist/chunks/{permission-jasp3a05.js → worktree-6qdrsza1.js} +1 -1
- package/dist/chunks/{permission-fgpjp61f.js → worktree-6qme3bhr.js} +23 -23
- package/dist/chunks/{permission-wya7aw3d.js → worktree-6v04bbq7.js} +3 -3
- package/dist/chunks/{permission-tzd3vmzq.js → worktree-6wz2az47.js} +3 -3
- package/dist/chunks/{permission-6xb47vfp.js → worktree-6xb47vfp.js} +1 -1
- package/dist/chunks/{permission-71az546q.js → worktree-71az546q.js} +2 -2
- package/dist/chunks/{permission-n16w7qmw.js → worktree-73d8r7vx.js} +11 -11
- package/dist/chunks/{permission-36nz8rj0.js → worktree-7b4btya5.js} +24 -24
- package/dist/chunks/{permission-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-gp7q2fb6.js → worktree-7dxq86fe.js} +41 -41
- package/dist/chunks/{permission-e0qhp09y.js → worktree-7dzs6qm4.js} +15 -15
- package/dist/chunks/{permission-wh3mwy9y.js → worktree-7f85ph34.js} +8 -8
- package/dist/chunks/{permission-7m6c6kjp.js → worktree-7h7yjc0r.js} +24 -24
- package/dist/chunks/{permission-wdzwwd6b.js → worktree-7j3mnrf2.js} +12 -12
- package/dist/chunks/{permission-zvwz45r0.js → worktree-7qdpe4cb.js} +9 -9
- package/dist/chunks/{permission-84txncab.js → worktree-84txncab.js} +1 -1
- package/dist/chunks/{permission-77jgmqn4.js → worktree-88ag5g7k.js} +22 -22
- package/dist/chunks/{permission-ec3traks.js → worktree-89rvcjqs.js} +5 -5
- package/dist/chunks/{permission-wysk03ww.js → worktree-8a2fyyry.js} +24 -24
- package/dist/chunks/{permission-bfdd4cb4.js → worktree-8bk6meym.js} +10 -10
- package/dist/chunks/{permission-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-wqkxk58t.js → worktree-8pkcp2zq.js} +22 -22
- package/dist/chunks/{permission-k6dq1brx.js → worktree-8q28jacc.js} +23 -23
- package/dist/chunks/{permission-py3kkmfq.js → worktree-8sze2n9a.js} +6 -6
- package/dist/chunks/{permission-grrb6rgh.js → worktree-8vd1vngy.js} +9 -9
- package/dist/chunks/{permission-xt6xxsa8.js → worktree-8ymy0b6r.js} +29 -21
- package/dist/chunks/{permission-8vs0yxbt.js → worktree-8z6xmetw.js} +42 -42
- package/dist/chunks/{permission-z5vtzp1p.js → worktree-908jb8kv.js} +9 -9
- package/dist/chunks/{permission-1t5dys3y.js → worktree-99byzsym.js} +10 -10
- package/dist/chunks/{permission-m7ddwx6z.js → worktree-9a0ztg4c.js} +5 -5
- package/dist/chunks/{permission-ngvvcwvc.js → worktree-9e3yf4c8.js} +7 -7
- package/dist/chunks/{permission-9e5bzkjp.js → worktree-9e5bzkjp.js} +3 -3
- package/dist/chunks/{permission-6bax3wfe.js → worktree-9ep9xazg.js} +11 -11
- package/dist/chunks/{permission-6h72t1h6.js → worktree-9k1g4qad.js} +8 -8
- package/dist/chunks/{permission-8yan9qxg.js → worktree-9p5r9yxb.js} +20 -20
- package/dist/chunks/{permission-9mjxwsxw.js → worktree-a8cmxes1.js} +13 -13
- package/dist/chunks/{permission-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-p1mtf012.js → worktree-ac5gp1c4.js} +1 -1
- package/dist/chunks/{permission-y6mhz57t.js → worktree-afrtgck4.js} +4 -4
- package/dist/chunks/{permission-1q5xzxex.js → worktree-ajx2ddbz.js} +13 -13
- package/dist/chunks/{permission-f08ext3y.js → worktree-ak3qjxe1.js} +11 -11
- package/dist/chunks/{permission-p9bmne11.js → worktree-amg27w9m.js} +28 -28
- package/dist/chunks/{permission-7jpwzvts.js → worktree-ann71jjk.js} +12 -12
- package/dist/chunks/{permission-pq1y2hcf.js → worktree-avkk6g6e.js} +3 -3
- package/dist/chunks/{permission-p1ebg76v.js → worktree-ay209g6s.js} +19 -19
- package/dist/chunks/{permission-2fhksyd5.js → worktree-b09cmrw9.js} +26 -26
- package/dist/chunks/{permission-c9q7qt0j.js → worktree-b2wsdf6s.js} +17 -17
- package/dist/chunks/{permission-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-z1apv2nw.js → worktree-baf8w7xt.js} +22 -22
- package/dist/chunks/{permission-hnfjkn81.js → worktree-bkhg25dg.js} +11 -11
- package/dist/chunks/{permission-fv6ke7h7.js → worktree-c30gp8ks.js} +15 -15
- package/dist/chunks/{permission-6m32jaa6.js → worktree-c5s6mxwd.js} +3 -3
- package/dist/chunks/{permission-7332sqjz.js → worktree-c8f2qsws.js} +11 -11
- package/dist/chunks/{permission-g98wbq2x.js → worktree-c8ggeymj.js} +8 -8
- package/dist/chunks/{permission-hvcytzw6.js → worktree-cc6nfxed.js} +3 -3
- package/dist/chunks/{permission-9ae44cfy.js → worktree-cdm0dq9n.js} +6 -6
- package/dist/chunks/{permission-r4911mqy.js → worktree-ce0jma25.js} +30 -30
- package/dist/chunks/{permission-bddzygnv.js → worktree-ckd9qz9g.js} +11 -11
- package/dist/chunks/{permission-sbgmbffx.js → worktree-cx3y6qv2.js} +8 -8
- package/dist/chunks/{permission-zmeaqj18.js → worktree-d2fmem70.js} +21 -21
- package/dist/chunks/{permission-pgr4yc5g.js → worktree-d7ptk5r3.js} +24 -24
- package/dist/chunks/{permission-j7g61wp1.js → worktree-dajxpawc.js} +9 -9
- package/dist/chunks/{permission-5vevbavy.js → worktree-davfzw71.js} +13 -13
- package/dist/chunks/{permission-t6x88b6v.js → worktree-dfgw045w.js} +9 -9
- package/dist/chunks/{permission-dka3w8mh.js → worktree-dmt33n7c.js} +36 -36
- package/dist/chunks/{permission-dpkg50ah.js → worktree-dpkg50ah.js} +1 -1
- package/dist/chunks/{permission-e1my5csp.js → worktree-dtds8e8g.js} +28 -28
- package/dist/chunks/{permission-72n81e5t.js → worktree-dw4t78fe.js} +13 -13
- package/dist/chunks/{permission-v8t3y0s4.js → worktree-e93tkrd1.js} +40 -40
- package/dist/chunks/{permission-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-fvqrnts2.js → worktree-ev5n4vm6.js} +59 -59
- package/dist/chunks/{permission-t9ew0xaf.js → worktree-f00eh3k7.js} +5 -5
- package/dist/chunks/{permission-8x7y6wyf.js → worktree-f0320z3m.js} +25 -25
- package/dist/chunks/{permission-j4jzm50g.js → worktree-f8ky69ws.js} +3 -3
- package/dist/chunks/{permission-rbajd19e.js → worktree-ffa614pp.js} +11 -11
- package/dist/chunks/{permission-kpgf9q78.js → worktree-fpt84bn8.js} +48 -48
- package/dist/chunks/{permission-spe59mq4.js → worktree-fqak84ma.js} +29 -29
- package/dist/chunks/{permission-62p5vnps.js → worktree-ft9mezaf.js} +4 -4
- package/dist/chunks/{permission-5tcm9639.js → worktree-g31erja1.js} +9 -9
- package/dist/chunks/{permission-kd4hf263.js → worktree-g3tgxdbt.js} +6 -6
- package/dist/chunks/{permission-w39jehkq.js → worktree-g6yfr6ja.js} +5 -5
- package/dist/chunks/{permission-q1c6gfm2.js → worktree-gce79w0q.js} +11 -11
- package/dist/chunks/{permission-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-gj71zhbs.js → worktree-gj71zhbs.js} +2 -2
- package/dist/chunks/{permission-addxnjmp.js → worktree-gqtdsdt7.js} +4 -4
- package/dist/chunks/{permission-cgfw62c1.js → worktree-gr3abvac.js} +34 -34
- package/dist/chunks/{permission-j1wcwcqm.js → worktree-grzg5zw7.js} +1 -1
- package/dist/chunks/{permission-h2b79v29.js → worktree-h2b79v29.js} +2 -2
- package/dist/chunks/{permission-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-rcn26dve.js → worktree-hfvb93vm.js} +7 -7
- package/dist/chunks/{permission-c2dh82xc.js → worktree-hn8fn0mn.js} +17 -17
- package/dist/chunks/{permission-d381vkkz.js → worktree-hv9w8vmv.js} +3 -3
- package/dist/chunks/{permission-dp98172p.js → worktree-hyznghnw.js} +6 -6
- package/dist/chunks/{permission-j028xdjb.js → worktree-j028xdjb.js} +1 -1
- package/dist/chunks/{permission-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-9ekewq9g.js → worktree-jpcc12e3.js} +150 -150
- package/dist/chunks/{permission-qekf5hrq.js → worktree-jvc3syn6.js} +20 -20
- package/dist/chunks/{permission-tvrc96b9.js → worktree-jw0rj8v1.js} +6 -6
- package/dist/chunks/{permission-vmjkjp9j.js → worktree-jy4270e8.js} +26 -26
- package/dist/chunks/{permission-kx5fe73z.js → worktree-k0r60paf.js} +2 -2
- package/dist/chunks/{permission-4za9axf7.js → worktree-k7ckpr86.js} +20 -20
- package/dist/chunks/{permission-6jyk02px.js → worktree-k9zfssg4.js} +11 -11
- package/dist/chunks/{permission-3p7z255n.js → worktree-khbcznyn.js} +24 -24
- package/dist/chunks/{permission-cac7ewr5.js → worktree-kk7220rf.js} +11 -11
- package/dist/chunks/{permission-a8nwbtm7.js → worktree-ks1aqfbs.js} +4 -4
- package/dist/chunks/{permission-mjymc32g.js → worktree-kvvk39gs.js} +4 -4
- package/dist/chunks/{permission-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-1y7qakgj.js → worktree-ma3qqxg3.js} +27 -27
- package/dist/chunks/{permission-5v0382rn.js → worktree-ma6bkkdz.js} +8 -8
- package/dist/chunks/{permission-mfqp6xfm.js → worktree-mfqp6xfm.js} +2 -2
- package/dist/chunks/{permission-hwqmtcgc.js → worktree-mmrve7k0.js} +181 -169
- package/dist/chunks/{permission-4a7gy6vj.js → worktree-mtpeagzc.js} +3 -3
- package/dist/chunks/{permission-b8z51b6b.js → worktree-mz6ba83r.js} +9 -9
- package/dist/chunks/{permission-4x0gkadg.js → worktree-n5gg64f5.js} +22 -22
- package/dist/chunks/{permission-6p20k3wd.js → worktree-n6m8kz2w.js} +22 -22
- package/dist/chunks/{permission-7t7dp16p.js → worktree-n7wppfdf.js} +20 -20
- package/dist/chunks/{permission-vk0x6560.js → worktree-npngbpw7.js} +17 -17
- package/dist/chunks/{permission-p37cw4rj.js → worktree-p37cw4rj.js} +1 -1
- package/dist/chunks/{permission-xhj2809n.js → worktree-p5yq2cxn.js} +42 -42
- package/dist/chunks/{permission-mrdraj1e.js → worktree-p674wzdw.js} +40 -40
- package/dist/chunks/{permission-1vasm310.js → worktree-p7x6chka.js} +48 -48
- package/dist/chunks/{permission-t7k4jxvs.js → worktree-pd6vkw23.js} +12 -12
- package/dist/chunks/{permission-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{permission-vn72gsba.js → worktree-pkqb68ka.js} +4 -4
- package/dist/chunks/{permission-dv3pa25w.js → worktree-pqwvhrw8.js} +13 -13
- package/dist/chunks/{permission-4hjzyf7t.js → worktree-ps9sear4.js} +16 -16
- package/dist/chunks/{permission-e6bjgdpg.js → worktree-pzkv34g4.js} +11 -11
- package/dist/chunks/{permission-q0xm7vwc.js → worktree-q0xm7vwc.js} +2 -2
- package/dist/chunks/{permission-rjvz70e4.js → worktree-q1sec5vb.js} +27 -27
- package/dist/chunks/{permission-jct8zyk7.js → worktree-q5teym6j.js} +8 -8
- package/dist/chunks/{permission-wy8aqc21.js → worktree-q5vww750.js} +15 -15
- package/dist/chunks/{permission-b92n5frd.js → worktree-q9js4ehz.js} +13 -13
- package/dist/chunks/worktree-qdyb70sk.js +18 -0
- package/dist/chunks/{permission-qnc92qwc.js → worktree-qnc92qwc.js} +1 -1
- package/dist/chunks/{permission-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-kzb338hs.js → worktree-qvc3x00v.js} +4 -4
- package/dist/chunks/{permission-qxjc9qry.js → worktree-qxjc9qry.js} +3 -3
- package/dist/chunks/{permission-b3f8fkhc.js → worktree-qygbw77c.js} +5 -5
- package/dist/chunks/{permission-79qaa2kf.js → worktree-r2m716tb.js} +9 -9
- package/dist/chunks/{permission-g49y9ve0.js → worktree-r2my65g6.js} +16 -16
- package/dist/chunks/{permission-er1qgfv5.js → worktree-r5nq0yst.js} +17 -17
- package/dist/chunks/{permission-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-nyqx1cb3.js → worktree-reg6q42h.js} +5 -5
- package/dist/chunks/{permission-pgdq0m2s.js → worktree-rextwevb.js} +8 -8
- package/dist/chunks/{permission-64ft88kd.js → worktree-rmamde0z.js} +23 -23
- package/dist/chunks/{permission-2ebsrpgv.js → worktree-rypyj38x.js} +15 -15
- package/dist/chunks/{permission-eq1hrfg7.js → worktree-rz62k6m4.js} +13 -13
- package/dist/chunks/{permission-ept765rp.js → worktree-s082q9z4.js} +6 -6
- package/dist/chunks/{permission-vdaa9jq8.js → worktree-s2qwkk3g.js} +42 -42
- package/dist/chunks/{permission-qn2n7y4a.js → worktree-ssb0vkec.js} +21 -21
- package/dist/chunks/{permission-2t17veph.js → worktree-styqs1rs.js} +27 -27
- package/dist/chunks/{permission-t2az9yje.js → worktree-t2az9yje.js} +1 -1
- package/dist/chunks/{permission-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-6tnrh5ya.js → worktree-tc4w3sx9.js} +15 -15
- package/dist/chunks/{permission-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-1nwxscpy.js → worktree-tdpndm1c.js} +5 -5
- package/dist/chunks/{permission-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{permission-d602qkab.js → worktree-tqshq6d1.js} +18 -18
- package/dist/chunks/{permission-x28x78cy.js → worktree-tr3hxez6.js} +2 -2
- package/dist/chunks/{permission-kk8nc0y1.js → worktree-txpnd0dw.js} +32 -32
- package/dist/chunks/{permission-jf6zwwv4.js → worktree-tyn3cta0.js} +17 -17
- package/dist/chunks/{permission-v0es1rhs.js → worktree-v0es1rhs.js} +2 -2
- package/dist/chunks/{permission-keykcebr.js → worktree-v2z8kye6.js} +4 -4
- package/dist/chunks/{permission-tkmwgdpd.js → worktree-v5dkyp31.js} +5 -5
- package/dist/chunks/{permission-aeqh8ayv.js → worktree-v7rfr20d.js} +6 -6
- package/dist/chunks/{permission-h2nd8448.js → worktree-vba3dmap.js} +3 -3
- package/dist/chunks/{permission-vn9jm4n9.js → worktree-vem2yhr6.js} +6 -6
- package/dist/chunks/{permission-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-xxndcd6m.js → worktree-vxzh5eqq.js} +4 -4
- package/dist/chunks/{permission-194t0rba.js → worktree-vz1r2hay.js} +18 -18
- package/dist/chunks/{permission-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-7a87wzr4.js → worktree-w18senfe.js} +25 -25
- package/dist/chunks/{permission-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-wchyddks.js → worktree-w96yvccc.js} +5 -5
- package/dist/chunks/{permission-pgp1nwjn.js → worktree-wa9g86nq.js} +4 -4
- package/dist/chunks/{permission-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{permission-abgm0z3p.js → worktree-wg5t79bw.js} +22 -22
- package/dist/chunks/{permission-h5xe2w86.js → worktree-wjw1e84n.js} +14 -14
- package/dist/chunks/{permission-9t7a50xb.js → worktree-wv396vej.js} +6 -6
- package/dist/chunks/{permission-fcwad6q9.js → worktree-wv9gbb3z.js} +9 -9
- package/dist/chunks/{permission-xfkkasph.js → worktree-xfkkasph.js} +1 -1
- package/dist/chunks/{permission-x4v5kfsj.js → worktree-xkg907ep.js} +24 -24
- package/dist/chunks/{permission-xkntkrq7.js → worktree-xkntkrq7.js} +2 -2
- package/dist/chunks/{permission-w2a3dqpw.js → worktree-xszt5aw3.js} +7 -7
- package/dist/chunks/{permission-5w9yjztw.js → worktree-xt4njr3s.js} +1 -1
- package/dist/chunks/{permission-55p2ap5f.js → worktree-xvgts2xj.js} +5 -5
- package/dist/chunks/{permission-60h8n1mb.js → worktree-xwan0tg7.js} +6 -6
- package/dist/chunks/{permission-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-dgb6jywt.js → worktree-y2d3d88a.js} +5 -5
- package/dist/chunks/{permission-b209fthr.js → worktree-y3zjn872.js} +4 -4
- package/dist/chunks/{permission-7xqm7vez.js → worktree-y7g5cx4h.js} +72 -72
- package/dist/chunks/{permission-fzv62hvw.js → worktree-y9a65w4b.js} +14 -14
- package/dist/chunks/{permission-x10hayvc.js → worktree-yh6m2jsr.js} +30 -30
- package/dist/chunks/{permission-yp2x3t23.js → worktree-yp2x3t23.js} +1 -1
- package/dist/chunks/{permission-h8k3cc2z.js → worktree-ysz087h5.js} +9 -9
- package/dist/chunks/{permission-4ad028th.js → worktree-yzyc98yn.js} +6 -6
- package/dist/chunks/{permission-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-8y4537ag.js → worktree-z9b8ghxh.js} +16 -16
- package/dist/chunks/{permission-hs1x7rht.js → worktree-zc5g640q.js} +5 -5
- package/dist/chunks/{permission-rant3mzz.js → worktree-zksxt2hw.js} +17 -17
- package/dist/chunks/{permission-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-htpvgqrd.js → worktree-ztb5xmgg.js} +6 -6
- package/dist/chunks/{permission-71ct72cd.js → worktree-zwew19y4.js} +4 -4
- package/dist/chunks/{permission-zxq2ej10.js → worktree-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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +152 -152
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- 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 +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -87
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +128 -128
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- 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 +111 -111
- 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 +74 -74
- package/dist/plugin/command.js +100 -100
- 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 +1 -1
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +100 -100
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +115 -115
- 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/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 +114 -114
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- 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 +208 -208
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +80 -80
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- 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 +116 -116
- package/dist/session/model-transport.js +5 -5
- 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 +1 -1
- package/dist/session/runner/index.js +1 -1
- 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 +123 -123
- 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 +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +120 -120
- 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 +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +212 -212
- 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 +3 -3
- package/dist/tool.js +14 -14
- package/dist/types/integration.d.ts +746 -6
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- 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/permission-6h37vygj.js +0 -18
- package/dist/chunks/permission-evmw8smx.js +0 -26
- /package/dist/chunks/{permission-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3t0ybcrp.js → worktree-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-zc5g640q.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service57,
|
|
16
|
+
node61
|
|
17
|
+
} from "./worktree-300wq35z.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service53,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node57,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service53 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service57;
|
|
110
|
+
return Service53.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node57 = makeGlobalNode({
|
|
171
|
+
service: Service53,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node61]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service53, isError2, validateBranch2, node57, exports_repository_cache };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin31,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin31 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin31, exports_tool_input_repair };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error3,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node56,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error3 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node56 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error3, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node56, exports_driver };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-ft9mezaf.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-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: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service76,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node80,
|
|
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 Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info25 = 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 NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
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: ID15
|
|
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: ID15,
|
|
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 Service76 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service76, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
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 NotFoundError9({ 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 ?? ID15.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 layer25 = Layer.effect(Service79, 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 Service76.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node80 = makeLocationNode({ service: Service76, layer: layer25, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer25, node80, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-34wrr8a2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-ft9mezaf.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./worktree-yh6m2jsr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-613ryw1r.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID7
|
|
17
|
+
} from "./worktree-fqak84ma.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID6,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-ma3qqxg3.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID7.make("digitalocean");
|
|
31
|
+
var integrationID = ID8.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID6.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service70,
|
|
3
|
+
node74,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-mz6ba83r.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service35,
|
|
8
|
+
node37
|
|
9
|
+
} from "./worktree-cdm0dq9n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service68
|
|
12
|
+
} from "./worktree-q1sec5vb.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-jpcc12e3.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service70, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service68);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node37.replace(Layer.succeed(Service35, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node74.replace(Layer.succeed(Service70, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-0nxwrb8y.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make22,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-wv396vej.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9e5bzkjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -62,7 +62,7 @@ var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(
|
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
64
|
var source = (entry) => make22({
|
|
65
|
-
key:
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service65,
|
|
4
|
+
node69
|
|
5
|
+
} from "./worktree-613ryw1r.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service64,
|
|
18
|
+
node68
|
|
19
|
+
} from "./worktree-fqak84ma.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service59,
|
|
22
|
+
node63
|
|
23
|
+
} from "./worktree-33ehzdyn.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID6,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service63,
|
|
29
|
+
node67,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-ma3qqxg3.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,7 +40,7 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service58,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
@@ -48,7 +48,7 @@ __export(exports_model_resolver, {
|
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
50
|
layer: () => layer24,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node62,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
58
58
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
59
59
|
import { Npm } from "@opencode/util/npm";
|
|
60
60
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
61
|
-
providerID:
|
|
62
|
-
modelID:
|
|
61
|
+
providerID: ID7,
|
|
62
|
+
modelID: ID6,
|
|
63
63
|
variant: VariantID2
|
|
64
64
|
}) {
|
|
65
65
|
get message() {
|
|
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID7,
|
|
72
|
+
modelID: ID6,
|
|
73
73
|
package: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
79
79
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
80
80
|
|
|
81
81
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
82
|
-
providerID:
|
|
83
|
-
modelID:
|
|
82
|
+
providerID: ID7,
|
|
83
|
+
modelID: ID6,
|
|
84
84
|
package: Schema.String,
|
|
85
85
|
detail: Schema.String
|
|
86
86
|
}) {
|
|
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
93
|
-
providerID:
|
|
94
|
-
modelID:
|
|
93
|
+
providerID: ID7,
|
|
94
|
+
modelID: ID6,
|
|
95
95
|
package: Schema.String,
|
|
96
96
|
phase: InitializationPhase2,
|
|
97
97
|
detail: Schema.String
|
|
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
105
|
-
providerID:
|
|
106
|
-
modelID:
|
|
105
|
+
providerID: ID7,
|
|
106
|
+
modelID: ID6,
|
|
107
107
|
variables: Schema.Array(Schema.String)
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID7,
|
|
116
|
+
modelID: ID6,
|
|
117
117
|
route: Schema.String
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service58 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -261,15 +261,15 @@ var causeMessage = (cause) => {
|
|
|
261
261
|
};
|
|
262
262
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
263
263
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
264
|
-
var layer24 = Layer.effect(
|
|
265
|
-
const providers = yield*
|
|
266
|
-
const models = yield*
|
|
267
|
-
const integrations = yield*
|
|
264
|
+
var layer24 = Layer.effect(Service58, Effect.gen(function* () {
|
|
265
|
+
const providers = yield* Service64;
|
|
266
|
+
const models = yield* Service63;
|
|
267
|
+
const integrations = yield* Service65;
|
|
268
268
|
const npm = yield* Npm.Service;
|
|
269
|
-
const aisdk = yield*
|
|
269
|
+
const aisdk = yield* Service59;
|
|
270
270
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
271
271
|
const provider = yield* providers.get(selected.providerID);
|
|
272
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
272
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
|
|
273
273
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
274
274
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
275
275
|
const runtimeInfo = {
|
|
@@ -296,7 +296,7 @@ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
296
296
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
297
297
|
};
|
|
298
298
|
});
|
|
299
|
-
return
|
|
299
|
+
return Service58.of({
|
|
300
300
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
301
301
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
302
302
|
if (!selected)
|
|
@@ -313,10 +313,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
313
313
|
const name = packageName2(packageName);
|
|
314
314
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
315
315
|
}
|
|
316
|
-
var
|
|
317
|
-
service:
|
|
316
|
+
var node62 = makeLocationNode({
|
|
317
|
+
service: Service58,
|
|
318
318
|
layer: layer24,
|
|
319
|
-
deps: [
|
|
319
|
+
deps: [node68, node67, node69, Npm.node, node63]
|
|
320
320
|
});
|
|
321
321
|
|
|
322
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
322
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node62, exports_model_resolver };
|