@opencode/core 0.0.0-dev-19295 → 0.0.0-dev-19298
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{vcs-5c0f1prt.js → wellknown-06dxphr1.js} +4 -4
- package/dist/chunks/{vcs-cr07tj7n.js → wellknown-0f9afca0.js} +5 -5
- package/dist/chunks/{vcs-3fr1t35k.js → wellknown-0fey9sjf.js} +4 -4
- package/dist/chunks/{vcs-hsmrm7k2.js → wellknown-0gyadjkj.js} +32 -32
- package/dist/chunks/{vcs-1dfhrqqs.js → wellknown-0hpxrkyb.js} +5 -5
- package/dist/chunks/{vcs-xs239fpb.js → wellknown-0jfqnnd8.js} +38 -38
- package/dist/chunks/{vcs-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0q0f95c6.js → wellknown-0q0f95c6.js} +1 -1
- package/dist/chunks/{vcs-hnr5yq9h.js → wellknown-0r7yqxbf.js} +5 -5
- package/dist/chunks/{vcs-tw433h7h.js → wellknown-0rzpb8gt.js} +8 -8
- package/dist/chunks/{vcs-0v53mg2y.js → wellknown-0v53mg2y.js} +1 -1
- package/dist/chunks/{vcs-a55dpvm7.js → wellknown-0w219v1z.js} +11 -11
- package/dist/chunks/{vcs-2q30hpy5.js → wellknown-13adgrn5.js} +22 -22
- package/dist/chunks/{vcs-ehnaxygy.js → wellknown-153kn5pz.js} +41 -41
- package/dist/chunks/{vcs-sjvd53j5.js → wellknown-18cztcj7.js} +3 -3
- package/dist/chunks/{vcs-dcxndzqg.js → wellknown-1a8afdf1.js} +13 -13
- package/dist/chunks/{vcs-4fk6bf9g.js → wellknown-1ah30sey.js} +5 -5
- package/dist/chunks/{vcs-ndz31w7t.js → wellknown-1cxh2yq8.js} +15 -15
- package/dist/chunks/{vcs-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-gy8mbycn.js → wellknown-1e8nxva5.js} +14 -14
- package/dist/chunks/{vcs-j7m17kb0.js → wellknown-1m53f3h1.js} +18 -18
- package/dist/chunks/{vcs-ybq66g35.js → wellknown-1smgb78j.js} +21 -21
- package/dist/chunks/{vcs-dtw0dyrs.js → wellknown-1t0hsb5v.js} +11 -11
- package/dist/chunks/{vcs-qbe8xtgd.js → wellknown-1vf609rd.js} +20 -20
- package/dist/chunks/{vcs-6c7f3089.js → wellknown-1vsftg9k.js} +9 -9
- package/dist/chunks/{vcs-1x8t8gpv.js → wellknown-1w8g4bq4.js} +16 -16
- package/dist/chunks/{vcs-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-6h73sxmp.js → wellknown-2402vzrj.js} +5 -5
- package/dist/chunks/{vcs-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-74bm1tyj.js → wellknown-2az4qg4k.js} +9 -9
- package/dist/chunks/{vcs-5kbk4f8q.js → wellknown-2d6j2h4j.js} +6 -6
- package/dist/chunks/{vcs-jmg1cn05.js → wellknown-2g4a82s9.js} +11 -11
- package/dist/chunks/{vcs-x4dt4g1v.js → wellknown-2gc4ne5c.js} +3 -3
- package/dist/chunks/{vcs-2wj8n25z.js → wellknown-2wj8n25z.js} +6 -6
- package/dist/chunks/{vcs-z6e4n9b7.js → wellknown-301ntmw9.js} +24 -24
- package/dist/chunks/{vcs-z3ykvfqy.js → wellknown-31dz7cp4.js} +1 -1
- package/dist/chunks/{vcs-ejhkbtdh.js → wellknown-345aazev.js} +6 -6
- package/dist/chunks/{vcs-gdvy8fx6.js → wellknown-3fc6dm20.js} +4 -4
- package/dist/chunks/{vcs-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-3jm4ew4v.js → wellknown-3vt47zmq.js} +17 -17
- package/dist/chunks/{vcs-t0fxg8b9.js → wellknown-3w2b2yj4.js} +5 -5
- package/dist/chunks/{vcs-hgt2pabg.js → wellknown-433mxpjr.js} +41 -41
- package/dist/chunks/{vcs-qpvaxy8p.js → wellknown-4f40xxt9.js} +14 -14
- package/dist/chunks/{vcs-fp58ys57.js → wellknown-4kftbr8z.js} +84 -84
- package/dist/chunks/{vcs-2kyvaxfn.js → wellknown-4w8b7heb.js} +15 -15
- package/dist/chunks/{vcs-hgx0tp9g.js → wellknown-4wdpjckx.js} +19 -19
- package/dist/chunks/{vcs-mfqp6xfm.js → wellknown-56gdpj1q.js} +6 -6
- package/dist/chunks/{vcs-2nh393ec.js → wellknown-599k2402.js} +23 -23
- package/dist/chunks/{vcs-z8ssr624.js → wellknown-5aveev3e.js} +5 -5
- package/dist/chunks/{vcs-6prncynz.js → wellknown-5b5zdayx.js} +20 -20
- package/dist/chunks/{vcs-b7kc6jt8.js → wellknown-5ba826g4.js} +33 -33
- package/dist/chunks/{vcs-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-j3a110vt.js → wellknown-5ekz0yty.js} +28 -28
- package/dist/chunks/{vcs-r6w0dfy9.js → wellknown-5g4j5yqq.js} +16 -16
- package/dist/chunks/{vcs-pvm3f0zc.js → wellknown-5gbkaz4t.js} +5 -5
- package/dist/chunks/{vcs-q2xmq31x.js → wellknown-5hjhdcrb.js} +25 -25
- package/dist/chunks/{vcs-knxn0y4q.js → wellknown-5jtdmvnp.js} +1 -1
- package/dist/chunks/{vcs-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-ehpz93s6.js → wellknown-5wwtptpe.js} +4 -4
- package/dist/chunks/{vcs-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{vcs-dghxt3de.js → wellknown-6cpxxfqb.js} +33 -33
- package/dist/chunks/{vcs-5f1ybg3e.js → wellknown-6d5ab3w3.js} +6 -6
- package/dist/chunks/{vcs-rjepra4w.js → wellknown-6d8w2zge.js} +4 -4
- package/dist/chunks/{vcs-njjjq97b.js → wellknown-6erqqgaw.js} +11 -11
- package/dist/chunks/{vcs-dn0tcz9p.js → wellknown-6h4qwayx.js} +2 -2
- package/dist/chunks/{vcs-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-54n3m20p.js → wellknown-6wfwqt87.js} +10 -10
- package/dist/chunks/{vcs-j2veqt8s.js → wellknown-6xzgjakr.js} +24 -24
- package/dist/chunks/{vcs-71q4at8m.js → wellknown-71q4at8m.js} +1 -1
- package/dist/chunks/{vcs-ts0apre4.js → wellknown-751bb1qn.js} +6 -6
- package/dist/chunks/{vcs-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-qgn6gcr1.js → wellknown-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-31ekb3dj.js → wellknown-7kwy8a22.js} +6 -6
- package/dist/chunks/{vcs-dqy85s1y.js → wellknown-7png34pd.js} +11 -11
- package/dist/chunks/{vcs-1wccev85.js → wellknown-7s9yv6nr.js} +26 -26
- package/dist/chunks/{vcs-3yjg5mh2.js → wellknown-7wdjtyr9.js} +3 -3
- package/dist/chunks/{vcs-kya1d1cj.js → wellknown-80e0yyk8.js} +14 -14
- package/dist/chunks/{vcs-vttgjvka.js → wellknown-81a28jj9.js} +15 -15
- package/dist/chunks/{vcs-kr28y8a4.js → wellknown-83q352bh.js} +50 -50
- package/dist/chunks/{vcs-v4hmzr0r.js → wellknown-844ef7ks.js} +8 -8
- package/dist/chunks/{vcs-bcbgemzk.js → wellknown-86hz29wt.js} +7 -7
- package/dist/chunks/{vcs-bcb60wk2.js → wellknown-8cw9e3y8.js} +24 -24
- package/dist/chunks/{vcs-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-dj2t23y0.js → wellknown-8p4f9s12.js} +2 -2
- package/dist/chunks/{vcs-zezyckm9.js → wellknown-8zm39b8n.js} +12 -12
- package/dist/chunks/{vcs-pw0h3xc5.js → wellknown-92ceydex.js} +19 -19
- package/dist/chunks/{vcs-jn7rdtnf.js → wellknown-92sryvry.js} +9 -9
- package/dist/chunks/{vcs-n5hw7tw3.js → wellknown-94sf61n7.js} +11 -11
- package/dist/chunks/{vcs-2b6sqd5x.js → wellknown-97648kyg.js} +11 -11
- package/dist/chunks/{vcs-pm61cg0m.js → wellknown-98b7kxpa.js} +17 -17
- package/dist/chunks/{vcs-mfd4djmy.js → wellknown-9pebw04q.js} +28 -28
- package/dist/chunks/{vcs-fvnh2aw6.js → wellknown-9ppkv52n.js} +8 -8
- package/dist/chunks/{vcs-5c4hm403.js → wellknown-a1bz86dw.js} +3 -3
- package/dist/chunks/{vcs-yse227kr.js → wellknown-a4exdnt3.js} +4 -4
- package/dist/chunks/{vcs-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-tz4n1mmd.js → wellknown-afdssyjb.js} +4 -4
- package/dist/chunks/{vcs-08w8xxxr.js → wellknown-ag9w6e5n.js} +4 -4
- package/dist/chunks/{vcs-ee6q3dhy.js → wellknown-ajq9kf1a.js} +3 -3
- package/dist/chunks/{vcs-hxfmkmqx.js → wellknown-arnmqd59.js} +1 -1
- package/dist/chunks/{vcs-eshhb3rq.js → wellknown-b0yc1cc1.js} +14 -14
- package/dist/chunks/{vcs-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/wellknown-b99r3qgs.js +22 -0
- package/dist/chunks/{vcs-esb12hpz.js → wellknown-bbcn74nn.js} +8 -8
- package/dist/chunks/{vcs-b34bcn0w.js → wellknown-c8x8zcz1.js} +13 -13
- package/dist/chunks/{vcs-2s63w71d.js → wellknown-cf5npnpn.js} +33 -33
- package/dist/chunks/{vcs-m0jqrx5p.js → wellknown-cfpkc3c9.js} +2 -2
- package/dist/chunks/{vcs-gnx4ytbv.js → wellknown-cq37gk0t.js} +4 -4
- package/dist/chunks/{vcs-ykaejvpz.js → wellknown-cx9z24qy.js} +25 -25
- package/dist/chunks/{vcs-b3t12aqp.js → wellknown-d50f2zf5.js} +1 -1
- package/dist/chunks/{vcs-gs5f6wv0.js → wellknown-d8ag70r5.js} +17 -17
- package/dist/chunks/{vcs-geymwjz1.js → wellknown-dhh9g715.js} +17 -17
- package/dist/chunks/{vcs-kqybcvxm.js → wellknown-dhnpxtn3.js} +25 -25
- package/dist/chunks/{vcs-meaty2af.js → wellknown-djyr913s.js} +23 -23
- package/dist/chunks/{vcs-jegmcvcq.js → wellknown-dnwf0qct.js} +85 -85
- package/dist/chunks/{vcs-yw8mnecf.js → wellknown-dqyrj80g.js} +19 -19
- package/dist/chunks/{vcs-s32jfjzq.js → wellknown-dy1s2zwt.js} +9 -9
- package/dist/chunks/{vcs-mnp2x0c0.js → wellknown-e0prvjnp.js} +2 -2
- package/dist/chunks/{vcs-fh2x9k99.js → wellknown-e5xbyv4k.js} +10 -10
- package/dist/chunks/{vcs-0ewff80w.js → wellknown-ebah8r6x.js} +6 -6
- package/dist/chunks/{vcs-cjsb4aez.js → wellknown-ebc7h8jh.js} +4 -4
- package/dist/chunks/{vcs-s0hza5ac.js → wellknown-ec8389mk.js} +4 -4
- package/dist/chunks/{vcs-v859h3f5.js → wellknown-eg418mx6.js} +12 -12
- package/dist/chunks/{vcs-3wwvh5h9.js → wellknown-eg7325wb.js} +26 -26
- package/dist/chunks/{vcs-y50jbmae.js → wellknown-ej8cxv4b.js} +11 -11
- package/dist/chunks/{vcs-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-abekcsag.js → wellknown-f1qeq853.js} +10 -10
- package/dist/chunks/{vcs-tzem3vgm.js → wellknown-f4xmay09.js} +163 -163
- package/dist/chunks/{vcs-shaevpe7.js → wellknown-f7na88a3.js} +33 -33
- package/dist/chunks/{vcs-hdnk95c8.js → wellknown-f828m53h.js} +2 -2
- package/dist/chunks/{vcs-wxeb981z.js → wellknown-f9bavhm2.js} +1 -1
- package/dist/chunks/{vcs-rh2d5hfk.js → wellknown-fpv6qd1b.js} +11 -11
- package/dist/chunks/{vcs-pa9dw40s.js → wellknown-frfc3m7z.js} +8 -8
- package/dist/chunks/{vcs-3a6re68j.js → wellknown-fvanntqq.js} +6 -6
- package/dist/chunks/{vcs-fxbjtjnd.js → wellknown-fxbjtjnd.js} +1 -1
- package/dist/chunks/{vcs-bm1f71yt.js → wellknown-g477egy3.js} +8 -8
- package/dist/chunks/{vcs-amqp4h4r.js → wellknown-g8j92q4r.js} +32 -32
- package/dist/chunks/{vcs-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-36sf85p8.js → wellknown-gdcxaw8d.js} +25 -25
- package/dist/chunks/{vcs-shz58gzq.js → wellknown-gkzab4dd.js} +37 -37
- package/dist/chunks/{vcs-zgw7ze31.js → wellknown-gnwvvsrg.js} +25 -25
- package/dist/chunks/{vcs-kaqyeaqf.js → wellknown-gtp0d19d.js} +7 -7
- package/dist/chunks/{vcs-th5km1p3.js → wellknown-gv6a8nnw.js} +5 -5
- package/dist/chunks/{vcs-h03wrkyp.js → wellknown-h03wrkyp.js} +2 -2
- package/dist/chunks/{vcs-5feg5dwc.js → wellknown-h1p5fdzw.js} +7 -7
- package/dist/chunks/{vcs-fad6j005.js → wellknown-h2r7bbkd.js} +8 -8
- package/dist/chunks/{vcs-ejybkajt.js → wellknown-h5nf0wwg.js} +23 -23
- package/dist/chunks/{vcs-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-kpvq4q1q.js → wellknown-h9t3yg4c.js} +4 -4
- package/dist/chunks/{vcs-e82z9tr0.js → wellknown-hjt4xg1x.js} +7 -7
- package/dist/chunks/{vcs-dfgqp3wc.js → wellknown-hsbjamnz.js} +31 -31
- package/dist/chunks/{vcs-zfq801h6.js → wellknown-htjw9qza.js} +6 -6
- package/dist/chunks/{vcs-g06x7zz3.js → wellknown-hv7kxmpp.js} +13 -13
- package/dist/chunks/{vcs-r2brn030.js → wellknown-j15mxnwj.js} +6 -6
- package/dist/chunks/{vcs-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-h1jg3mbz.js → wellknown-j7ashrwe.js} +41 -41
- package/dist/chunks/{vcs-vf8kzats.js → wellknown-j7hxrhe3.js} +25 -25
- package/dist/chunks/{vcs-y92wnscp.js → wellknown-jc5jqykq.js} +6 -6
- package/dist/chunks/{vcs-ytx9308a.js → wellknown-jj63jgrn.js} +8 -8
- package/dist/chunks/{vcs-8gatpkw8.js → wellknown-jn3vahqd.js} +11 -11
- package/dist/chunks/{vcs-t07ezw6n.js → wellknown-jsf83ghp.js} +15 -15
- package/dist/chunks/{vcs-cavr175a.js → wellknown-jw80jp6b.js} +4 -4
- package/dist/chunks/{vcs-b8b3f19r.js → wellknown-jwx4y25k.js} +9 -9
- package/dist/chunks/{vcs-znr4ar3k.js → wellknown-jxak35yf.js} +46 -46
- package/dist/chunks/{vcs-e6ke6rjh.js → wellknown-jy16bfac.js} +1 -1
- package/dist/chunks/{vcs-tzcbdvgd.js → wellknown-k3htwn63.js} +33 -33
- package/dist/chunks/{vcs-kgvmxhkt.js → wellknown-k5nzfyaf.js} +24 -24
- package/dist/chunks/{vcs-fgxh6x1g.js → wellknown-k7ezg90w.js} +11 -11
- package/dist/chunks/{vcs-8qw2swy2.js → wellknown-kb2g279d.js} +20 -20
- package/dist/chunks/{vcs-ak11xt4g.js → wellknown-kbv6dgc6.js} +4 -4
- package/dist/chunks/{vcs-9d9yh65r.js → wellknown-kby4yt7g.js} +16 -16
- package/dist/chunks/{vcs-s0h0tznv.js → wellknown-kckbw66n.js} +14 -14
- package/dist/chunks/{vcs-nxnkqx32.js → wellknown-kdpy9gz7.js} +30 -30
- package/dist/chunks/{vcs-kg06axw8.js → wellknown-kg06axw8.js} +1 -1
- package/dist/chunks/{vcs-wby18vsc.js → wellknown-kj3rejfq.js} +43 -43
- package/dist/chunks/{vcs-cymnc8ce.js → wellknown-kvmv1fep.js} +22 -22
- package/dist/chunks/{vcs-xs9ek88g.js → wellknown-kwvvtnkq.js} +27 -27
- package/dist/chunks/{vcs-7wcaja6h.js → wellknown-m8vs919j.js} +17 -17
- package/dist/chunks/{vcs-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-mkcjrzeh.js → wellknown-mkcjrzeh.js} +1 -1
- package/dist/chunks/{vcs-5983v49c.js → wellknown-n0zn403d.js} +22 -22
- package/dist/chunks/{vcs-mwjh8pk4.js → wellknown-nbddwgy7.js} +10 -10
- package/dist/chunks/{vcs-90xza599.js → wellknown-nf8nzb7g.js} +6 -6
- package/dist/chunks/{vcs-03nm8wmp.js → wellknown-p8kqgwd3.js} +45 -45
- package/dist/chunks/{vcs-9s3dvk2t.js → wellknown-pcax7nge.js} +10 -10
- package/dist/chunks/{vcs-ry7qtge5.js → wellknown-pcf161yc.js} +53 -53
- package/dist/chunks/{vcs-wda6fw6s.js → wellknown-pchvxq4t.js} +4 -4
- package/dist/chunks/{vcs-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-k493p788.js → wellknown-pshw0dya.js} +28 -28
- package/dist/chunks/{vcs-wcs25pa1.js → wellknown-pwzt2dd6.js} +22 -22
- package/dist/chunks/{vcs-rmm45jmv.js → wellknown-q17z9dx8.js} +5 -5
- package/dist/chunks/{vcs-dnaywyet.js → wellknown-q8p9236r.js} +32 -32
- package/dist/chunks/wellknown-qc068m1q.js +18 -0
- package/dist/chunks/{vcs-9abatgz1.js → wellknown-qek8dtx8.js} +20 -20
- package/dist/chunks/{vcs-gk5c3emf.js → wellknown-qfeftde1.js} +15 -15
- package/dist/chunks/{vcs-ps1rdr0m.js → wellknown-qg0c46zd.js} +15 -15
- package/dist/chunks/{vcs-zb62w0c9.js → wellknown-qha4sez1.js} +10 -10
- package/dist/chunks/{vcs-xbrnje9f.js → wellknown-qm7jrdpz.js} +8 -8
- package/dist/chunks/{vcs-a5k42hjy.js → wellknown-qmr73083.js} +1 -1
- package/dist/chunks/{vcs-97kf03n6.js → wellknown-qnxyes55.js} +6 -6
- package/dist/chunks/{vcs-5tfag9cv.js → wellknown-qr27hz8v.js} +4 -4
- package/dist/chunks/{vcs-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-01b3j2sk.js → wellknown-r0pa45k4.js} +9 -9
- package/dist/chunks/{vcs-qgzzp5rc.js → wellknown-r47paza8.js} +35 -35
- package/dist/chunks/{vcs-ajzzmsfp.js → wellknown-r5ba5pd1.js} +9 -9
- package/dist/chunks/{vcs-eq1pz5kg.js → wellknown-r5x6zcsm.js} +3 -3
- package/dist/chunks/{vcs-9g26vy4m.js → wellknown-r5yb3bmp.js} +41 -41
- package/dist/chunks/{vcs-yp2x3t23.js → wellknown-r8xr0va3.js} +4 -4
- package/dist/chunks/{vcs-e7v6xf45.js → wellknown-rh8sysy4.js} +10 -10
- package/dist/chunks/{vcs-eaj1djv9.js → wellknown-rhjbct0v.js} +8 -8
- package/dist/chunks/{vcs-xj4vfcdk.js → wellknown-rhvgj8e6.js} +20 -20
- package/dist/chunks/{vcs-zh470wy1.js → wellknown-rkbmpfe2.js} +10 -10
- package/dist/chunks/{vcs-7azwfx08.js → wellknown-rsym84ch.js} +7 -7
- package/dist/chunks/{vcs-y9522tf6.js → wellknown-rt56ea7r.js} +7 -7
- package/dist/chunks/{vcs-pwkmx0nv.js → wellknown-rvyy05ds.js} +11 -11
- package/dist/chunks/{vcs-fm2qvscf.js → wellknown-ryr25ayn.js} +4 -4
- package/dist/chunks/{vcs-jrkywk2g.js → wellknown-s9c35a17.js} +7 -7
- package/dist/chunks/{vcs-a84st5z7.js → wellknown-s9cync3p.js} +26 -26
- package/dist/chunks/{vcs-j23mnxnf.js → wellknown-sg5j0v43.js} +23 -23
- package/dist/chunks/{vcs-rgn0sbm6.js → wellknown-sv9bpgvh.js} +5 -5
- package/dist/chunks/{vcs-fjmrr6sh.js → wellknown-t0x5rdq8.js} +9 -9
- package/dist/chunks/{vcs-a2pxnmze.js → wellknown-t1gyex3t.js} +11 -11
- package/dist/chunks/{vcs-4rngsmjt.js → wellknown-t3jrbyxp.js} +5 -5
- package/dist/chunks/{vcs-jaay07m2.js → wellknown-t5t85r32.js} +30 -30
- package/dist/chunks/{vcs-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-89znhe33.js → wellknown-tcezcvh9.js} +4 -4
- package/dist/chunks/{vcs-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-b2x79vpr.js → wellknown-th16xtyn.js} +50 -50
- package/dist/chunks/{vcs-4mbqxmpk.js → wellknown-tjbnh4gx.js} +11 -11
- package/dist/chunks/{vcs-1xhwbttb.js → wellknown-tn1q108x.js} +285 -285
- package/dist/chunks/{vcs-4rpd5z62.js → wellknown-tregh9zc.js} +2 -2
- package/dist/chunks/{vcs-3pmadhy5.js → wellknown-tsra1adq.js} +20 -20
- package/dist/chunks/{vcs-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-zxdcey3e.js → wellknown-v69q3rne.js} +27 -27
- package/dist/chunks/{vcs-fnpwkbwy.js → wellknown-v8ch97zc.js} +1 -1
- package/dist/chunks/wellknown-vaf1ev04.js +247 -0
- package/dist/chunks/{vcs-vsj0mrz7.js → wellknown-vbt1q5qz.js} +11 -11
- package/dist/chunks/{vcs-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-439t1ysr.js → wellknown-vhzmfeej.js} +28 -28
- package/dist/chunks/{vcs-w855rgcx.js → wellknown-vwjrxgyb.js} +61 -61
- package/dist/chunks/{vcs-7z907rm2.js → wellknown-vx52c60r.js} +18 -18
- package/dist/chunks/{vcs-cwxby6pr.js → wellknown-vxwzppst.js} +9 -9
- package/dist/chunks/{vcs-2exjphd9.js → wellknown-vxyf8mmv.js} +26 -26
- package/dist/chunks/{vcs-931qptha.js → wellknown-vy22dxga.js} +16 -16
- package/dist/chunks/{vcs-7w3s9kd0.js → wellknown-vyqn3nqs.js} +4 -4
- package/dist/chunks/{vcs-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-p1zz5ch3.js → wellknown-w10k0mk6.js} +15 -15
- package/dist/chunks/{vcs-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-17mjd4zx.js → wellknown-w6jjpet8.js} +12 -12
- package/dist/chunks/{vcs-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-mstfewda.js → wellknown-wxgaszs1.js} +18 -18
- package/dist/chunks/{vcs-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-x43y2vfs.js → wellknown-x43y2vfs.js} +2 -2
- package/dist/chunks/{vcs-tar8shjy.js → wellknown-x4qbn06s.js} +9 -9
- package/dist/chunks/{vcs-41d0ycw9.js → wellknown-x8epn3eh.js} +22 -22
- package/dist/chunks/{vcs-s4r6xr0n.js → wellknown-xczywpe1.js} +23 -23
- package/dist/chunks/{vcs-m86bnw2c.js → wellknown-xekzrwwc.js} +9 -9
- package/dist/chunks/{vcs-sb1hd4c5.js → wellknown-xtxsez35.js} +12 -12
- package/dist/chunks/{vcs-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-dpkg50ah.js → wellknown-y71avatq.js} +4 -4
- package/dist/chunks/{vcs-a0dtrzbk.js → wellknown-y8t89g2h.js} +5 -5
- package/dist/chunks/{vcs-24ba4jfm.js → wellknown-yb0rz80c.js} +24 -24
- package/dist/chunks/{vcs-dh3gjkyt.js → wellknown-yesww6qn.js} +9 -9
- package/dist/chunks/{vcs-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-dg025mcc.js → wellknown-yrntw0wa.js} +10 -10
- package/dist/chunks/{vcs-yrznvahk.js → wellknown-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-z63w68vq.js → wellknown-z63w68vq.js} +2 -2
- package/dist/chunks/{vcs-gq9h1cy4.js → wellknown-z9054wkr.js} +20 -20
- package/dist/chunks/{vcs-tcdnkm8w.js → wellknown-zc3bbtev.js} +9 -9
- package/dist/chunks/{vcs-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-rkn0rgfw.js → wellknown-zerdtc7d.js} +4 -8
- package/dist/chunks/{vcs-anz7jrtv.js → wellknown-zfdfzxrp.js} +18 -18
- package/dist/chunks/{vcs-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-bf50v5a2.js → wellknown-zrnwyp6v.js} +15 -15
- package/dist/chunks/{vcs-d8e4j98n.js → wellknown-ztc1je1k.js} +11 -11
- package/dist/chunks/{vcs-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +115 -115
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +85 -85
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +15 -15
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +114 -114
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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 +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/vcs-q509s3k3.js +0 -18
- package/dist/chunks/vcs-sjneqh1p.js +0 -247
- package/dist/chunks/vcs-yvzgh9ps.js +0 -22
- /package/dist/chunks/{vcs-0mesazry.js → wellknown-0mesazry.js} +0 -0
- /package/dist/chunks/{vcs-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a1tpkmh4.js → wellknown-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-hrnqkpcd.js → wellknown-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-paphc93g.js → wellknown-paphc93g.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-twg0f83k.js → wellknown-twg0f83k.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-jw80jp6b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./wellknown-h2r7bbkd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info19
|
|
12
|
+
} from "./wellknown-3w2b2yj4.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info11
|
|
15
|
+
} from "./wellknown-ryr25ayn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info13
|
|
18
|
+
} from "./wellknown-0f9afca0.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info14
|
|
24
|
+
} from "./wellknown-0r7yqxbf.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info10
|
|
27
|
+
} from "./wellknown-153kn5pz.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./wellknown-qr27hz8v.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info19, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info13, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info14, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./wellknown-p8kqgwd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./wellknown-vxwzppst.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin5
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin5 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service50;
|
|
26
|
+
const image = yield* Service40;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin15 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin5, exports_image };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-kbv6dgc6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node83
|
|
9
|
+
} from "./wellknown-e5xbyv4k.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event13,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service56,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node62,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service56 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event13 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service78;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event13.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service56.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event13.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event13.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node62 = makeGlobalNode({ service: Service56, layer, deps: [httpClient, node83, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service56, Event13, inspect2, resolve3, node62, exports_wellknown };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-ajq9kf1a.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./wellknown-vxwzppst.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./wellknown-ebah8r6x.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-qc068m1q.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service73
|
|
15
|
+
} from "./wellknown-jj63jgrn.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-nf8nzb7g.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service41
|
|
23
|
+
} from "./wellknown-vy22dxga.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service61;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service73;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service41;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service40;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./wellknown-p8kqgwd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./wellknown-t0x5rdq8.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin11
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin11 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service50;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin13 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin11, exports_location_watcher };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-ajq9kf1a.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-kbv6dgc6.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-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: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID13,
|
|
25
|
+
Info: () => Info27,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service74,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node79
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID13 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info27 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID13,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service74 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info27({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service74.of({
|
|
72
72
|
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))),
|
|
73
73
|
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))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info27({
|
|
80
|
+
id: ID13.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node79 = makeGlobalNode({ service: Service74, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID13, OAuth3, Key4, Value2, Event19, Info27, Service74, node79, exports_credential };
|